
Latest [Apr 28, 2023] Realistic Verified 101-500 Dumps
Pass Lpi 101-500 Exam Updated 246 Questions
NEW QUESTION # 135
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.)
Answer:
Explanation:
dpkg-reconfigure
NEW QUESTION # 136
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. apt-get install -f
- B. apt-get all
- C. apt-get autoinstall
- D. dpkg-reconfigure --all
- E.
Answer: E
NEW QUESTION # 137
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
- A. chmod 577 /bin/foo
- B. chmod o+rwx,a+rx /bin/foo
- C. chmod u=rwx,go=rx /bin/foo
- D. chmod 775 /bin/foo
Answer: C
NEW QUESTION # 138
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
- A. dd if=/dev/zero of=/dev/sda bs=440
- B. dd if=/dev/zero of=/dev/sda bs=512
- C. dd if=/dev/zero of=/dev/sda bs=512 count=1
- D. dd if=/dev/zero of=/dev/sda bs=440 count=1
Answer: D
NEW QUESTION # 139
Which program updates the database that is used by the locate command?
Answer:
Explanation:
updatedb
NEW QUESTION # 140
Which of the following commands lists all currently installed packages when using RPM package management?
- A. yum --query --all
- B. rpm --query --all
- C. rpm --query --list
- D. yum --list --installed
- E. rpm --list --installed
Answer: B
NEW QUESTION # 141
Which of the following commands can be used to determine how long the system has been running? (Choose two.) uptime
- A. time --up
- B. top
- C. up
- D. uname -u
- E.
Answer: C,E
NEW QUESTION # 142
Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)
- A. >
- B. <<<
- C. >>>
- D. %>
- E. <
Answer: A,B,E
NEW QUESTION # 143
Which of the following commands print the current working directory when using a Bash shell? (Choose two.) echo "${PWD}"
- A. echo "${pwd}"
- B. echo "${WD}"
- C. printwd
- D. pwd
- E.
Answer: A,B
NEW QUESTION # 144
The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?
- A. dbmaint &>/dev/pts/null
- B. bg dbmaint
- C. job -b dmaint
- D. wait dbmaint
- E. nohup dbmaint &
Answer: B
NEW QUESTION # 145
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
Answer:
Explanation:
menu.lst, grub.conf, grub.cfg
NEW QUESTION # 146
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)
- A. JFS
- B. XFS
- C. ext3
- D. procfs
- E. ext2
Answer: C,E
NEW QUESTION # 147
Which of the following is a limitation of the cut command?
- A. Thecutcommand only works on ASCIItext.
- B. Thecutcommand cannot use different input and output delimiters.
- C. Thecutcommand can only select output by field position.
- D. Thecutcommand cannot reorder fields.
Answer: D
NEW QUESTION # 148
FILL BLANK
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)
Answer:
Explanation:
cmdline
NEW QUESTION # 149
You want to preview where the package file, apache-xml.i386.rpm, will install its files before installing it.
What command do you issue?
- A. rpm -qv apache-xml.i386.rpm
- B. rpm -ql apache-xml.i386.rpm
- C. rpm -qpl apache-xml.i386.rpm
- D. rpm -qp apache-xml.i386.rpm
Answer: C
NEW QUESTION # 150
Which of the following commands loads a kernel module along with any required dependency modules?
- A. modprobe
- B. depmod
- C. insmod
- D. loadmod
- E. module_install
Answer: A
NEW QUESTION # 151
What is the purpose of the Bash built-in export command?
- A. It runs a command as a process in a subshell.
- B. It sets up environment variables for applications.
- C. It shares NFS partitions for use by other systems on the network.
- D. It allows disks to be mounted remotely.
- E. It makes the command history available to subshells.
Answer: B
NEW QUESTION # 152
Which grep command will print only the lines that do not end with a / in the file foo?
- A. grep '/#' foo
- B. grep -v '/$' foo
- C. grep -v '/#' foo
- D. grep'/$' foo
Answer: B
NEW QUESTION # 153
Which RPM command will output the name of the package which supplied the file /etc/exports?
- A. rpm -F /etc/exports
- B. rpm -qp /etc/exports
- C. rpm -qf /etc/exports
- D. rpm -Kl /etc/exports
- E. rpm -qi/etc/exports
Answer: C
NEW QUESTION # 154
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
- A. Additional rules for udev can be created by adding them to /etc/udev/rules.d/.
- B. The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.
- C. When using udev, it is not possible to create block orcharacter devices in /dev/ using mknod.
- D. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup.
- E. Entries for all possible devices get created on boot even if those devices are not connected.
Answer: A,D
NEW QUESTION # 155
How many fields are in a syntactically correct line of /etc/fstab?
- A. 0
- B. 1
- C. 2
- D. 3
- E. 4
Answer: D
NEW QUESTION # 156
......
Get 2023 Updated Free Lpi 101-500 Exam Questions and Answer: https://www.testpassking.com/101-500-exam-testking-pass.html
101-500 Dumps PDF and Test Engine Exam Questions: https://drive.google.com/open?id=1HU3kVo1y9VOXAuh8QbGyN1AvP-ySr1IS