102-500 Exam Questions
228 real 102-500 exam questions with expert-verified answers and explanations. Page 1 of 5.
- Question #1Shells and Shell Scripting
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)?
Locale/InternationalizationEnvironment VariablesShell ConfigurationLC_MESSAGES - Question #2Administrative Tasks
Which of the following files assigns a user to its primary group?
user accountsgroup assignment/etc/passwdsystem files - Question #3Administrative Tasks
Which of the following steps prevents a user from obtaining an interactive login session?
login shellsuser access controlchsh commandauthentication - Question #4Essential System Services
Which of the following statements about systemd-journald are true? (Choose three.)
systemd-journaldsyslog integrationloggingmetadata - Question #5Essential System Services
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?
NTPchrony configurationibursttime synchronization - Question #6Administrative Tasks
Which of the following commands is used to rotate, compress, and mail system logs?
log rotationlogrotatesystem administrationsystem logs - Question #7Administrative Tasks
Why is the correct configuration of a system's time zone important?
timezone configurationUnix timestampslocal time conversionsystem time - Question #8Administrative Tasks
Which of the following commands lists all queued print jobs?
print queuelpq commandprint jobssystem services - Question #9Essential System Services
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...
syslogfacility-severityloggingremote-logging - Question #10Essential System Services
Which of the following protocols is related to the term open relay?
SMTPopen relayemail securitymail protocols - Question #11Shells and Shell Scripting
Which of the following commands displays all environment and shell variables?
environment variablesenv commandshell variablesLinux commands - Question #12Shells and Shell Scripting
Which of the following comparison operators for test work on elements in the file system? (Choose two.)
bash test operatorsfilesystem testsconditional expressionsshell scripting - Question #13Shells and Shell Scripting
What information is provided by the echo $$ command?
Shell VariablesProcess IDSpecial ParametersShell Scripting - Question #14Shells and Shell Scripting
Which command makes the shell variable named VARIABLE visible to subshells?
export commandenvironment variablesshell variablessubshells - Question #15Shells and Shell Scripting
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
read commandpipes and redirectionvariable expansionword splitting - Question #16Shells and Shell Scripting
Which of the following configuration files should be modified to globally set shell variables for all users?
shell configurationlogin shellsenvironment variablessystem-wide settings - Question #17Shells and Shell Scripting
What output does the command seq 10 produce?
seq commandnumber generationshell utilitiescommand arguments - Question #18Administrative Tasks
Which of the following commands can be used to limit the amount of memory a user may use?
ulimitresource limitsmemory managementuser administration - Question #19Security
What is a purpose of an SSH host key?
SSHHost authenticationPublic key cryptographyServer identity - Question #20Security
What is the purpose of TCP wrapper?
TCP wrappersaccess controlhosts.allow/hosts.denynetwork security - Question #21Administrative Tasks
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.)
sudo configurationNOPASSWD directiveprivilege escalationpassword authentication - Question #22Essential System Services
Which configuration file contains the default options for SSH clients?
SSH client configurationssh_config fileSSH fundamentalsSystem configuration - Question #23Essential System Services
Depending on a system's configuration, which of the following files can be used to enable and disable network services running on this host?
Network services configurationService managementLinux configuration filesSystem services - Question #24Administrative Tasks
Which of the following commands can identify the PID od a process which opened a TCP port?
lsofProcess monitoringNetwork connectionsSystem administration - Question #25Essential System Services
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?
SSH authenticationkey managementpublic-key cryptographyremote access - Question #26User Interfaces and Desktops
On a machine running several X servers, how do programs identify the different instances of the X11 server?
X11 Display NamingDisplay ProtocolX Server InstancesDesktop Environment - Question #27User Interfaces and Desktops
What is the purpose of a screen reader?
accessibilityscreen readervisual impairmentassistive technology - Question #28User Interfaces and Desktops
The X11 configuration file xorg.conf is grouped into section. How is the content of the section represented? SectionName
X11 configurationxorg.conf sectionsConfiguration file syntax - Question #29User Interfaces and Desktops
Which of the following features are provided by SPICE? (Choose two.)
SPICE protocolremote desktop accessUSB redirectionvirtualization - Question #30Networking Fundamentals
Which of the following describes the Linux ping packet or datagram?
ICMPpingnetwork protocolsmessage types - Question #31Networking Fundamentals
Which of the following looks like a correct entry in the /etc/hosts file?
hosts file formathostname resolutionloopback addressnetwork configuration - Question #32Networking Fundamentals
What is the purpose of the dig command?
DNSdig commandDNS queriesnetwork diagnostics - Question #33Networking Fundamentals
You suspect that a gateway machine on your network has failed but you are unsure which machine. Which command will help locate the problem?
traceroutegateway troubleshootingnetwork routingconnectivity diagnostics - Question #34Shells and Shell Scripting
Which bash option will prevent you from overwriting a file with a ">"?
noclobberbash optionsfile protectionset command - Question #35Security
Which directory in a user's home contains configuration files and key rings for GPG?
GPGconfiguration directorieskeyringshome directory - Question #36Essential System Services
Which configuration file would you edit to change default options for outbound ssh sessions?
SSH client configConfiguration filesSSHService configuration - Question #46
Which of the following is a valid IPv6 address?
- Question #47Networking Fundamentals
Which if the following tools, used for DNS debugging, reports not only the response from the name sever but also details about the query?
DNS debuggingdig toolDNS queryname server response - Question #48
Which of the following statements is valid in the file /etc/nsswitch.conf?
- Question #49Networking Fundamentals
Which of the following connection types, as seen in nmcli connection show, may exist in NetworkManager? (Choose three.)
NetworkManagerconnection typesnetwork interfacesbridge - Question #50Networking Fundamentals
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?
route commandDNS resolutionnetwork diagnosticsrouting table - Question #51Networking Fundamentals
What is true about the Hop Limit field in the IPv6 header?
IPv6Hop LimitPacket ForwardingRouter Behavior - Question #52Administrative Tasks
Which configuration file does sudo read when determining if a user is permitted to run applications with root privileges?
sudosudoers/etc/sudoersprivilege escalation - Question #53Security
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?
SSH authenticationkey managementssh-agentpublic key auth - Question #54Security
When generating new authentication keys with SSH for a user, where should the private key be kept?
SSH key managementPrivate key storageAuthenticationSecurity best practices - Question #58Administrative Tasks
Which of the following information is stored in /etc/shadow for each user?
user-authenticationpassword-storage/etc/shadowLinux-files - Question #59Essential System Services
Which of the following commands shows all active systemd timers?
systemdtimerssystemctlservice-management - Question #60Administrative Tasks
Which of the following tasks can the date command accomplish? (Choose two.)
date commandsystem time managementtime formatting - Question #61Administrative Tasks
What can be specified with useradd? (Choose two.)
user account creationuseradd optionsUID specificationhome directory configuration - Question #62Administrative Tasks
What is true about the file /etc/localtime?
timezone configurationlocaltime filesymlinkssystem time management