DVA-C02 - Development with AWS Services (32% of the exam) - Section 1.1

Develop event-driven and decoupled application code using Amazon SQS, Amazon SNS and Amazon EventBridge, including fan-out and choreography patterns.

Describe the event-driven messaging model and distinguish Amazon SQS, Amazon SNS, and Amazon EventBridge by their delivery guarantees and routing capabilities. Apply fan-out and choreography patterns to decouple producers from multiple consumers without tight coordination.

Amazon SQSAmazon SNSAmazon EventBridgeFan-out pattern

Practice question for this objective

Free sampleDevelopment with AWS Servicesmedium

An order-processing system uses choreography: each service reacts to events on a shared EventBridge bus rather than being called directly. The team must capture every event flowing through the bus for later replay and debugging, without adding code to any producer or consumer. Which configuration captures the events for replay?

  • ASubscribe an SQS queue to the event bus as a target and let the queue retain the events so the team can re-drive them to consumers during debugging sessions.
  • BTurn on detailed CloudWatch metrics for the event bus so every event payload is recorded as a metric and can be replayed from the metric history during debugging.
  • CAdd an EventBridge rule that writes each event to a Lambda function which appends payloads to a log file the team can manually re-publish to the bus later.
  • DEnable an EventBridge archive on the event bus with an optional pattern, then use the archive to replay archived events back onto the bus when needed. Correct
Use an EventBridge archive to capture bus events and replay them later without modifying producers or consumers. EventBridge archives persist events that match an optional pattern as they pass through a bus, and the replay feature re-emits archived events to the bus or specific rules, so the team gets debugging replay with no producer or consumer code changes.

Why A is wrong: A queue target stores events only until retention expires and re-driving from a queue is not the managed replay EventBridge archive provides for a whole bus.

Why B is wrong: CloudWatch metrics record numeric counts and latencies, not full event payloads, so they cannot store or replay the events that flowed through the bus.

Why C is wrong: A custom Lambda logger adds code and operational burden and lacks the managed replay feature, so it does not meet the no-code archive-and-replay requirement.

Why D is correct: An EventBridge archive stores matching events on the bus and supports replay later, capturing the full stream for debugging without touching producer or consumer code.

See more DVA-C02 practice questions, answers explained.

Exam traps in Development with AWS Services

Answers that look right on this material and are not. Each one is a distractor from a different question in the DVA-C02 bank for this domain.

  • Configure a single dead-letter queue on the function so both successful and failed invocation records are delivered to the SQS queue for triage.

    Why it is wrong: A dead-letter queue captures only failed asynchronous invocations and carries no success path, so it cannot route successful results to EventBridge as the requirement states.

  • Configuring an on-failure destination requires first attaching an Amazon Kinesis Data Streams stream as the function's dead-letter target before destinations will accept failures.

    Why it is wrong: Tempting because Kinesis is a common Lambda source, but Kinesis is not a destination target and DLQ configuration is separate from and not a prerequisite for destinations.

  • An Amazon EventBridge rule with an input transformer that maps the stream records onto the SQS target.

    Why it is wrong: An EventBridge rule with an input transformer reshapes events, which sounds close, but rules do not poll a Kinesis stream as a source or run an enrichment step between source and target.

Examworthy is not affiliated with or endorsed by Amazon Web Services. Original, blueprint-aligned practice material only.