
Explanation:
Amazon EC2 does not provide OS-level metrics like memory usage by default. To collect and send memory utilization metrics to Amazon CloudWatch, the CloudWatch agent must be installed and configured on the EC2 instances. Using an AMI with the CloudWatch agent included ensures that instances launched by the Auto Scaling group will emit the required 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.