Multiple choice technology programming languages

What is the purpose of sync command?

  1. To synchronize user applications

  2. To synchronize keyboard and monitor

  3. To synchornize disk buffers

  4. To syschronize main memory and cache memory

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

sync flushes filesystem buffers to disk, ensuring all cached writes are committed to physical storage. It doesn't synchronize applications, keyboard/monitor, or memory and cache. Option C has a typo (synchornize) but is conceptually correct.