[Q27-Q42] Full 101-500 Practice Test and 299 Unique Questions, Get it Now!

Share

Full 101-500 Practice Test and 299 Unique Questions, Get it Now!

The Best 101-500 Exam Study Material Premium Files  and Preparation Tool


The LPIC-1 certification is ideal for IT professionals who are new to Linux and want to gain a solid understanding of Linux system administration. It is also suitable for experienced Linux professionals who want to validate their skills and knowledge and enhance their career prospects. The LPIC-1 certification is recognized by major IT companies and organizations, including IBM, Novell, and the Linux Professional Institute.


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 # 27
Which of the following commands can be used to display the inode number of a given file? (Choose two.)

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

Answer: A,C


NEW QUESTION # 28
What is true regarding the configuration of yum? (Choose two.)

  • A. Repository configurations can include variables such as $basearch or $releasever
  • B. Changes to the repository configuration become active after running yum confupdate
  • C. In case /etc/yum.repos.d/ contains files, /etc/yum.conf is ignored
  • D. The configuration of package repositories can be divided into multiple files
  • E. Changes to the yum configuration become active after restarting the yumd service

Answer: A,D

Explanation:
The configuration of yum can be divided into multiple files, and repository configurations can include variables such as $basearch or $releasever. The main configuration file for yum is /etc/yum.conf, which contains the global options for yum and can also define repositories in the [repository] sections. However, it is recommended to define individual repositories in separate files in the /etc/yum.repos.d/ directory, which can be easier to manage and maintain. Each file in this directory should have a .repo extension and contain one or more [repository] sections with the repository name, URL, and other options12. Repository configurations can use yum variables to dynamically set values for certain options, such as the baseurl or the enabled. Yum variables are enclosed in curly braces and start with a dollar sign, such as {$basearch} or {$releasever}. These variables are replaced by their actual values at runtime, based on the system architecture, the operating system version, or other factors. Some of the common yum variables are34:
* $basearch: The base architecture of the system, such as x86_64, i386, or arm.
* $releasever: The release version of the operating system, such as 7, 8, or 9.
* $arch: The exact architecture of the system, such as x86_64, i686, or armv7hl.
* $uuid: A unique identifier for the system, generated by the product-id plugin.
* $YUM0-$YUM9: Custom variables that can be set by the user in the /etc/yum/vars/ directory or the /etc
/yum.conf file.
The other options are false or irrelevant. There is no yum confupdate command or yumd service, and changes to the yum configuration become active immediately after saving the files. The /etc/yum.conf file is not ignored if the /etc/yum.repos.d/ directory contains files, but the repository options in the /etc/yum.conf file can be overridden by the options in the .repo files. References:
* Linux Essentials - Linux Professional Institute Certification Programs1
* Exam 101 Objectives - Linux Professional Institute2
* How to Use Yum Variables to Enhance your Yum Experience - Red Hat ...3
* Yum Variables - CentOS4


NEW QUESTION # 29
A Debian package creates several files during its installation. Which of the following commands searches for packages owning the file /etc/debian_version?

  • A. apt -r /etc/debian_version
  • B. apt-get search /etc/debian_version
  • C. dpkg -S /etc/debian_version
  • D. apt-file /etc/debian_version
  • E. find /etc/debian_version -dpkg

Answer: C


NEW QUESTION # 30
You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?

  • A. runlevel 1
  • B. init 1
  • C. logout -all now
  • D. halt 1
  • E. shutdown -maintenance now

Answer: B


