DumpExams is an authorized company offering valid and latest dump exams & dumps VCE materials. Our dump exams & dumps VCE materials are high-quality; our passing rate is higher than others.

[Q122-Q141] 101-500 by Lpi Actual Free Exam Questions And Answers [UPDATED 2024]

Share

101-500 by Lpi Actual Free Exam Questions And Answers [UPDATED 2024]

101-500 Questions Truly Valid For Your Lpi Exam!


The Linux Professional Institute Certification (LPIC) is a globally recognized certification program that validates the skills and knowledge of Linux professionals. The LPIC-1 Exam 101, Part 1 of 2, version 5.0 is the first level of certification in the LPIC program. 101-500 exam is designed to test the fundamental knowledge of Linux administrators, covering topics such as file management, system architecture, and shell scripting.

 

NEW QUESTION # 122
Which of the following commands loads a kernel module along with any required dependency modules?

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

Answer: A


NEW QUESTION # 123
Which of the following apt-get commands will install the newest versions of all currently installed packages?

  • A. install
  • B. full-upgrade
  • C. dist-upgrade
  • D. auto-update
  • E. update

Answer: B

Explanation:
Explanation
The apt-get command is used to interact with the APT package management system on Debian-based Linux distributions. The apt-get command has several subcommands that perform different operations on packages.
One of these subcommands is full-upgrade, which is used to install the newest versions of all currently installed packages, along with their dependencies. The full-upgrade command also removes any packages that are no longer needed or that conflict with the upgraded packages. The full-upgrade command is equivalent to the dist-upgrade command, which is an older name for the same operation. The other options are not valid subcommands of apt-get. The auto-update option does not exist, the install option is used to install specific packages, not to upgrade them, the update option is used to update the list of available packages, not to install them, and the dist-upgrade option is the same as the full-upgrade option. References:
* APT-GET Command in Linux {Detailed Tutorial With Examples} - phoenixNAP
* Using apt-get Commands in Linux [Ultimate Guide] - It's FOSS
* Ubuntu 'apt-get' list of commands (list, update, upgrade, cheatsheet ...


NEW QUESTION # 124
An administrator has issued the following command:
grub-install --root-directory=/custom-grub /dev/sda
In which directory will new configuration files be found? (Provide the full directory path only without the filename)

Answer:

Explanation:
/custom-grub/boot/grub/, /custom-grub/boot/grub


NEW QUESTION # 125
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 # 126
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?

  • A. hidemenu
  • B. timeout
  • C. splash
  • D. showmenu

Answer: B

Explanation:
Explanation
The timeout option in a GRUB Legacy configuration file is used to define the amount of time (in seconds) that the GRUB menu will be shown to the user before booting the default entry. The timeout option is usually located in the /boot/grub/menu.lst file. For example, timeout 10 will display the GRUB menu for 10 seconds.
To disable the timeout and wait for user input indefinitely, the value of timeout can be set to -1. To boot immediately without displaying the menu, the value of timeout can be set to 0. The other options are not valid for the GRUB Legacy configuration file. References:
* GRUB Legacy - ArchWiki
* How do I set the grub timeout and the grub default boot entry?
* How to Remove the Timeout From GRUB Menu


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

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

Answer: E


NEW QUESTION # 128
Given the following input stream:
txt1.txt
atxt.txt
txtB.txt
Which of the following regular expressions turns this input stream into the following output stream?
txt1.bak.txt
atxt.bak.txt
txtB.bak.txt

  • A. s/[.txt]/.bak$1/
  • B. s/txt$/bak.txt/
  • C. s/^.txt/.bak/
  • D. s/^txt$/.bak^/
  • E. s/txt/bak.txt/

Answer: E


NEW QUESTION # 129
Which of the following commands determines a file's format by using a definition database file which contains information about all common file types?
type

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

Answer: D


NEW QUESTION # 130
Which shell command is used to continue background execution of a suspended command?

  • A. :&
  • B. &
  • C. bg
  • D. cont
  • E. exec

Answer: C

Explanation:
Explanation
The bg command is used to resume a suspended command in the background, allowing it to run without user interaction. The command takes a job ID as an argument, which can be obtained by using the jobs command.
Alternatively, if no job ID is specified, bg will resume the most recently suspended job. The bg command is part of the job control features of the Linux shell, which allow users to manage multiple processes running in the same terminal. References:
* LPI Linux Essentials: 1.3.2 Job Control
* LPI Linux Administrator: 103.1 Work on the command line


NEW QUESTION # 131
In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?

  • A. By specifying the number right in front of a command such as 41or 2yj.
  • B. By using the command :repeat followed by the number and the command
  • C. By issuing a command such as :set repetition=4 with repeats every subsequent command 4 times.
  • D. By specifying the number after a command such as 14or yj2followed by escape.
  • E. By selecting all affected lines using the shit and cursor keys before applying the command.

Answer: A


NEW QUESTION # 132
After running the command umount /mnt, the following error message is displayed:
umount: /mnt: device is busy.
What is a common reason for this message?

  • A. The files in /mnt have been scanned and added to the locate database.
  • B. The kernel has not finished flushing disk writes to themounted device.
  • C. Another file system still contains a symlink to a file inside /mnt.
  • D. A user has a file open in the /mnt directory.
  • E. The kernel thinks that a process is about toopen a file in /mnt for reading.

Answer: D


NEW QUESTION # 133
Which of the following commands moves and resumes in the background the last stopped shell job?

  • A. bg
  • B. back
  • C. run
  • D. fg

Answer: A

Explanation:
Explanation
The bg command is used to move and resume in the background the last stopped shell job. A stopped job is a process that has been suspended by using Ctrl+Z or the kill -STOP command. The bg command will resume the execution of the stopped job and allow it to run in the background, without blocking the current shell. The bg command can also take a job number as an argument, which can be obtained by using the jobs command.
For example, if the last stopped job is 1+ Stopped sleep 500, then the following command will move and resume it in the background:
bg %1
The output will be:
1+ sleep 500 &
The fg command is used to move and resume in the foreground the last stopped or backgrounded job. The run and back commands are not valid commands in Linux. References:
* [LPI Exam 101 Detailed Objectives], Topic 103: GNU and Unix Commands, Objective 103.5: Create, monitor and kill processes, Weight: 4, Key Knowledge Areas: Use of jobs, fg and bg commands.
* Linux Commands: jobs, bg, and fg, Topic: The bg Command.


NEW QUESTION # 134
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)

