Vcehome > CompTIA > CompTIA Linux+ > LX0-104 > LX0-104 Online Practice Questions and Answers

LX0-104 Online Practice Questions and Answers

Questions 4

Which of the following commands can remove a user from a group?

A. grouprm

B. groupmod

C. passwd

D. usergroups

E. usermod

Browse 178 Q&As
Questions 5

Where are user specific crontabs stored?

A. In the database file /etc/crontab.db which is shared by all users.

B. As individual per-user files within /var/spool/cron.

C. As individual per-user files in /etc/cron.user.d.

D. In the .crontab file in the user's home directory.

E. In the file /var/cron/user-crontab which is shared by all users.

Browse 178 Q&As
Questions 6

Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

A. 0 * * * 30 myscript

B. 30 * * * 6 myscript

C. 30 0 * * 0 myscript

D. 30 0-23 * * 0 myscript

E. 0 0-23 * * 30 myscript

Browse 178 Q&As
Questions 7

Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)

A. /etc/cups -or- /etc/cups/

Browse 178 Q&As
Questions 8

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

A. 64

Browse 178 Q&As
Questions 9

Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)

A. 127.0.0.0/8

B. 10.0.0.0/8

C. 169.255.0.0/16

D. 172.16.0.0/12

E. 192.168.0.0/16

Browse 178 Q&As
Questions 10

In order to discover the link layer address of the device that owns a specific IPv4 or IPv6 address, which mechanism is used?

A. Both IPv4 and IPv6 use ARP.

B. Both IPv4 and IPv6 use Neighbor Discovery.

C. IPv4 uses ARP while IPv6 uses Neighbor Discovery.

D. IPv4 uses Neighbor Discovery while IPv6 uses ARP.

E. Both IPv4 and IPv6 can use either ARP or Neighbor Discovery depending on the network.

Browse 178 Q&As
Questions 11

Which command is used to manually assign an IP address to a network interface? (Specify only the command without any path or parameters.)

A. ifconfig

Browse 178 Q&As
Questions 12

What is the name of the file that defines the sources (like DNS or local configuration files) and the order in which they are consulted when resolving hostnames? (Specify the full name of the file, including path.)

A. /etc/nsswitch.conf

Browse 178 Q&As
Questions 13

On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)

A. /etc/shadow

Browse 178 Q&As
Exam Code: LX0-104
Exam Name: CompTIA Linux+ [Powered by LPI] 2
Last Update: Apr 26, 2024
Questions: 178 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99