Skip to main content

102-500 Real Exam Questions

LPIC-1 - Exam 102 - version 5.0

237 questions available · Page 1 of 24

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Multiple choice

Which of the following comparison operators for test work on elements in the file system? (Choose two.)

  1. A

    -z

  2. B

    -eq

  3. C

    -d

  4. D

    -f

  5. E

    -lt

Show answer and explanation

Correct answers: C, D

Question 2 Single choice

Which command can be used to delete a group from a Linux system?

  1. A

    groupdel

  2. B

    groupmod

  3. C

    groups

  4. D

    groupedit

Show answer and explanation

Correct answer: A

Question 3 Single choice

What is true about the file .
profile in a user's home directory?

  1. A

    It must be executable.

  2. B

    It must call the binary of the login shell.

  3. C

    It must use a valid shell script syntax.

  4. D

    It must start with a shebang.

  5. E

    It must be readable for its owner only.

Show answer and explanation

Correct answer: C

Question 4 Multiple choice

Which of the following commands display a list of jobs in the print queue? (Choose Two)

  1. A

    Cups--list

  2. B

    Iprm -1

  3. C

    Lpstat

  4. D

    Ipr-q

  5. E

    ipq

Show answer and explanation

Correct answers: C, E

Question 5 Single choice

On a regular users workstation the route command takes a long time before printing out the routing table.

Which of the following errors does that indicate?

  1. A

    The local routing information may be corrupted and must be re-validated using a routing protocol.

  2. B

    One of the routers in the routing table is not available which causes the automatic router failure detection mechanism (ARF-D) to wait for a timeout.

  3. C

    There may accidentally be more than one default router in which case a default router election has to be done on the network in order to choose one router as the default.

  4. D

    DNS resolution may not be working as route by default tries to resolve names of routers and destinations and may run into a timeout.

Show answer and explanation

Correct answer: D

Question 6 Fill in the blank

FILL IN THE BLANK

An administrator wants to determine the geometry of a particular window in X, so she issues the __________-metric command and then clicks on the window.

Show answer and explanation

Accepted answer: XWINFO

Question 7 Single choice

Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)

  1. A

    hwclock

  2. B

    /sbin/hwclock

  3. C

    /usr/sbin/hwclock

Show answer and explanation

Correct answer: A

Question 8 Multiple choice

Which commands can be used to change a user's account aging information? (Choose Three.)

  1. A

    usermod

  2. B

    passwd

  3. C

    chattr

  4. D

    chage

  5. E

    chsh

Show answer and explanation

Correct answers: A, B, D

Question 9 Single choice

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

  1. A

    It is the process ID of the echo command.

  2. B

    It is the process ID of the current shell.

  3. C

    It is the process ID of the last command executed.

  4. D

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

Show answer and explanation

Correct answer: B

Question 10 Single choice

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

  1. A

    grouprm

  2. B

    groupmod

  3. C

    passwd

  4. D

    usergroups

  5. E

    usermod

Show answer and explanation

Correct answer: E