AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 318

A user is having data generated randomly based on a certain event. The user wants to upload that data to CloudWatch. It may happen that event may not have data generated for some period due to randomness.
Which of the below mentioned options is a recommended option for this case?

Answer options

Correct answer: C

Explanation

When monitoring metrics in CloudWatch, sending a value of 0 during periods of inactivity is recommended to ensure alarms can accurately evaluate the metric's state. If no data is sent at all, CloudWatch may flag the metric as INSUFFICIENT_DATA, making it difficult to differentiate between a healthy idle system and a failure in metric reporting. Sending blank or null values is not supported or effective for metric monitoring.