[2022] 101-500.pdf - Questions Answers PDF Sample Questions Reliable [Q72-Q97]

Share

[2022] 101-500.pdf - Questions Answers PDF Sample Questions Reliable

Lpi 101-500 Dumps PDF Are going to be The Best Score


Exam Overview

During the LPI 101-500 exam, students will be tested on their knowledge of different topics ranging from hardware configuration to booting processes to virtualization, and more. The skills they validate are used in real-world situations which the exam will replicate, showing one’s competency in business environment scenarios.

The pattern of the LPI 101-500 exam includes 60 multiple-choice and fill-in-the-blank questions that should be answered within a 90-minute period. No prerequisites are set for it, and its cost is dependent on the applicant’s country of residence (with typical pricing is of about $200 USD). The languages available are English and Japanese.

 

NEW QUESTION 72
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^/
  • B. s/txt/bak.txt/
  • C. s/txt$/bak.txt/
  • D. s/[.txt]/.bak$1/
  • E. s/^.txt/.bak/

Answer: C

Explanation:
Explanation/Reference:

 

NEW QUESTION 73
Which of the following commands is used to change options and positional parameters within a running Bash shell?

  • A. history
  • B. bashconf
  • C. envsetup
  • D. setsh
  • E. set

Answer: E

Explanation:
Explanation/Reference:

 

NEW QUESTION 74
The command dbmaint & was used to run dbmaintin the background. However, dbmaintis terminated after logging out of the system. Which alternative dbmaintinvocation lets dbmaintcontinue to run even when the user running the program logs out?

  • A. nohup dbmaint &
  • B. job -b dmaint
  • C. wait dbmaint
  • D. bg dbmaint
  • E. dbmaint &>/dev/pts/null

Answer: A

 

NEW QUESTION 75
Which of the following information is stored within the BIOS? (Choose TWO correct answers.)

  • A. Boot device order
  • B. Hardware configuration
  • C. Linux kernel version
  • D. Timezone
  • E. The system's hostname

Answer: A,B

 

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

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

Answer: D

Explanation:
Explanation/Reference:

 

NEW QUESTION 77
What is the effect of the -voption for the grepcommand?

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

Answer: A

 

NEW QUESTION 78
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 79
Which of the following commands displays the manual page command from section 1?
man command(1)

  • A. man -s 1 command
  • B.
  • C. man 1 command
  • D. man command@1
  • E. man 1.command

Answer: E

 

NEW QUESTION 80
Which of the following files, located in a user's home directory, contains the Bash history?

  • A. .bash_history
  • B. history
  • C. bashrc_history
  • D. .history_bash
  • E. bash_histfile

Answer: A

 

NEW QUESTION 81
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
s/^.txt/.bak/

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

Answer: A

 

NEW QUESTION 82
Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?

  • A. systemd.unit=rescue.target
  • B. systemd.service=rescue.target
  • C. systemd.runlevel=rescue.target
  • D. systemd.default=rescue.target
  • E. systemd.target=rescue.target

Answer: A

 

NEW QUESTION 83
Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?
killall -s _______ daemon

Answer:

Explanation:
HUP, SIGHUP, 1

 

NEW QUESTION 84
Which of the following is a limitation of the cut command?

  • A. Thecutcommand cannot use different input and output delimiters.
  • B. Thecutcommand cannot reorder fields.
  • C. Thecutcommand only works on ASCIItext.
  • D. Thecutcommand can only select output by field position.

Answer: B

 

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

Answer:

Explanation:
cmdline

 

NEW QUESTION 86
Which of the following files, located in a user's home directory, contains the Bash history?

  • A. .bash_histfile
  • B. .bash_history
  • C. .history
  • D. .history_bash
  • E. .bashrc_history

Answer: A

 

NEW QUESTION 87
Which command will display messages from the kernel that were output during the normal boot sequence?

Answer:

Explanation:
dmesg, /bin/dmesg

 

