Dec-2021 Lpi 101-500 Actual Questions and 100% Cover Real Exam Questions [Q95-Q114]

Share

Dec-2021 Lpi 101-500 Actual Questions and 100% Cover Real Exam Questions

101-500 Free Exam Questions & Answers PDF Updated on Dec-2021


Installation & Package Management for Linux

This area will address fundamental knowledge areas including the ones highlighted below:

  • Make use of the Debian package for management that contains specific files and peculiarities.
  • Control shared libraries by identifying them.
  • Design a layout of a hard disk, where you will need to be aware of the features of LVM and disks.
  • Choose and configure a boot manager, e.g. GRUB Legacy, and deal with the boot loader, & changes for GRUB 2.
  • Take advantage of RPM and YUM management for packages and check the files that a package provides.
  • Deal with Linux as a virtualization guest.

What career path can you follow after passing LPI 101-500 exam?

Taking the LPI 101-500 exam can be great for your career because there are loads of companies out there that are looking for the certified experts. Once you pass this test, you can apply for many jobs and expect a higher income. Thus, you can opt for the positions, such as a Linux System Administrator, a Linux System Engineer, a Network Engineers, and a Linux/Unix Systems Analyst. You can earn over $70,000 or probably more if you become a Software Engineer.

 

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

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

Answer: A

 

NEW QUESTION 96
Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)

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

Answer: B,E

 

NEW QUESTION 97
Which SysV init configuration file is commonly used to set the default run level?
(Specify the full name of the file, including path.)

Answer:

Explanation:
inittab

 

NEW QUESTION 98
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)

  • A. Entries for all possible devices get created on boot even if those devices are not connected.
  • B. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup.
  • C. Additional rules for udev can be created by adding them to /etc/udev/rules.d/.
  • D. The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.
  • E. When using udev, it is not possible to create block orcharacter devices in /dev/ using mknod.

Answer: B,C

 

NEW QUESTION 99
Which of the following is true for hard linked files? (Choose three.)

  • A. The output ofstatwill reporthardinstead ofregular file.
  • B. The hard linked files are indicated by a -> when listed withls -1.
  • C. The hard linked files share the same inode.
  • D. The hard linked files must be on the same filesystem.
  • E. The hard linked files have the same permissions and owner.

Answer: C,D,E

 

NEW QUESTION 100
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 autoinstall
  • B. apt-get install -f
  • C. dpkg-reconfigure --all
  • D.
  • E. apt-get all

Answer: D

 

NEW QUESTION 101
Running chmod 640 filea.txtas a regular user doesn't update filea.txt's permission. What might be a reason why chmod cannot modify the permissions? (Choose two.)

  • A. filea.txtis a symbolic link whose permissions are a fixed value which cannot be charged.
  • B. filea.txthas the sticky bit set and a regular user cannot remove this permission.
  • C. filea.txtis owned by another user and a regular user cannot change the permissions of another user's file.
  • D. filea.txtis a hard link whose permissions are inherited from the target and cannot be set directly.
  • E. filea.txthas the SetUID bit set which imposes the restriction that only the rootuser can make changes to the file.

Answer: A,C

 

NEW QUESTION 102
What is the effect of the egrep command when the -v option is used?

  • A. It only outputs non-matching lines.
  • B. It shows the command's version information.
  • C. It changes the output order showing the last matching line first.
  • D. It enables color to highlight matching parts.

Answer: A

 

NEW QUESTION 103
When removing a package on a system using dpkg package management, which dpkgoption ensures configuration files are removed as well?

  • A. --vacuum
  • B. --declare
  • C. --purge
  • D. --clean
  • E. --remove

Answer: C

Explanation:
Explanation/Reference:

 

NEW QUESTION 104
What is the output of the following command?
echo "Hello World" | tr -d aieou

  • A. Hello World
  • B. Hll Wrld
  • C. eoo
  • D. eoo Hll Wrld

Answer: B

 

