SG0-001 · Question #113
Disk Cache is BEST utilized to accelerate I/O in which of the following? (Select TWO)
The correct answer is B. Sequential Reads E. Random and Sequential Writes. Disk cache is most effective at accelerating I/O operations by pre-fetching data for sequential reads and by buffering writes for both random and sequential write operations.
Question
Disk Cache is BEST utilized to accelerate I/O in which of the following? (Select TWO)
Options
- AAll Reads and Writes
- BSequential Reads
- CRandom and Sequential Reads
- DRandom Reads and All Writes
- ERandom and Sequential Writes
How the community answered
(53 responses)- A2% (1)
- B92% (49)
- C4% (2)
- D2% (1)
Why each option
Disk cache is most effective at accelerating I/O operations by pre-fetching data for sequential reads and by buffering writes for both random and sequential write operations.
Stating 'All Reads and Writes' is too broad and doesn't represent the 'BEST' utilization, as random reads often have poor cache hit rates if data is not frequently reused.
Sequential reads benefit significantly from disk caching because the cache can pre-fetch data, reading larger contiguous blocks from the disk proactively and having them ready before the application explicitly requests them, thereby improving throughput.
Random reads are not universally best accelerated by disk cache, particularly in scenarios with low data reuse where the cache hit rate would be minimal, negating performance benefits.
Similar to option C, random reads are not always optimally improved by disk caching, and 'All Writes' is an overgeneralization that doesn't focus on the specific benefits of write caching.
Both random and sequential writes are accelerated by disk caching as writes can be initially committed to the faster cache memory (write-back caching) and then later de-staged to the slower physical disk in an optimized, potentially consolidated, fashion, reducing the immediate latency experienced by the application.
Concept tested: Disk caching benefits for I/O patterns
Source: https://learn.microsoft.com/en-us/azure/virtual-machines/managed-disks-caching
Topics
Community Discussion
No community discussion yet for this question.