NEW QUESTION 88
Which program runs a command in specific intervals and refreshes the display of the program's output?
(Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
watch

 

NEW QUESTION 89
Which of the following commands can perform searches on file contents using regular expressions?
find

  • A. reggrep
  • B. grep
  • C. pgrep
  • D.
  • E. locate

Answer: A

 

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

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

Answer: D

 

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

  • A. F
  • B. /
  • C. ?
  • D. r

Answer: C

 

NEW QUESTION 92
Which of the following commands can be used to create a new file that is 100kB in size?

  • A. dd
  • B. touch
  • C. mkfile
  • D. file

Answer: A

 

NEW QUESTION 93
Which of the following signals is sent to a process when the key combination Ctrl+C is pressed on the keyboard?

  • A. SIGINT
  • B. SIGCONT
  • C. SIGKILL
  • D. SIGSTOP
  • E. SIGTERM

Answer: A

 

NEW QUESTION 94
Which of the following commands outputs testto the shell?
cat <!EOT

  • A. test
    EOT
    cat <|EOT
  • B. test
    EOT
    cat !<EOT
  • C. test
    EOT
    cat <<EOT
  • D. test
    EOT
  • E. test
    EOT
    cat &<EOT

Answer: D

 

NEW QUESTION 95
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose two.)

  • A. Esc ZZ
  • B. Ctrl XX
  • C. Esc zz
  • D. Esc :wq
  • E. Ctrl :W

Answer: A,D

 

NEW QUESTION 96
Which program updates the database that is used by the locate command?

Answer:

Explanation:
updatedb

 

NEW QUESTION 97
......


LPI 101-500 Exam Syllabus Topics:

TopicDetails

System Architecture

Determine and configure hardware settings

Weight:2
Description:Candidates should be able to determine and configure fundamental system hardware

Key Knowledge Areas:
-Enable and disable integrated peripherals.
- Differentiate between the various types of mass storage devices.
- Determine hardware resources for devices.
-Tools and utilities to list various hardware information (e.g. lsusb, lspci, etc.).
-Tools and utilities to manipulate USB devices.
-Conceptual understanding of sysfs, udev and dbus.

The following is a partial list of the used files, terms and utilities:
-
/sys/
-/proc/
-/dev/
-modprobe
-lsmod
-lspci
-lsusb

Boot the system

Weight:3
Description:Candidates should be able to guide the system through the booting process.

Key Knowledge Areas:
-
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.
-Understanding of SysVinit and systemd.
-Awareness of Upstart.
-Check boot events in the log files.

The following is a partial list of the used files,terms and utilities:
-dmesg
- journalctl
-BIOS
- UEFI
-bootloader
-kernel
-initramfs
-init
-SysVinit
-systemd

Change runlevels / boot targets and shutdown or reboot system

Weight:3
Description:Candidates should be able to manage the SysVinit runlevel or systemd boot target of the system. This objective includes changing to single user mode, shutdown or rebooting the system. Candidates should be able to alert users before switching runlevels / boot targets and properly terminate processes. This objective also includes setting the default SysVinit runlevel or systemd boot target. It also includes awareness of Upstart as an alternative to SysVinit or systemd.

Key Knowledge Areas:
-
Set the default runlevel or boot target.
-Change between runlevels / boot targets including single user mode.
-Shutdown and reboot from the command line.
-Alert users before switching runlevels / boot targets or other major system events.
-Properly terminate processes.
-Awareness of acpid.

The following is a partial list of the used files,terms and utilities:
-
/etc/inittab
-shutdown
-init
-/etc/init.d/
-telinit
-systemd
-systemctl
-/etc/systemd/
-/usr/lib/systemd/
-wall

Linux Installation and Package Management

Design hard disk layout

Weight:2
Description:Candidates should be able to design a disk partitioning scheme for a Linux system.

Key Knowledge Areas:
- Allocate filesystems and swap space to separate partitions or disks.
-Tailor the design to the intended use of the system.
-Ensure the /boot partition conforms to the hardware architecture requirements for booting.
-Knowledge of basic features of LVM.

The following is a partial list of the used files,terms and utilities:
-
/ (root) filesystem
-/var filesystem
-/home filesystem
-/boot filesystem
-EFI System Partition (ESP)
-swap space
-mount points
-partitions

Install a boot manager

Weight:2
Description:Candidates should be able to select, install and configure a boot manager.

Key Knowledge Areas:
-
Providing alternative boot locations and backup boot options.
-Install and configure a boot loader such as GRUB Legacy.
-Perform basic configuration changes for GRUB 2.
-Interact with the boot loader.

The following is a partial list of the used files, terms and utilities:
-
menu.lst, grub.cfg and grub.conf
-grub-install
-grub-mkconfig
-MBR

Manage shared libraries

Weight:1
Description:Candidates should be able to determine the shared libraries that executable programs depend on and install them when necessary.

Key Knowledge Areas:
-
Identify shared libraries.
-Identify the typical locations of system libraries.
-Load shared libraries.

The following is a partial list of the used files,terms and utilities:
-
ldd
-ldconfig
-/etc/ld.so.conf
-LD_LIBRARY_PATH

Use Debian package management

Weight:3
Description:Candidates should be able to perform package management using the Debian package tools.

Key Knowledge Areas:
-
Install, upgrade and uninstall Debian binary packages.
-Find packages containing specific files or libraries which may or may not be installed.
-Obtain package information like version, content, dependencies, package integrity and installation status (whether or not the package is installed).
- Awareness of apt.

The following is a partial list of the used files,terms and utilities:
-
/etc/apt/sources.list
-dpkg
-dpkg-reconfigure
-apt-get
-apt-cache

Use RPM and YUM package management

Weight:3
Description:Candidates should be able to perform package management usingRPM, YUM and Zypper.

Key Knowledge Areas:
-
Install, re-install, upgrade and remove packages using RPM, YUM and Zypper.
-Obtain information on RPM packages such as version, status, dependencies, integrity and signatures.
-Determine what files a package provides, as well as find which package a specific file comes from.
-Awareness of dnf.

The following is a partial list of the used files,terms and utilities:
-
rpm
-rpm2cpio
-/etc/yum.conf
-/etc/yum.repos.d/
-yum
-zypper

Linux as a virtualization guestWeight: 1
Description: Candidates should understand the implications of virtualization and cloud computing on a Linux guest system.

Key Knowledge Areas:
-Understand the general concept of virtual machines and containers.
-Understand common elements virtual machines in an IaaS cloud, such as computing instances, block storage and networking.
-Understand unique properties of a Linux system which have to changed when a system is cloned or used as a template.
-Understand how system images are used to deploy virtual machines, cloud instances and containers.
-Understand Linux extensions which integrate Linux with a virtualization product.
-Awareness of cloud-init.

The following is a partial list of the used files, terms and utilities:
-Virtual machine
-Linux container
-Application container
-Guest drivers
-SSH host keys
-D-Bus machine id


GNU and Unix Commands

Work on the command line

Weight:4
Description:Candidates should be able to interact with shells and commands using the command line. The objective assumes the Bash shell.

Key Knowledge Areas:
-
Use single shell commands and one line command sequences to perform basic tasks on the command line.
-Use and modify the shell environment including defining, referencing and exporting environment variables.
-Use and edit command history.
-Invoke commands inside and outside the defined path.

The following is a partial list of the used files,terms and utilities:
-
bash
-echo
-env
-export
-pwd
-set
-unset
-type
-which
-man
-uname
-history
-.bash_history
-Quoting

Process text streams using filters

Weight:2
Description:Candidates should be able to apply filters to text streams.

Key Knowledge Areas:
-
Send text files and output streams through text utility filters to modify the output using standard UNIX commands found in the GNU textutils package.

