SAC Operating Systems and System Configuration 3 — Questions and Answers
Question 1: Which Linux kernel parameter file controls the maximum number of open file descriptors system-wide?
- /proc/sys/fs/file-max (Correct answer)
- /etc/security/limits.conf
- /proc/sys/kernel/pid_max
- /sys/kernel/max_fd
Correct answer: /proc/sys/fs/file-max
/proc/sys/fs/file-max contains the system-wide maximum number of file descriptors the kernel will allocate.
Question 2: What is the function of the Windows pagefile.sys?
- Stores temporary internet files
- Acts as virtual memory by extending RAM to disk (Correct answer)
- Caches frequently accessed registry entries
- Holds hibernation state data
Correct answer: Acts as virtual memory by extending RAM to disk
pagefile.sys is the Windows swap file that extends physical RAM by using disk space as virtual memory.
Question 3: Which command in Linux displays real-time CPU, memory, and process information interactively?
- ps aux
- vmstat
- top (Correct answer)
- sar
Correct answer: top
`top` provides a real-time, interactive view of running processes along with CPU and memory usage statistics.
Question 4: In Windows Server, what does the BCDEdit command-line tool manage?
- BitLocker encryption keys
- Boot Configuration Data store (Correct answer)
- Background Intelligent Transfer Service
- Base Cryptographic Device settings
Correct answer: Boot Configuration Data store
BCDEdit manages the Boot Configuration Data (BCD) store, allowing administrators to modify boot entries and parameters.
Question 5: Which Linux signal number is used to gracefully terminate a process, allowing it to clean up?
- SIGKILL (9)
- SIGTERM (15) (Correct answer)
- SIGHUP (1)
- SIGSTOP (19)
Correct answer: SIGTERM (15)
SIGTERM (signal 15) requests a graceful shutdown, giving the process time to clean up resources before exiting.
Question 6: What is the purpose of SELinux in a Linux environment?
- Encrypts filesystem data at rest
- Provides mandatory access control beyond standard permissions (Correct answer)
- Manages SSL certificate issuance
- Scans for rootkits and malware
Correct answer: Provides mandatory access control beyond standard permissions
SELinux (Security-Enhanced Linux) implements mandatory access control (MAC) policies that restrict what processes and users can access, beyond standard DAC permissions.
Question 7: Which Windows command-line utility converts a FAT or FAT32 volume to NTFS without data loss?
- diskpart
- format
- convert (Correct answer)
- chkdsk
Correct answer: convert
The `convert` command (e.g., `convert C: /fs:ntfs`) upgrades a FAT/FAT32 volume to NTFS non-destructively.
Which Linux kernel parameter file controls the maximum number of open file descriptors system-wide?