
Answer-first summary for fast verification
Answer: Set the Datapoints to Alarm to 3 out of 12, configure the alarm to treat missing data as not breaching the threshold, and use an EC2 action to stop the instance upon alarm activation.
The correct answer is B because the requirement specifies that the EC2 instances must continue to run if there is missing data for the NetworkPacketsIn metric during the evaluation period. Therefore, the alarm should be configured to treat missing data as not breaching the threshold. Additionally, the DevOps engineer should set the Datapoints to Alarm value to 3 out of 12 to ensure the alarm triggers when the condition is met for at least 3 hours in a 12-hour window. Using an EC2 action to stop the instance upon alarm activation is the correct approach.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company is utilizing Amazon CloudWatch to monitor their Amazon EC2 instances and requires the instances to be stopped when the average NetworkPacketsIn metric falls below 5 for a continuous period of 3 hours within any 12-hour window. The metric is to be assessed hourly, and instances should remain operational if there is any data missing during the assessment period. The DevOps engineer has set up a CloudWatch alarm for the NetworkPacketsIn metric with a threshold of 5 and an hourly evaluation period. What additional configurations should the DevOps engineer implement to fulfill these monitoring requirements?
A
Set the Datapoints to Alarm to 3 out of 12, configure the alarm to treat missing data as breaching the threshold, and use an AWS Systems Manager action to stop the instance upon alarm activation.
B
Set the Datapoints to Alarm to 3 out of 12, configure the alarm to treat missing data as not breaching the threshold, and use an EC2 action to stop the instance upon alarm activation.
C
Set the Datapoints to Alarm to 9 out of 12, configure the alarm to treat missing data as breaching the threshold, and use an EC2 action to stop the instance upon alarm activation.
D
Set the Datapoints to Alarm to 9 out of 12, configure the alarm to treat missing data as not breaching the threshold, and use an AWS Systems Manager action to stop the instance upon alarm activation.
No comments yet.