Knowledge Check: CompTIA Linux+ and LPIC-1 Pre-Assessment Quiz
Which of the following characters can be appended to any Linux command to run it in the background?
&
Which command can be used to browse through a text file interactively?
less
Which of the following are valid Linux initialization processes? (Choose all that apply.)
Systemd SysV init Upstart
You have just created a variable named CREATOR. Which of the following commands will display the contents of the variable to standard output?
echo $CREATOR
What tool can be used to test the network transfer speed between two different Linux systems on the network?
iperf
Which of the following commands can be used to create a BTRFS filesystem?
mkfs.btrfs
What command can be used to mount the first USB flash drive to the /mnt directory?
mount /dev/sdb1 /mnt
The subdirectory newdir does not currently exist in the current directory that you are in. Which of the following commands will create a new directory named newdir and, if successful, change into that directory?
mkdir newdir && cd newdir
Which of the following characters, when pressed while the top program is running, will allow you to change the priority of a process?
r
What file does the sudo command check to determine a user's privileges when they attempt to run the sudo command?
/etc/sudoers
What is the defining feature of open-source software (OSS)?
freely available software source code
What command can be used to check different kinds of filesystems on Linux for errors, except for XFS and BTRFS?
fsck
Which of the following commands can a user run to display the groups that they are a member of?
groups
Which of the following commands can you use to view events within the journald database?
journalctl
Which of the following commands will show a number of environment variables that start with LC_?
locale
Which of the following commands can be used to display the permissions and size of files in the current directory?
ls -l
Which of the following is a virtual filesystem that is made up of virtual files that a Linux operating system is able to export information to about kernel sub-systems, hardware devices, and device drivers to make it easy for users to access the information?
procfs
After logging into a terminal, a user will receive an interface known as which option?
shell
Which of the following Linux commands can be used to obtain a shell on another system on the network? (Choose all that apply.)
ssh telnet
Which of the following commands can be used to modify the permissions set on a directory?
chmod
Which of the following commands can be used to create a new PostgreSQL database called oobla?
createdb oobla
What must you configure in a Kubernetes cluster to define the pods that run a particular web app?
deployment
What term is used to refer to a specific variety of Linux?
distribution
What command can be used on a Fedora Linux system to install RPM software packages from Internet repositories, as well as manage and remove them afterward?
dnf
Which of the following commands can be used to recursively search a directory tree for files that meet a certain criterion?
find
Which of the following commands can be used to view IP configuration on a Linux system? (Choose all that apply.)
ifconfig ip addr
Which of the following is not a valid compression file extension?
.vz
When configuring storage during a Linux installation, the storage device is identified as hda by the installation program. What storage technology does this indicate?
PATA