AWS Certified Solutions Architect Professional SAP-C02 Practice Question

Your fintech company runs an event-driven architecture on AWS. The Order service publishes every incoming order to an Amazon SNS FIFO topic named Orders.fifo. Several microservices-each subscribed through either an Amazon SQS FIFO queue or an AWS Lambda function-process these order events in parallel. During a recent incident one subscriber was down for 6 hours and could not easily retrieve the missed events after it came back online. The reliability team has issued the following additional requirements:

  • Each subscriber must be able to re-deliver (replay) up to the last 24 hours of order events on demand without help from the publisher.
  • Strict ordering and exactly-once message delivery must be preserved.
  • The solution must be fully managed and require only minimal configuration changes (no code changes) to existing publishers or consumers.

Which action will most effectively meet these requirements?

  • Subscribe an Amazon Kinesis Data Streams stream to the SNS topic and enable extended data retention; have subscribers read from the stream starting at a chosen sequence number when a replay is required.

  • Add an Amazon SQS Standard queue with a 24-hour retention period as an additional subscriber and configure consumers to redrive messages from the queue's dead-letter queue after an outage.

  • Enable message archiving on the existing SNS FIFO topic with a 24-hour retention period, and allow subscribers to start a replay by setting the ReplayPolicy attribute when they need to recover.

  • Turn on AWS CloudTrail data events for the SNS topic and use AWS Glue to extract the Publish API calls from the CloudTrail logs in Amazon S3; republish the messages when a subscriber requests a replay.

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