The following is a partial list of the used files, terms and utilities:
-bzcat
-cat
-cut
-head
-less
-md5sum
-nl
-od
-paste
-sed
-sha256sum
-sha512sum
-sort
-split
-tail
-tr
-uniq
-wc
-xzcat
-zcat

Perform basic file management

Weight:4
Description:Candidates should be able to use the basic Linux commands to manage files and directories.

Key Knowledge Areas:
-
Copy, move and remove files and directories individually.
-Copy multiple files and directories recursively.
-Remove files and directories recursively.
-Use simple and advanced wildcard specifications in commands.
-Using find to locate and act on files based on type, size, or time.
-Usage of tar, cpio and dd.

The following is a partial list of the used files, terms and utilities:
-
cp
-find
-mkdir
-mv
-ls
-rm
-rmdir
-touch
-tar
-cpio
-dd
-file
-gzip
-gunzip
-bzip2
-bunzip2
-xz
-unxz
-file globbing

Use streams, pipes and redirects

Weight:4
Description:Candidates should be able to redirect streams and connect them in order to efficiently process textual data. Tasks include redirecting standard input, standard output and standard error, piping the output of one command to the input of another command, using the output of one command as arguments to another command and sending output to both stdout and a file.

Key Knowledge Areas:
-
Redirecting standard input, standard output and standard error.
-Pipe the output of one command to the input of another command.
-Use the output of one command as arguments to another command.
-Send output to both stdout and a file.

The following is a partial list of the used files, terms and utilities:
-
tee
-xargs

Create, monitor and kill processes

Weight:4
Description:Candidates should be able to perform basic process management.

Key Knowledge Areas:
-
Run jobs in the foreground and background.
-Signal a program to continue running after logout.
-Monitor active processes.
-Select and sort processes for display.
-Send signals to processes.

The following is a partial list of the used files, terms and utilities:
-
&
-bg
-fg
-jobs
-kill
-nohup
-ps
-top
-free
-uptime
-pgrep
-pkill
-killall
-watch
-screen
-tmux

Modify process execution priorities

Weight:2
Description:Candidates should should be able to manage process execution priorities.

Key Knowledge Areas:
-
Know the default priority of a job that is created.
-Run a program with higher or lower priority than the default.
-Change the priority of a running process.

The following is a partial list of the used files, terms and utilities:
-
nice
-ps
-renice
-top

Search text files using regular expressions

Weight:2
Description:Candidates should be able to manipulate files and text data using regular expressions. This objective includes creating simple regular expressions containing several notational elements as well as understanding the differences between basic and extended regular expressions. It also includes using regular expression tools to perform searches through a filesystem or file content.

Key Knowledge Areas:
-
Create simple regular expressions containing several notational elements.
-Understand the differences between basic and extended regular expressions.
-Understand the concepts of special characters, character classes, quantifiers and anchors.
-Use regular expression tools to perform searches through a filesystem or file content.
-Use regular expressions to delete, change and substitute text.

The following is a partial list of the used files,terms and utilities:
-
grep
-egrep
-fgrep
-sed
-regex(7)

Basic file editing

Weight:3
Description:Candidates should be able to edit text files using vi. This objective includes vi navigation, vi modes, inserting, editing, deleting, copying and finding text. It also includes awareness of other common editors and setting the default editor.

Key Knowledge Areas:
-
Navigate a document using vi.
-Understand and use vi modes.
-Insert, edit, delete, copy and find text in vi.
-Awareness of Emacs, nano and vim.
-Configure the standard editor.

The following is a partial list of the used files, terms and utilities:
-
vi
-/, ?
-h,j,k,l
-i, o, a
- d, p, y, dd, yy
-ZZ, :w!, :q!
-EDITOR

Devices, Linux Filesystems, Filesystem Hierarchy Standard



Prerequisites for 101-500 exam

There are no prerequisites for this certification

 

Use 101-500 Exam Dumps (2022 PDF Dumps) To Have Reliable 101-500 Test Engine: https://pass4sure.actual4cert.com/101-500-pass4sure-vce.html