Pass4itsure > CompTIA > CompTIA Linux+ > LX0-102 > LX0-102 Online Practice Questions and Answers

LX0-102 Online Practice Questions and Answers

Questions 4

Which of the following statements would create a default route using a gateway of 192.168.1.1?

A. netstat -add default gw

B. route default 192.168.1.1

C. ip route default 192.168.1.1

D. route add default gw 192.168.1.1

E. ifconfig default gw 192.168.1.1 eth0

Buy Now
Questions 5

Which of the following is the BEST way to temporarily suspend a user's ability to interactively login?

A. Changing the user's UID.

B. Changing the user's password.

C. Changing the user's shell to /bin/false.

D. Removing the user's entry in /etc/passwd.

E. Placing the command logout in the user's profile.

Buy Now
Questions 6

The correct crontab entry to execute the script chklog three times per month between 3 p.m. and 5 p.m.:

A. * 3, 4, 5 1 * * chklog

B. 3 3, 4, 5 1 * * chklog

C. 3 15, 16, 17 * * * chklog

D. 0 15, 16, 17 1 * * chklog

E. * 15, 16, 17 1 * * chklog

Buy Now
Questions 7

An administrator can run the ________ command to see active network and UNIX domain socket connections. (Please specify the command with no options or parameters).

Buy Now
Questions 8

To slave the NTP daemon to an external source, an administrator needs to modify the ______ variable in the /etc/ntp.conf file.

Buy Now
Questions 9

An ISP has given an administrator an IP block for use. The block is 192.168.112.64/26. If the administrator uses the first usable IP for the router that is installed on the network, how many usable IPs are left? (Please enter the number and not a word)

Buy Now
Questions 10

What is the command to delete the default gateway from the system IP routing table? (Please specify the complete command with arguments, please no duplicate answers in this field.)

Buy Now
Questions 11

Which file contains a list of services and hosts that will be denied by a TCP Wrapper such as tcpd? (Please enter the full path).

Buy Now
Questions 12

The xinetd service will be used instead of inetd. In order to create a similar configuration as inetd, what main file must be created or edited for xinetd? (Please specify the full path)

Buy Now
Questions 13

Which file contains a set of services and permitted hosts that will be allowed to connect to the server by going through a TCP Wrapper program such as tcpd? (Please enter the full path)

Buy Now
Exam Code: LX0-102
Exam Name: CompTIA Linux+ [Powered by LPI] Exam 2
Last Update: Dec 12, 2024
Questions: 177
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99