Courseiva
Cloud Native ArchitecturehardMultiple ChoiceObjective-mapped

KCNA Cloud Native Architecture Practice Question

In event-driven architecture, what is the role of an event broker?

⚠ Common exam trap

CNCF often tests the distinction between the broker's role (storage and routing) and the consumer's role (processing logic), so candidates mistakenly pick B when they conflate event handling with event brokering.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

It stores events and enables asynchronous communication between producers and consumers

An event broker acts as a central intermediary that receives events from producers, stores them durably (often in a log or queue), and delivers them to consumers asynchronously. This decouples producers and consumers, allowing them to operate independently without blocking or direct knowledge of each other. Technologies like Apache Kafka, RabbitMQ, or AWS Kinesis exemplify this role by persisting events and enabling replay, fan-out, and load-leveling.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • It stores events and enables asynchronous communication between producers and consumers

    Why this is correct

    The broker persists events and routes them to interested consumers.

  • It executes business logic in response to events

    Why it's wrong here

    Execution of logic is done by consumers or functions.

  • It provides a user interface to view events

    Why it's wrong here

    UI is not the core role of an event broker.

  • It converts events into HTTP requests

    Why it's wrong here

    That might be a specific adapter, not the general role.

About these practice questions

This KCNA question is part of Courseiva's 833-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on KCNA

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. In an event-driven architecture using a message broker, which component is responsible for receiving events and forwarding them to subscribed services?

medium
  • A.Service mesh
  • B.Message broker
  • C.API gateway
  • D.Load balancer

Why B: A message broker (like Kafka or RabbitMQ) receives and forwards events. An API gateway routes HTTP requests, a service mesh handles service-to-service communication, and a load balancer distributes network traffic.

Variation 2. In an event-driven architecture, what is the role of an event broker?

medium
  • A.To intermediate between event producers and consumers
  • B.To run event-processing logic
  • C.To transform events into API calls
  • D.To store event schemas

Why A: In an event-driven architecture, the event broker acts as a middleware that decouples event producers from consumers by receiving events from producers and forwarding them to interested consumers. This intermediary role ensures asynchronous communication, scalability, and fault tolerance without requiring producers and consumers to be directly aware of each other. Technologies like Apache Kafka, RabbitMQ, or cloud-native services such as AWS EventBridge exemplify this pattern.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This KCNA practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the KCNA exam.