Advanced System Design
Q100 / 100

In a system using event sourcing, what is the trade-off of storing every state change as an immutable event rather than just the current state?

Correct! Well done.

Incorrect.

The correct answer is A) Event sourcing provides a complete audit trail and the ability to reconstruct past states or replay events, but requires additional complexity for querying current state efficiently (often via snapshots or read models/CQRS)

A

Correct Answer

Event sourcing provides a complete audit trail and the ability to reconstruct past states or replay events, but requires additional complexity for querying current state efficiently (often via snapshots or read models/CQRS)

Explanation

Event sourcing offers strong auditability and time-travel capabilities, but reconstructing current state from a long event log can be slow, so systems often combine it with periodic snapshots and separate read-optimized views (CQRS).

Progress
100/100