Study DVA-C02 App Patterns, APIs, and Messaging: key concepts, common traps, and exam decision cues.
This lesson covers the first AWS developer judgment DVA-C02 tests repeatedly: can you classify the interaction pattern before you choose a service? Many stems are not really about Lambda versus ECS versus Step Functions. They are asking whether the workflow should be synchronous or asynchronous, tightly or loosely coupled, event-driven or directly orchestrated, resilient or fragile.
Loose coupling: Design where components communicate through well-defined interfaces or events without depending on each other’s internal behavior.
Fanout: Pattern where one event is delivered to multiple downstream consumers for independent processing.
AWS wants you to recognize when code should:
| If the problem is mainly about… | Strong lane |
|---|---|
| immediate request and response with validation or transformation | API layer |
| bursts, retry isolation, or slow downstream consumers | SQS-style buffering |
| multiple independent consumers reacting to the same event | SNS or EventBridge fanout |
| stateful multi-step workflow with branching and retries | Step Functions orchestration |
| reacting to business events across services | event-driven design with EventBridge |
This distinction matters because DVA-C02 likes to mix it into scaling and resilience questions:
If the question wants high concurrency or easier horizontal scale, stateless compute with externalized state is often the stronger answer.
AWS often hides the real requirement inside a third-party dependency. If the external service can fail, rate-limit, or time out, strong answers usually add:
The exam rarely rewards “just call the endpoint again immediately” logic.
An API request triggers order processing, inventory updates, email notifications, and analytics capture. The customer should receive a fast acknowledgment even if downstream systems are briefly slow. What is the strongest first pattern?
Correct answer: B. The stem is really about decoupling, speed to acknowledgment, and tolerance of downstream slowness. That points to an event-driven fanout pattern rather than one synchronous end-to-end request path.