exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 266 discussion

Exam question from Amazon's AWS-SysOps
Question #: 266
Topic #: 1
[All AWS-SysOps Questions]

A user is collecting 1000 records per second. The user wants to send the data to CloudWatch using the custom namespace. Which of the below mentioned options is recommended for this activity?

  • A. Aggregate the data with statistics, such as Min, max, Average, Sum and Sample data and send the data to CloudWatch
  • B. Send all the data values to CloudWatch in a single command by separating them with a comma. CloudWatch will parse automatically
  • C. Create one csv file of all the data and send a single file to CloudWatch
  • D. It is not possible to send all the data in one call. Thus, it should be sent one by one. CloudWatch will aggregate the data automatically
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
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 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. It is recommended that when the user is having multiple data points per minute, he should aggregate the data so that it will minimize the number of calls to put-metric- data. In this case it will be single call to CloudWatch instead of 1000 calls if the data is aggregated.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
awscertified
Highly Voted 1 year, 2 months ago
A. Aggregate the data with statistics, such as Min, max, Average, Sum and Sample data and send the data to CloudWatch
upvoted 6 times
...
ablazleon
Most Recent 9 months, 2 weeks ago
Which of the following choices is most appropriate for this activity? A. Aggregate the data with statistics, such as Min, max, Average, Sum and Sample data and send the data to CloudWatch => why aggregating before sending? B. Send all the data values to CloudWatch in a single command by separating them with a comma. CloudWatch will parse automatically => as it shows the link that's provided later cw put-metric-data command can only get until 150 data points C. Create one csv file of all the data and send a single file to CloudWatch => I did not find any option for this D. It is not possible to send all the data in one call. Thus, it should be sent one by one. CloudWatch will aggregate the data automatically => I don't agree with the "it should be sent one by one", if there're options to send data in arrays
upvoted 1 times
...
TroyMcLure
1 year, 2 months ago
Correct Answer: A
upvoted 2 times
...
Jshuen
1 year, 2 months ago
https://docs.aws.amazon.com/cli/latest/reference/cloudwatch/put-metric-data.html You can publish either individual data points in the Value field, or arrays of values and the number of times each value occurred during the period by using the Values and Counts fields in the MetricDatum structure. Using the Values and Counts method enables you to publish up to 150 values per metric with one PutMetricData request, and supports retrieving percentile statistics on this data.
upvoted 1 times
...
twxl
1 year, 2 months ago
D. Should read: D. It is not possible to send all the data in one call. Thus, it should be sent one by one. CloudWatch will aggregate the data automatically
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...