Q1. - (Topic 6)
Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?
A. sshd
B. ssh-agent
C. ssh-keygen
D. ssh-add
Answer: B
Q2. - (Topic 3)
Which command can be used to delete a group from a Linux system?
A. groupdel
B. groupmod C. groups
D. groupedit
Answer: A
Q3. CORRECT TEXT - (Topic 5)
Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)
Answer: up
96. - (Topic 5)
What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)
A. route del default
B. ifconfig unset default
C. netstat -r default
D. ip route del default
E. sysctl ipv4.default_gw=0
Q4. CORRECT TEXT - (Topic 4)
Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)
Answer: hwclock, /sbin/hwclock, /usr/sbin/hwclock
Q5. - (Topic 3)
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
A. The user bob is removed from the system's user database.
B. The user bob's home directory is removed.
C. The locate database is updated to drop files owned by bob.
D. All files owned by bob are remove from all mounted filesystems.
E. In case bob was the last member of a group, that group is deleted.
Answer: A,B
Q6. - (Topic 4)
What is the purpose of the command mailq?
A. It fetches new emails from a remote server using POP3 or IMAP.
B. It is a multi-user mailing list manager.
C. It is a proprietary tool contained only in the qmail MTA.
D. It queries the mail queue of the local MTA.
E. It is a command-line based tool for reading and writing emails.
Answer: D
Q7. - (Topic 1)
After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?
A. A B
B. A B C
C. A C
D. B C
E. C B A
Answer: A
Q8. - (Topic 5)
Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)
A. 2001:db8::15 www.example.com www
B. www.example.com www 203.0.13.15
C. 203.0.113.15 www.example.com www
D. www.example.com,www 203.0.13.15,2001:db8::15
E. 2003.0.113.15,2001:db8::15 www.example.com www
Answer: A,C
Q9. CORRECT TEXT - (Topic 5)
Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)
Answer: netstat, /bin/netstat, ss, /usr/bin/ss
Q10. - (Topic 5)
Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)
A. substitute
B. nameserver
C. search
D. lookup
E. method
Answer: B,C