[Q43-Q63] Pass Lpi LPIC-1 Exam 101, Part 1 of 2, version 5.0 Exam in First Attempt Guaranteed Updated Dump from ActualVCE!

Share

Pass Lpi LPIC-1 Exam 101, Part 1 of 2, version 5.0 Exam in First Attempt Guaranteed Updated Dump from ActualVCE!

Pass 101-500 Exam with 246 Questions - Verified By ActualVCE


Lpi 101-500 Exam is a part of the LPIC-1 certification program. 101-500 exam is designed to test the fundamental knowledge of Linux operating system administration. 101-500 exam covers a wide range of topics including system architecture, Linux installation and package management, GNU and Unix commands, devices, and file systems. 101-500 exam is a part of the two-part LPIC-1 certification process that is designed to help candidates demonstrate their skills in Linux administration.

 

NEW QUESTION # 43
Which command uninstalls a package but keeps its configuration files in case the package is re-installed?
dpkg -s pkgname

  • A. dpkg -P pkgname
  • B. dpkg -v pkgname
  • C. dpkg -r pkgname
  • D.
  • E. dpkg -L pkgname

Answer: D


NEW QUESTION # 44
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
Explanation
The command dpkg-reconfigure is a Debian package management tool that asks the configuration questions for a specific already installed package just as if the package were being installed for the first time. It can be used to reconfigure a package that was previously installed with default settings, or to change the settings of a package that requires user input during installation. It can also be used to fix a broken configuration file or to restore the original configuration file of a package. References:
* Debian Reference: Chapter 2. Debian package management
* LPI Linux Essentials: 1.3 Package Management


NEW QUESTION # 45
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 # 46
Which command displays the current disk space usage for all mounted file systems? (Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
df
Explanation
The command df displays the current disk space usage for all mounted file systems. It shows the size, used space, available space, percentage of usage, and mount point of each file system. By default, the output is in
1K blocks, but it can be changed with options like -h (human-readable), -B (block size), -i (inodes), and -T (type). The command df is part of the 101.1 Determine and configure hardware settings topic of the LPI Linux Essentials certification program12. References:
* Linux Essentials - Linux Professional Institute Certification Programs1
* Exam 101 Objectives - Linux Professional Institute


NEW QUESTION # 47
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)

  • A. shutdown -R 1 now
  • B. telinit 1
  • C. init 1
  • D. runlevel 1
  • E. shutdown -single now

Answer: B,C

Explanation:
Explanation
The commands init 1 and telinit 1 both bring a system running SysV init into a state in which it is safe to perform maintenance tasks. This state is also known as single-user mode or runlevel 1, where only the root user can log in and no network services are running. The command shutdown -R 1 now is incorrect, because it reboots the system instead of entering single-user mode. The command shutdown -single now is invalid, because the -single option does not exist for the shutdown command. The command runlevel 1 is also invalid, because runlevel is a command that displays the current and previous runlevels, not a command that changes the runlevel. References:
* 1: SysVinit - ArchWiki
* 2: Linux: How to write a System V init script to start, stop, and restart my own application or service - nixCraft
* 3: sysvinit - Gentoo wiki


NEW QUESTION # 48
Which of the following commands display the IDs of all processes owned by root? (Choose two.)

  • A. pgrep -U 0
  • B. pgrep -c root
  • C. pgrep -f root
  • D. pgrep -c 0
  • E. pgrep -u root

Answer: C,E


NEW QUESTION # 49
Which wildcards will match the following filenames? (Choose two.)
ttyS0
ttyS1
ttyS2

  • A. tty[A-Z][012]
  • B. tty?[0-5]
  • C. ttyS[1-5]
  • D. tty*2
  • E. tty[Ss][02]

Answer: A,B


NEW QUESTION # 50
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?

  • A. u (lowercase)
  • B. P (uppercase)
  • C. i (lowercase)
  • D. p (lowercase)
  • E. U (uppercase)

Answer: D

