LX0-104 Practice Questions
513 real LX0-104 exam questions with expert-verified answers and explanations. Page 1 of 11.
- Question #1
What output will the following command produce? seq 1 5 20
- Question #2
When the command echo $$ outputs 12942, what is the meaning of 12942?
- Question #3
Which of the following commands puts the output of the command date into the shell variable mydate?
- Question #4
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
- Question #5
When the command echo $ outputs 1, which of the following statements is true?
- Question #7
What is the purpose of the file /etc/profile?
- Question #8
The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?
- Question #12
Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?
- Question #13
Which of the following commands can be used to limit the amount of memory a user may use?
- Question #14
Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)
- Question #16
What is a purpose of an SSH host key?
- Question #18
Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?
- Question #20
Which file used by XDM specifies the default wallpaper?
- Question #21
What is the purpose of the iconv command?
- Question #22
In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?
- Question #23
Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?
- Question #24
Which command can be used to delete a group from a Linux system?
- Question #25
Which of the following files assigns a user to its primary group?
- Question #28
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
- Question #30
To prevent a specific user from scheduling tasks with at, what should the administrator do?
- Question #31
What is true about the ntpdate command?
- Question #33
Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?
- Question #36
Which of the following commands is used to rotate, compress, and mail system logs?
- Question #37
What is the purpose of the command mailq?
- Question #38
Which of the following is observed and corrected by a NTP client?
- Question #41
Why is the correct configuration of a system's time zone important?
- Question #42
Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)
- Question #43
What is true regarding the command sendmail?
- Question #44
Which file inside the CUPS configuration directory contains the definition of the printers?
- Question #45
What is true regarding the file ~/.forward?
- Question #46
What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?
- Question #47
Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)
- Question #48
Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)
- Question #49
Which of the following are syslog facilities? (Choose TWO correct answers.)
- Question #51
Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)
- Question #52
What is true regarding TCP port 23?
- Question #54
Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)
- Question #56
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?
- Question #57
Which of the following is a valid IPv6 address?
- Question #58
Which of the following details is NOT provided in any output from the netstat utility?
- Question #59
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.)
- Question #60
What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)
- Question #61
Which of the following is true about IPv6?
- Question #63
Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?
- Question #66
What is the purpose of the nsswitch.conf file?
- Question #67
Which of the following statements is valid in the file /etc/nsswitch.conf?
- Question #68
What is true regarding a default route?
- Question #69
Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)
- Question #70
Each entry in a crontab must end with what character?
- Question #71
Where are user specific crontabs stored?