File System Structure & Inodes — Concept Check
Questions on File System Structure & Inodes. An inode is a metadata structure that stores file attributes and pointers to data blocks; the directory system maps human-readable names to inode numbers.
Questions in this quiz
8 questions on File System Structure & Inodes — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.A file in a Unix-like filesystem has its name changed, but the inode number remains the same. What operation was performed?
- ARenaming the file within the same directory
- BMoving the file to a different directory
- CCreating a hard link to the file
- DDeleting the file
2.A user creates a hard link to a file. What happens to the inode link count?
- AIt remains the same
- BIt increases by one
- CIt decreases by one
- DIt resets to zero
3.A file has a symbolic link pointing to it. What happens if the original file is deleted?
- AThe symbolic link breaks
- BThe symbolic link points to a new file
- CThe symbolic link becomes a hard link
- DThe symbolic link automatically updates
4.What is stored in an inode in a Unix-like filesystem?
- AFile path
- BFile type
- CFile name
- DFile size
5.A file system shows an inode with a link count of zero. What does this indicate?
- AThe file is a hard link
- BThe file is corrupted
- CThe file is marked for deletion
- DThe file is a symbolic link
6.A user believes that symbolic links increase the inode link count. What is the reality?
- ASymbolic links share the inode with the target
- BSymbolic links have their own inodes
- CSymbolic links increase the link count
- DSymbolic links do not exist in Unix-like systems
7.A file system uses 4 KB blocks and 4-byte pointers. How many data blocks can a single-indirect block address?
- A4096
- B512
- C256
- D1024
8.A user deletes a file with multiple hard links. What happens to the file's data?
- AThe data is immediately deleted
- BThe data is moved to a trash folder
- CThe data is archived automatically
- DThe data remains until all links are deleted