Similar questions 2 more →
Cache Memory

Answer & solution
Official answer: B, C
Approach: Replacement policy selects the victim, whereas write policy determines whether the victim may contain newer data than main memory.
1. In a write-back cache, a write can modify the cached block without immediately updating memory. The dirty bit records this mismatch. On a write hit to a clean block, the bit can change from 0 to 1, proving C.
2. LRU selection does not guarantee a clean victim. A read miss can evict a dirty write-back block, which must then be written to memory. A's “never” is false.
3. Write-through propagates each write to memory, so a replaced cache block does not need an eviction-time dirty-block write-back in the standard completed-write model. Hence B is true.
4. D is false for the same reason. Moreover, a write-through cache may use no-write-allocate, in which case a write miss need not load a new block or select a cache victim at all.
Answer: B and C. Write-through memory traffic caused by the current write is not the same thing as writing back an evicted dirty block.