Explanation:
Explanation
The p command in vi inserts the content of the buffer below the current line. The buffer is where the deleted or yanked text is stored temporarily. The P command inserts the buffer above the current line. The i command enters the insert mode before the cursor position. The U command restores the current line to its original state.
The u command undoes the last change made to the file. References:
* [LPI Linux Essentials - 1.3 Basic Editing]
* [LPI Linux Essentials - 1.4 I/O Redirection]
* [LPI Linux Essentials - 1.5 Manage Simple Partitions and Filesystems]


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

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

Answer: B


NEW QUESTION # 52
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?

  • A. /etc/inittab
  • B. /proc/inittab
  • C. /proc/keys
  • D. /etc/reboot
  • E. /etc/keys

Answer: A


NEW QUESTION # 53
When piping the output of find to the xargs command, what option to find is useful if the filenames have spaces in them?

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

Answer: B

Explanation:
Explanation
Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends the SIGINT(2) signal code. The SIGINT(2) signal means interrupt and is usually sent when the user presses Ctrl-C on the keyboard. The signal causes the process to terminate, unless it is caught or ignored by the process. The SIGHUP(1) signal means hang up and is usually sent when the terminal or network connection is disconnected. The SIGQUIT(3) signal means quit and is usually sent when the user presses Ctrl-\ on the keyboard. The SIGKILL(9) signal means kill and is used to force the process to terminate immediately,without any chance to catch the signal or perform any cleanup. The SIGTERM(15) signal means terminate and is the default signal sent by the kill command. References: LPI Exam 101 Detailed Objectives, Topic 103: GNU and Unix Commands, Weight: 25, Objective 103.3: Perform basic file management, Signal List


NEW QUESTION # 54
Which file in /proc describes the IRQs that are used by various kernel drivers?
(Specify the file name only without any path.)

Answer:

Explanation:
interrupts


NEW QUESTION # 55
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,may}-do-this.[tT][xX][tT]
  • B. {root,user,admin}-can-??-this.txt
  • C. root*can*do??this.txt
  • D. root*can?do-this.{txt,odt}
  • E. r[oOoO]t-can-do*.txt

Answer: B,D,E


NEW QUESTION # 56
What is contained on the EFI System Partition?

  • A. The Linux root file system
  • B. The default swap space file
  • C. The user home directories
  • D. The first stage boot loader
  • E. The Linux default shell binaries

Answer: D

Explanation:
Explanation/Reference:


NEW QUESTION # 57
The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.

Answer:

Explanation:
dpkg-reconfigure
Explanation
The dpkg-reconfigure command is used to reconfigure an already installed package. It asks configuration questions for the package, just as if the package were being installed for the first time. This can be useful if the user wants to change some settings or options for the package without reinstalling it. The dpkg-reconfigure command can also be used to fix a broken package configuration or to restore the default settings. References:
* dpkg-reconfigure(8) - Linux man page
* Linux Professional Institute: Exam 101 Objectives


NEW QUESTION # 58
FILL BLANK
Which program updates the database that is used by the locatecommand? (Specify ONLY the command without any path or parameters).

Answer:

Explanation:
updatedb


NEW QUESTION # 59
What is the process ID number of the initprocess on a System V init based system?

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

Answer: C


NEW QUESTION # 60
Which of the following files exist in a standard GRUB 2 installation? (Choose two.)

  • A. /boot/grub/i386-pc/lvm.mod
  • B. /boot/grub/fstab
  • C. /boot/grub/linux/vmlinuz
  • D. /boot/grub/grub.cfg
  • E. /boot/grub/stages/stage0

Answer: A,D


NEW QUESTION # 61
Which of the following commands can be used to perform a full text search on all available packages on a Debian system?

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

Answer: D


NEW QUESTION # 62
Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?

  • A. touch/tmp/myfile.txt
  • B. echo "Hello" >/tmp/myfile.txt
  • C. sed -ie "s/1/2/" /tmp/myfile.txt
  • D. echo -n "Hello" >>/tmp/myfile.txt
  • E. file /tmp/myfile.txt

Answer: E


NEW QUESTION # 63
......


Installation & Package Management for Linux

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

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

 

Penetration testers simulate 101-500 exam: https://buildazure.actualvce.com/Lpi/101-500-valid-vce-dumps.html