AWS Certified Solutions Architect Professional SAP-C02 Practice Question

A retail company publishes tens of thousands of order events per minute to an Amazon SNS standard topic in the us-east-1 Region. Several containerized microservices that run on Amazon ECS Fargate consume the events independently. During blue/green deployments, any one of these microservices can be offline for up to 12 hours. The architecture team sets the following reliability requirements:

  • Every microservice must still receive exactly one copy of every event after it comes back online.
  • Events that fail processing more than five times must be sidelined so they do not block newer events.
  • The solution should minimize custom reliability code and ongoing operations.

Which design meets these requirements?

  • Trigger an AWS Step Functions Standard workflow from the SNS topic and invoke each microservice as a task with the retry count set to five and an exponential back-off policy.

  • Replace the SNS topic with an Amazon Kinesis Data Stream set to 24-hour retention; have each microservice read from the stream using the Kinesis Client Library and checkpoint its sequence numbers in DynamoDB.

  • Create an Amazon SQS FIFO queue for each microservice, subscribe the queues to the SNS topic, enable content-based deduplication, set the message-retention period to two days, and configure a redrive policy that sends messages to a FIFO dead-letter queue after five receives.

  • Subscribe each microservice directly to the SNS topic over HTTPS and configure a custom delivery policy that retries for 3,600 seconds with exponential back-off; attach a dead-letter queue to the subscription.

AWS Certified Solutions Architect Professional SAP-C02
Design for New Solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot