AWS Certified SysOps Administrator – Associate (legacy) — Question 416
Is it possible to publish your own metrics to CloudWatch?
Answer options
- A. Yes, but only if the data is aggregated.
- B. No, it is not possible.
- C. No, metrics are in-built and cannot be defined explicitly.
- D. Yes, it can be done by using the put-metric-data command.
Correct answer: D
Explanation
Amazon CloudWatch allows you to publish your own custom metrics using the AWS CLI or API. The put-metric-data command is specifically designed to upload these user-defined data points to CloudWatch. Built-in metrics are not the only option, and pre-aggregation is not a requirement for publishing.