Exam Code: 101-400 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2
Certification Provider: LPI
Free Today! Guaranteed Training- Pass 101-400 Exam.
Q1. - (Topic 3)
What command will generate a list of user names from /etc/passwd along with their login shell?
A. column -s : 1,7 /etc/passwd
B. chop -c 1,7 /etc/passwd
C. colrm 1,7 /etc/passwd
D. cut -d: -f1,7 /etc/passwd
Q2. - (Topic 3)
Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?
Q3. - (Topic 3)
Which of the following commands can be used to create a USB storage media from a disk image?
Q4. - (Topic 4)
What does the command mount -a do?
A. It ensures that all file systems listed with the option noauto in /etc/fstab are mounted.
B. It shows all mounted file systems that have been automatically mounted.
C. It opens an editor with root privileges and loads /etc/fstab for editing.
D. It ensures that all file systems listed with the option auto in /etc/fstab are mounted.
E. It ensures that all file systems listed in /etc/fstab are mounted regardless of their options.
Q5. - (Topic 4)
Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ?
Q6. - (Topic 3)
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
A. fmt -f 1,4 /etc/passwd
B. split -c 1,4 /etc/passwd
C. cut -d : -f 1,4 /etc/passwd
D. paste -f 1,4 /etc/passwd
Q7. CORRECT TEXT - (Topic 2)
In which directory must definition files be placed to add additional repositories to yum?
Answer: /etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/
Q8. - (Topic 1)
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
A. Entries for all possible devices get created on boot even if those devices are not connected.
B. Additional rules for udev can be created by adding them to /etc/udev/rules.d/.
C. When using udev, it is not possible to create block or character devices in /dev/ using mknod.
D. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup.
E. The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.
Q9. - (Topic 2)
Which of the following commands is used to update the list of available packages when using dpkg based package management?
A. apt-get update
B. apt-get upgrade
C. apt-cache update
D. apt-get refresh
E. apt-cache upgrade
Q10. - (Topic 3)
Which of the following command sets the Bash variable named TEST with the content FOO?
A. set TEST="FOO"
B. TEST = "FOO"
C. var TEST="FOO"