Act now and download your CompTIA LX0-104 test today! Do not waste time for the worthless CompTIA LX0-104 tutorials. Download Rebirth CompTIA CompTIA Linux+ [Powered by LPI] - Exam 2 exam with real questions and answers and begin to learn CompTIA LX0-104 with a classic professional.
2021 Nov LX0-104 exam cram
Q21. - (Topic 1)
Which of the following commands lists all defined variables and functions within Bash?
A. env
B. set
C. env -a
D. echo $ENV
Answer: B
Q22. - (Topic 4)
Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?
A. lpd
B. lpp
C. lpq
D. lpr
Answer: D
Q23. - (Topic 6)
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?
A. find /usr -uid 0 -perm +4000
B. find -user root +mode +s /usr
C. find -type suid -username root -d /usr
D. find /usr -ls \*s\* -u root
E. find /usr -suid -perm +4000
Answer: A
Q24. - (Topic 3)
Which of the following steps prevents a user from obtaining an interactive login session?
A. Run the command chsh -s /bin/false with the user name.
B. Set the UID for the user to 0.
C. Remove the user from the group staff.
D. Add the user to /etc/noaccess.
E. Create a .nologin file in the user's home directory.
Answer: A
Q25. CORRECT TEXT - (Topic 5)
Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)
Answer: netstat, /bin/netstat, ss, /usr/bin/ss
Improved LX0-104 exam price:
Q26. 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
Q27. - (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
Q28. CORRECT TEXT - (Topic 6)
What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.)
Answer: l
Q29. - (Topic 4)
Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)
A. Postfix
B. Procmail
C. Sendmail
D. Exim
E. SMTPd
Answer: A,C,D
Q30. CORRECT TEXT - (Topic 5)
Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?
Answer: files