All quizzesMedium
Async & Message Queues — Series 3
Preview — 3 of 10 questions
A projection receives full account-state events with strictly increasing source versions. Version 42 arrives before version 41. What should the projection do?
AApply both states in arrival order.
BApply 42 and ignore the older replacement state.
CAverage numeric fields from versions 41 and 42.
DWait for version 41 before displaying any existing state.
Two stream partitions each have a lag of 10,000 records. One receives 100 records/s and the other 10,000 records/s. What additional measurement best captures user-visible freshness?
AThe latest committed offset number without an event timestamp.
BAge of the oldest unprocessed event.
CThe current consumer-group generation number.
DAverage serialized message size alone.
A consumer is offline for eight days. The log retains records for seven days, and some unread records have expired. What recovery is needed for a complete projection?
AIncrease retention now and replay the missing past records.
BReset to the earliest remaining offset and declare it complete.
CBootstrap from an authoritative snapshot and resume the log.
DAdd consumers to recover the already expired records.
Sign up free to play
Answer all 10 questions (7 more), see explanations for every answer, and track your score.