LX0-102 Dumps CompTIA Linux+ Exam 2

Practice Question Download link given below after some important questions

Name of Exam -- LX0-102 CompTIA Linux+ Exam 2
Number of questions is around 300, Dumps in Pdf file.


Which of the following commands can be used to view kernel messages?

A. less dmesg
B. less /var/log/boot.log
C. cat /proc/kernel |less
D. cat /proc/dmesg

Correct Answer: B


A) this command would only work when executing it from /var/log
C) file does not exist
D) there is a dmesg file, but it's located in /var/log/dmesg


Which of the following commands will print the file putty on the printer hplaserj?
(Choose all that apply)

A. lpr -P hplaserj -F putty
B. lpr -Phplaserj putty
C. lpc printer=hplaserj file=putty
D. lpr -p hplaserj -f putty
E. lpr -P hplaserj putty

Correct Answer: BE


Your server has two fully functional NICs with correct IP configuration. The server is not forwarding traffic
between the NICs. Which command will enable forwarding properly?

A. setparam 1 > /proc/sys/net/ipv4/ip_autoconfig
B. echo 1 > /proc/sys/net/ipv4/ip_forward
C. cat $1 > /proc/sys/net/ethernet
D. set $=1 /proc/sys/net/ipv4/route

Correct Answer: B


Which port is used for DNS?

A. 110
B. 21
C. 52
D. 53

Correct Answer: D


Which parameters should appear in a valid /etc/printcap file to allow a local printer queue to point to another
machines print queue?
(Choose Two)

A. rm
B. rp
C. remoteip
D. netprinter
E. netip

Correct Answer: AB



While performing a security audit, you discover that a machine is accepting connections on TCP port 184,
but it is not obvious which process has the port open.
Which of the following programs would you use to find out?

A. traceroute
B. strace
C. debug
D. nessus
E. lsof

Correct Answer: E


From the man pages: lsof - list open files
-i This option selects the listing of files any of whose Internet address matches the address specified in i. If
no address is specified, this option selects the listing of all Internet and x.25 (HP-UX) network files.
-n This option inhibits the conversion of network numbers to host names for network files. Inhibiting
conversion may make lsof run faster. It is also useful when host name lookup is not working properly.
-P This option inhibits the conversion of port numbers to port names for network files. Inhibiting the
conversion may make lsof run a little faster. It is also useful when port name lookup is not working properly.
netstat -nap would get the same information.


To increase system security, it is often desirable to run daemons for system services with nonroot user ids.
Which one of the following services can be run as a non-root user?

A. inetd
B. named
C. rlogind
D. crond
E. telnetd

Correct Answer: B


Your senior system administrator asked you to edit the /etc/inetd.conf file in order to disable the time
After doing so, what would be the next thing to do?

A. Reboot the machine
B. Restart the inetd
C. Find the PID of inetd and kill it with kill -15
D. Find the PID of inetd and send it a SIGHUP

Correct Answer: D


From the man pages:
inetd reads the configuration-file and the default settings in /etc/default/inetd once when it starts up and
rereads them again whenever it receives a hangup signal, SIGHUP. New services can be activated and
existing services can be deleted or modified by editing the configuration-file and then sending inetd a
SIGHUP signal.


Which command should be added to ~/.bash_profile to change the language of messages from an
internationalised program to Portuguese (pt)?
(Select TWO correct answers)

A. export LANGUAGE="pt"
B. export MESSAGE="pt"
C. export LANG="pt"
D. export LC_MESSAGES="pt"
E. export ALL_MESSAGES="pt"

Correct Answer: CD


Which of the following services is NOT usually protected via TCP wrappers?

A. ftp
B. finger
C. auth
D. http

Correct Answer: D

DUMPS Download Link FOR LX0-102 EXAM 2

Download link for LX0-101 Dumps Comptia Linux+ Exam 1

1 comment:

  1. Anonymous12:30 a.m.

    Many thanks for this Dumps: I've made the exam two weeks ago, and this document was almost up to date :-)
    I've pass the exam, so thanks for your job.

    I wish you a Merry Christmas and happy New Year!