Simulation of LX0-104 exam cost materials and testing material for CompTIA certification for customers, Real Success Guaranteed with Updated LX0-104 pdf dumps vce Materials. 100% PASS CompTIA Linux+ [Powered by LPI] - Exam 2 exam Today!

Q1. - (Topic 3) 

Which of the following commands can remove a user from a group? 

A. grouprm 

B. groupmod 

C. passwd 

D. usergroups 

E. usermod 

Answer:


Q2. - (Topic 2) 

Which of the following commands shows the current color depth of the X Server? 

A. xcd 

B. xcdepth 

C. xwininfo 

D. xcolordepth 

E. cat /etc/X11 

Answer:


Q3. - (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:


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


Q5. - (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:


Q6. CORRECT TEXT - (Topic 3) 

Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename) 

Answer: /etc/at.deny 


Q7. - (Topic 5) 

What of the following can be done by the command ifconfig? (Choose TWO correct answers.) 

A. Set a network interface active or inactive. 

B. Specify the kernel module to be used with a network interface. 

C. Allow regular users to change the network configuration of a network interface. 

D. Change the netmask used on a network interface. 

E. Specify which network services are available on a network interface. 

Answer: A,D 


Q8. CORRECT TEXT - (Topic 1) 

What word is missing from the following SQL statement? 

__________ count(*) from tablename; 

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

Answer: select