AWS Certified Advanced Networking – Specialty ANS-C00 – Question336

A user is trying to send custom metrics to CloudWatch using the PutMetricData APIs. Which of the below mentioned points should the user needs to take care while sending the data to CloudWatch?

A.
The size of a request is limited to 128KB for HTTP GET requests and 64KB for HTTP POST requests
B. The size of a request is limited to 40KB for HTTP GET requests and 8KB for HTTP POST requests
C. The size of a request is limited to 16KB for HTTP GET requests and 80KB for HTTP POST requests
D. The size of a request is limited to 8KB for HTTP GET requests and 40KB for HTTP POST requests

Correct Answer: D

Explanation:

Explanation: With AWS CloudWatch, the user can publish data points for a metric that share not only the same time stamp, but also the same namespace and dimensions. CloudWatch can accept multiple data points in the same PutMetricData call with the same time stamp. The only thing that the user needs to take care of is that the size of a PutMetricData request is limited to 8KB for HTTP GET requests and 40KB for HTTP POST requests.
Reference: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html