High quality of LX0-104 free question materials and ebook 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!
Q31. CORRECT TEXT - (Topic 5)
How many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28? (Specify the number only without any additional information.)
Answer: 14
Q32. - (Topic 1)
After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?
A. A B
B. A B C
C. A C
D. B C
E. C B A
Answer: A
Q33. - (Topic 5)
Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)
A. substitute
B. nameserver
C. search
D. lookup
E. method
Answer: B,C
Q34. - (Topic 6)
When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?
A. debug
B. lsof
C. nessus
D. strace
E. traceroute
Answer: B
Q35. - (Topic 3)
Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)
A. The list of users that belong to the group.
B. The home directory of the group.
C. The name of the group.
D. The description of the group.
E. The password of the group.
Answer: A,C,E
Q36. - (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
Q37. CORRECT TEXT - (Topic 6)
Which file contains a set of services and hosts that will be allowed to connect to the server by going through a TCP Wrapper program such as tcpd? (Specify the full name of the file, including path.)https://lh3.googleusercontent.com/-5cd-clmKnbk/AAAAAAAAAAI/AAAAAAAAADM/-SXesH19Ido/s46-c-k-no/photo.jpg
Answer: /etc/hosts.allow
Q38. - (Topic 1)
What output will the command seq 10 produce?
A. A continuous stream of numbers increasing in increments of 10 until stopped.
B. The numbers 1 through 10 with one number per line.
C. The numbers 0 through 9 with one number per line.
D. The number 10 to standard output.
Answer: B
Q39. CORRECT TEXT - (Topic 4)
Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information? (Specify ONLY the option without any values or parameters.)
Answer: server
Q40. - (Topic 4)
Which of the following commands is used to rotate, compress, and mail system logs?
A. rotatelog
B. striplog
C. syslogd --rotate
D. logrotate
E. logger
Answer: D