Which directory in Linux houses dynamic, transient operational runtime files such as system logs, process queues, and print spools? MCQ with Answer and Explanation

Which directory in Linux houses dynamic, transient operational runtime files such as system logs, process queues, and print spools?
A. /usr
B. /mnt
C. /var
D. /opt
Answer: Option C
Solution (By JKSSB Mock Tests)
The '/var' directory contains variable files whose contents fluctuate continuously during normal system operation, including system logs and mail spools.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
What is the primary function of the 'Shell' component in Linux distributions?
A. To provide physical protection to storage devices.
B. To manage physical RAM refresh cycles.
C. To interpret text-based commands from the user and interface with the operating system kernel.
D. To compile application source code.

Correct Answer: Option C


Explanation:
The shell is a command language interpreter that executes commands entered via text terminals or input shell script sequences.

This question belongs to: Computer Operating Systems
Question #2
What command-line tool can be used in Linux to find the configuration metadata of network interfaces and IP addresses?
A. ip address (or ifconfig)
B. ipconfig
C. netstat -s
D. ping

Correct Answer: Option A


Explanation:
Linux environments use the modern 'ip address' command (or legacy 'ifconfig') to inspect network card settings, MAC paths, and assigned IP values.

This question belongs to: Computer Operating Systems
Question #3
Which Windows feature provides a centralized location for system settings and control?
A. Both Control Panel and Settings
B. Control Panel
C. System Configuration
D. Settings app

Correct Answer: Option A


Explanation:
Windows offers both Control Panel (legacy) and Settings (modern) for system configuration; many settings overlap.

This question belongs to: Computer Operating Systems