nerdexam
CompTIA

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.

Storage Functionality

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)
  • A
    2% (1)
  • B
    92% (49)
  • C
    4% (2)
  • D
    2% (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.

AAll Reads and Writes

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.

BSequential ReadsCorrect

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.

CRandom and Sequential Reads

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.

DRandom Reads and All Writes

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.

ERandom and Sequential WritesCorrect

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

#Disk caching#I/O acceleration#Read/Write patterns

Community Discussion

No community discussion yet for this question.

Full SG0-001 Practice