A user is measuring the CPU utilization of a private data centre 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?
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
Explanation:
AWS CloudWatch supports the custom metrics. The user can always capture the custom data and
upload the data to CloudWatch using CLI or APIs. The user can publish the data to CloudWatch
as single data points or as an aggregated set of data points called a statistic set using the
command put-metric-data. When sending the aggregate data, the user needs to send it with the
parameter statistic-values:
awscloudwatch put-metric-data –metric-name <Name> –namespace <Custom namespace> —
timestamp
<UTC Format> –statistic-values Sum=XX,Minimum=YY,Maximum=AA,SampleCount=BB –unit
Milliseconds
C
C