Q1. - (Topic 1)
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
A. shutdown -R 1 now
B. shutdown -single now
C. init 1
D. telinit 1
E. runlevel 1
Answer: C,D
Q2. - (Topic 3)
Regarding the command:
nice -5 /usr/bin/prog
Which of the following statements is correct?
A. /usr/bin/prog is executed with a nice level of -5.
B. /usr/bin/prog is executed with a nice level of 5.
C. /usr/bin/prog is executed with a priority of -5.
D. /usr/bin/prog is executed with a priority of 5.
Answer: B
Q3. - (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
Q4. - (Topic 3)
Which grep command will print only the lines that do not end with a / in the file foo?
A. grep '/$' foo
B. grep '/#' foo
C. grep -v '/$' foo
D. grep -v '/#' foo
Answer: C
Q5. - (Topic 4)
Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
A. /sbin/mke2fs -j /dev/sdb1
B. /sbin/mkfs -t ext3 /dev/sdb1
C. /sbin/mkfs -c ext3 /dev/sdb1
D. /sbin/mke3fs -j /dev/sdb1
Answer: A,B
Q6. 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
Q7. - (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:
Q8. - (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
Q9. - (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
Q10. - (Topic 4)
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose TWO correct answers.)
A. cat /proc/self/mounts
B. free
C. mount
D. lsmounts
E. cat /proc/filesystems
Answer: A,C