Q1. CORRECT TEXT - (Topic 2)
Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)
Answer: dpkg-reconfigure
Q2. - (Topic 3)
When given the following command line.
echo "foo bar" | tee bar | cat
Which of the following output is created?
A. cat
B. foo bar
C. tee bar
D. bar
E. foo
Answer: B
Q3. - (Topic 1)
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
A. Entries for all possible devices get created on boot even if those devices are not connected.
B. Additional rules for udev can be created by adding them to /etc/udev/rules.d/.
C. When using udev, it is not possible to create block or character devices in /dev/ using mknod.
D. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup.
E. The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.
Answer: B,D
Q4. CORRECT TEXT - (Topic 1)
Which command will display messages from the kernel that were output during the normal boot sequence?
Answer: dmesg, /bin/dmesg
Q5. - (Topic 3)
What is the output of the following command?
echo "Hello World" | tr -d aieou
A. Hello World
B. eoo
C. Hll Wrld
D. eoo Hll Wrld
Answer: C
Q6. 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
Q7. - (Topic 4)
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?
A. ext2
B. ext3
C. ext4
D. XFS
E. VFAT
Answer: A
Q8. - (Topic 4)
Which of the following is the device file name for the second partition on the only SCSI drive?
A. /dev/hda1
B. /dev/sda2
C. /dev/sd0a2
D. /dev/sd1p2
Answer: B
Q9. - (Topic 3)
Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)
A. uptime
B. up
C. top
D. uname -u
E. time–up
Answer: A,C
Q10. - (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
Q11. - (Topic 2)
When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers.)
A. Timestamps
B. MD5 checksums
C. Inodes
D. File sizes
E. GnuPG signatures
Answer: A,B,D
Q12. - (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
Q13. - (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
Q14. - (Topic 2)
Which of the following environment variables overrides or extends the list of directories holding shared libraries?
A. LD_LOAD_PATH
B. LD_LIB_PATH
C. LD_LIBRARY_PATH
D. LD_SHARE_PATH
E. LD_RUN_PATH
Answer: C
Q15. - (Topic 2)
Which of the following is correct when talking about mount points?
A. Every existing directory can be used as a mount point.
B. Only empty directories can be used as a mount point.
C. Directories need to have the SetUID flag set to be used as a mount point.
D. Files within a directory are deleted when the directory is used as a mount point.
Answer: A
Q16. - (Topic 4)
After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?
A. foo and bar would both be removed.
B. foo would be removed while bar would remain accessible.
C. foo would be removed. bar would still exist but would be unusable.
D. Both foo and bar would remain accessible.
E. The user is prompted whether bar should be removed, too.
Answer: B
Q17. - (Topic 4)
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?
A. File size
B. Modify timestamp
C. Link count
D. Inode number
E. Permissions
Answer: C