AWS Certified Solutions Architect Professional SAP-C02 Practice Question

A retail company is breaking up its monolithic e-commerce platform into microservices. The core OrderService publishes a JSON OrderCreated event containing full order details but does not add any message attributes.

Requirements

  1. InventoryService, ShippingService, and several future services must receive all OrderCreated events.
  2. AnalyticsService must receive only events whose orderTotal is greater than USD 500.
  3. The OrderService must be completely isolated from the availability and performance of downstream services.
  4. Future consumers may require filters that reference more than 10 different fields inside the JSON payload, and the company wants to avoid the 10-attribute and 5-key limits of Amazon SNS filter policies.
  5. Each consumer needs its own buffer so that if it is unavailable, events are retained until it recovers.

Which solution best meets these requirements?

  • Publish each OrderCreated event to an Amazon SNS topic. Subscribe a dedicated SQS queue for every downstream service and use an SNS subscription filter policy to ensure AnalyticsService receives only high-value orders.

  • Expose REST endpoints on each downstream service and modify OrderService to make synchronous HTTPS calls to every endpoint when an order is created.

  • Have OrderService send a copy of the OrderCreated event directly to a separate Amazon SQS queue created for each downstream service.

  • Publish each OrderCreated event to an Amazon EventBridge custom event bus. Create one EventBridge rule per downstream service that applies the necessary content-based filter (orderTotal > 500 for AnalyticsService) and forwards the event to that service's dedicated Amazon SQS queue.

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