LinuxAcademy Practice Test Flashcards
What is the name of the process in which a client locates a server over DHCP, in order to download the boot files over TFTP?
In the Pre-Execution Environment, or PXE boot, the client machine searches for a server machine from which to download the boot image over the trivial file transfer protocol.
What is contained in the /etc/fstab file?
The fstab ( file systems table ) file is where file system mount points are configured if the mount needs to persist past a reboot. Lesson: Mounting and Unmounting File Systems
fsck -r LABEL=BACKUP fsck from util-linux 2.23.2
Your company has an issue on one of the backup drives that are connected to a server. A junior administrator has been tasked with running the fsck utility on the suspect drive. The junior administrator ran the command shown below to initiate the fsck on the drive labeled BACKUP and sees the listed output, what is the most likely issue?
e2fsck 1.42.9
/dev/sdb2 is mounted
e2fsck: Cannot continue, aborting.
fsck cannot run on mounted drives, and it is necessary to unmount the drive prior to running the command
In the nmcli tool, what is meant by dev and what is meant by con?
nmcli dev refers to devices and their configuration.
nmcli con refers to the connections that are configured on the devices.
What is the purpose of the ldd command?
ldd prints the shared objects (shared libraries) required by each program or shared object specified on the command line.
What is located in the /var directory?
Log files are one of the things that are located in /var
What is the name of the process that directs the system to boot from an image file rather than the first bootable media?
This is the name of the process that directs a system to boot from an image file. Usually this is an ISO file.
Fill in the blank:
_ is the default package tool used on Debian-based systems.
The Advanced Package Tool (APT) is the default package manager for Debian-based systems.
What is the output of the following command?
timedatectl
This command with no switches will output the settings for the date and time on the system.
The temporary file system that is loaded at boot is called?
initrd or initial ramdisk / initial file system
What is the name of the boot process that allows a client to mount a network share as its root file system?
Boot from NFS
Which of the following are ‘pseudo’ file systems?
/proc – This is a pseudo file system, and it contains the processes that are running on the system
/sys–This is a pseudo file system that contains the system info about kernel modules and hardware.
What is the result of running the following command?
localectl list-locales
It will list all of the available languages and encoding settings that are available on the system.
What is network bonding?
This process it allows you to create redundant network interfaces, so that if one fails the others can carry the traffic.
What is the purpose of the /etc/hosts file?
This is the local DNS look up location, and by default it is checked first for DNS names.
This file contains entries such as localhost, and it is used to speed up name resolution that does not need to be done over the internet.
What is the command that is used to create a file system on a disk?
mkfs
What is the output of the ifconfig command when it is run with no arguments?
With no arguments, this command prints the current configuration of the network interfaces
What command would I use to understand how much free space I have left on my filesystem?
df
This command shows how much free space I have, and when combined with the -h flag it will present the information in a human-readable format
On modern systems, the Basic Input Output System (BIOS) has been replaced by what technology?
The Unified Extensible Firmware Interface replaced the older BIOS system.
What is the purpose of rotating the log files?
This prevents the logs from becoming too large to parse or archive, and it assists with searching the logs for entries if each log file encompasses a smaller time frame.
Fill in the blank. __ is an improved version of the grand unified bootloader
GRUB2
In networked systems, what is the name of the protocol used to dynamically assign IP addresses to network interfaces?
The Dynamic Host Configuration Protocol is used to assign addresses dynamically to network interfaces
A junior administrator in your organization has written a Bash script named logparse.sh, and has saved the file on the system. The junior admin is not able to remember where the file was saved, and is now concerned that there might be an issue with the disks as the result of running locate logparse.sh is empty. What is the most likely solution to the issue?
The command updatedb needs to be run from an authorized account so that the new file is entered into the locate database.
Which of the following is a Linux desktop environment?
KDE
GNOME
XFCE