You have developed an application that is putting custom metrics into Cloudwatch.
You need to generate alarms on a 10 second interval based on the published metrics.
Which of the following needs to be done to fulfill this requirement?
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - D.
This is mentioned in the AWS Documentation.
Using the existing PutMetricData API, you can now publish Custom Metrics down to 1-second resolution.
This gives you more immediate visibility and greater granularity into the state and performance of your custom applications, such as observing short-lived spikes and functions.
Besides, you can also alert sooner with High-Resolution Alarms, as frequently as 10-second periods.
High-Resolution Alarms allow you to react and take actions faster and support the same actions available today with standard 1-minute alarms.
You can add these high-resolution metrics and alarms widgets to your Dashboard, giving you easy observability of critical components.
Additionally, if you use collectd to gather your metrics, you can publish these metrics to CloudWatch using our updated collectd plugin supporting high-resolution periods down to 1-second.
Options A and B are incorrect since they are more pertinent to existing services available in AWS.
Option C is incorrect.
Since for such a high degree of resolution, you need to use high-resolution metrics.
For more information on high-resolution metrics, please visit the following URL-
https://aws.amazon.com/about-aws/whats-new/2017/07/amazon-cloudwatch-introduces-high-resolution-custom-metrics-and-alarms/To fulfill the requirement of generating alarms on a 10-second interval based on the published metrics in CloudWatch, the following steps need to be taken:
Create Custom Metrics: The first step is to create custom metrics for the application. These custom metrics should capture the relevant data points for the application that need to be monitored. This can be done by using CloudWatch APIs or SDKs to publish metrics to CloudWatch.
Choose the Right Resolution: The next step is to choose the right resolution for the custom metrics. CloudWatch offers two types of resolutions for metrics: standard resolution and high-resolution. The standard resolution metrics have a resolution of one minute, while high-resolution metrics have a resolution of one second.
Choose the Right Monitoring Level: The monitoring level determines how often CloudWatch collects data and generates alarms. CloudWatch offers two monitoring levels: basic and detailed. The basic monitoring level collects data and generates alarms every five minutes, while the detailed monitoring level collects data and generates alarms every minute.
Create Alarms: After creating custom metrics, choosing the right resolution, and monitoring level, the next step is to create alarms based on the custom metrics. These alarms should be configured to trigger on a 10-second interval.
Based on the above steps, the correct answer to the question is D. Create high-resolution metrics. By creating high-resolution metrics, the application can capture data points at a one-second interval, which can then be used to generate alarms on a 10-second interval. Answers A and B are incorrect because enabling basic or detailed monitoring does not allow for the required 10-second interval. Answer C is incorrect because standard resolution metrics have a resolution of one minute, which is not frequent enough to generate alarms on a 10-second interval.