NEW QUESTION 105
A faulty kernel module is causing issues with a network interface card. Which of the following actions ensures that this module is not loaded automatically when the system boots?

  • A. Deleting the kernel module's directory from the file system and recompiling the kernel, including its modules
  • B. Using lsmod --remove --autocleanwithout specifying the name of a specific module
  • C. Adding a blacklistline including the name of the offending module to the file /etc/modprobe.d/ blacklist.conf
  • D. Using modprobe -rfollowed by the name of the offending module
  • E. Using modinfo -kfollowed by the name of the offending module

Answer: C

 

NEW QUESTION 106
Which of the following commands will write a message to the terminals of all logged in users?

  • A. bcast
  • B. mesg
  • C. wall
  • D. yell
  • E. print

Answer: C

 

NEW QUESTION 107
Which command creates a swap space on a block device or a file? (Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
mkswap

 

NEW QUESTION 108
When is the content of the kernel ring buffer reset? (Choose two.)

  • A. When the ring buffer is explicitly reset using the command dmesg --clear
  • B. When the kernel loads a previously unloaded kernel module
  • C. When a configurable amount of time, 15 minutes by default, has passed
  • D. When the ring buffer is read using dmesg without any additional parameters
  • E. When the system is shut down or rebooted

Answer: A,E

 

NEW QUESTION 109
Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line breaks and stores the result in newlist.txt?

  • A. tr -s '/^M/^J/' userlist.txt newlist.txt
  • B. tr -c '\n\r' '' <newlist.txt> userlist.txt
  • C. tr '\r' '\n' userlist.txt newlist.txt
  • D. tr -d '\r' < userlist.txt > newlist.txt
  • E. tr '\r\n' '' <userlist.txt> newlist.txt

Answer: D

 

NEW QUESTION 110
What is the purpose of the xargscommand?

  • A. It passes arguments to an X server.
  • B. It allows specifying long options (like --help) for commands that normally only accept short options (like - h)
  • C. It reads standard input and builds up commands to execute.
  • D. It asks a question, graphically, and returns the answer to the shell.
  • E. It repeats the execution of a command using different parameters for each invocation.

Answer: C

 

NEW QUESTION 111
Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends which of the following signal codes?

  • A. 1(SIGHUP)
  • B. 15(SIGTERM)
  • C. 2(SIGINT)
  • D. 9(SIGKILL)
  • E. 3(SIGQUIT)

Answer: C

 

NEW QUESTION 112
In compliance with the FHS, in which of the directories are man pages found?

  • A. /var/man
  • B. /usr/doc/
  • C. /usr/share/man
  • D. /opt/man
  • E. /var/pkg/man

Answer: C

 

NEW QUESTION 113
Which of the following commands can be used to display the inode number of a given file?

  • A. ls
  • B. ln
  • C. cp
  • D. inode

Answer: A

 

NEW QUESTION 114
......


Lpi 101-500 Exam Syllabus Topics:

TopicDetails
Topic 1
  • Provide common commands to the boot loader and options to the kernel at boot time
  • Demonstrate knowledge of the boot sequence from BIOS/UEFI to boot completion
Topic 2
  • Shutdown and reboot from the command line
  • Alert users before switching runlevels
  • boot targets or other major system events.
Topic 3
  • Enable and disable integrated peripherals
  • Differentiate between the various types of Mass Storage Devices
Topic 4
  • Determine Hardware Resources for Devices
  • Tools and utilities to list various hardware information (e.g. lsusb, lspci, etc.)
Topic 5
  • Set the default runlevel or boot target
  • Change between runlevels
  • boot targets including single user mode
Topic 6
  • Tools and utilities to manipulate USB devices
  • Conceptual understanding of sysfs, udev and dbus
Topic 7
  • Understanding of SysVinit and systemd
  • Awareness of Upstart
  • Check boot events in the log files

 

Lpi 101-500 Real 2021 Braindumps Mock Exam Dumps: https://www.exams4sures.com/Lpi/101-500-practice-exam-dumps.html

Latest 101-500 Exam Dumps Recently Updated 246 Questions: https://drive.google.com/open?id=1pCj7SlTxoHg2S6hkhpuGu9DK2FYTNi3c