101-500 : LPIC-1 Exam 101 : Part 04
-
Instead of supplying an explicit device in
/etc/fstab
for mounting, what other options may be used to identify the intended partition? (Choose two.)-
LABEL
-
ID
-
FIND
-
NAME
-
UUID
-
-
A
yum
repository can declare sets of related packages. Whichyum
command installs all packages belonging to the groupadmintools?
-
yum pkgsel --install admintools
-
yum install admintools/*
-
yum groupinstall admintools
-
yum taskinstall admintools
-
yum collection install admintools
-
-
FILL BLANK
What directory contains configuration files for additional yum repositories? (Specify the full path to the directory.)
-
/etc/yum.conf
-
-
Which of the following commands installs the GRUB boot files into the currently active file systems and the boot loader into the first partition of the first disk?
-
grub-install /dev/sda
-
grub-install /dev/sda1
-
grub-install current /dev/sda0
-
grub-install /dev/sda0
-
grub-install current /dev/sda1
-
-
Which of the following files are found in the /boot/ file system? (Choose two.)
- Linux kernel images
- Bash shell binaries
- systemd target and service units
- Initial ramdisk images
- fsck binaries
-
Which file defines the network locations from where the Debian package manager downloads software packages?
-
/etc/dpkg/dpkg.cfg
-
/etc/apt/apt.conf.d
-
/etc/apt/apt.conf
-
/etc/dpkg/dselect.cfg
-
/etc/apt/sources.list
-
-
When removing a package on a system using dpkg package management, which dpkg option ensures configuration files are removed as well?
-
--clean
-
--purge
-
--vacuum
-
--remove
-
--declare
-
-
Which of the following statements are correct when comparing Linux containers with traditional virtual machines (e.g. LXC vs. KVM)? (Choose three.)
- Containers are a lightweight virtualization method where the kernel controls process isolation and resource management.
- Fully virtualized machines can run any operating system for a specific hardware architecture within the virtual machine.
- Containers are completely decoupled from the host system’s physical hardware and can only use emulated virtual hardware devices.
- The guest environment for fully virtualized machines is created by a hypervisor which provides virtual and emulated hardware devices.
- Containers on the same host can use different operating systems, as the container hypervisor creates separate kernel execution.
-
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
-
apt-get autoinstall
-
dpkg-reconfigure --all
-
apt-get all
-
apt-get install -f
-
-
Which of the following commands lists all currently installed packages when using RPM package management?
-
yum --query --all
-
yum --list --installed
-
rpm --query --list
-
rpm --list --installed
-
rpm --query --all
-
-
Which of the following commands are valid in the GRUB 2 configuration file? (Choose two.)
-
menuentry
-
uefi
-
pxe-ifconfig
-
insmod
-
kpartx
-
-
What is the purpose of the ldd command?
- It lists which shared libraries a binary needs to run.
- It installs and updates installed shared libraries.
- It turns a dynamically linked binary into a static binary.
- It defines which version of a library should be used by default.
- It runs a binary with an alternate library search path.
-
What can the Logical Volume Manager (LVM) be used for? (Choose three.)
- To create snapshots.
- To dynamically change the size of logical volumes.
- To dynamically create or delete logical volumes.
- To create RAID 9 arrays.
- To encrypt logical volumes.
-
What are the main differences between GPT and MBR partition tables regarding maximum number and size of partitions? (Choose two.)
- MBR can handle partition sizes up to 4 TB, whereas GPT supports partition sizes up to 128 ZB.
- By default, GPT can manage up to 128 partitions while MBR only supports four primary partitions.
- By default, GPT can manage up to 64 partitions while MBR only supports 16 primary partitions.
- MBR can handle partition sizes up to 2.2 TB, whereas GPT supports sizes up to 9.4 ZB.
- Both GPT and MBR support up to four primary partitions, each with up to 4096 TB.
-
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.)
- The old backups can be moved to slow backup media, such as tapes, while still serving as hard link target in new backups.
- The backup runs faster because hard links are asynchronous operations, postponing the copy operation to a later point in time.
- The backup is guaranteed to be uncharged because a hard linked file cannot be modified after its creation.
- The backup consumes less space because the hard links point to the same data on disk instead of storing redundant copies.
- The backup runs faster because, instead of copying the data of each file, hard links only change file system meta data.
-
FILL BLANK
Which file from the
/proc/
file system contains a list of all currently mounted devices? (Specify the full name of the file, including path.)-
/proc/mounts
-
-
How many fields are in a syntactically correct line of
/etc/fstab?
- 3
- 4
- 5
- 6
- 7
-
Running
chmod 640 filea.txt
as a regular user doesn’t updatefilea.txt’s
permission. What might be a reason why chmod cannot modify the permissions? (Choose two.)filea.txt
is owned by another user and a regular user cannot change the permissions of another user’s file.filea.txt
is a symbolic link whose permissions are a fixed value which cannot be charged.filea.txt
has the sticky bit set and a regular user cannot remove this permission.filea.txt
is a hard link whose permissions are inherited from the target and cannot be set directly.filea.txt
has the SetUID bit set which imposes the restriction that only theroot
user can make changes to the file.
-
Which of the following Linux filesystems preallocate a fixed number of inodes when creating a new filesystem instead of generating them as needed? (Choose two.)
- JFS
- ext3
- XFS
- ext2
- procfs
-
Which of the following commands sets the SetUID permission on the executable /bin/foo?
-
chmod 4755 /bin/foo
-
chmod 1755 /bin/foo
-
chmod u-s /bin/foo
-
chmod 755+s /bin/foo
-
chmod 2755 /bin/foo
-
Subscribe
0 Comments
Newest