AWS Certified SysOps Administrator – Associate (legacy) — Question 819
A user is measuring the CPU utilization of a private data center machine every minute. The machine provides the aggregate of data every hour, such as Sum of data`, `Min value`, `Max value, and `Number of Data points`.
The user wants to send these values to CloudWatch. How can the user achieve this?
Answer options
- A. Send the data using the put-metric-data command with the aggregate-values parameter
- B. Send the data using the put-metric-data command with the average-values parameter
- C. Send the data using the put-metric-data command with the statistic-values parameter
- D. Send the data using the put-metric-data command with the aggregate ג€"data parameter
Correct answer: C
Explanation
Amazon CloudWatch allows users to upload pre-aggregated data using the put-metric-data command by specifying the statistic-values parameter, which accepts a structure containing Sum, Minimum, Maximum, and SampleCount. Other parameters like aggregate-values, average-values, or aggregate-data are invalid and do not exist in the AWS CLI for this command.