Linux 1A (CIS-21A)- chapters 15-27

Ace your homework & exams now with Quizwiz!

Which bootloader includes the Secure Boot feature?

UEFI

Which command is used to view the services that are set to start or stop automatically?

chkconfig

Which of the following commands can be used to create an encrypted password that can be used with the password directive in GRUB Legacy:

grub-md5-crypt

Which option to the df command displays the size of a filesystem in "human readable" format?

h

Which of the following is not a daemon used for logging?

ilogd

Which of the following contents is in the ldconfig configuration file by default?

include ld.so.conf.d/*.conf

The first process that the kernel launches is called the _____ process.

init

Missing files don't have their original file names, instead they are named with their _____ number?

inode

Which command is used to display the shared libraries of a dynamically linked executable?

ldd

Which of the following commands will create a soft link from the /tmp/test file to the /tmp/data file?

ln -s /tmp/test /tmp/data

Which of the following commands will create a hard link from the /tmp/test file to the /tmp/data file?

ln /tmp/test /tmp/data

Which mount option will remount a currently mounted filesystem?

mount -o remount

By default, the edquota command will use which editor?

vi

Which option to the dumpe2fs command will have the command display only superblock information?

-h

Which option to the tune2fs command will change the space reserved for system use?

-m

To use an encrypted password in the GRUB Legacy configuration file, use the _____ option to the password directive.

-md5

Which option to the fsck command will answer "no" to all queries?

-n

Which option of the lspci command would you use to troubleshoot a network interface card?

-nn

What are the correct options for the rpm command to display a list of all installed packages?

-qa

Which option to the fsck command will allow you to specify the filesystem type?

-t

What option to the fdisk command is used to utilize sector unit sizes?

-u

Which option to the fsck command will answer "yes" to all queries?

-y

Which directory is the root file system mounted on?

/

The primary configuration file for the GRUB 2 on a Fedora system is _____.

/boot/grub2/grub.cfg

What is the maximum memory that a 64 bit processor can theoretically use?

16 EiB

Which value represents the hard link count in the following output of the ls -li command: 87589 -rw-r-r-. 2 root root 83 Mar 4 22:45 myhosts

2

Which runlevel number is defined as "user-definable"?

4

Which of the following are benefits of a shared library: (choose two)

Programs can be smaller Programs use a more consistent base of code

Which runlevel number defines halting the system?

0

In what directory are you most likely to find user's home directories?

/home

In which directory are you most likely to find software from third-party publishers?

/opt

Which directory structure has directories which may have heavy activity for services like mail, ftp, httpd and printing?

/var

Which value represents the inode number in the following output of the ls -li command: 87589 -rw-r-r-. 2 root root 83 Mar 4 22:45 myhosts

87589

Which of the following is not a characteristic of firmware?

Change runlevels

On a Ubuntu system, what variable defines the default runlevel in the /etc/init/rc-sysinit.conf file?

DEFAULT_RUNLEVEL

The number of inodes in a filesystem is:

Determined when the filesystem is created

A system that contains Linux as well as a Microsoft Windows operating system is called a:

Dual boot system

The rpm2cpio command can be used to:

Extract files from a ".rpm" file List the content of a ".rpm" file

Interrupts cannot be shared between devices. True or False?

False

Which of the following resources are used by devices to communicate with the system?

IO Ports, IO Memory, Interrupts, and DMA Channels

Which of the following is true about the fsck command?

It should only be executed on unmounted filesystems

Which environment variable can a user set, that will affect where shared libraries can be located and loaded?

LD_LIBRARY_PATH

The first field in the /etc/fstab file is used to specify:

The device to mount

The fifth field in the /etc/fstab file is used to specify:

The dump level

Which of the following will find and load shared libraries when a program is executed?

The dynamic linker

The first stage of the boot process is:

The firmware (BIOS/UEFI) stage

The sixth field in the /etc/fstab file is used to specify:

The fsck order

The fourth stage of the boot process is:

The init phase

The bootloader (GRUB/LILO) loads which of the following components into memory?

The kernel The ramdisk

What determines how many files can be stored in a filesystem?

The number of inodes

What two differences are there between querying an installed RPM and an RPM package file with the rpm command?

You must use the full filename when querying the package. To query the package file, you have to add the -p option.

Which command will show the dependencies of a Debian package?

apt-cache depends

Which two commands will show detailed information about a Debian package?

apt-cache show dpkg -s

Which command will remove all files that belong to a Debian package?

apt-get purge

Which command will update the list of available packages for APT?

apt-get update

The quotacheck command creates databases with which names?

aquota.group aquota.user

After running fdisk -cu /dev/sdb, what fdisk command will allow you to delete a partition?

d

The _____ command will display how much space a filesystem has free?

df

You can display current filesystem space usage with the _____ command.

df

Which command may be used to get a list of the installed Debian packages?

dpkg -l

After running fdisk -cu /dev/sdb, what fdisk command will allow you to create a new partition?

n

Which command is used to create or update the quota database files?

quotacheck

Which of the following commands can be used to reboot the system?

reboot shutdown -r

Which mount option mounts a filesystem allowing reading only?

ro

Which command shows the scripts that may be part of a RPM package?

rpm -q -scripts

Which command will show the dependencies of an RPM package?

rpm -qpR

Which type of link can be made to a file on another filesystem, hard or soft?

soft

To activate a swap space that has been initialized, you can execute:

swapon

After running fdisk -cu /dev/sdb, what fdisk command will allow you to change a partition type?

t

In GRUB Legacy, the _____ directive indicates how long to wait before automatically booting the default operating system.

timeout=


Related study sets

Anatomy and Physiology Chapter 23 Mastering Questions

View Set

Commercial Bank Administration Exam 1 - Quick Quiz Chap. 1-5

View Set

Assignment Of Rights And Delegation Of Duties

View Set

Commercial Law 2 L303 Ch 25- 31)- IUS Spring 2020

View Set

E 2.3.5 "The Black Cat" by Edger Allan Poe

View Set

UNIT 3 STUDY SET- INTERESTS IN REAL ESTATE

View Set

Intro to Supply Chain, Rutgers, Chapter 8

View Set

Chapter 4 - Financial Management

View Set

640:250 Final T/F (2.6,3.1,3.2,4.1-4.3,5.1-5.3,6.1-6.3,6.5,6.6)

View Set