In an event-driven architecture, what does an event represent?
Event-Driven Architecture: Core Roles Online Quiz Questions
Use this free practice quiz with 10 questions to review Event-Driven Architecture: Core Roles, test your knowledge, and prepare for your next test or exam.
What is the role of a producer in an event-driven architecture?
- A
It executes the code that processes the event.
- B
It routes events to the components that subscribe to them.
- C
It detects an occurrence and publishes an event.
- D
It defines the condition that starts a handler.
What does an event channel or broker do?
- A
An intermediary that accepts events and delivers them to consumers
- B
The code that processes one particular event
- C
A component that detects an occurrence and publishes it
- D
The configured condition that starts a handler
Which description best matches a consumer?
- A
An event record describing a completed occurrence
- B
The intermediary that buffers and routes events
- C
The mechanism that starts executable code
- D
A component that receives or reads events and performs work in response
What is an event handler?
- A
A record of a meaningful state change
- B
The code that processes a particular event
- C
A component that publishes an event
- D
An intermediary that delivers events
What is the role of a trigger?
- A
The event-processing code itself
- B
The fact that an occurrence has already happened
- C
A configured condition or mechanism that starts a handler
- D
The component that publishes every event
A checkout service saves an order and publishes OrderPlaced. Which component is the producer?
- A
The checkout service
- B
The event bus
- C
The inventory handler
- D
The notification handler
In the order workflow, which component routes OrderPlaced to interested consumers?
- A
The checkout service
- B
The event record
- C
The fulfillment handler
- D
The event bus
A handler is configured to start when a new message arrives in a queue. What role does the queue-message arrival play?
- A
The code that reserves inventory after receiving an event
- B
A configured condition that starts a handler when a new queue message arrives
- C
The record stating that an order has been placed
- D
The service that originally publishes an event
An inventory component, a notification component, and a fulfillment component each receive OrderPlaced and perform different work. What role do these components share?
- A
They are all producers because they perform work.
- B
They are all channels because they receive a routed event.
- C
They are consumers because they receive the event and respond to it.
- D
They are all triggers because they start the checkout service.
Related study packs and tools
AWS Cloud Concepts
Practice cloud benefits, deployment models, scalability, elasticity and AWS Cloud concepts.
12 study toolsAWS Cloud Practitioner Practice Test
Comprehensive AWS Certified Cloud Practitioner practice covering cloud concepts, security, AWS services and pricing.
15 study toolsAWS Cloud Technology and Services: Cloud Databases
Focused study of relational and nonrelational databases and service selection concepts.
12 study toolsAWS Cloud Technology and Services: Container Services
Focused study of containers, orchestration and container service use cases.
27 study toolsAWS Cloud Technology and Services: EC2 Compute
Focused study of instances, instance types, scaling and compute use cases.
12 study toolsAWS Cloud Technology and Services: S3 Storage
Focused study of objects, buckets, storage classes and storage use cases.
12 study tools