← Back to 18. The Linux System

📝 Kernel synchronization in The Linux System

📖 From Operating System • 18. The Linux System • 18 questions available

Practice MCQs for Kernel synchronization in The Linux System. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

🔄 Last updated: 2026-07-27

4
Easy Questions
9
Medium Questions
5
Hard Questions

📝 Sample Questions

Q1. A program creates two tasks using clone() with flags CLONE_FS and CLONE_VM only. Which resource is NOT shared between the parent and child?

🔹 A. Current working directory
🔹 B. Memory space
🔹 C. Open file descriptors
🔹 D. Signal handlers

💡 Difficulty: easy | ✅ Correct: D

Q2. A server program uses clone() with CLONE_VM, CLONE_FS, CLONE_FILES, but not CLONE_SIGHAND. After creating a child task, the parent changes its signal handler for SIGTERM. What happens in the child?

🔹 A. Child receives new handler
🔹 B. Child retains old handler
🔹 C. Child crashes
🔹 D. Child gets no signal

💡 Difficulty: medium | ✅ Correct: B

Q3. A program creates a child task with clone() passing CLONE_VM | CLONE_FS | CLONE_SIGHAND, but not CLONE_FILES. The child opens a new file descriptor. How does this affect the parent?

🔹 A. Parent sees same descriptor
🔹 B. Parent sees none
🔹 C. Parent sees descriptor but cannot use
🔹 D. Parent sees descriptor but it is closed when child exits

💡 Difficulty: hard | ✅ Correct: B

⬆️ View all questions in the quiz below

🔗 Related Topics

📝 Linux History📝 The Linux kernel📝 The Linux system📝 Linux distributions📝 Linux licensing
🚀 Start Quiz 📝 Practice Mode