101-500 Exam Questions - Online Test


101-500 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

certleader.com

Our pass rate is high to 98.9% and the similarity percentage between our 101-500 study guide and real exam is 90% based on our seven-year educating experience. Do you want achievements in the LPI 101-500 exam in just one try? I am currently studying for the LPI 101-500 exam. Latest LPI 101-500 Test exam practice questions and answers, Try LPI 101-500 Brain Dumps First.

Online LPI 101-500 free dumps demo Below:

NEW QUESTION 1

Which of the following commands changes the ownership of file.txt to the user dan and the group staff?

  • A. chown dan/staff file.txt
  • B. chown dan:staff file.txt
  • C. chown -u dan -g staff file.txt
  • D. chown dan -g staff file.txt

Answer: B

NEW QUESTION 2

Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?

  • A. grub2 install /dev/sdc
  • B. grub-mkrescue /dev/sdc
  • C. grub-mbrinstall /dev/sdc
  • D. grub-setup /dev/sdc
  • E. grub-install /dev/sdc

Answer: E

NEW QUESTION 3

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 4

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 5

Which of the following examples for Bash file globbing matches a file named root-can-do-this.txt when used in the directory holding that file? (Choose three correct answers.)

  • A. root*can?do-this.{txt,odt}
  • B. r[oOoO]t-can-do*.txt
  • C. {root,user,admin}-can-??-this.txt
  • D. root*can*do??this.txt
  • E. root***{can,may}-do-this.[tT][xX][tT]

Answer: ABC

NEW QUESTION 6

Which of the following commands will print important system information such as the kernel version and machine hardware architecture?

  • A. sysinfo
  • B. uname
  • C. lspci
  • D. arch
  • E. info

Answer: B

NEW QUESTION 7

The system configuration file named _____ is commonly used to set the default runlevel. (Please provide the file name with full path information)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
/etc/inittab

NEW QUESTION 8

Which of the following describes the correct order in which the components of the system boot process are
started?

  • A. BIOS, kernel, bootloader, init system
  • B. BIOS, bootloader,kernel, init system
  • C. Bootloader, BIOS, kernel, init system
  • D. BIOS, bootloader, init system, kernel
  • E. Bootloader, BIOS, init system, kernel

Answer: B

NEW QUESTION 9

Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives?

  • A. 82
  • B. 83
  • C. 8e
  • D. fd
  • E. 7

Answer: B

NEW QUESTION 10

Which of the following command lines creates or, in case it already exists, overwrites a file called data with the output of ls?

  • A. ls 3> data
  • B. ls >& data
  • C. ls > data
  • D. ls >> data

Answer: C

NEW QUESTION 11

What does the command mount --bind do?

  • A. It makes the contents of one directory available in another directory
  • B. It mounts all available filesystems to the current directory
  • C. It mounts all user mountable filesystems to the user’s home directory
  • D. It mounts all file systems listed in /etc/fstab which have the option userbind set
  • E. It permanently mounts a regular file to a directory

Answer: A

NEW QUESTION 12

Which is the default percentage of reserved space for the root user on new ext4 filesystems?

  • A. 10%
  • B. 3%
  • C. 15%
  • D. 0%
  • E. 5%

Answer: E

NEW QUESTION 13

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 14

While editing a file in vi, the file changes due to another process. Without exiting vi, how can the file be reopened for editing with the new content?

  • A. :r
  • B. :n
  • C. :w
  • D. :e

Answer: D

NEW QUESTION 15

Creating a hard link to an ordinary file returns an error. What could be the reason for this?

  • A. The source file is hidden.
  • B. The source file is read-only.
  • C. The source file is a shell script.
  • D. The source file is already a hard link.
  • E. The source and the target are on different filesystems.

Answer: E

NEW QUESTION 16

Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?

  • A. ext2
  • B. ext3
  • C. ext4
  • D. XFS
  • E. VFAT

Answer: A

NEW QUESTION 17

Which umask value ensures that new directories can be read, written and listed by their owning user, read and listed by their owning group and are not accessible at all for everyone else?

  • A. 0750
  • B. 0027
  • C. 0036
  • D. 7640
  • E. 0029

Answer: B

NEW QUESTION 18

Which of the following commands enables the setuid (suid) permission on the executable /bin/foo?

  • A. chmod 1755 /bin/foo
  • B. chmod 4755 /bin/foo
  • C. chmod u-s /bin/foo
  • D. chmod 755+s /bin/foo

Answer: B

NEW QUESTION 19

What is the process ID number of the init process on a SysV init based system?

  • A. -1
  • B. 1
  • C. It is different with each reboot.
  • D. It is set to the current run level.

Answer: C

NEW QUESTION 20

Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
mkdir, /usr/bin/mkdir

NEW QUESTION 21

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 22

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.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
dpkg-reconfigure

NEW QUESTION 23
When in Normal mode invi, which character can be used to begin a reverse search of the text?

  • A. A.?B./C.FD.r

Answer: A

NEW QUESTION 24

Which of the following commands are common Linux commands for file management? (Choose three correct answers.)

  • A. copy
  • B. mv
  • C. move
  • D. cp
  • E. mkdir

Answer: BDE

NEW QUESTION 25

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 26

After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?

  • A. foo and bar would both be removed.
  • B. foo would be removed while bar would remain accessible.
  • C. foo would be remove
  • D. bar would still exist but would be unusable.
  • E. Both foo and bar would remain accessible.
  • F. The user is prompted whether bar should be removed, too.

Answer: B

NEW QUESTION 27
......

P.S. Easily pass 101-500 Exam with 243 Q&As Surepassexam Dumps & pdf Version, Welcome to Download the Newest Surepassexam 101-500 Dumps: https://www.surepassexam.com/101-500-exam-dumps.html (243 New Questions)