← Back to 19. Windows 7

📝 Mount points, symbolic links, and hard links in Window 7

📖 From Operating System • 19. Windows 7 • 8 questions available

Practice MCQs for Mount points, symbolic links, and hard links in Window 7. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-27

2
Easy Questions
4
Medium Questions
2
Hard Questions

📝 Sample Questions

Q1. Which of the following best defines a symbolic link in a Unix-like file system?

🔹 A. A special file that contains a path to another file or directory
🔹 B. A duplicate copy of the original file's data
🔹 C. A reference that points directly to the same inode as the target
🔹 D. A hidden file that cannot be accessed by users

💡 Difficulty: easy | ✅ Correct: A

Q2. Why does the operating system prevent the deletion of a file that still has active hard links?

🔹 A. Because the file's data is still referenced by at least one directory entry
🔹 B. Because the file system needs to preserve the symbolic link target
🔹 C. Because the inode is locked until all processes close the file
🔹 D. Because the file is stored in a protected system directory

💡 Difficulty: medium | ✅ Correct: A

Q3. On a server, /var/www is a mount point for a separate file system. An administrator creates a symbolic link /var/www/html -> /srv/web/html. Later, they move /srv/web to /opt/web and update the link accordingly. However, a running web service still serves content from the old location. What kernel mechanism explains this behavior, and how can the service be forced to use the updated link without restarting the entire server?

🔹 A. The kernel caches directory entries; clearing the dcache with `sync; echo 3 > /proc/sys/vm/drop_caches` forces re-evaluation
🔹 B. The kernel caches inode information; dropping the inode cache with `echo 2 > /proc/sys/vm/drop_caches` updates the link
🔹 C. The kernel uses the mount namespace; remounting the filesystem with `mount --make-rprivate` updates the link
🔹 D. The kernel resolves symbolic links at the time of file open; closing and reopening file handles in the service updates the target

💡 Difficulty: hard | ✅ Correct: D

⬆️ View all questions in the quiz below

🔗 Related Topics

📝 History of Windows 7📝 Security in Windows 7📝 Reliability of Windows 7📝 Windows and POSIX application compatibility📝 Windows 7 designed for High performance
🚀 Start Quiz 📝 Practice Mode