Q1. - (Topic 2)
Which of the following commands updates the linker cache of shared libraries?
A. mkcache
B. soconfig
C. mkldconfig
D. lddconfig
E. ldconfig
Answer: E
Q2. - (Topic 2)
What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)
A. To create RAID 9 arrays.
B. To dynamically change the size of logical volumes.
C. To encrypt logical volumes.
D. To create snapshots.
E. To dynamically create or delete logical volumes.
Answer: B,D,E
Q3. CORRECT TEXT - (Topic 4)
Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.)
Answer: 0077, 077
Q4. - (Topic 3)
Which of the following commands will reduce all consecutive spaces down to a single space?
A. tr '\s' ' ' < a.txt > b.txt
B. tr -c ' ' < a.txt > b.txt
C. tr -d ' ' < a.txt > b.txt
D. tr -r ' ' '\n' < a.txt > b.txt
E. tr -s ' ' < a.txt > b.txt
Answer: E
Q5. - (Topic 1)
Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?
A. systemd.target=rescue.target
B. systemd.runlevel=rescue.target
C. systemd.service=rescue.target
D. systemd.default=rescue.target
E. systemd.unit=rescue.target
Answer: E
Q6. - (Topic 4)
Which of the following commands can be used to display the inode number of a given file?
A. inode
B. ls
C. ln
D. cp Answer: B
Answer:
Q7. CORRECT TEXT - (Topic 2)
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Answer: swapoff, /sbin/swapoff
Q8. - (Topic 1)
Which of the following statements is correct when talking about /proc/?
A. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.
B. All files within /proc/ are read-only and their contents cannot be changed.
C. All changes to files in /proc/ are immediately recognized by the kernel.
D. All files within /proc/ are only readable by the root user.
Answer: C
Q9. - (Topic 3)
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
A. i (lowercase)
B. P (uppercase)
C. p (lowercase)
D. U (uppercase)
E. u (lowercase)
Answer: C
Q10. - (Topic 3)
Which variable defines the directories in which a Bash shell searches for executable commands?
A. BASHEXEC
B. BASHRC
C. PATH
D. EXECPATH
E. PATHRC
Answer: C