AWS Certified SysOps Administrator – Associate (legacy) — Question 339

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

Correct answer: A

Explanation

When using the PutMetricData API to publish custom metrics to Amazon CloudWatch, the HTTP request size is strictly limited. Specifically, HTTP GET requests cannot exceed 8KB in size, whereas HTTP POST requests are allowed up to a maximum of 40KB. The other options specify incorrect size thresholds for these HTTP methods.