Which statement about write-through and write-back caches is correct?
Correct answer D. Write-back updates memory only when a modified (dirty) block is evicted
A write-back cache keeps writes in the cache and marks the block dirty; memory is updated only when that block is replaced, so repeated writes to one block cost one memory write. Write-through sends every store to memory (usually via a write buffer), keeping memory consistent but generating more traffic, and needs no dirty bit. Write-back is commonly paired with write-allocate.
Answer checked How we write and check questions
Discussion