AWS Certified Solutions Architect Professional SAP-C02 Practice Question

Your team is decomposing a legacy e-commerce monolith into separate Order, Inventory, Billing, and Shipping microservices that will run on Amazon ECS with AWS Fargate. The existing code base will be modified so that whenever an order is placed, the Order service emits a JSON event that includes the order ID, customer ID, and line-item details. Architectural requirements for the new integration layer include:

  • Producers must not need to know which consumers exist or how many there are.
  • Each consumer must receive only the events it needs, without custom filtering logic in its code.
  • New microservices and SaaS partners must be able to subscribe to events later without requiring changes to producer code.
  • The solution must be fully managed and impose minimal operational overhead.

Which approach MOST effectively meets these goals?

  • Send the order events to an Amazon EventBridge custom event bus and create separate rules with content-based filters that route matching events to targets such as Lambda functions, SQS queues, or API destinations used by each microservice.

  • Publish the events to an Amazon SNS standard topic and configure subscription filter policies for each microservice; extend the fan-out pattern by adding more HTTPS subscriptions when new consumers appear.

  • Write the events to an Amazon SQS standard queue that is polled by each microservice. Add message-attribute filtering in application code so that non-relevant events are ignored.

  • Invoke each microservice in sequence from a synchronous AWS Step Functions workflow that passes the order payload between tasks and updates the state machine when new services are added.

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