How the File system works when we start to write to a File

Asked atNutanix
1Give yourself 5 minutes
2Answer out loud, not in your head
3Then compare with the answer below
0
Stuck? Show a way to structure it+
  1. 01Separate application write, kernel page cache, filesystem metadata, and device persistence
  2. 02Explain that write success does not automatically mean durable storage
  3. 03Describe flush or fsync semantics and their latency cost
  4. 04Mention block allocation, journaling, and ordering at a conceptual level
  5. 05Clarify concurrent writers, partial writes, and crash recovery requirements

Reference answer

Then expect these follow-ups

  • What constraint would change your chosen approach?

    Tests: constraint adaptation

  • How would you test the edge cases before implementation?

    Tests: implementation extension

Hiring now

Nutanix has 107 open roles right now

landed applies to roles like these for you, on each company’s own site, with answers written for the role.

Get 5x interviews10 free auto-applies. No card.
  • Senior Engineering Manager

    Vancouver, British Columbia

  • Advisory Enterprise Account Manager

    Remote

  • Advisory Public Sector Account Manager

    5 Locations

Or practice this question first

Next question