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

A user has setup a web application on EC2. The user is generating a log of the application performance at every second. There are multiple entries for each second. If the user wants to send that data to CloudWatch every minute, what should he do?

Answer options

Correct answer: C

Explanation

To efficiently publish high-frequency custom metrics to CloudWatch without hitting API rate limits or losing data granularity, users can aggregate the data locally and upload a StatisticSet. This set must include the Min, Max, Sum, and SampleCount for the specified time block, allowing CloudWatch to reconstruct the statistics accurately. Simply calculating an average or sending a single second of data would result in a significant loss of statistical precision and data integrity.