
[Oct-2021] 101-500 Pre-Exam Practice Tests | Exam Questions and Answers for LPIC Level1 Study Guide
LPIC-1 Exam 101, Part 1 of 2, version 5.0 Certification Sample Questions
NEW QUESTION 108
What is the process ID number of the initprocess on a System V init based system?
- A. 0
- B. It is set to the current run level
- C. 1
- D. 2
- E. It is different with each reboot
Answer: C
NEW QUESTION 109
Which of the following commands show how the shell handles a specific command?
where
- A.
- B. type
- C. fileinfo
- D. stat
- E. case
Answer: D
NEW QUESTION 110
Which command displays the contents of the Kernel Ring Buffer on the command line?
(Provide only the command name without any options or path information)
Answer:
Explanation:
dmesg, /bin/dmesg
NEW QUESTION 111
The installation of a local Debian package failed due to unsatisfied dependencies. Which of the following commands installs missing dependencies and completes the interrupted package installation?
dpkg --fix --all
- A.
- B. apt-get all
- C. apt-get install -f
- D. dpkg-reconfigure --all
- E. apt-get autoinstall
Answer: A
NEW QUESTION 112
Which of the following options must be passed to a filesystem's entry in /etc/fstab in order to mount the file system without root privileges?
- A. norestrict
- B. user
- C. noauto
- D. auto
Answer: B
NEW QUESTION 113
Which of the following is true for hard linked files? (Choose three.)
- A. The output ofstatwill reporthardinstead ofregular file.
- B. The hard linked files have the same permissions and owner.
- C. The hard linked files must be on the same filesystem.
- D. The hard linked files share the same inode.
- E. The hard linked files are indicated by a -> when listed withls -1.
Answer: B,C,D
NEW QUESTION 114
Which daemon handles power management events on a Linux system?
- A. inetd
- B. acpid
- C. pwrmgntd
- D. psd
- E. batteryd
Answer: B
NEW QUESTION 115
Which command must be entered before exiting vi to save the current file as filea.txt?
%s filea.txt
- A.
- B. :s filea.txt
- C. :save filea.txt
- D. %w filea.txt
- E. :w filea.txt
Answer: B
NEW QUESTION 116
What is the output when the regular expression s/[ABC] [abc]/xx/is applied to the following string?
ABCabc
- A. ABCabc
- B. Axxaxx
- C. xxxxxx
- D. ABxxbc
- E. xxCxxc
Answer: C
NEW QUESTION 117
Typically, which top level system directory is used for files and data that change regularly while the system is running and are to be kept between reboots? (Specify only the top level directory)
Answer:
Explanation:
/var, /var/, var, var/
NEW QUESTION 118
After running the command umount /mnt, the following error message is displayed:
umount: /mnt: device is busy.
What is a common reason for this message?
- A. The kernel has not finished flushing disk writes to themounted device.
- B. Another file system still contains a symlink to a file inside /mnt.
- C. The kernel thinks that a process is about toopen a file in /mnt for reading.
- D. A user has a file open in the /mnt directory.
- E. The files in /mnt have been scanned and added to the locate database.
Answer: D
NEW QUESTION 119
Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends which of the following signal codes?
- A. 3(SIGQUIT)
- B. 1(SIGHUP)
- C. 9(SIGKILL)
- D. 2(SIGINT)
- E. 15(SIGTERM)
Answer: D
NEW QUESTION 120
Which command is used to start another command with a given nice level? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
nice
NEW QUESTION 121
Which file should be edited to select the network locations from which Debian installation package files are loaded?
- A. /etc/apt/sources.list
- B. /etc/apt/apt.conf.d
- C. /etc/dpkg/dselect.cfg
- D. /etc/dpkg/dpkg.cfg
- E. /etc/apt/apt.conf
Answer: A
NEW QUESTION 122
After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.)
- A. By creating a symbolic link from the old to the new path of the data.
- B. By creating an ACL redirection from the old to the new path of the data.
- C. By creatinga hard link from the old to the new path of the data.
- D. By mounting the new filesystem on the original path of the data.
- E. By running the command touch on the old path.
Answer: A,D
NEW QUESTION 123
Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
- A. /sbin/mkfs -t ext3 /dev/sdb1
- B. /sbin/mkfs -c ext3 /dev/sdb1
- C. /sbin/mke3fs -j /dev/sdb1
- D. /sbin/mke2fs -j /dev/sdb1
Answer: A,D
NEW QUESTION 124
Which of the following files exist in a standard GRUB 2 installation? (Choose two.)
- A. /boot/grub/grub.cfg
- B. /boot/grub/i386-pc/1vm.mod
- C. /boot/grub/fstab
- D. /boot/grub/stages/stage0
- E. /boot/grub/linux/vmlinuz
Answer: A,B
NEW QUESTION 125
......
Lpi Exam Practice Test To Gain Brilliante Result: https://www.actualtests4sure.com/101-500-test-questions.html
Tested Material Used To 101-500: https://drive.google.com/open?id=1lopzE9gvqDb3JcAMzEdOrqSh0Pa2pVJ1

