Skip to main content

101-400 Real Exam Questions

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

178 questions available · Page 1 of 18

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Fill in the blank

FILL BLANK

Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)

Show answer and explanation

Accepted answer: dpkg-reconfigure

Question 2 Multiple choice

What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)

  1. A

    To create RAID 9 arrays.

  2. B

    To dynamically change the size of logical volumes.

  3. C

    To encrypt logical volumes.

  4. D

    To create snapshots.

  5. E

    To dynamically create or delete logical volumes.

Show answer and explanation

Correct answers: B, D, E

Question 3 Single choice

What is the purpose of the Bash built-in export command?

  1. A

    It allows disks to be mounted remotely.

  2. B

    It runs a command as a process in a subshell.

  3. C

    It makes the command history available to subshells.

  4. D

    It sets up environment variables for applications.

  5. E

    It shares NFS partitions for use by other systems on the network.

Show answer and explanation

Correct answer: D

Question 4 Single choice

Creating a hard link to an ordinary file returns an error.

What could be the reason for this?

  1. A

    The source file is hidden.

  2. B

    The source file is read-only.

  3. C

    The source file is a shell script.

  4. D

    The source file is already a hard link.

  5. E

    The source and the target are on different filesystems.

Show answer and explanation

Correct answer: E

Question 5 Fill in the blank

FILL BLANK

Which program updates the database that is used by the locate command?

Show answer and explanation

Accepted answer: UPDATEDB

Question 6 Multiple choice

Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)

  1. A

    chmod +s /tmp

  2. B

    chmod +t /tmp

  3. C

    chmod 1775 /tmp

  4. D

    chmod 4775 /tmp

  5. E

    chmod 2775 /tmp

Show answer and explanation

Correct answers: B, C

Question 7 Multiple choice

Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)

  1. A

    /sbin/mke2fs -j /dev/sdb1

  2. B

    /sbin/mkfs -t ext3 /dev/sdb1

  3. C

    /sbin/mkfs -c ext3 /dev/sdb1

  4. D

    /sbin/mke3fs -j /dev/sdb1

Show answer and explanation

Correct answers: A, B

Question 8 Single choice

Which of the following statements is correct regarding the command foo 1> bar?

  1. A

    The stdout from the command foo is appended to the file bar.

  2. B

    The stdout from the command foo overwrites the file bar.

  3. C

    The command foo receives its stdin from the file bar.

  4. D

    The command foo receives its stdin from the stdout of the command bar.

  5. E

    The stderr from the command foo is saved to the file bar.

Show answer and explanation

Correct answer: B

Question 9 Multiple choice

Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)

  1. A

    FIND

  2. B

    ID

  3. C

    LABEL

  4. D

    NAME

  5. E

    UUID

Show answer and explanation

Correct answers: C, E

Question 10 Multiple choice

Which of the following is true for hard linked files? (Choose three.)

  1. A

    The output of stat will report hard instead of regular file.

  2. B

    The hard linked files have the same permissions and owner.

  3. C

    The hard linked files share the same inode.

  4. D

    The hard linked files are indicated by a -> when listed with ls -1.

  5. E

    The hard linked files must be on the same filesystem.

Show answer and explanation

Correct answers: B, C, E