Salesforce Certified Heroku Architect free question 9 / 10 · Domain 5: Architect Applications
A data team needs highly parallel pipelines that transform and aggregate application events before loading them into an analytics store. Which Kafka characteristic supports this?
- Mutable topics that producers update in place so the latest value is correct
- Immutable event streams that many consumers can process in parallel at scale
- A single consumer per topic that guarantees one global order across partitions
- A built-in SQL engine that runs the aggregation inside the broker process itself
Show the answer and explanation
Answer: B
Why this is correct
The Data Pipelines and Analytics use case says that apps at scale often need analytics or ETL pipelines, and that Kafka immutable event streams let developers build highly parallel pipelines for transforming and aggregating data, which are faster and more stable than other approaches. Partitions allow several consumers to work on a topic at once, which gives the parallelism.
Why the other options are wrong
"Mutable topics that producers update in place so the latest value is correct" … Kafka topics are append-only logs and events are immutable.
"A single consumer per topic that guarantees one global order across partitions" … Ordering is guaranteed only inside one partition, and parallelism comes from partitions and consumers.
"A built-in SQL engine that runs the aggregation inside the broker process itself" … The article describes event streams for pipelines and does not describe a SQL engine in the broker.
Key points
Immutable streams plus partitions give parallel, replayable data pipelines. Keep partition counts in mind, because they set the ceiling for parallel consumers of one topic. For review, read the "Data Pipelines and Analytics" section of the "Apache Kafka on Heroku" page in the official documentation.