Q1. CORRECT TEXT - (Topic 4)
Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.)
Answer: 0077, 077
Q2. - (Topic 3)
Regarding the command:
nice -5 /usr/bin/prog
Whichof 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. CORRECT TEXT - (Topic 3)
Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)
Answer: mkdir, /usr/bin/mkdir
Q4. 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
Q5. - (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
Q6. - (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
Q7. 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
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 1)
Which of the following commands will write a message to the terminals of all logged in users?
A. bcast
B. mesg
C. print
D. wall
E. yell
Answer: D
Q10. - (Topic 3)
What is the purpose of the Bash built-in export command?
A. It allows disks to be mounted remotely.
B. It runs a command as a process in a subshell.
C. It makes the command history available to subshells.
D. It sets up environment variables for applications.
E. It shares NFS partitions for use by other systems on the network.
Answer: D