An Auto Scaling group experienced failed EC2 instance launches that took hours to discover. The support team wants email alerts whenever an EC2 instance fails to start. Which action will provide that alerting?
Choose an answer
Tap an option to check your answer.
Correct answer: Configure the Auto Scaling group to publish a notification to an SNS topic when an instance launch fails..
Why this is the answer
Configuring the Auto Scaling group to publish a notification to an SNS topic when an instance launch fails directly addresses the requirement for immediate alerts on failed EC2 instance launches. Auto Scaling groups have built-in capabilities to send notifications for various lifecycle events, including launch failures. This ensures the support team is promptly informed via email (if the SNS topic is subscribed to an email endpoint). Adding a health check that triggers a Lambda function when an instance status is impaired would detect issues after an instance has launched and become impaired, not during the launch failure itself. Creating a CloudWatch alarm for AttachInstances API call failures is too specific and might not cover all types of launch failures, as AttachInstances is for attaching existing instances, not launching new ones. An EC2 status check alarm also monitors instances after they have launched, not during the launch process.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed