AWS Certified SysOps Administrator – Associate (legacy) — Question 842
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
- A. For the period when there is no data, the user should not send the data at all
- B. For the period when there is no data the user should send a blank value
- C. For the period when there is no data the user should send the value as 0
- D. The user must upload the data to CloudWatch as having no data for some period will cause an error at CloudWatch monitoring
Correct answer: C
Explanation
When monitoring metrics with CloudWatch, sending a value of 0 during periods of inactivity is recommended to distinguish between a healthy system with no events and a system failure where data cannot be reported. Not sending data at all can trigger false alarms if the alarm is configured to treat missing data as a breach. CloudWatch does not accept blank values, and missing data does not inherently cause a system error.