Skip to main content

LX0-102 Real Exam Questions

CompTIA Linux+ [Powered by LPI] Exam 2

177 questions available · Page 1 of 18

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Fill in the blank

FILL BLANK

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)

Show answer and explanation

Accepted answer: Answer: /etc/xinetd.conf

Question 2 Single choice

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

  1. A

    Changing the user's UID.

  2. B

    Changing the user's password.

  3. C

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

  4. D

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

  5. E

    Placing the command logout in the user's profile.

Show answer and explanation

Correct answer: C

Question 3 Fill in the blank

FILL BLANK

Which option, when passed to the gpg command, will enter an interactive menu enabling the user to perform key management related tasks? (Provide only one option).

Show answer and explanation

Accepted answer: Answer: EDIT-KEY

Question 4 Single choice

Each entry in a crontab must end with which of the following characters?

  1. A

    tab

  2. B

    space

  3. C

    backslash

  4. D

    newline

Show answer and explanation

Correct answer: D

Question 5 Single choice

Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?

  1. A

    The encrypted passwords are still subject to brute force attacks.

  2. B

    This is just for historical reasons.

  3. C

    There is other information in the file that needs to be kept secret.

  4. D

    The passwords can be decrypted by anyone with root access.

Show answer and explanation

Correct answer: A

Question 6 Fill in the blank

FILL BLANK

To exclude all log messages of a given logging facility, an administrator should use a logging priority of
_____ .

Show answer and explanation

Accepted answer: Answer: NONE

Question 7 Single choice

Which of the following characters in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

  1. A

    *

  2. B

    -
    C. s

  3. C

    x

Show answer and explanation

Correct answer: C

Question 8 Single choice

A senior executive asked an administrator to change the default background of the executive machine, which uses XDM. Which of the following filesA senior executive asked an administrator to change the default background of the executive? machine, which uses XDM.

Which of the following files would the administrator edit to achieve this?

  1. A

    /etc/X11/xdm/Xsetup

  2. B

    /etc/X11/xdm.conf

  3. C

    /etc/X11/xdm/Defaults

  4. D

    /etc/X11/defaults.conf

Show answer and explanation

Correct answer: A

Question 9 Single choice

Which of the following commands can deconfigure a network interface?

  1. A

    ipdown

  2. B

    net

  3. C

    ifconfig

  4. D

    netdown

Show answer and explanation

Correct answer: C

Question 10 Fill in the blank

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)

Show answer and explanation

Accepted answer: Answer: 61