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

LX0-104 Online Practice Questions and Answers

Questions 4

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.

Browse 178 Q&As
Questions 5

The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?

A. It is placed in curly brackets as in Section SectionName { ... }.

B. It is placed between a line containing Section "SectionName" and a line containing EndSection.

C. It is placed between the tags

and

D. It is placed after the row [SectionName].

E. It is placed after an initial unindented Section "SectionName" and must be indented by exactly one tab character.

Browse 178 Q&As
Questions 6

How is a display manager started?

A. It is started by a user using the command startx.

B. It is started like any other system service by the init system.

C. It is started by inetd when a remote hosts connects to the X11 port.

D. It is started automatically when a X11 user logs in to the system console.

Browse 178 Q&As
Questions 7

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 8

To prevent a specific user from scheduling tasks with at, what should the administrator do?

A. Add the specific user to /etc/at.allow file.

B. Add the specific user to [deny] section in the /etc/atd.conf file.

C. Add the specific user to /etc/at.deny file.

D. Add the specific user to nojobs group.

E. Run the following: atd --deny [user].

Browse 178 Q&As
Questions 9

What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?

A. *.* /dev/tty12

B. /var/log/messages | /dev/tty12

C. | /dev/tty12

D. syslog tty12

E. mail.* /dev/tty12

Browse 178 Q&As
Questions 10

Which file, when using Sendmail or a compatible MTA system, will allow a user to redirect all of their mail to another address and is configurable by the user themselves?

A. /etc/alias

B. /etc/mail/forwarders

C. ~/.alias

D. ~/.forward

Browse 178 Q&As
Questions 11

Which of the following details is NOT provided in any output from the netstat utility?

A. broadcast services

B. interface statistics

C. masquerading connections

D. network connections

E. routing tables

Browse 178 Q&As
Questions 12

Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

A. hostname

Browse 178 Q&As
Questions 13

Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)

A. up

Browse 178 Q&As
Questions 14

Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)

A. New name servers may be added to the resolver configuration.

B. Network interfaces may become active or inactive.

C. The routing table may change.

D. IP addresses may change.

E. The system's host name may change.

Browse 178 Q&As
Questions 15

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 16

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

Browse 178 Q&As
Questions 17

Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?

A. sshd

B. ssh-agent

C. ssh-keygen

D. ssh-add

Browse 178 Q&As
Questions 18

Which of the following commands can be used to limit the amount of memory a user may use?

A. umask

B. usermod

C. ulimit

D. passwd

E. chage

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

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99