Q1. CORRECT TEXT - (Topic 3)
Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)
Answer: groupadd, /usr/sbin/groupadd
Q2. - (Topic 3)
Which file contains the date of the last change of a user's password?
A. /etc/gshadow
B. /etc/passwd
C. /etc/pwdlog
D. /etc/shadow
E. /var/log/shadow
Answer: D
Q3. - (Topic 1)
Which of the following commands lists all defined variables and functions within Bash?
A. env
B. set C. env -a
D. echo $ENV
Answer: B
Q4. - (Topic 5)
Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)
A. 127.0.0.0/8
B. 10.0.0.0/8
C. 169.255.0.0/16
D. 172.16.0.0/12
E. 192.168.0.0/16
Answer: B,D,E
Q5. - (Topic 1)
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)
A. The user issuing the command must be in the group script.
B. The script file must be found in the $PATH.
C. The script file must have the executable permission bit set.
D. The script must begin with a shebang-line (#!) that points to the correct interpreter.
E. The file system on which the script resides must be mounted with the option scripts.
Answer: B,C,D
Q6. - (Topic 3)
Which of the following commands can remove a user from a group?
A. grouprm
B. groupmod
C. passwd
D. usergroups
E. usermod
Answer: E
Q7. CORRECT TEXT - (Topic 3)
In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)
Answer: /etc/cron.allow
Q8. - (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
Q9. - (Topic 1)
Which command makes the shell variable named VARIABLE visible to subshells?
A. export $VARIABLE
B. export VARIABLE
C. set $VARIABLE
D. set VARIABLE
E. env VARIABLE
Answer: B
Q10. CORRECT TEXT - (Topic 1)
What word is missing from the following SQL statement?
insert into tablename ________(909, 'text');
(Please specify the missing word using lower-case letters only.)
Answer: VALUES, values
Q11. - (Topic 5)
What is true regarding TCP port 23?
A. Port 23 is the well known port for the telnet service which is a plain text protocol that should no longer be used.
B. Port 23 is the well known port for the SSH service which provides secure logins.
C. Port 23 is the well known port for the rlogin service which is SSL secured by default.
D. Port 23 is the well known port for the system login services which are encrypted when the user runs the starttls command in his login shell.
Answer: A
Q12. - (Topic 3)
Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)
A. The list of users that belong to the group.
B. The home directory of the group.
C. The name of the group.
D. The description of the group.
E. The password of the group.
Answer: A,C,E
Q13. - (Topic 1)
Which of the following commands puts the output of the command date into the shell variable mydate?
A. mydate="$(date)"
B. mydate="exec date"
C. mydate="$((date))"
D. mydate="date"
E. mydate="${date}"
Answer: A
Q14. - (Topic 6)
Which configuration file would be edited to change default options for the OpenSSH server?
A. /etc/ssh/sshd_config
B. /etc/ssh/ssh
C. /etc/ssh/server
D. /etc/ssh/ssh_config
E. /etc/ssh/ssh_server
Answer: A
Q15. - (Topic 6)
Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?
A. tcpd
B. inetd
C. fingerd
D. mountd
E. xinetd
Answer: A
Q16. - (Topic 2)
For accessibility assistance, which of the following programs is an on-screen keyboard?
A. xkb
B. atkb
C. GOK
D. xOSK
Answer: C
Q17. 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