Q1. - (Topic 1)
During a system boot cycle, what program is executed after the BIOS completes its tasks?
A. The bootloader
B. The inetd program
C. The init program
D. The kernel
Answer: A
Q2. 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
Q3. - (Topic 4)
Which of the following commands shows the definition of a given shell command?
A. where
B. stat
C. type
D. case
Answer: C
Q4. - (Topic 3)
In the vi editor, which of the following commands will copy the current line into the vi buffer?
A. c
B. cc
C. 1c
D. yy
E. 1y
Answer: D
Q5. - (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
Q6. - (Topic 3)
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
A. fmt -f 1,4 /etc/passwd
B. split -c 1,4 /etc/passwd
C. cut -d : -f 1,4 /etc/passwd
D. paste -f 1,4 /etc/passwd
Answer: C
Q7. - (Topic 4)
Which of the following commands will change the quota for a specific user?
A. edquota
B. repquota
C. quota -e
D. quota
Answer: A
Q8. - (Topic 4)
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
A. chown dan/staff file.txt
B. chown dan:staff file.txt
C. chown -u dan -g staff file.txt
D. chown dan -g staff file.txt
Answer: B
Q9. - (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:
Q10. - (Topic 4)
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)
A. FIND
B. ID
C. LABEL
D. NAME
E. UUID
Answer: C,E
Q11. - (Topic 1)
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)
A. 0
B. 1
C. 3
D. 5
E. 6
Answer: A,E
Q12. - (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
Q13. 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
Q14. - (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
Q15. - (Topic 3)
In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?
A. By using the command :repeat followed by the number and the command.
B. By specifying the number right in front of a command such as 4l or 2yj.
C. By selecting all affected lines using the shift and cursor keys before applying the command.
D. By issuing a command such as :set repetition=4 which repeats every subsequent command 4 times.
Answer: B
Q16. CORRECT TEXT - (Topic 4)
Which command is used to create and initialize the files used to store quota information? (Specify ONLY the command without any path or parameters.)
Answer: quotacheck
Q17. - (Topic 3)
Which of the following commands can be used to create a USB storage media from a disk image?
A. gdisk
B. dd
C. cc
D. fdisk
E. mount
Answer: B
Q18. - (Topic 3)
What command will generate a list of user names from /etc/passwd along with their login shell?
A. column -s : 1,7 /etc/passwd
B. chop -c 1,7 /etc/passwd
C. colrm 1,7 /etc/passwd
D. cut -d: -f1,7 /etc/passwd
Answer: D