It is more faster and easier to pass the CompTIA LX0-104 exam by using Guaranteed CompTIA CompTIA Linux+ [Powered by LPI] - Exam 2 questuins and answers. Immediate access to the Up to the immediate present LX0-104 Exam and find the same core area LX0-104 questions with professionally verified answers, then PASS your exam with a high score now.

Q11. - (Topic 1) 

How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only? 

A. unset -v FOOBAR;./myscript 

B. set -a FOOBAR="";./myscript 

C. env -u FOOBAR./myscript 

D. env -i FOOBAR./myscript 

Answer:


Q12. - (Topic 3) 

To prevent a specific user from scheduling tasks with at, what should the administrator do? 

A. Add the specific user to /etc/at.allow file. 

B. Add the specific user to [deny] section in the /etc/atd.conf file. 

C. Add the specific user to /etc/at.deny file. 

D. Add the specific user to nojobs group. 

E. Run the following: atd --deny [user]. 

Answer:


Q13. - (Topic 3) 

What is NOT contained in the locale setting of the operating system? 

A. currency symbol 

B. language 

C. timezone 

D. thousands separator 

Answer:


Q14. - (Topic 4) 

Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.) 

A. --from= 

B. --since= 

C. --until= 

D. --upto= 

E. --date= 

Answer: B,C 


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


Q16. CORRECT TEXT - (Topic 4) 

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.) 

Answer: lpq, /usr/bin/lpq, lpstat, /usr/bin/lpstat 


Q17. - (Topic 3) 

Which file contains the date of the last change of a user's password? 

A. /etc/gshadow 

B. /etc/passwd 

C. /etc/pwdlog 

D. /etc/shadow 

E. /var/log/shadow 

Answer:


Q18. - (Topic 1) 

What is the purpose of the file /etc/profile? 

A. It contains the welcome message that is displayed after login. 

B. It contains security profiles defining which users are allowed to log in. 

C. It contains environment variables that are set when a user logs in. 

D. It contains default application profiles for users that run an application for the first time. 

Answer:


Q19. - (Topic 6) 

Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH? 

A. sshd 

B. ssh-agent 

C. ssh-keygen 

D. ssh-add 

Answer:


Q20. CORRECT TEXT - (Topic 5) 

With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.) 

Answer: 64