Question 640
During a high-traffic holiday release at an e-commerce company, the DevOps team discovers that a billing event must reach audit and fulfillment services independently without waiting for either consumer. The affected workload supports checkout and order history; a sudden traffic spike can directly affect purchase completion. Which automation approach BEST satisfies this operational requirement?
Explanation
Correct Answer
Correct. Use Amazon SNS fanout to durable Amazon SQS queues per subscriber, with appropriate retry and dead-letter policies for asynchronous consumers. The reported condition is that a billing event must reach audit and fulfillment services independently without waiting for either consumer. The design addresses the corresponding exposure: A single failing or slow consumer can lose notifications or prevent independent downstream processing if delivery is tightly coupled. Its effectiveness must be demonstrated by this result: An event reaches separate subscribers, one consumer can fail safely, and retry or dead-letter records preserve the undelivered work.
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 configuration must instead establish sns to sqs fanout with dead-letter handling.
Investigate AWS CodeDeploy lifecycle events, deployment agent logs and application or target health results to identify why a release failed before retrying. The sns to sqs fanout with dead-letter handling prerequisite remains unaddressed.
Use EC2 Auto Scaling lifecycle hooks, EventBridge and a suitable automation handler to complete configuration or registration checks before newly launched instances enter service. It changes a different feature than sns to sqs fanout with dead-letter handling.