Q1. - (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
Q2. - (Topic 1)
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
A. /etc/keys
B. /proc/keys
C. /etc/inittab
D. /proc/inittab
E. /etc/reboot
Answer: C
Q3. - (Topic 3)
Which of the following command sets the Bash variable named TEST with the content FOO?
A. set TEST="FOO"
B. TEST = "FOO"
C. var TEST="FOO"
D. TEST="FOO"
Answer: D
75. - (Topic 3)
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)
A. esc ZZ
B. ctrl :w!
C. esc zz
D. esc :wq!
E. ctrl XX
Q4. CORRECT TEXT - (Topic 2)
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
Answer: menu.lst, grub.conf, grub.cfg
Q5. - (Topic 1)
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
A. /lib/init.so
B. /sbin/init
C. /etc/rc.d/rcinit
D. /proc/sys/kernel/init
E. /boot/init
Answer: B
Q6. - (Topic 1)
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
A. silent
B. verbose=0
C. nomesg
D. quiet
Answer: D
Q7. - (Topic 3)
Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?
A. kill -PIPE 123
B. kill -KILL 123
C. kill -STOP 123
D. kill -TERM 123
Answer: D
Q8. - (Topic 3)
Which of the following shell redirections will write standard output and standard error output to a file named filename?
A. 2>&1 >filename
B. >filename 2>&1
C. 1>&2>filename
D. >>filename
E. 1&2>filename
Answer: B
Q9. - (Topic 2)
Which of the following commands lists the dependencies of a given dpkg package?
A. apt-cache depends-on package
B. apt-cache dependencies package
C. apt-cache depends package
D. apt-cache requires package
Answer: C
Q10. - (Topic 3)
Which of the following files, located in the user home directory, is used to store the Bash history?
A. .bash_history
B. .bash_histfile
C. .history
D. .bashrc_history
E. .history_bash
Answer: A