Q1. - (Topic 4)
How many fields are in a syntactically correct line of /etc/fstab?
A. 3
B. 4
C. 5
D. 6
E. 7
Answer: D
Q2. - (Topic 1)
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
A. startd
B. systemd
C. Upstart
D. SysInit
E. SysV init
Answer: B,C,E
Q3. - (Topic 4)
What does the command mount -a do?
A. It mounts all available filesystems onto the current directory.
B. It shows all mounted filesystems.
C. It mounts all user mountable filesystems for the current user.
D. It mounts all filesystems listed in /etc/fstab which have the option auto set.
E. It mounts all filesystems listed in /etc/fstab which have the option noauto set.
Answer: D
Q4. - (Topic 4)
What does the command mount -a do?
A. It ensures that all file systems listed with the option noauto in /etc/fstab are mounted.
B. It shows all mounted file systems that have been automatically mounted.
C. It opens an editor with root privileges and loads /etc/fstab for editing.
D. It ensures that all file systems listed with the option auto in /etc/fstab are mounted.
E. It ensures that all file systems listed in /etc/fstab are mounted regardless of their options.
Answer: D
Q5. CORRECT TEXT - (Topic 2)
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)
Answer: update, upgrade
Topic 3, GNU and Unix Commands
Q6. - (Topic 4)
After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.)
A. By creating an ACL redirection from the old to the new path of the data.
B. By creating a hard link from the old to the new path of the data.
C. By creating a symbolic link from the old to the new path of the data.
D. By running the command touch on the old path.
E. By mounting the new filesystem on the original path of the data.
Answer: C,E
Q7. - (Topic 2)
Which function key is used to start Safe Mode in Windows NT?
A. F10
B. F8
C. F6
D. Windows NT does not support Safe Mode
Answer: D
Q8. - (Topic 2)
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
A. dd if=/dev/zero of=/dev/sda bs=512
B. dd if=/dev/zero of=/dev/sda bs=512 count=1
C. dd if=/dev/zero of=/dev/sda bs=440 count=1
D. dd if=/dev/zero of=/dev/sda bs=440
Answer: C
Q9. - (Topic 2)
Which file should be edited to select the network locations from which Debian installation package files are loaded?
A. /etc/dpkg/dpkg.cfg
B. /etc/apt/apt.conf
C. /etc/apt/apt.conf.d
D. /etc/apt/sources.list
E. /etc/dpkg/dselect.cfg
Answer: D
Q10. CORRECT TEXT - (Topic 3)
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
Answer: jobs
Q11. - (Topic 3)
Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?
A. file /tmp/myfile.txt
B. echo "Hello" >/tmp/myfile.txt
C. sed -ie "s/1/2/" /tmp/myfile.txt
D. echo -n "Hello" >>/tmp/myfile.txt
E. touch /tmp/myfile.txt
Answer: A
Q12. - (Topic 2)
Which RPM command will output the name of the package which supplied the file /etc/exports?
A. rpm -F /etc/exports
B. rpm -qf /etc/exports
C. rpm -Kl /etc/exports
D. rpm -qp /etc/exports
E. rpm -qi /etc/exports
Answer: B
Q13. - (Topic 2)
Which of the following commands can be used to download the RPM package kernel without installing it?
A. yum download --no-install kernel
B. yumdownloader kernel
C. rpm --download --package kernel
D. rpmdownload kernel
Answer: B
Q14. - (Topic 3)
What is the default nice level when a process is started using the nice command?
A. -10
B. 10
C. 20
D. 0 Answer: B
Topic 4, Devices, Linux Filesystems, Filesystem Hierachy Standard
Answer:
Q15. - (Topic 4)
Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?
A. dirname
B. which
C. basename
D. query
E. whereis
Answer: E
Q16. - (Topic 2)
When removing a package, which of the following dpkg options will completely remove the files including configuration files?
A. --clean
B. --delete
C. --purge
D. –remove
Answer: C
Q17. - (Topic 2)
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?
A. hidemenu
B. splash
C. timeout
D. showmenu
Answer: C