DVA-C02 · Question #384
DVA-C02 Question #384: Real Exam Question with Answer & Explanation
The correct answer is A: Event driven. An event-driven architecture processes data immediately as it arrives by triggering functions or services in response to state changes, eliminating the wait for a scheduled batch job. DynamoDB Streams with Lambda is a canonical AWS implementation of this pattern.
Question
A developer needs to modify an application architecture to meet new functional requirements. Application data is stored in Amazon DynamoDB and processed for analysis in a nightly batch. The system analysts do not want to wait until the next day to view the processed data and have asked to have it available in near-real time. Which application architecture pattern would enable the data to be processed as it is received?
Options
- AEvent driven
- BClient-server driven
- CFan-out driven
- DSchedule driven
Explanation
An event-driven architecture processes data immediately as it arrives by triggering functions or services in response to state changes, eliminating the wait for a scheduled batch job. DynamoDB Streams with Lambda is a canonical AWS implementation of this pattern.
Common mistakes.
- B. A client-server model involves direct request-response calls and does not inherently provide continuous, near-real-time processing of data as it is written to the database.
- C. A fan-out pattern distributes a single message to multiple consumers simultaneously and is a messaging topology, not a solution for triggering processing upon data arrival.
- D. A schedule-driven architecture is exactly the nightly batch pattern the analysts want to move away from; it does not process data as it is received.
Concept tested. Event-driven architecture with DynamoDB Streams
Reference. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html
Community Discussion
No community discussion yet for this question.