Q11 — AWS DOP-C02 Ch.2
Question 11 of 100 | ← Chapter 2
A company runs an application on Amazon EC2 instances in an Auto Scaling group. Recently, an issue prevented EC2 instances from launching successfully. The support team identified this problem. Whenever an EC2 instance fails to launch successfully, the support team wants to receive an email notification.
- A. Add health checks to the Auto Scaling group to invoke an AWS Lambda function when instance health status becomes impaired.
- B. Configure the Auto Scaling group to send notifications to an Amazon SNS topic when instance launch failures occur. ✓
- C. Create an Amazon CloudWatch alarm that invokes an AWS Lambda function when the AttachInstances Auto Scaling API call fails.
- D. Create an Amazon EC2 status check alarm that sends a notification to an Amazon SNS topic when status checks fail.
Correct Answer: B. Configure the Auto Scaling group to send notifications to an Amazon SNS topic when instance launch failures occur.
Explanation
AWS Auto Scaling groups support built-in notification functionality that sends alerts via Amazon SNS for specific lifecycle events—including instance launch failures. Configuring Auto Scaling notifications directly for launch failure events provides immediate, targeted email alerts. Option B achieves this directly. Option A’s health checks monitor running instances—not launch failures. Option C’s reliance on AttachInstances API failure is not guaranteed to correlate with launch failure. Option D’s EC2 status checks apply only to already-running instances—not launch-time failures. AWS documentation explicitly confirms Auto Scaling group event notifications cover launch failure scenarios.