A Review Of Exact 101-400 practice
Testking offers free demo for 101-400 exam. "LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2", also known as 101-400 exam, is a LPI Certification. This set of posts, Passing the LPI 101-400 exam, will help you answer those questions. The 101-400 Questions & Answers covers all the knowledge points of the real exam. 100% real LPI 101-400 exams and revised by experts!
Q1. - (Topic 2)
Which of the following is correct when talking about mount points?
A. Every existing directory can be used as a mount point.
B. Only empty directories can be used as a mount point.
C. Directories need to have the SetUID flag set to be used as a mount point.
D. Files within a directory are deleted when the directory is used as a mount point.
Q2. - (Topic 3)
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
Q3. - (Topic 3)
Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?
Q4. - (Topic 1)
Which of the following information is stored within the BIOS? (Choose TWO correct answers.)
A. Boot device order
B. Linux kernel version
D. Hardware configuration
E. The system's hostname
Q5. - (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.
Q6. - (Topic 4)
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose TWO correct answers.)
A. cat /proc/self/mounts
E. cat /proc/filesystems
Q7. - (Topic 4)
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
A. chmod u=rwx,go=rx /bin/foo
B. chmod o+rwx,a+rx /bin/foo
C. chmod 577 /bin/foo
D. chmod 775 /bin/foo
Q8. - (Topic 4)
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
A. tune2fs -d 200 /dev/sda1
B. tune2fs -c 200 /dev/sda1
C. tune2fs -i 200 /dev/sda1
D. tune2fs -n 200 /dev/sda1
E. tune2fs --days 200 /dev/sda1
Q9. - (Topic 4)
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.)
Q10. - (Topic 3)
Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?
A. sed '/bob/Bob' letter > newletter
B. sed s/bob/Bob/ letter < newletter
C. sed 's/bob/Bob' letter > newletter
D. sed 's/bob/Bob/g' letter > newletter
E. sed 's/bob, Bob/' letter > newletter