Answer:

Explanation:
update, upgrade


NEW QUESTION # 135
Which of the following commands displays the contents of a gzip compressed tar archive?
gzip archive.tgz | tar xvf -

  • A. gzip -d archive.tgz | tar tvf -
  • B. tar cf archive.tgz
  • C.
  • D. tar -fzt archive.tgz
  • E. tar ztf archive.tgz

Answer: C


NEW QUESTION # 136
Which command displays the contents of the Kernel Ring Buffer on the command line?
(Provide only the command name without any options or path information)

Answer:

Explanation:
dmesg, /bin/dmesg


NEW QUESTION # 137
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. ext4
  • C. ext3
  • D. VFAT
  • E. XFS

Answer: A


NEW QUESTION # 138
Which function key is used to start Safe Mode in Windows NT?

  • A. F8
  • B. Windows NT does not support Safe Mode
  • C. F6
  • D. F10

Answer: B


NEW QUESTION # 139
Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.)

Answer:

Explanation:
0077, 077


NEW QUESTION # 140
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 old backups can be moved to slow backup media, such as tapes, while still serving as hard link target in new backups.
  • B. The backup is guaranteed to be uncharged because a hard linked file cannot be modified after its creation.
  • C. The backup runs faster because hard links are asynchronous operations, postponing the copy operation to a later point in time.
  • 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: A,E


NEW QUESTION # 141
......

Get instant access of 100% real exam questions with verified answers: https://www.dumpexams.com/101-500-real-answers.html

101-500 Actual Questions - Instant Download Tests Free Updated Today!: https://drive.google.com/open?id=1ibgG0gA2q_mGfNtmEW_5MTedq-91-Rbh