Question 700
During a global rollout at a global logistics company, the DevOps team discovers that a lifecycle hook waits indefinitely because the bootstrap handler never sends a completion action. The affected workload supports shipment tracking and dispatch; customers expect continuous updates in several Regions. Which automation approach BEST satisfies this operational requirement?
Explanation
Correct Answer
Correct. Use EC2 Auto Scaling lifecycle hooks, EventBridge and a suitable automation handler to complete configuration or registration checks before newly launched instances enter service. The reported condition is that a lifecycle hook waits indefinitely because the bootstrap handler never sends a completion action. The design addresses the corresponding exposure: Unprepared instances can serve production traffic before required security agents, configuration or warm-up have completed. Its effectiveness must be demonstrated by this result: A new instance stays in the lifecycle wait state until agent setup and validation succeed, then registers healthy or follows a defined failure path.
Incorrect Answers
Use ECS service events, stopped task reasons, container logs and load-balancer target health to isolate placement, start-up or application failures. The distinction tested is auto scaling lifecycle hook readiness, not this concept.
Use AWS Health events with EventBridge and appropriate notification or remediation targets so affected accounts receive actionable service-impact alerts. This category is separate from auto scaling lifecycle hook readiness.
Attach an appropriate Systems Manager Automation remediation document to AWS Config findings with safe, least-privilege execution controls. That describes Aws config automated remediation via ssm, not auto scaling lifecycle hook readiness.