0
0
HLDsystem_design~10 mins

Distributed file systems in HLD - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to identify the main component responsible for storing file metadata in a distributed file system.

HLD
The component that stores file metadata in a distributed file system is called the [1].
Drag options to blanks, or click blank then click option'
AName Node
BData Node
CClient Node
DCache Server
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing Data Node with Name Node
Thinking Client Node stores metadata
2fill in blank
medium

Complete the code to specify the protocol used by clients to communicate with data nodes in a distributed file system.

HLD
Clients communicate with data nodes using the [1] protocol.
Drag options to blanks, or click blank then click option'
ARemote Procedure Call (RPC)
BSMTP
CHTTP
DFTP
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing HTTP or FTP which are not typical for data node communication
Confusing SMTP with communication protocol here
3fill in blank
hard

Fix the error in the description of data replication in distributed file systems.

HLD
Data replication ensures that each data block is stored on [1] different nodes to provide fault tolerance.
Drag options to blanks, or click blank then click option'
Atwo
Bthree
Cone
Dfour
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing one or two which is insufficient for fault tolerance
Choosing four which is more than typical default replication
4fill in blank
hard

Fill both blanks to complete the description of the request flow in a distributed file system.

HLD
When a client wants to read a file, it first contacts the [1] to get the [2] of the data blocks.
Drag options to blanks, or click blank then click option'
AName Node
BData Node
Clocations
Dmetadata
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing Data Node as the first contact
Mixing metadata with locations in the second blank
5fill in blank
hard

Fill all three blanks to complete the description of fault tolerance mechanisms in distributed file systems.

HLD
To handle node failures, the system uses [1] to replicate data, [2] to detect failures, and [3] to reassign tasks.
Drag options to blanks, or click blank then click option'
Areplication
Bheartbeat
Cfailover
Dcaching
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing caching with replication
Not understanding heartbeat's role in failure detection