
Explanation:
To monitor disk utilization on EC2, the CloudWatch agent is required because disk metrics are OS-level and not available to the hypervisor by default.
CloudWatchAgentServerPolicy to allow the agent to send metrics to CloudWatch.disk_used_percent. An alarm should be configured based on this specific metric name to alert when utilization exceeds 80%.Why others are incorrect:
CloudWatchApplicationInsightsReadOnlyAccess does not grant the necessary write permissions for the agent.disk_used and disk_free are standard metrics but checking percentage is the specific requirement. disk_used_percent is the standard naming convention for the CloudWatch Agent's percentage metric.Ultimate access to all questions.
Question 40.
A company needs to monitor the disk utilization of Amazon Elastic Block Store (Amazon EBS) volumes. The EBS volumes are attached to Amazon EC2 Linux instances. A SysOps administrator must set up an Amazon CloudWatch alarm that provides an alert when disk utilization increases to more than 80%. Which combination of steps must the SysOps administrator take to meet these requirements? (Choose three.)
A
Create an IAM role that includes the CloudWatchAgentServerPolicy AWS managed policy. Attach the role to the instances.
B
Create an IAM role that includes the CloudWatchApplicationInsightsReadOnlyAccess AWS managed policy. Attach the role to the instances.
C
Install and start the CloudWatch agent by using AWS Systems Manager or the command line.
D
Install and start the CloudWatch agent by using an IAM role. Attach the CloudWatchAgentServerPolicy AWS managed policy to the role.
E
Configure a CloudWatch alarm to enter ALARM state when the disk_used_percent CloudWatch metric is greater than 80%.
F
Configure a CloudWatch alarm to enter ALARM state when the disk_used CloudWatch metric is greater than 80% or when the disk_free CloudWatch metric is less than 20%.
No comments yet.