All of each of our CompTIA LX0-104 exam questions and answers are given any careful revision. Most of the test-takers who may have got through the LX0-104 exam speak highly of each of our CompTIA training materials. So, you are able to believe inside our CompTIA LX0-104 products. Naturally, you can claim your full money back in case you fail in the CompTIA CompTIA analyze. If you encounter any troubles through the studying, you can consult our on the internet help. Your current satisfaction and achievement is each of our main objective. Thanks on your attention.

2021 Dec LX0-104 free draindumps

Q31. - (Topic 4) 

What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12? 

A. *.* /dev/tty12 

B. /var/log/messages | /dev/tty12 

C. | /dev/tty12 

D. syslog tty12 

E. mail.* /dev/tty12 

Answer:


Q32. - (Topic 1) 

After issuing: 

function myfunction { echo $1 $2 ; } 

in Bash, which output does: 

myfunction A B C 

Produce? 

A. A B 

B. A B C 

C. A C 

D. B C 

E. C B A 

Answer:


Q33. - (Topic 3) 

What is true about the file /etc/localtime? 

A. It is a plain text file containing a string such as Europe/Berlin. 

B. It is created and maintained by the NTP service based on the geolocation of the system's IP address. 

C. It is a symlink to /sys/device/clock/ltime and always contains the current local time. 

D. It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin. 

Answer:


Q34. - (Topic 5) 

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.) 

A. resolv 

B. dns 

C. remote 

D. files 

E. hosts 

Answer: B,D 


Q35. CORRECT TEXT - (Topic 6) 

On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.) 

Answer: /etc/shadow 


Update LX0-104 test:

Q36. - (Topic 2) 

The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section? 

A. It is placed in curly brackets as in Section SectionName { ... }. 

B. It is placed between a line containing Section "SectionName" and a line containing EndSection. 

C. It is placed between the tags <Section name="SectionName"> and </Section> 

D. It is placed after the row [SectionName]. 

E. It is placed after an initial unindented Section "SectionName" and must be indented by exactly one tab character. 

Answer:


Q37. - (Topic 4) 

Why is the correct configuration of a system's time zone important? 

A. Because the conversion of Unix timestamps to local time relies on the time zone configuration. 

B. Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created. 

C. Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone. 

D. Because NTP chooses servers nearby based on the configured time zone. 

Answer:


Q38. - (Topic 4) 

Which of the following commands is used to rotate, compress, and mail system logs? 

A. rotatelog 

B. striplog 

C. syslogd --rotate 

D. logrotate 

E. logger 

Answer:


Q39. CORRECT TEXT - (Topic 2) 

What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.) 

Answer: xdm 


Q40. - (Topic 6) 

Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.) 

A. ssh --port 2222 example.com 

B. ssh -p 2222 example.com 

C. ssh -o Port=2222 example.com 

D. ssh -o GatewayPort=2222 example.com 

E. ssh example.com:2222 

Answer: B,C