A user is collecting 1000 records per second. The user wants to send the data to CloudWatch using a custom namespace. Which of the below mentioned options is recommended for this activi-ty?
A.
Create one csv file of all the data and send a single file to CloudWatch
B.
Aggregate the data with statistics, such as Min, max, Average, Sum and Sample data and send the data to CloudWatch
C.
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
D.
Send all the data values to CloudWatch in a single command by separating them with a comma. CloudWatch will parse automatically
Suggested Answer:B🗳️
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. Reference: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html
By aggregating the data and sending statistics such as Min, Max, Average, Sum, and Sample data, the number of data points sent to CloudWatch can be reduced, resulting in more efficient data ingestion and reducing the volume of API calls.
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.
albert_kuo
10 months, 1 week agoablazleon
2 years, 1 month ago