THE FOLLOWING COMPTIA LINUX+ EXAM OBJECTIVES ARE COVERED IN THIS CHAPTER: Which command is used to load a module and its dependencies automatically? Which option given at boot time within the GRUB configuration will boot the system into single-user mode? During boot of a system with GRUB2, which key can be pressed to display the GRUB menu? Which command can be used to view the kernel ring buffer in order to troubleshoot the boot process? Which command can be used to obtain a list of currently loaded kernel modules? Within which partition will the EFI system partition typically be mounted? Assuming that a USB disk contains a single partition and is made available on What is one reason a device driver does not appear in the output of Which option to Which command will output a new GRUB2 configuration file and send the output to the correct location for booting? What is the maximum number of primary partitions available on an MBR partitioning system? When working with disk partitions through a tool like Which file should you edit when using GRUB2 in order to set things like the timeout? Which option for the Of the following choices, which size would be most appropriate for the Which of the following commands initializes a physical disk partition for use with LVM? Which of the following commands installs GRUB into the MBR of the second SATA disk? Which command is used to create a logical volume with LVM? What is the logical order for creation of an LVM logical volume? Which command should be run after making a change to the Which command is used to search for physical volumes for use with LVM? A hard drive is reported as Which of the following commands installs GRUB into the master boot record (MBR) of the first SATA drive? When running After inserting a new hard drive into the system, what is the correct order to make the drive ready for use within Linux? You are using a storage area network (SAN) that keeps causing errors on your Linux system due to an improper kernel module created by the SAN vendor. When the SAN sends updates, it causes the filesystem to be mounted as read-only. Which command and option can you use to change the behavior of the filesystem to account for the SAN bug? Which of the following describes a primary difference between According to the Filesystem Hierarchy Standard (FHS), what is the correct location for site-specific data for a server? Which option to the Which command and option are used to display the number of times a filesystem has been mounted? Which option to The system is running out of disk space within the home directory partition, and quotas have not been enabled. Which command can you use to determine the directories that might contain large files? Which file contains information about the filesystems to mount, their partitions, and the options that should be used to mount them? According to the FHS, what is the proper mount point for removable media? Which file contains information on currently mounted filesystems, including their mount options? Which option to Which of the following represents the correct format for the Which of the following commands is used to identify the UUID for partitions? The Which of the following commands will create a Which command and option are used to set the maximum number of times a filesystem can be mounted between running Which command can be used to change the partitioning scheme for a disk, such as to change the size of existing partitions without deleting them? Which of the following commands will mount a USB device at Which option within Which option to the Which options to Which option in Which file is used to indicate the local time zone on a Linux server? Within which directory will you find files related to the time zone for various regions? Which command within Which environment variable controls the format of dates and times, such as a 12-hour or 24-hour formatted clock? Which of the following encodings provides a multibyte representation of characters? Which command can be used to view the available time zones on a system? Which of the following lines added to Which of the following values for the If you need to temporarily reconfigure all locale variables and settings for a given session, which environment variable can be used? Which of the following commands will set the systemwide time zone to Which locale-related variable is used for currency-related localization? Which command is used to query and work with the hardware clock on the system? Which option to the Which function of the Which of the following commands sets the hardware clock to UTC based on the current system time? Which of the following commands shows the current default route without performing DNS lookups on the IP address(es) involved? Which of the following is not used as a private address for local, non-Internet, use? Which of the following commands adds a default gateway of 192.168.1.1 for interface Which option for the Which option for the Which of the following commands queries for the mail servers for the domain Which of the following addresses represents the localhost in IPv6, such as you might find in Which command can be used to listen for netlink messages on a network? Which of the following configuration lines in Which of the following Which of the following commands will enumerate the Which of the following configuration lines will set the DNS server to 192.168.1.4 using Which of the following commands adds a route to the server for the network 192.168.51.0/24 through its gateway 192.168.51.1? Which of the following commands shows network services or sockets that are currently listening along with sockets that are not listening? Which of the following represents a correct configuration line for Which of the following commands will change the default gateway to 192.168.1.1 using Which of the following commands displays the Start of Authority information for the domain Assume that you want to enable local client services to go to hosts on the network without needing to fully qualify the name by adding the domain for either Which of the following commands prevents traffic from reaching the host 192.168.1.3? Which of the following commands will emulate the You need to prevent local clients from going to a certain host, www.example.com, and instead redirect them to localhost. Which of the following is a method to override DNS lookups for the specified host? Which of the following commands should be executed after running Which option should be used to send a DNS query for an SPF record with When viewing the available routes using the Which of the following commands requests a zone transfer of When using Which of the following commands can be used to display the current disk utilization? You are working with a legacy CentOS 5 system and need to re-create the initial RAM disk. Which of the following commands is used for this purpose? Which of the following commands is used to display the currently loaded modules on a running system? Which of the following commands creates a list of modules and their dependencies? Which option to Which of the following commands installs a kernel module, including dependencies? Which command is used to determine the modules on which another module depends? Which of the following commands inserts a module into the running kernel but does not resolve dependencies? Which option to Within which of the following directories will you find blacklist information for modules loaded with When working with a CentOS 6 system, which command is used to create the initial RAM disk? If you’d like a value set with the Which of the following options to Which of the following commands mounts Which of the following commands changes the boot order for the next boot? Which bootloader can be used to boot from ISO with ISO9660 CD-ROMs? When using UEFI, which of the following files can be used as a bootloader? Which of the following commands, executed from within the UEFI shell, controls the boot configuration? Which of the following can be identified as an initial sector on a disk that stores information about the disk partitioning and operating system location? When using PXE boot, which file must exist within Which option to When using a shim for booting a UEFI-based system, which of the following files is loaded after Part of the EXT tools, which option to the Which file is used to store a list of encrypted devices that are to be mounted at boot? Which option to Which option to You are performing an You see the word Which of the following options to Which partition type is used to indicate a software RAID array, such as an array built with When working with World Wide Identifiers (WWIDs), within which directory on a Red Hat server will you find symlinks to the current Which of the following commands displays information about a given physical volume in an LVM setup? When viewing information in Which of the following commands displays path information for LUNs? Which command is used to remove unused filesystem blocks from thinly provisioned storage? When using Which option to Information about logical volumes can be found in which of the following directories? Which option to When running When using the Which command is used for setting parameters such as the essid, channel, and other related options for a wireless device? Which of the following commands shows network sockets and their allocated memory? Which option to the On a Debian system, within which directory hierarchy will you find configuration information and directories to hold scripts to be run when an interface is brought up or taken down? Which of the following characters are valid for hostnames in Which of the following configuration lines in The system contains an NFS mounted filesystem that has become unreachable. Which option should be passed to Which of the following commands will send the output of the Which PXE Linux binary file is required for booting from HTTP or FTP? The file Which of the following describes a difference between Which of the following is the location in which kernel modules are stored? After recovering from kernel panic, you would like to look at what might have happened. Which of the following files contains the kernel ring buffer messages? You have been asked to create a template for virtualization. The template will be in JSON format. Which of the following is the correct name for JSON? You are using a container image for a cloud deployment and are building a stateful application that must store data between deployments. Which type of storage should be used? When working with a network configuration, which of the following terms refers to a computer with two network interfaces? Which of the following commands is used to change the keyboard layout settings? Which of the following directories contains configuration files related to networking? You need to change the label that has been applied to a filesystem. The filesystem is formatted as The default format for an OVF template uses which document standard? Which of the following describes the difference between NAT and bridging in a virtualization environment? Assume you need to add a kernel module with a custom command, such as to specify options at load time. Within which file could you add this configuration? Which mode of network bonding is used for an active/passive configuration? Which command is used to install a kernel into the When troubleshooting a file that is not found, you notice that the file location is linked as When using Which of the following values to Which of the following describes the relationship between anaconda and kickstart? Which command can be used to determine how much time a Linux command takes? Which type of storage would be the most appropriate format to store a large object as a single file in a cloud environment? Which layer is used to enable client applications to work with disk devices in a standard way, regardless of disk architecture? Which of the following real filesystems can be resized using Which subcommand to the You need to determine if ASCII and Unicode are supported on the system. Which option to the Which of the following best describes the Which of the following files shows the currently mounted filesystems? When working with a Microsoft Windows-based filesystem, you see that it is mounted as a CIFS mount. What does CIFS stand for? When using Which option to the While you can use In a scripting scenario, you need to enable legacy locations for things like networking. Which file can be used for storing network configuration? You are building a configuration that requires bonded-link aggregation on the Linux server. Which protocol should the switch support in order to take advantage of aggregation? Which of the When checking filesystems with the Which type of virtualization hypervisor is considered a Type 1 hypervisor? Which file contains the current list of partitions along with their major and minor numbers and number of blocks? Assuming a block storage device used for virtualization of Which of the following best describes an OVA file? Files found within the When using the When using a multipath device, found in Which of the following is not a valid option for booting when using kickstart? Which of the following modes are used for load balancing in a bonding scenario on Linux? While troubleshooting a kernel issue and using the console, you are having difficulty working with the console due to continual messages being displayed on the console itself. Which option to Which option to Which command-line option modifies the behavior of Which command prints device and partition information in a tree-like structure, including partition size and current mount status? You need to create a script for use with the Which command is used to create an ethernet bridge? Which file is used to maintain the configuration for DHCP? You are working with a network interface called When using
/etc/default/grub
/boot
mkinitrd
dracut
grub2-install
grub2-mkconfig
initramfs
linux.efi
vmlinuz
vmlinux
dmesg
rmmod
depmod
/usr/lib/[kernelversion]
/usr/lib/modules
/etc/modprobe.conf
/etc/modprobe.d/
ping
netstat
nslookup
dig
host
route
ip
ethtool
ss
iwconfig
nmcli
brctl
nmtui
/etc/sysconfig/network
/etc/sysconfig/network-scripts/
/etc/hosts
/etc/network
/etc/resolv.conf
/etc/netplan
/etc/sysctl.conf
/etc/dhcpd.conf
XFS tools
LVM tools
EXT tools
fdisk
parted
mkfs
iostat
df
du
mount
umount
tune2fs
fsck
/etc/fstab
/etc/cryptab
/dev/
/dev/mapper
/dev/disk/by-id
/etc/mtab
/sys/block
/etc/timezone
/usr/share/zoneinfo
localectl
timedatectl
date
hwclock
time
LC_*, LC_ALL, LANG
, and TZ
modprobe
lsmod
insmod
rmmod
single-user
su
single
root
lsboot
boot-log
krblog
dmesg
insmod
modlist
ls ––modules
lsmod
/etc/efi
/efi
/sys/efi
/boot/efi
/dev/sdb
, which command mounts the disk in /media/usb
?
mount /dev/sdb1 /media/usb
usbconnect /dev/sdb0 /media/usb
mount /dev/sdb0 /media/usb
usbmount /dev/sdb1 /media/usb
lsmod
, even though the device is loaded and working properly?
systemd
means drivers are not required for most devices.initramfs
means support is enabled by default.rmmod
will cause the module to wait until it’s no longer in use to unload the module?
-test
-b
-w
-unload
update-grub > /boot/grub/grub.cfg
update-grub boot > /boot/grub.cfg
grub-rc.d
grub-boot
fdisk
, you see the type 0x82. Which type of partition is this?
/etc/default/grub
/etc/grub/boot
/etc/boot/grub.d
/grub.d/boot
grub2-mkconfig
command sends output to a file instead of STDOUT
?
-stdout
--fileout
-o
-f
/boot
partition of a Linux system?
/boot
should not be partitioned separately.
lvmcreate
pvcreate
fvcreate
lvinit
grub2-install /dev/hdb2
grub2-install /dev/sda2
grub2-config /dev/sda
grub2-install /dev/sdb
pvcreate
lvmcreate
lvcreate
volcreate
/etc/default/grub
file?
grub
grub-mkconfig
grub-inst
reboot
lvmcreate
pvcreate
lvmdiskscan
lvmscan
hd(0,0)
by the GRUB Legacy configuration file. To which of the following disks and partitions does this correspond?
/dev/hdb2
/dev/hda0
/dev/disk1
/dev/sda1
grub-install /dev/hda
grub-install /dev/sda
grub-install /dev/hd0,0
grub -i /dev/hda
fsck
on an ext3
filesystem, the process is taking longer than expected and requiring input from the administrator to fix issues. What option could be added to fsck
next time so that the command will automatically attempt to fix errors without intervention?
-o
-V
-y
-f
fdisk
to create partitions, and then mount the partitions.fdisk
to create partitions and mount -a
to mount all the newly created partitions.fdisk
to create partitions, then format the partitions using a command such as mkfs
, and then mount the partitions.
mount --continue
tune2fs -e continue
mkfs --no-remount
mount -o remount
ext2
and ext3
filesystems?
ext3
was primarily a bug-fix update to ext2
.ext3
includes journaling for the filesystem.ext3
completely changed the tools needed for management of the disks.ext3
has no significant differences.
/etc
/var
/tmp
/srv
mount
command will mount all filesystems that are currently available in /etc/fstab?
-f
-d
-a
-m
tune2fs -h
cat /etc/fstab
mount -a
less /etc/fsmnt
xfs_metadump
displays a progress indicator?
-g
-p
-f
-v
du
df
ls
locate
/etc/filesystems
/etc/mounts
/etc/fstab
/srv/mounts
/etc
/srv
/tmp
/media
/etc/mtab
etc/fstab
/tmp/files
/etc/filesystems
umount
will cause the command to attempt to remount the filesystem in read-only mode if the unmounting process fails?
-o
-r
-f
-v
/etc/fstab
file?
<directory> <device> <type> <options>
<device> <type> <options>
<device> <type> <options> <directory> <dump> <fsck>
<device> <directory> <type> <options> <dump> <fsck>
blkid
ls
find
cat
xfs_info
command is functionally equivalent to which command and option?
xfs_test -n
xfs_list
tunexfs -i
xfs_growfs -n
btrfs
filesystem on the first SATA drive?
mkfs /dev/sda1
mkfs.btrfs /dev/sda
mkfs.btr2fs /dev/sda1
mkfs –b /dev/sda
fsck
?
tune2fs -c
dumpe2fs
tune2fs -m
setmount
resize2fs
parted
mkfs
rfdisk
/dev/sdb1
into the /media/usb
directory, assuming a VFAT filesystem for the USB drive?
mount -t vfat /dev/sdb1 /mnt
usbmount /dev/sdb1 /mnt/usb
mount -t vfat /dev/sdb1 /mnt/usb
mount -t usb /dev/sdb1 /mnt/usb
gdisk
will change the partition name?
n
b
v
c
dumpe2fs
command can be used to display blocks that are reserved because of being marked as bad?
-v
-f
-b
-m
fsck
can be used to check all filesystems listed in /etc/fstab
while excluding the root partition?
-NR
-AM
-X
-C
/etc/fstab
sets the order in which the device is checked at boot time?
options
dump
fsck
checkorder
/etc/timez
/etc/timezoneconfig
/etc/timezone
/etc/localtz
/etc/timezoneinfo
/etc/zoneinfo
/var/zoneinfo
/usr/share/zoneinfo
virsh
obtains information about a domain?
info
dominfo
domainlist
infodom
LOCALE_DATE
DATE_FORMAT
LC_TIME
LC_DATE
tzd
/etc/locale
timedatectl
tzsel
.profile
in a user’s home directory will set their time zone to Central time?
TZ=/Central ; export TZ
TIMEZONE=’America/Chicago’ ; export TIMEZONE
et TZ=/Central
TZ=’America/Chicago’; export TZ
LANG
variable will configure the system to bypass locale translations where possible?
LANG=COMPAT
LANG=NONE
LANG=C
LANG=END
LC_LIST
LC_GLOBAL
LC_ALL
ALL_LOCALE
’America/Los_Angeles’
?
ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
ln -sf America/Los_Angeles ; /etc/localtime
ln -sd /etc/localtime /usr/share/timezone/America/Los_Angeles
ln -sf /etc/localtime /usr/share/zoneinfo/America/Los_Angeles
LC_MONE
LC_CURRENCY
LC_MONETARY
LC_CURR
hwc
ntpdate
systime
hwclock
date
command can be used to set the date and time?
date -f
date -t
date --change
date -s
hwclock
command will set the hardware clock to the current system time?
-w
-s
-a
-m
hwclock --systohc --utc
hwclock --systohc --localtime
hwclock --systohc
hwclock --systoutc
netstat -rn
netstat -n
netstat -r
netstat -f
eth0
?
route add default gateway 192.168.1.1 eth0
eth0 --dg 192.168.1.1
route add default gw 192.168.1.1 eth0
route define eth0 192.168.1.1
host
command will query for the authoritative name servers for a given domain?
-t ns
-t all
-ns
-named
ping
command enables you to choose the interface from which the ICMP packets will be generated?
-i
-I
-t
-a
example.com
?
dig example.com mx
dig example.com
host -t smtp example.com
dig example.com smtp
/etc/hosts
?
0:1
::1
127:0:1
:127:0:0:1
ip monitor
netlink -a
ip netlink
route
/etc/nsswitch.conf
causes a lookup for group information to first use local files and then use LDAP?
group: files ldap
lookup: group [local ldap]
group: [local ldap]
group: localfiles ldap
dig
commands sends the query for example.com
directly to the server at 192.168.2.5 rather than to a locally configured resolver?
dig example.com @192.168.2.5
dig -t 192.168.2.5 example.com
dig -s 192.168.2.5 example.com
dig server=192.168.2.5 example.com
hosts
database?
getent hosts
gethosts
nslookup
host
/etc/resolv.conf
?
dns 192.168.1.4
dns-server 192.168.1.4
nameserver 192.168.1.4
name-server 192.168.1.4
route add -net 192.168.51.0 netmask 255.255.255.0 gw 192.168.51.1
route add -net 192.168.51/24 gw 192.168.1.51
route -net 192.168.51.0/24 192.168.51.1
route add 192.168.51.1 -n 192.168.51.0//255.255.255.0
netstat -a
netlink -a
sockets -f
opensock -l
/etc/hosts
?
192.168.1.4 cwa.braingia.org cwa
cwa.braingia.org cwa 192.168.1.4
cwa.braingia.org 192.168.1.8 alias cwa
alias cwa.braingia.org cwa 192.168.1.4
eth0
?
ip route default gw 192.168.1.1
ip route change default via 192.168.1.1 dev eth0
ip route default gw update 192.168.1.1
ip route update default 192.168.1.1 eth0
example.com
?
dig example.com soa
dig example.com authority
dig example.com -auth
dig -t auth example.com
example.com
or example.org
. Which option in /etc/resolv.conf
will provide this functionality?
search
domain
local-domain
local-order
route add -host 192.168.1.3 reject
route -nullroute 192.168.1.3
route add -null 192.168.1.3
route add -block 192.168.1.3
ping
command in Microsoft Windows, where the ping is sent for four packets and then the command exits?
ping -n 4
ping -t 4
ping -p 4
ping -c 4
route
command./etc/hosts
to point to 127.0.0.1.ip route change
?
ip route flush cache
ip route reload
ip route cache reload
ip route restart
dig
?
-t txt
-t spf
-t mx
-t mailspf
route
command, one route contains flags UG
while the others contain U
. What does the letter G
signify in the route table?
G
signifies that the route is good.G
signifies that the route is unavailable.G
signifies that this is a gateway.G
signifies that the route is an aggregate.example.org
from the server at 192.168.1.4?
dig example.org @192.168.1.4 axfr
dig example.org @192.168.1.4
dig example.org @192.168.1.4 xfer
dig example.org #192.168.1.4 xfer
iostat
to assess performance, which option displays information on a per-partition basis for block devices?
-a
-c
-d
-p
df
du
diskutil
diskuse
mkinitrd
mkramdisk
mkdisk --init
mkfs.init
ls -mod
lsmod
listmod
mod --list
lsmod
depmod
modlist
listmod
sysctl
displays all values and their current settings?
-a
-b
-d
-c
lsmod
modprobe
modinst
instmod
modinfo
modlist
modprobe
tracemod
lsmod
modinstall
insmod
moduleinst
modprobe
will remove a module and attempt to remove any unused modules on which it depends?
-v
-r
-d
-f
modprobe
?
/etc/blacklist
modprobe
.d/etc/blacklist.mod
/etc/modprobe
mkinit
dracut
mkraminit
mkinitfs
sysctl
command to take effect on boot, within which file should you place the variable and its value?
/etc/sysctl.cfg
/etc/sysctl.conf
/lib/sysctl
/var/sysctl.conf
modprobe
will show the dependencies for a module?
--show-deps
--show-depends
--deps
--list-depends
/dev/sda1
in the /boot
partition?
mount /dev/sda /boot
mount /boot /dev/sda1
mount /dev/sda1 /boot
mount -dev sda1 /boot
efibootmgr -c
efibootmgr -b -B
efibootmgr -o
efibootmgr -n
shim.uefi
shim.efi
shim.fx
efi.shim
bootcfg
bcfg
grub-install
grcfg
/tftpboot
on the TFTP server for the system that will use PXELINUX for its bootloader?
pxelinux.tftp
pxelinux.boot
pxelinux.conf
pxelinux.0
grub-install
will place the GRUB images into an alternate directory?
--boot-dir
-b
-boot
--boot-directory
shim.efi
?
grubx64.cfg
grub.conf
grubx64.efi
efi.boot
mke2fs
command sets the type of filesystem to be created?
-f
-a
-t
-e
/etc/cryptdev
/etc/crypttab
/etc/encrtab
/etc/fsencrypt
dumpe2fs
displays the bad blocks for a given partition?
-bb
-C
-b
-f
xfs_check
is used to verify a filesystem that is stored in a file?
-v
-a
-f
-d
xfsrestore
. The xfsdump
was executed with a block size of 4M. Which option do you need to invoke on xfsrestore
in order for it to successfully use this dump?
-b 4M
-g 1M
-i 1M
-k 1028K
defaults
within /etc/fstab
. Which options are encompassed within the defaults?
ro
, exec
, auto
rw
, suid
, dev
, exec
, auto
, nouser
, async
rw
, exec
, auto
, nouser
, async
rw
, exec
, nouser
, async
, noauto
, suid
xfsdump
sets the maximum size for files to be included in the dump?
-p
-s
-z
-b
mdadm
?
/dev/sd
device names?
/dev/disk/wwid
/dev/wwid
/dev/disk/by-id
/dev/sd.wwid
pvdisp
pvdisplay
pvl
/dev/disk/by-path
using the command ls -l
, which of the following filenames represents a LUN from Fibre Channel?
/dev/fc0
pci-0000:1a:00.0-fc-0x500601653ee0025f:0x0000000000000000
pci-0000:1a:00.0-scsi-0x500601653ee0025f:0x0000000000000000
/dev/fibre0
luninfo -a
ls -lun
multipath -l
dm-multi
thintrim
thtrim
fstrim
fsclean
tune2fs
to set an extended option such as stripe_width
, which command-line option is needed to signify that an extended option follows?
-extend
-E
-e
-f
mdadm
is used to create a new array?
--create
--start
--begin
--construct
/dev/lvinfo
/dev/map
/dev/mapper
/dev/lvmap
mdadm
watches a RAID array for anomalies?
--mon
--watch
--monitor
--examine
mdadm
in monitor mode, which option within /etc/mdadm.conf
sets the destination for email if an issue is discovered?
MAILTO
MAILADDR
MAILFROM
MAILDEST
ip
command, which protocol family is used as the default if not otherwise specified?
tcpip
ip
inet
arp
ifconfig
iwconfig
wlancfg
iconf
ss -m
mpas
mem
free
ss
command shows the process IDs associated with the socket?
-l
-a
-p
-f
/etc/netconf
/etc/netconfig
/etc/net.conf.d
/etc/network
/etc/hosts
?
/etc/resolv.conf
enables debugging?
debug
options debug
option debug
enable-debug
umount
in order to force the unmounting of the filesystem?
-nfs
--fake
-f
-n
grub2-mkconfig
command to the correct location for booting?
grub2-mkconfig --output=/boot/grub2/grub.cfg
grub2-mkconfig --file=/boot/grub2.menu
grub2-mkconfig --file=/boot/grub.lst
grub2-mkconfig --output=/boot/menu.lst
lpxelinux.0
pxelinux.http
netpxlinux.0
netpxe.0
/etc/grub2.cfg
is typically a symbolic link to which file?
/boot/grub.conf
/boot/grub2/grub.cfg
/boot/grub2.conf
/etc/sysconfig/grub2.cfg
vmlinuz
and vmlinux
?
vmlinuz
is used for zOS systems, and vmlinux
is used for x86 architecture.vmlinuz
is used for 64-bit systems, and vmlinux
is used for 32-bit systems.vmlinuz
is compressed, whereas vmlinux
is not.vmlinuz
contains additional binary code for certain systems.
/usr/modules
/modules
/usr/lib/modules/{kernel-version}
/usr/modules/{kernel-version}
/var/log/dmesglog
/var/log/dmesg.log
/var/log/kern.log
/var/log/bootlog.txt
keybrdctl
keyctl
localectl
localemap
/etc/netdevices/
/etc/netcfg/
/etc/config/network/
/etc/sysconfig/network-scripts/
EXT4
. Which EXT
tool can be used to change the label?
e2label
e4label
fslabel.ext4
fslabel
/etc/modprobe-cfg
/etc/modprobe.conf
/etc/modprobe.cf
/etc/modprobe.cfg
active-passive
active-balance
active-backup
active-back
/boot
directory, using the files from /usr/lib/kernel
?
kernel-ins
ins-kernel
install-kernel
kernel-install
../file.txt
. Which type of path has been used for this file?
fdisk
to partition a disk, you have two partitions created for the system but still have leftover space, also called unallocated space, on the drive. What is another name used to refer to unallocated space?
LIBVIRT_DEBUG
is used to enable debug logging for libvirt
?
time
cmdtime
timeproc
proctime
resize2fs
?
nfs
ext2
ext3
cifs
virsh
command is used to connect to the hypervisor?
plug
hypervisorconnect
conhyper
connect
iconv
command shows the available character sets on a given system?
--showchar
--show
--list
--all
/dev/
filesystem?
/dev/
filesystem is used for storing device information for connected devices./dev/
filesystem is used for configuration files./dev/
filesystem is used for development./dev/
filesystem is used to list devices for compilation into the kernel.
/etc/fstab
/proc/mounts
/fs
/root/mounts
cloud-init
for deployment of an EC2 instance, which format should be used for the configuration files?
blkid
command purges the cache to remove devices that do not exist?
-p
-a
-g
-m
blkid
to obtain the UUIDs for filesystems, which location on the filesystem also shows this information?
/dev/diskbyuuid
/dev/uuid
/dev/fs/uuid
/dev/disk/by-uuid
/etc/netdev
/etc/networking
/etc/sysconfig/network
/etc/sysconfig/netdev
vmm
(virt-manager
) tools is used to install a virtual machine?
virt-install
vm-install
install-virt
virt-launch
fsck
command, which option skips checking of the root filesystem?
-A
-M
-R
-S
/dev/disk
/dev/partitions
/proc/disk
/proc/partitions
sda
, which file can be used to view the number of read I/O requests for the device?
/proc/sys/sda
/proc/sys/sda/stat
/sys/block/sda/stat
/sys/disk/sda/stat
/etc/netplan
directory should be formatted using which syntax?
du
command to diagnose which directories are large, you would like to summarize the output in a more human-friendly format. Which option(s) should be used?
--summarize
-uh
-h
-sh
/dev/disk/by-multipath
, what is the name given to the identifier for that device that is globally unique?
balance
lb
balance-rr
balance-load
dmesg
can be used to disable logging to the console?
-o "no logging console"
-D
-Q
-F
rmmod
forces the module to be unloaded?
-f
-a
-w
-h
depmod
such that only newer modules are added when comparing modules.dep
?
-A
-B
-C
-D
fsck
lsblk
blkshow
shblk
parted
command. When using the parted
command to obtain a list of partitions, which additional option formats the output such that it can be more easily parsed by a script?
-p
-S
-m
-v
bridgecon
brctl
bridgeman
BridgeManager
/etc/dhcpd.conf
/etc/DHCP.cfg
/etc/DHCPconf.txt
/sys/dhcp.conf
ens3
and would like to determine which driver is being used for this device. Which command is valid for this purpose?
ip list ens3
netstat ens3
ethtool -i ens3
ethlist ens3
nslookup
interactively, which of the following commands changes the destination to which queries will be sent?
dest
server
queryhost
destination