AWS Certified Solutions Architect Professional SAP-C02 Practice Question

During a modernization effort, an on-premises e-commerce platform is being refactored into microservices on AWS. The new Order service must publish an event that triggers the Payment service whenever a customer completes checkout. Requirements for the messaging layer are as follows: the Payment service must never process the same order more than once, messages that relate to the same order must be delivered in the exact sequence in which they were generated, holiday sales can create burst traffic of tens of thousands of orders per second so the solution must scale automatically without manual sharding, and operations staff want to keep queue-management overhead to a minimum.

Which solution meets these requirements?

  • Publish events to an Amazon SNS FIFO topic. Configure an Amazon SQS FIFO queue subscription for the Payment service.

  • Publish events to an Amazon SQS FIFO queue with high-throughput mode enabled. Set the MessageGroupId to the order ID and turn on content-based deduplication.

  • Publish events to an Amazon SQS standard queue. Include the order ID in a message attribute so the consumer can ignore duplicate messages that occasionally appear.

  • Publish events to an Amazon SQS FIFO queue that uses a single MessageGroupId value such as "payment" for every message. Configure the consumer to process messages sequentially.

AWS Certified Solutions Architect Professional SAP-C02
Accelerate Workload Migration and Modernization
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