LPI 101-500 Bible 2021

It is more faster and easier to pass the LPI 101-500 exam by using Breathing LPI LPIC-1 Exam 101 - Part 1 of 2 - version 5.0 questuins and answers. Immediate access to the Up to date 101-500 Exam and find the same core area 101-500 questions with professionally verified answers, then PASS your exam with a high score now.

Free 101-500 Demo Online For LPI Certifitcation:

NEW QUESTION 1

What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?

  • A. 9
  • B. 19
  • C. 49
  • D. 99

Answer: B

NEW QUESTION 2

Which of the following commands can be used to create a USB storage media from a disk image?

  • A. gdisk
  • B. dd
  • C. cc
  • D. fdisk
  • E. mount

Answer: B

NEW QUESTION 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?

  • A. magic
  • B. type
  • C. file
  • D. pmagic
  • E. hash

Answer: C

NEW QUESTION 4

What is the purpose of the xargs command?

  • A. It passes arguments to an X server.
  • B. It reads standard input (STDIN) and builds up command lines to execute.
  • C. It helps shellscripts take variable argument lists.
  • D. It asks a question, graphically, and returns the answer to the shell.
  • E. It allows users to specify long options for commands that normally only accept short options.

Answer: B

NEW QUESTION 5

When redirecting the output of find to the xargs command, what option to find is useful if the filenames contain spaces?

  • A. –rep-space
  • B. -printnul
  • C. -nospace
  • D. –ignore-space
  • E. –print0

Answer: E

NEW QUESTION 6

Which file should be edited to select the network locations from which Debian installation package files are loaded?

  • A. /etc/dpkg/dpkg.cfg
  • B. /etc/apt/apt.conf
  • C. /etc/apt/apt.conf.d
  • D. /etc/apt/sources.list
  • E. /etc/dpkg/dselect.cfg

Answer: D

NEW QUESTION 7

Which daemon handles power management events on a Linux system?

  • A. acpid
  • B. batteryd
  • C. pwrmgntd
  • D. psd
  • E. inetd

Answer: A

NEW QUESTION 8

Which of the following commands will print the last 10 lines of a text file to the standard output?

  • A. cat -n 10 filename
  • B. dump -n 10 filename
  • C. head -n 10 filename
  • D. tail -n 10 filename

Answer: D

NEW QUESTION 9

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.

Answer: A

NEW QUESTION 10

Consider the following directory:
drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales
Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)

  • A. chmod g+s sales
  • B. setpol –R newgroup=sales sales
  • C. chgrp –p sales sales
  • D. chown --persistent *.sales sales
  • E. chmod 2775 sales

Answer: CE

NEW QUESTION 11

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 an ACL redirection from the old to the new path of the data.
  • B. By creatinga hard link from the old to the new path of the data.
  • C. By creating a symbolic link from the old to the new path of the data.
  • D. By running the command touch on the old path.
  • E. By mounting the new filesystem on the original path of the data.

Answer: CE

NEW QUESTION 12

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=512
  • B. dd if=/dev/zero of=/dev/sda bs=512 count=1
  • C. dd if=/dev/zero of=/dev/sda bs=440 count=1
  • D. dd if=/dev/zero of=/dev/sda bs=440

Answer: C

NEW QUESTION 13
Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
HISTFILE

NEW QUESTION 14

Where does the BIOS search for a bootloader?

  • A. On all connected storage media regardless of the boot device order.
  • B. On all connected storage media in the defined boot device order.
  • C. Only on hard disk drives in the defined boot device order.
  • D. Only on the last added storage media.
  • E. The BIOS is not responsible to search for a valid bootloader.

Answer: B

NEW QUESTION 15

Which of the following commands updates the already installed RPM package rpmname?

  • A. rpm --update rpmname
  • B. rpm –U rpmname
  • C. rpm –q rpmname
  • D. rpm --force rpmname
  • E. rpm –u rpmname

Answer: B

