Free 102-500 Practice Test Questions and Answers (2026)
Q: 1
Which of the following crontab entries will execute myscript at 30 minutes past every hour on
Sundays?
Options
Q: 2
Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for
host name lookups? (Choose TWO correct answers.)
Options
Q: 3
Which of the following files assigns a user to its primary group?
Options
Q: 4
What output will the command seq 10 produce?
Options
Q: 5
X is running okay but you're concerned that you may not have the right color depth set. What single
command will show you the running color depth while in X?
Options
Q: 6
Which character in the password field of /etc/passwd is used to indicate that the encrypted password
is stored in /etc/shadow?
Options
Q: 7
Which keyword must be listed in the hosts option of the Name Service Switch configuration file in
order to make host lookups consult the /etc/hosts file?
Your Answer
Q: 8
Which of the following protocols is related to the term open relay?
Options
Q: 9
In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?
Options
Q: 10
Which of the following statements about sytemd-journald are true? (Choose three.)
Options
Q: 11
Which parameter is missing in the command
Ip link act ___ dec etho
To activate the previously inactive network interface ethO? (Specrfy the parameter only without any
command, path or additional options)
Your Answer
Q: 12
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO
correct answers.)
Options
Q: 13
What is the about the following command?
Nmcli device wifi connect WIFIo1
Options
Q: 14
What command is used to add OpenSSH private keys to a running ssh-agen . instance? (Specify the
command name only without any path.)
Your Answer
Q: 15
What is the top-level directory which contains the configuration files for CUPS? (Specify the full path
to the directory.)
Your Answer
Q: 16
Which of the following comparison operators for test work on elements in the file system? (Choose
two.)
Options
Q: 17
Which commands can you use to change a user's account aging information? (Choose THREE correct
answers.)
Options
Q: 18
If an alias 1s exists, which of the following commands updates the alias to point to the command 1s -
1 instead of the alias's current target?
Options
Q: 19
What is true regarding the command sendmail?
Options
Q: 20
When the command echo $ outputs 1, which of the following statements is true?
Options
Question 1 of 20