LX0-104 Exam Questions
499 real LX0-104 exam questions with expert-verified answers and explanations. Page 1 of 10.
- Question #1Shells, Scripting and Data Management
What output will the following command produce? seq 1 5 20
seq commandshell commandscommand output - Question #2Shells, Scripting and Data Management
When the command echo $$ outputs 12942, what is the meaning of 12942?
shell variablesprocess IDbash features - Question #3Shells, Scripting and Data Management
Which of the following commands puts the output of the command date into the shell variable mydate?
command substitutionshell variablesdate command - Question #4Shells, Scripting and Data Management
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
environment variablesenv commandscript execution - Question #5Shells, Scripting and Data Management
When the command echo $ outputs 1, which of the following statements is true?
shell variablesexit statusbash features - Question #7Administrative Tasks
What is the purpose of the file /etc/profile?
login shellenvironment variables/etc/profileshell configuration - Question #8User Interfaces and Desktops
The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?
X11 configurationxorg.confdesktop environment - Question #12Security
Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?
TCP Wrappershosts.allowaccess controlsystem security - Question #13Administrative Tasks
Which of the following commands can be used to limit the amount of memory a user may use?
resource limitsulimitsystem administration - Question #14Networking Fundamentals
Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)
SSH clientSSH portremote connectioncommand line options - Question #16Security
What is a purpose of an SSH host key?
SSH securityhost keysauthenticationman-in-the-middle - Question #18Administrative Tasks
Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?
resource limitsulimitcore dumpsystem administration - Question #20User Interfaces and Desktops
Which file used by XDM specifies the default wallpaper?
XDM configurationwallpaperdesktop environmentX11 - Question #21Shells, Scripting and Data Management
What is the purpose of the iconv command?
iconvcharacter encodingfile conversion - Question #22Administrative Tasks
In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?
cronschedulingaccess controlcron.deny - Question #23Security
Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?
/etc/passwd/etc/shadowpassword storageuser authentication - Question #24Administrative Tasks
Which command can be used to delete a group from a Linux system?
groupdelgroup managementuser and group administration - Question #25Administrative Tasks
Which of the following files assigns a user to its primary group?
/etc/passwdprimary groupuser managementgroup assignment - Question #28Administrative Tasks
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
userdeluser managementcommand optionshome directory - Question #30Administrative Tasks
To prevent a specific user from scheduling tasks with at, what should the administrator do?
at commandschedulingaccess control/etc/at.deny - Question #31Essential System Services
What is true about the ntpdate command?
ntpdateNTPtime synchronizationsystem clock - Question #33Essential System Services
Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?
CUPSlprprintingprint queue - Question #36Administrative Tasks
Which of the following commands is used to rotate, compress, and mail system logs?
logrotatelog managementsystem logslog compression - Question #37Essential System Services
What is the purpose of the command mailq?
mailqmail queueMTAemail management - Question #38Essential System Services
Which of the following is observed and corrected by a NTP client?
NTP clienttime synchronizationsystem clockreference clock - Question #41Essential System Services
Why is the correct configuration of a system's time zone important?
time zonesystem timetimestamps - Question #42Essential System Services
Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)
MTAPostfixSendmailExim - Question #43Essential System Services
What is true regarding the command sendmail?
MTAsendmail commandPostfixExim - Question #44Essential System Services
Which file inside the CUPS configuration directory contains the definition of the printers?
CUPSprinter configurationprinters.conf - Question #45Essential System Services
What is true regarding the file ~/.forward?
mail forwarding~/.forwardMTA - Question #46Essential System Services
What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?
syslogloggingsyslog.confconsole output - Question #47Administrative Tasks
Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)
date commandsystem clocktime display - Question #48Essential System Services
Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)
journalctlsystemd journallog filtering - Question #49Essential System Services
Which of the following are syslog facilities? (Choose TWO correct answers.)
syslogloggingsyslog facilities - Question #51Networking Fundamentals
Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)
IPv4private IP addressesIANA - Question #52Networking Fundamentals
What is true regarding TCP port 23?
TCP portsTelnetport 23 - Question #54Networking Fundamentals
Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)
DNSresolv.confnameserversearch domain - Question #56Networking Fundamentals
On a regular users workstation the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?
route commandtroubleshootingDNS resolutionrouting table - Question #57Networking Fundamentals
Which of the following is a valid IPv6 address?
IPv6IPv6 address formataddress validation - Question #58Networking Fundamentals
Which of the following details is NOT provided in any output from the netstat utility?
netstatnetwork monitoringnetwork statistics - Question #59Networking Fundamentals
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.)
nsswitch.confhostname lookupsDNSfiles - Question #60Networking Fundamentals
What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)
routing tabledefault gatewayroute commandip command - Question #61Networking Fundamentals
Which of the following is true about IPv6?
IPv6broadcast addressesnetworking protocols - Question #63Networking Fundamentals
Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?
DNS debuggingdig commandname resolution - Question #66Essential System Services
What is the purpose of the nsswitch.conf file?
nsswitch.confname service switchsystem information lookup - Question #67Essential System Services
Which of the following statements is valid in the file /etc/nsswitch.conf?
nsswitch.confconfiguration syntaxhost lookup - Question #68Networking Fundamentals
What is true regarding a default route?
default routeroutingnetwork communication - Question #69Networking Fundamentals
Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)
routing tablenetstatroute command - Question #70Administrative Tasks
Each entry in a crontab must end with what character?
crontab syntaxscheduled tasks - Question #71Administrative Tasks
Where are user specific crontabs stored?
crontab storageuser cron jobsfile system hierarchy