Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > CompTIA > CompTIA Certifications > LX0-104 > LX0-104 Online Practice Questions and Answers

LX0-104 Online Practice Questions and Answers

Questions 4

Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

A. ~/.bashconf

B. ~/.bashrc

C. ~/.bashdefaults

D. ~/.bash_etc

E. ~/.bash_profile

Buy Now

Correct Answer: BE

Questions 5

When the command echo $$ outputs 12942, what is the meaning of 12942?

A. It is the process ID of the echo command.

B. It is the process ID of the current shell.

C. It is the process ID of the last command executed.

D. It is the process ID of the last command which has been placed in the background.

Buy Now

Correct Answer: B

Questions 6

Which of the following commands prints the exit value of the most recently executed program in Bash?

A. echo $?

B. echo $#

C. echo $exit

D. echo $status

E. echo $and

Buy Now

Correct Answer: A

Questions 7

What is the purpose of the xhost program?

A. Grant or revoke access to a X11 session.

B. Install all packages and video drivers required to run X11 on a host.

C. Start the X11 server and announce its availability within the local network.

D. Send informational messages to all users logged into a host using X11.

E. Display the MOTD and other important information when a user logs in via X11.

Buy Now

Correct Answer: A

Questions 8

What of the following statements is true regarding a display manager?

A. A display manager handles remote X11 logins only and has no purpose on a system that is not attached to a network.

B. The display manager is configured in the X11 configuration file xorg.conf.

C. There is only one display manager X11Dm that must be started on all systems running X11.

D. After system startup, the display manager handles the login of a user.

E. Without a display manager, no graphical programs can be run.

Buy Now

Correct Answer: D

Questions 9

What is true about UIDs and GIDs?

A. UIDs and GIDs share a common number space. Each time a new user or group is created, the next free ID is assigned.

B. The first four digits of each UID are the GID of the primary group of that user.

C. The GID of a group is always the sum of the UIDs of its members.

D. The number space is split up. UIDs usually reside in the range from 0 to 32767 while GIDs reside in the range from 32768 to 65535.

E. There are distinct number spaces for UIDs and GIDs, i.e. the same number may be used as both UID and a GID.

Buy Now

Correct Answer: E

Questions 10

What is true regarding the command sendmail?

A. With any MTA, the sendmail command must be run periodically by the cron daemon.

B. All MTAs, including Postfix and Exim, provide a sendmail command.

C. The sendmail command prints the MTAs queue history of which mails have been sent successfully.

D. It is only available when the sendmail MTA is installed.

Buy Now

Correct Answer: B

Questions 11

Which of the following commands pauses the Cups printer LaserPrinter?

A. cupsreject LaserPrinter

B. cupsreject -d LaserPrinter

C. cupsdisable -d LaserPrinter

D. cupsdisable LaserPrinter

Buy Now

Correct Answer: D

Questions 12

With syslog, what is a facility?

A. Facilities are different connection interfaces to syslog. Each facility has its own device in /dev/syslog/.

B. From syslog's point of view, each Unix process that issues messages is a facility.

C. Facilities describe the severity of a log message such as emerg or info.

D. When using remote logging, the hostname of the server that generated a message is called facility.

E. Facilities describe categories or groups of messages such as mail or auth.

Buy Now

Correct Answer: E

Questions 13

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

Buy Now

Correct Answer: A

Exam Code: LX0-104
Exam Name: CompTIA Linux+ [Powered by LPI] 2
Last Update: Jun 09, 2025
Questions: 178

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2025 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.