NEW QUESTION 16

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)

  • A. esc ZZ
  • B. ctrl :w!
  • C. esc zz
  • D. esc :wq!
  • E. ctrl XX

Answer: AD

NEW QUESTION 17

What is the default nice level when a process is started using the nice command?

  • A. -10
  • B. 10
  • C. 20

Answer: B

NEW QUESTION 18

Which of the following is true when a file system, which is neither listed in /etc/fstab nor known to system, is mounted manually?

  • A. systemd ignores any manual mounts which are not done using the systemctl mount command
  • B. The command systemctl mountsync can be used to create a mount unit based on the existing mount
  • C. systemd automatically generates a mount unit and monitors the mount point without changing it
  • D. Unless a systemd mount unit is created, systemd unmounts the file system after a short period of time
  • E. systemctl unmount must be used to remove the mount because system opens a file descriptor on the mount point

Answer: B

NEW QUESTION 19

Which command is used to query information about the available packages on a Debian system?

  • A. apt-cache
  • B. apt-get
  • C. apt-search
  • D. dpkg
  • E. dpkg-search

Answer: A

NEW QUESTION 20

What is true regarding the command
ls > files
if files does not exist?

  • A. The output of ls is printed to the terminal
  • B. files is created and contains the output of ls
  • C. An error message is shown and ls is not executed
  • D. The command files is executed and receives the output of ls
  • E. Any output of ls is discarded

Answer: B

NEW QUESTION 21

Which of the following commands will load a kernel module along with any required dependency modules?

  • A. depmod
  • B. insmod
  • C. modprobe
  • D. module_install
  • E. loadmod

Answer: C

NEW QUESTION 22

Which of the following commands is used to change metadata and options for ext3 filesystems?

  • A. mod3fs
  • B. tune3fs
  • C. mod2fs
  • D. tune2fs
  • E. dump2fs

Answer: D

NEW QUESTION 23

Which of the following commands list all files and directories within the /tmp/ directory and its subdirectories which are owned by the user root? (Choose two.)

  • A. find /tmp –user root -print
  • B. find –path /tmp –uid root
  • C. find /tmp –uid root -print
  • D. find /tmp –user root
  • E. find –path /tmp –user root -print

Answer: AE

NEW QUESTION 24

When considering the use of hard links, what are valid reasons not to use hard links?

  • A. Hard links are not available on all Linux systems because traditional filesystems, such as ext4, do not support them
  • B. Each hard link has individual ownership, permissions and ACLs which can lead to unintended disclosure of file content
  • C. Hard links are specific to one filesystem and cannot point to files on another filesystem
  • D. If users other than root should be able to create hard links, suln has to be installed and configured
  • E. When a hard linked file is changed, a copy of the file is created and consumes additional space

Answer: A

NEW QUESTION 25

Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
cmdline, /proc/cmdline

NEW QUESTION 26

When using regular expressions, which of the following characters match the beginning of a line?

  • A. ^
  • B. ?
  • C. *
  • D. +
  • E. $

Answer: A

NEW QUESTION 27

Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ?

  • A. 0017
  • B. 0640
  • C. 0038
  • D. 0027

Answer: D

NEW QUESTION 28

Which of the following vi commands deletes two lines, the current and the following line?

  • A. d2
  • B. 2d
  • C. 2dd
  • D. dd2
  • E. de12

Answer: C

NEW QUESTION 29

Which command is used to create and initialize the files used to store quota information? (Specify ONLY the command without any path or parameters.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
quotacheck

NEW QUESTION 30

You suspect that a new ethernet card might be conflicting with another device. Which file should you check
within the /proc tree to learn which IRQs are being used by which kernel drivers?

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
interrupts, /proc/interrupts

NEW QUESTION 31
......

P.S. Certshared now are offering 100% pass ensure 101-500 dumps! All 101-500 exam questions have been updated with correct answers: https://www.certshared.com/exam/101-500/ (243 New Questions)