Exam Code: LX0-104 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: CompTIA Linux+ [Powered by LPI] - Exam 2
Certification Provider: CompTIA
Free Today! Guaranteed Training- Pass LX0-104 Exam.

2021 Apr LX0-104 Study Guide Questions:

Q51. - (Topic 6) 

Which of the following commands can be used to limit the amount of memory a user may use? 

A. umask 

B. usermod 

C. ulimit 

D. passwd 

E. chage 

Answer: C 

Q52. CORRECT TEXT - (Topic 2) 

What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.) 

Answer: xorg.conf 

Q53. CORRECT TEXT - (Topic 6) 

The presence of what file will temporarily prevent all users except root from logging into the system? (Specify the full name of the file, including path.) 

Answer: /etc/nologin 

LX0-104 free draindumps

Rebirth comptia casp cas-002:

Q54. - (Topic 5) 

Which of the following statements is valid in the file /etc/nsswitch.conf? 

A. multi on 

B. dns-server 

C. hosts: files dns 

D. include /etc/nsswitch.d/ 

Answer: C 

Q55. - (Topic 3) 

In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true? 

A. Without additional configuration, no users may have user specific crontabs. 

B. Without additional configuration, all users may have user specific crontabs. 

C. The cron daemon will refuse to start and report missing files in the system's logfile. 

D. When a user creates a user specific crontab the system administrator must approve it explicitly. 

Answer: A 

Q56. CORRECT TEXT - (Topic 4) 

Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.) 

Answer: hwclock, /sbin/hwclock, /usr/sbin/hwclock 

LX0-104 free exam questions

Breathing comptia casp cas-002 pdf:

Q57. - (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 

Q58. - (Topic 1) 

Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders? 

A. SELECT order_type,COUNT(*) FROM orders WHERE order_type=order_type; 

B. SELECT order_type,COUNT(*) FROM orders GROUP BY order_type; 

C. COUNT(SELECT order_type FROM orders); 

D. SELECT COUNT(*) FROM orders ORDER BY order_type; 

E. SELECT AUTO_COUNT FROM orders COUNT order_type; 

Answer: B 

Q59. CORRECT TEXT - (Topic 6) 

With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.) 


Q60. - (Topic 1) 

What output will the following command produce? 

seq 1 5 20 

A. 1 6 1 1 1 6 

B. 1 5 10 15 

C. 1 2 3 4 

D. 2 3 4 5 

E. 5 10 15 20 

Answer: A