Free 102-500 Practice Test Questions and Answers (2026) | Cert Empire Practice Questions
Free preview: 20 questions.
LPI 102 500
Q: 1
Which of the following crontab entries will execute myscript at 30 minutes past every hour on
Sundays?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 3
Which of the following files assigns a user to its primary group?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 4
What output will the command seq 10 produce?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 8
Which of the following protocols is related to the term open relay?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 9
In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 10
Which of the following statements about sytemd-journald are true? (Choose three.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 12
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO
correct answers.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 13
What is the about the following command?
Nmcli device wifi connect WIFIo1
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 15
What is the top-level directory which contains the configuration files for CUPS? (Specify the full path
to the directory.)
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 16
Which of the following comparison operators for test work on elements in the file system? (Choose
two.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 17
Which commands can you use to change a user's account aging information? (Choose THREE correct
answers.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
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
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 19
What is true regarding the command sendmail?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 20
When the command echo $ outputs 1, which of the following statements is true?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Question 1 of 20