
Explanation:
Memory utilization is a guest operating system-level metric and is not available by default in Amazon CloudWatch for EC2 instances. To collect this metric, the CloudWatch agent must be installed and configured on the instances. Using an AMI that already includes the CloudWatch agent ensures that all new instances launched in the Auto Scaling group will automatically have the agent and can report memory metrics.
Ultimate access to all questions.
Question 21: A company receives an alert from an Amazon CloudWatch alarm. The alarm indicates that a web application that is running on Amazon EC2 instances is not responding to requests. The EC2 instances have a Red Hat Enterprise Linux operating system and are in an Auto Scaling group. The Auto Scaling group has a minimum capacity of 2 and a maximum capacity of 5.
An investigation reveals that the web application is experiencing out-of-memory errors. The company adds memory to the web application and wants to track operating system memory utilization. A CloudWatch memory metric does not currently exist for the EC2 instances in the Auto Scaling group.
What should a SysOps administrator do to provide a CloudWatch memory metric for the EC2 instances?
A
Use an Amazon Machine Image (AMI) that includes the CloudWatch agent.
B
Turn on CloudWatch detailed monitoring.
C
Turn on Instance Metadata Service Version 2 (IMDSv2).
D
Use an Amazon Machine Image (AMI) that is based on Amazon Linux.
No comments yet.