NEW QUESTION # 31
Which command is used to create and initialize the files used to store quota information?
(Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
quotacheck


NEW QUESTION # 32
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. 0
  • B. 0029
  • C. 0027
  • D. 0036
  • E. 0750

Answer: C


NEW QUESTION # 33
What is the purpose of the xargs command?

  • A. It reads standard input (STDIN) and builds up command lines to execute.
  • B. It allows users to specify long options for commands that normally only accept short options.
  • C. It passes arguments to an X server.
  • D. It helps shell scripts take variable argument lists.
  • E. It asks a question, graphically, and returns the answer to the shell.

Answer: A

Explanation:
The purpose of the xargs command is to read standard input (STDIN) and build up command lines to execute.
The xargs command can be used to pass arguments to another command that does not accept input from a pipe. For example, rm | xargs echo will echo the arguments passed to the rm command. The xargs command can also limit the number of arguments per command line, insert arguments at different positions, and handle special characters in the input. References: LPI Exam 101 Detailed Objectives, Topic 103: GNU and Unix Commands, Weight: 25, Objective 103.3: Perform basic file management, xargs command


NEW QUESTION # 34
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. Unless a systemd mount unit is created, systemd unmounts the file system after a short period of time
  • B. systemd ignores any manual mounts which are not done using the systemctl mount command
  • C. systemctl unmount must be used to remove the mount because system opens a file descriptor on the mount point
  • D. systemd automatically generates a mount unit and monitors the mount point without changing it
  • E. The command systemctl mountsync can be used to create a mount unit based on the existing mount

Answer: D

Explanation:
Explanation
Systemd is a system and service manager for Linux systems, and it can manage the mounting and unmounting of file systems. Systemd can automatically create and start mount units for file systems that are listed in
/etc/fstab or are known to the system. Mount units are unit files that encode information about a file system mount point controlled and supervised by systemd. Mount units must be named after the mount point directories they control, and they have the suffix .mount. For example, the mount point /home must be configured in a unit file home.mount.
Systemd can also handle file systems that are neither listed in /etc/fstab nor known to the system, but are mounted manually by the user. In this case, systemd automatically generates a transient mount unit and monitors the mount point without changing it. A transient mount unit is a unit that is created dynamically and temporarily, and is not backed by a unit file on disk. A transient mount unit has the same name and properties as a regular mount unit, but it is not persistent across reboots. Systemd does not interfere with the manual mount, and does not unmount it unless explicitly requested by the user. The user can use the mount command or the systemd-mount command to create a manual mount, and the umount command or the systemd-umount command to remove it. The user can also use the systemctl command to inspect and control the transient mount unit. For example, to show the status of the transient mount unit for the mount point /mnt, use the following command:
systemctl status mnt.mount
References:
* systemd.mount - freedesktop.org
* systemd-mount - freedesktop.org
* How to name systemd mount unit properly? - Server Fault
* Working with Systemd Mount Units - Pluralsight


NEW QUESTION # 35
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 # 36
To allow a regular user account to mount and unmount a filesystem (for instance, a cdrom or floppy), which option will need to be added to the corresponding line in /etc/fstab?

  • A. alluser
  • B. nouidchk
  • C. user
  • D. auto

Answer: C


NEW QUESTION # 37
Which of the following commands will print the current video settings to stdout in XF86Config
"Modeline" format?

  • A. xinfo -mode
  • B. xset -info
  • C. xvidtune -show
  • D. xf86config -list

Answer: C


NEW QUESTION # 38
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 # 39
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)

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

Answer: D,E

Explanation:
Explanation
udev is a device manager that dynamically creates and removes device nodes in the /dev/ directory. It also handles device events, such as adding, removing, or changing the attributes of devices. udev uses rules to match devices and assign properties, permissions, names, symlinks, and other actions. The rules are stored in files under /lib/udev/rules.d/ and /etc/udev/rules.d/. The latter directory can be used to create additional or override existing rules. The /dev/ directory is not a regular directory on the root filesystem, but a virtual filesystem of type tmpfs that is mounted by udev during system startup. tmpfs is a filesystem that resides in memory and can grow and shrink dynamically. The content of /dev/ is not stored in /etc/udev/dev, but is created by udev based on the rules and the available devices. udev does not prevent the creation of block or character devices in /dev/ using mknod, but it may overwrite or remove them if they conflict with the rules or the device events. References: LPI Linux Essentials - 1.101.2, LPI Linux Administrator - 102.4


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

Answer: A


NEW QUESTION # 41
What command changes the nice level of a running process? (Specify ONLY the command without any path or parameters)

Answer:

Explanation:
renice


NEW QUESTION # 42
......


LPIC-1 Exam 101, Part 1 of 2, version 5.0 is one of the most widely recognized and respected Linux certification exams. 101-500 exam is the first part of a two-part certification process that is designed to test the fundamental knowledge and skills required to administer a Linux operating system.

 

Get Instant Access to 101-500 Practice Exam Questions: https://testking.vcetorrent.com/101-500-valid-vce-torrent.html