102-500 Exam Questions
228 real 102-500 exam questions with expert-verified answers and explanations. Page 2 of 5.
- Question #63Essential System Services
Which of the following statements is true regarding systemd timer units?
systemd-timerssystemd-servicesschedulingsystemd-units - Question #64Administrative Tasks
Which of the following fields are available in the standard format of both the global /etc/crontab file as well as in user-specific crontab files? (Choose two.)
crontabjob schedulingsystem configurationfile formats - Question #65Networking Fundamentals
Which of the following nmcli subcommands exist? (Choose two.)
nmcliNetworkManagernetwork configurationconnection management - Question #66Networking Fundamentals
Which of the following changes may occur as a consequence of using the command ip? (Choose three.)
ip commandnetwork interfacesIP addressingrouting - Question #67Networking Fundamentals
How many IP addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/26?
IPv4 subnettingCIDR notationhost calculationsubnet masks - Question #68Networking Fundamentals
Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose three.)
IPv4 addressingRFC 1918 private networksCIDR notationIANA address allocation - Question #69Networking Fundamentals
Which of the following commands configure network interfaces based on the system's existing distribution- specific configuration files? (Choose two.)
network interface configurationifup/ifdown commandsdistribution-specific network configLinux networking commands - Question #70Administrative Tasks
Which of the following statements is true if the UID of a regular user is identical to the GID of a group?
UIDsGIDsUser ManagementNamespace Independence - Question #71Essential System Services
What is the systemd journal stored?
systemd journallog storagejournaldpersistent logging - Question #72Essential System Services
Which of the following is true regarding the command sendmail?
MTA compatibilitySendmail commandPostfixExim - Question #73Essential System Services
Which file inside the CUPS configuration directory contains the settings of the printers?
CUPSprinter configurationprinters.confsystem services - Question #74Essential System Services
Which of the following are syslog facilities? (Choose two.)
syslogfacilitiesloggingsystem-services - Question #75Essential System Services
Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose two.)
journalctlsystemdlog filteringcommand-line options - Question #76Essential System Services
What is true regarding the file ~/.forward?
mail forwarding.forward fileMTA configurationemail delivery - Question #77Administrative Tasks
Which of the following commands display a list of jobs in the print queue? (Choose two.)
print queuelpq/lpstatCUPS printingsystem administration - Question #78Essential System Services
On a system using systemd-journald, which of the following commands add the message Howdy to the system log? (Choose two.)
systemd-journaldloggersystem-loggingsystemd-cat - Question #79Essential System Services
Which of the following options in the chrony configuration file define remote time sources? (Choose two.)
chrony configurationNTP time sourcessystem time synchronizationremote servers - Question #80
Which of the following situations is observed and corrected by an NTP client?
- Question #81Shells and Shell Scripting
If an alias ls exists, which of the following commands updates the alias to point to the command ls -l instead of the alias's current target?
bash aliasesshell built-insalias commandshell scripting - Question #82Shells and Shell Scripting
Which of the following commands puts the output of the command date into the shell variable mydate?
command substitutionshell variablesbash syntaxprocess output - Question #83Shells and Shell Scripting
What information is shown by the echo $? command?
exit statusshell variables$?command execution - Question #84Shells and Shell Scripting
Which of the following files is not read directly by a Bash login shell?
login shellsshell configurationbash startup.bashrc vs .bash_profile - Question #85Shells and Shell Scripting
What is true about the file .profile in a user's home directory?
shell-configurationfile-permissionslogin-shellssecurity - Question #86
What is true regarding the statement beginning with #! that is found in the first line of script? (Choose two.)
- Question #87Shells and Shell Scripting
What output does the command seq 1 5 20 produce?
seq commandnumber sequencesshell commandscommand parameters - Question #88Shells and Shell Scripting
Which of the following commands lists all defines variables and functions within Bash?
bash built-insshell variablesfunctionsenvironment - Question #89Administrative Tasks
What information related to a user account is modified using the chage command?
chage commandpassword aginguser account managementaccess control - Question #90Shells and Shell Scripting
Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?
ulimitcore filesresource limitsuser restrictions - Question #91Security
How do shadow passwords improve the password security in comparison to standard no-shadow password?
shadow passwordspassword securityfile permissionsaccess control - Question #92Essential System Services
After editing the TCP wrapper configuration to grant specific hosts access to a service, when do these changes become effective?
TCP wrappershosts.allow/hosts.denyAccess controlService configuration - Question #93Security
What is true regarding public and private SSH keys? (Choose two.)
SSHkey pairscryptographyauthentication - Question #94Administrative Tasks
Which of the following commands finds all files owned by root that have the SetUID bit set?
find commandfile permissionsSetUID bitoctal notation - Question #95Security
Which mechanism does ssh use to interact with the SSH agent?
SSH agentSSH_AUTH_SOCKauthenticationsocket communication - Question #96Networking Fundamentals
Which of the following is true about IPv6?
IPv6broadcastmulticastprotocol-features - Question #97Networking Fundamentals
What is true about the following command? nmcli device wifi connect WIFIoI
NetworkManagerWiFi connectivitynmclinetwork configuration - Question #99Networking Fundamentals
Which of the following states can NetworkManager show regarding the system's network connectivity? (Choose two.)
NetworkManagerconnectivity statesnetwork statussystem networking - Question #100Networking Fundamentals
Which of the following are valid host addresses for the subnet 203.0.113.64/28? (Choose two.)
subnettingCIDR notationIPv4 addressinghost addresses - Question #101Networking Fundamentals
Which of the following keywords can be used in the file /etc/resolv/conf? (Choose two.)
DNSnameserverresolv.confnetwork-config - Question #102Networking Fundamentals
How does the ping command work by default?
ICMPping commandEcho Request/Responseconnectivity testing - Question #103Networking Fundamentals
Which of the following commands display the number of bytes transmitted and received via the eth0 network interface? (Choose two.)
network interface statisticsnetwork diagnosticsifconfignetstat - Question #104Networking Fundamentals
Given the following routing table: How would an outgoing packet to the destination 192.168.2.150 be handled?
routing tablesIP routingnetwork gatewaysroute lookup - Question #105Networking Fundamentals
Which of the following commands will delete the default gateway from the system's IP routing table? (Choose two.)
routing tablesdefault gatewayroute commandip command - Question #106Essential System Services
What is true about NetworkManager on a Linux system that uses its distribution's mechanisms to configure network interfaces? (Choose two.)
NetworkManagernetwork interface configurationsystem servicesDHCP - Question #107Networking Fundamentals
Which standardized TCP port is used by HTTPS services?
HTTPSTCP portsNetwork servicesPort 443 - Question #108Administrative Tasks
Which of the following environment variables can be defined in locale.conf? (Choose two.)
locale configurationLC_* variablessystem localizationenvironment variables - Question #109Administrative Tasks
Which of the following commands sets the system's time zone to the Canadian Eastern Time?
timezone configurationsymlinkssystem administrationlocaltime - Question #110Administrative Tasks
How can a specific user be prevented from scheduling tasks with at?
at daemonaccess controlat.denyuser restrictions - Question #111Security
Which file contains the data of the last change of a user's password?
password storageshadow file/etc/shadowauthentication - Question #112Administrative Tasks
Which of the following fields can be found in the /etc/group file? (Choose two.)
/etc/group structuregroup managementuser administrationsystem files - Question #113Essential System Services
Which of the following sections exists in a systemd timer unit?
systemdtimer unitsunit filesscheduling