Timedora
Free Practice Quiz Question List

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.

10 questions
01
Choose one
1 point

In an event-driven architecture, what does an event represent?

  1. A

    A command that tells a particular component how to act

  2. B

    A record of a meaningful occurrence or state change

  3. C

    Code that processes a message

  4. D

    A condition that starts executable code

02
Choose one
1 point

What is the role of a producer in an event-driven architecture?

  1. A

    It executes the code that processes the event.

  2. B

    It routes events to the components that subscribe to them.

  3. C

    It detects an occurrence and publishes an event.

  4. D

    It defines the condition that starts a handler.

03
Choose one
1 point

What does an event channel or broker do?

  1. A

    An intermediary that accepts events and delivers them to consumers

  2. B

    The code that processes one particular event

  3. C

    A component that detects an occurrence and publishes it

  4. D

    The configured condition that starts a handler

04
Choose one
1 point

Which description best matches a consumer?

  1. A

    An event record describing a completed occurrence

  2. B

    The intermediary that buffers and routes events

  3. C

    The mechanism that starts executable code

  4. D

    A component that receives or reads events and performs work in response

05
Choose one
1 point

What is an event handler?

  1. A

    A record of a meaningful state change

  2. B

    The code that processes a particular event

  3. C

    A component that publishes an event

  4. D

    An intermediary that delivers events

06
Choose one
1 point

What is the role of a trigger?

  1. A

    The event-processing code itself

  2. B

    The fact that an occurrence has already happened

  3. C

    A configured condition or mechanism that starts a handler

  4. D

    The component that publishes every event

07
Choose one
1 point

A checkout service saves an order and publishes OrderPlaced. Which component is the producer?

  1. A

    The checkout service

  2. B

    The event bus

  3. C

    The inventory handler

  4. D

    The notification handler

08
Choose one
1 point

In the order workflow, which component routes OrderPlaced to interested consumers?

  1. A

    The checkout service

  2. B

    The event record

  3. C

    The fulfillment handler

  4. D

    The event bus

09
Choose one
1 point

A handler is configured to start when a new message arrives in a queue. What role does the queue-message arrival play?

  1. A

    The code that reserves inventory after receiving an event

  2. B

    A configured condition that starts a handler when a new queue message arrives

  3. C

    The record stating that an order has been placed

  4. D

    The service that originally publishes an event

10
Choose one
1 point

An inventory component, a notification component, and a fulfillment component each receive OrderPlaced and perform different work. What role do these components share?

  1. A

    They are all producers because they perform work.

  2. B

    They are all channels because they receive a routed event.

  3. C

    They are consumers because they receive the event and respond to it.

  4. D

    They are all triggers because they start the checkout service.