Proper study guides for Regenerate CompTIA CompTIA Linux+ [Powered by LPI] - Exam 2 certified begins with CompTIA LX0-104 preparation products which designed to deliver the Approved LX0-104 questions by making you pass the LX0-104 test at your first time. Try the free LX0-104 demo right now.

2021 Jan LX0-104 exam answers

Q51. - (Topic 2) 

For accessibility assistance, which of the following programs is an on-screen keyboard? 

A. xkb 

B. atkb 

C. GOK 

D. xOSK 

Answer:


Q52. - (Topic 3) 

Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays? 

A. 0 * * * 30 myscript 

B. 30 * * * 6 myscript 

C. 30 0 * * 0 myscript 

D. 30 0-23 * * 0 myscript 

E. 0 0-23 * * 30 myscript 

Answer:


Q53. - (Topic 5) 

Given the following routing table: 

How would an outgoing packet to the destination 192.168.2.150 be handled? 

A. It would be passed to the default router 192.168.178.1 on wlan0. 

B. It would be directly transmitted on the device eth0. 

C. It would be passed to the default router 255.255.255.0 on eth0. 

D. It would be directly transmitted on the device wlan0. 

E. It would be passed to the router 192.168.1.1 on eth0. 

Answer:


Q54. - (Topic 5) 

What is true regarding a default route? 

A. The default route is always used first. When the default route is not available more specific routes are tried. 

B. When a default route is set, all other routes are disabled until the default route is deleted. 

C. The default route is only used if there is not a more specific route to a destination host or network. 

D. Without a default route, no network communication even in directly attached networks is possible. 

Answer:


Q55. CORRECT TEXT - (Topic 1) 

By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.) 

Answer: /etc/skel 


Improve LX0-104 practice exam:

Q56. - (Topic 1) 

What output will the following command sequence produce? 

echo '1 2 3 4 5 6' | while read a b c; do 

echo result: $c $b $a; 

done 

A. result: 3 4 5 6 2 1 

B. result: 1 2 3 4 5 6 

C. result: 6 5 4 

D. result: 6 5 4 3 2 1 

E. result: 3 2 1 

Answer:


Q57. CORRECT TEXT - (Topic 1) 

What word is missing from the following SQL statement? 

insert into tablename ________(909, 'text'); 

(Please specify the missing word using lower-case letters only.) 

Answer: VALUES, values 


Q58. CORRECT TEXT - (Topic 6) 

Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file? (Specify the full path to the directory.) 

Answer: /etc/xinetd.d/, /etc/xinetd.d 


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


Q60. CORRECT TEXT - (Topic 4) 

Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.) 

Answer: /etc/cups, /etc/cups/