AWS Certified DevOps Engineer – Professional — Question 39

A DevOps engineer notices that all Amazon EC2 instances running behind an Application Load Balancer in an Auto Scaling group are failing to respond to user requests. The EC2 instances are also failing target group HTTP health checks.
Upon inspection, the engineer notices the application process was not running in any EC2 instances. There are a significant number of out of memory messages in the system logs. The engineer needs to improve the resilience of the application to cope with a potential application memory leak. Monitoring and notifications should be enabled to alert when there is an issue.
Which combination of actions will meet these requirements? (Choose two.)

Answer options

Correct answer: A, E

Explanation

Option A is correct because replacing unhealthy instances ensures that the Auto Scaling group maintains operational capacity. Option E is also correct as using the Amazon CloudWatch agent to track memory utilization and alerting on high usage helps in proactively addressing potential memory leaks. Options B, C, and D do not directly address the need for resilience improvements and monitoring of memory utilization.