AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 203
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?
Answer options
- 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
The correct answer is D, as AWS limits the size of requests to 8KB for HTTP GET requests and 40KB for HTTP POST requests when sending metrics to CloudWatch. Options A, B, and C are incorrect because they provide sizes that exceed or do not meet the actual limits set by AWS for these types of requests.