Advanced System Design
Q91 / 100

When designing a system for processing financial transactions that must never lose data, what role does a "write-ahead log" (WAL) play?

Correct! Well done.

Incorrect.

The correct answer is A) Changes are first recorded in a durable, sequential log before being applied to the main data structures, allowing recovery to a consistent state after a crash by replaying the log

A

Correct Answer

Changes are first recorded in a durable, sequential log before being applied to the main data structures, allowing recovery to a consistent state after a crash by replaying the log

Explanation

WALs provide durability and crash recovery by ensuring that any change is durably recorded before being considered committed, so the system can replay the log to recover state after a failure.

Progress
91/100