102-500 Exam Questions
228 real 102-500 exam questions with expert-verified answers and explanations. Page 1 of 5.
- Question #1
Which of the following commands should be executed when starting a login shell in order to change the language of messages for an internationalized program to Portuguese (pt)?
- Question #2
Which of the following files assigns a user to its primary group?
- Question #3
Which of the following steps prevents a user from obtaining an interactive login session?
- Question #4
Which of the following statements about systemd-journald are true? (Choose three.)
- Question #5
Which option in the chrony configuration file changes the initial interval of polls to a NTP server in order to speed up the initial synchronization?
- Question #6
Which of the following commands is used to rotate, compress, and mail system logs?
- Question #7
Why is the correct configuration of a system's time zone important?
- Question #8
Which of the following commands lists all queued print jobs?
- Question #9
Which of the following entries in /etc/syslog.conf writes all mail related events to the file /var/log/ and sends all critical events to the remote server logger.example.com? maill...
- Question #10
Which of the following protocols is related to the term open relay?
- Question #11
Which of the following commands displays all environment and shell variables?
- Question #12
Which of the following comparison operators for test work on elements in the file system? (Choose two.)
- Question #13
What information is provided by the echo $$ command?
- Question #14
Which command makes the shell variable named VARIABLE visible to subshells?
- Question #15
What output is produced by the following command sequence? echo `1 2 3 4 5 6' | while read a b c; do echo result $c $b $a; done
- Question #16
Which of the following configuration files should be modified to globally set shell variables for all users?
- Question #17
What output does the command seq 10 produce?
- Question #18
Which of the following commands can be used to limit the amount of memory a user may use?
- Question #19
What is a purpose of an SSH host key?
- Question #20
What is the purpose of TCP wrapper?
- Question #21
Given the following excerpt of the sudo configuration: jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk Which of the following statements are true? (Choose three.)
- Question #22
Which configuration file contains the default options for SSH clients?
- Question #23
Depending on a system's configuration, which of the following files can be used to enable and disable network services running on this host?
- Question #24
Which of the following commands can identify the PID od a process which opened a TCP port?
- Question #25
Which of the following commands preloads and manages existing SSH keys that are used for automatic authentication while logging in to order machines using SSH?
- Question #26
On a machine running several X servers, how do programs identify the different instances of the X11 server?
- Question #27
What is the purpose of a screen reader?
- Question #28
The X11 configuration file xorg.conf is grouped into section. How is the content of the section represented? SectionName
- Question #29
Which of the following features are provided by SPICE? (Choose two.)
- Question #30
Which of the following describes the Linux ping packet or datagram?
- Question #31
Which of the following looks like a correct entry in the /etc/hosts file?
- Question #32
What is the purpose of the dig command?
- Question #33
You suspect that a gateway machine on your network has failed but you are unsure which machine. Which command will help locate the problem?
- Question #34
Which bash option will prevent you from overwriting a file with a ">"?
- Question #35
Which directory in a user's home contains configuration files and key rings for GPG?
- Question #36
Which configuration file would you edit to change default options for outbound ssh sessions?
- Question #46
Which of the following is a valid IPv6 address?
- Question #47
Which if the following tools, used for DNS debugging, reports not only the response from the name sever but also details about the query?
- Question #48
Which of the following statements is valid in the file /etc/nsswitch.conf?
- Question #49
Which of the following connection types, as seen in nmcli connection show, may exist in NetworkManager? (Choose three.)
- Question #50
On a Linux workstation, the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?
- Question #51
What is true about the Hop Limit field in the IPv6 header?
- Question #52
Which configuration file does sudo read when determining if a user is permitted to run applications with root privileges?
- Question #53
What command is used to hold keys during a login session to be used for automatic authentication while logging in to other machines using ssh?
- Question #54
When generating new authentication keys with SSH for a user, where should the private key be kept?
- Question #58
Which of the following information is stored in /etc/shadow for each user?
- Question #59
Which of the following commands shows all active systemd timers?
- Question #60
Which of the following tasks can the date command accomplish? (Choose two.)
- Question #61
What can be specified with useradd? (Choose two.)
- Question #62
What is true about the file /etc/localtime?