View All 101-500 Actual Free Exam Questions Jan 20, 2024 Updated
Pass Authentic Lpi 101-500 with Free Practice Tests and Exam Dumps
NEW QUESTION # 141
A backup software heavily uses hard links between files which have not been changed in between two backup runs. Which benefits are realized due to these hard links? (Choose two.)
- A. The backup is guaranteed to be uncharged because a hard linked file cannot be modified after its creation.
- B. The backup runs faster because hard links are asynchronous operations, postponing the copy operation to a later point in time.
- C. The old backups can be moved to slow backup media, such as tapes, while still serving as hard link target in new backups.
- D. The backup runs faster because, instead of copying the data of each file, hard links only change file system meta data.
- E. The backup consumes less space because the hard links point to the same data on disk instead of storing redundant copies.
Answer: C,E
NEW QUESTION # 142
What is the effect of the -voption for the grepcommand?
- A. It shows the command's version information.
- B. It only outputs non-matching lines.
- C. It enables color to highlight matching parts.
- D. It changes the output order showing the last matching line first.
- E. It outputs all lines and prefixes matching lines with a+.
Answer: B
NEW QUESTION # 143
Which of the following commands show how the shell handles a specific command?
- A. fileinfo
- B. stat
- C. where
- D. case
- E. type
Answer: E
NEW QUESTION # 144
Which command displays the current disk space usage for all mounted file systems?
(Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
du
NEW QUESTION # 145
What output will be displayed when the user fredexecutes the following command?
echo 'fred $USER'
fred fred
- A. 'fred fred'
- B. fred $USER
- C. 'fred $USER'
- D.
- E. fred /home/fred/
Answer: A
NEW QUESTION # 146
Consider the following output from the command ls -i:
How would a new file named c.txt be created with the same inode number as a.txt(Inode 525385)?
ln -h a.txt c.txt
- A. ln -i 525385 c.txt
- B. ln -f c.txt a.txt
- C. ln a.txt c.txt
- D.
- E. ln c.txt a.txt
Answer: B
NEW QUESTION # 147
In compliance with the FHS, in which of the directories are man pages found?
/opt/man/
- A. /usr/share/man/
- B. /usr/doc/
- C.
- D. /var/pkg/man
- E. /var/man/
Answer: D
NEW QUESTION # 148
Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata?
- A. foo > stdout >> /tmp/foodata
- B. foo | cp /tmp/foodata
- C. foo | tee /tmp/foodata
- D. foo > /tmp/foodata
- E. foo | less /tmp/foodata
Answer: C
NEW QUESTION # 149
Which of the following commands displays the output of the foocommand on the screen and also writes it to a file called /tmp/foodata?
foo | less /tmp/foodata
- A. foo | tee /tmp/foodata
- B. foo > stdout >> /tmp/foodata
- C. foo | cp /tmp/foodata
- D.
- E. foo > /tmp/foodata
Answer: B
NEW QUESTION # 150
What is the output when the regular expression s/[ABC] [abc]/xx/is applied to the following string?
ABCabc
- A. ABCabc
- B. ABxxbc
- C. xxCxxc
- D. Axxaxx
- E. xxxxxx
Answer: E
NEW QUESTION # 151
What does the command mount -a do?
- A. It mounts all filesystems listed in /etc/fstab which have the option noauto set.
- B. It mounts all available filesystems onto the current directory.
- C. It shows all mounted filesystems.
- D. It mounts all user mountable filesystems for thecurrent user.
- E. It mounts all filesystems listed in /etc/fstab which have the option auto set.
Answer: E
NEW QUESTION # 152
What does the command grub-install /dev/sda do?
- A. GRUB installs all required files and configures the boot loader on device/dev/sda.
- B. GRUB sets the default BIOS boot device to/dev/sda.
- C. GRUB creates partitions on the device/dev/sdato be used with Linux.
- D. GRUB recompiles the Linux Kernel and installs it on the Master Boot Record of device/dev/sda.
Answer: A
NEW QUESTION # 153
What output will be displayed when the user fred executes the following command?
echo 'fred $USER'
- A. fred fred
- B. fred $USER
- C. 'fred $USER'
- D. fred /home/fred/
- E. 'fred fred'
Answer: A
NEW QUESTION # 154
Which of the following statements is correct when talking about /proc/?
- A. All files within /proc/ are only readable by the root user.
- B. All files within /proc/ are read-only and their contents cannot be changed.
- C. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.
- D. All changes to files in /proc/ are immediately recognized by the kernel.
Answer: D
NEW QUESTION # 155
What is the difference between the i and a commands of the vi editor?
- A. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.
- B. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.
- C. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.
- D. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modesautomatically.
Answer: A
NEW QUESTION # 156
Which of the following signals is sent to a process when the key combination Ctrl+Z is pressed on the keyboard?
- A. SIGKILL
- B. SIGINT
- C. SIGSTOP
- D. SIGCONT
- E. SIGTERM
Answer: C
NEW QUESTION # 157
What is the difference between the --remove and the --purge action with the dpkg command?
- A. --remove removes a package, --purge also removes all packages dependent on it
- B. --remove only removes the program, --purge only removes the config files
- C. --remove removes the program, --purge also removes the config files
- D. --remove removes only the package file itself, --purge removes all files related to the package
Answer: C
NEW QUESTION # 158
Which permissions and ownership should the file /etc/passwd have?
- A. -rw-------1 11531 Jun 5 22:45 /etc/passwd
- B. -rw-r--r--1 11531 Jun 5 22:45 /etc/passwd
- C. -rw-------1 rootroot531 Jun 5 22:45 /etc/passwd
- D. -rw-r--r--1 rootroot531 Jun 5 22:45 /etc/passwd
Answer: D
NEW QUESTION # 159
What is the purpose of the lddcommand?
- A. It lists which shared libraries a binary needs to run.
- B. It installs and updates installed shared libraries.
- C. It runs a binary with an alternate library search path.
- D. It turns a dynamically linked binary into a static binary.
- E. It defines which version of a library should be used by default.
Answer: A
NEW QUESTION # 160
Which of the following files exist in a standard GRUB 2 installation? (Choose two.)
- A. /boot/grub/fstab
- B. /boot/grub/linux/vmlinuz
- C. /boot/grub/stages/stage0
- D. /boot/grub/grub.cfg
- E. /boot/grub/i386-pc/1vm.mod
Answer: D,E
NEW QUESTION # 161
Which command shows all shared libraries required by a binary executable or another shared library? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
ldd
NEW QUESTION # 162
Which of the following commands instructs SysVinit to reload its configuration file?
- A. telinit q
- B. init reinit
- C. reinit
- D. telinit 7
- E. initreload
Answer: A
NEW QUESTION # 163
When is the content of the kernel ring buffer reset? (Choose two.)
- A. When the kernel loads a previously unloaded kernel module
- B. When a configurable amount of time, 15 minutes by default, has passed
- C. When the system is shut down or rebooted
- D. When the ring buffer is explicitly reset using the command dmesg --clear
- E. When the ring buffer is read using dmesg without any additional parameters
Answer: C,D
NEW QUESTION # 164
Which of the following statements is correct for a command ending with an &character?
- A. The command's output is redirected to /dev/null.
- B. The command's input is read from /dev/null.
- C. The command is run in background of the current shell.
- D. The command is run as a direct child of the initprocess.
- E. The command's output is executed by the shell.
Answer: C
Explanation:
Explanation
NEW QUESTION # 165
Which chown command changes the ownership to dave and the group to staffon a file named data.txt?
chown dave/staff data.txt
- A. chown dave+staff data.txt
- B. chown -u dave -g staff data.txt
- C.
- D. chown dave:staff data.txt
- E. chown --user dave --group staff data.txt
Answer: C
NEW QUESTION # 166
......
New 101-500 Exam Questions Real Lpi Dumps: https://www.itexamreview.com/101-500-exam-dumps.html
Course 2024 101-500 Test Prep Training Practice Exam Download: https://drive.google.com/open?id=1SUWzo2IV2yyzXCTow-Oh3EQ-JdOcpjMY
