Linux Midterm

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

To verify a tar backup immediately after it is created,you see which of the following tar commands options?

--diff --compare -d -W

Which of the following tar commands options would employ gzip compression for creating a backup tarball?

--gzip

Which of the following mdadm options would show in the RAID array in which the /dev/sdc1 drive has membership?

--misc --examine /dev/sdc1

To shut down your system without sending a message to users, use which of the following /sbin/shutdown options?

--no-wall

Which of the following mdadm command options chooses the mode to make a RAID array?

-C

Each entry in the /etc/fstab has several required fields. Which of the following could describe one of the fields?

-Filesystem check priority -Mount point -Filesystem type

Which of the following are true about LV snapshots?

-LV snapshots can be mounted to the directory -LV sapshots are LVs themselves

Which of the following allows multiple partitions or whole disks to be grouped together and used as a single drive?

-Logical volume management -RAID

Which of the following are true about the dd command?

-The dd command can be used to zero-out a hard disk -The dd command can be used to create a low-level copy of a hard drive

The number c344d0f9-6d54-4a92-ad4d-c5a44fac2eeb identifies a filesystem that need to be temporarily mounted. Which option for the needed command should you choose?

-U

To delete an unmounted RAID array, you must do which of the following?

-delete RAID array drives' superblocks -stop the RAID array

Which of the following are true about Linux system memory?

-swap can also be called virtual memory -memory for an idle process can be swapped out to swap space

Which option in the lsusb command displays detailed information about the USB devices?

-v

What file extension do UEFI bootloader files use?

.efi

When using the tar command for an incremental backup, a snapshot file is created. This snapshot file should have which of the following file extensions as part of its name?

.snar

Which of the following Linux directories should be included in a backup when you plan on using the backup data in full system restores?

/bin/ /home/

Where is the EFI System Parition(ESP) stored on Linux systems?

/boot/efi

Where are the GRUB Legacy configuration files stored?

/boot/grub

Where are GRUB2 configuration files stored?

/boot/grub /etc/grub.d

Which of the following indicates a tape device that automatically rewinds?

/dev/st0 /dev/ht1

Which configuration file contains the SSV default runlevel?

/etc/inittab

You want to change the AutoFS service's master map to a different configuration file than the /etc/auto.master file. Which configuration file might you edit to accomplish this, depending on your distribution?

/etc/sysconfig/autofs

Where are the udevd rules stored?

/etc/udev/rules.d

Where are the udevd configuration settings stored?

/etc/udev/udev.conf

Which of the following Linux directories should be included in a backup when you plan onn using the backup data in full system restores?

/home/ /bin/

Where is the dynamic pseudo-directory the kernel creates to peek at kernel settings and performance statistics located?

/proc

Which one of the following files contains a list of all of the filesystems your system supports?

/proc/filesystems

After you issue the modprobe raid6 command using super use privileges on your system, which file should you check to determine if software RAID is supported on your system?

/proc/mdstat

Current RAID array status is held in what file?

/proc/mdstat

Where are iSCSI discovery records stored?

/var/lib/iscsi/send_targets /var/lib/iscsi/nodes

What folder do most Linux distributions use to store boot logs?

/var/log

What runlevel is the default for Debian-based systems?

2

On which of the following drive types can the hdparm utility be used?

ATAPI SATA PATA SCSI

Which of the following software packages are GUI and/or web-based backup solutions?

Amanda Duplicity Bacula

Which kernel file type is used to boot the Linux system?

Binary file

Your company's legal department has decided that a login notification is needed on a Linux system that you manage, warning that unauthorized system use is prohibited. Which method is the best one for deploying this legal notificaton?

Edit the /etc/issue file, and place the notification there

Which of the following are considered extensions of the ISO9660 standard?

El Torito Joliet Rock Ridge

What program does the kernel use to start other programs?

GRUB2 init

Which type of hardware deices can you connect to the Linux system as it's running?

Hotplug

When installing a program from source code, which of the following installation fields typically can provide you with additional installation information?

INSTALL README

What number designates both an iSCSI target server and an iSCSI disk being offered by that target?

IQN

Your co-worker, also a system admin, hands you a SSD and says "This has all the files on it that were created and/or modified since the system's last full backup." Which of the following backup types can this backup be?

Incremental Differential

Which part of a Linux system manages system memory?

Kernel

Which of the following is true concerning LEs?

LEs are mapped to VG physical extents.

Which was the first bootloader program used in Linux?

LILO

Which of the following are considered to be system resource-monitoring solutions?

MRTG collectd Nagios

What method does Linux use to load device drivers into the kernel?

Modules

You have super user privileges, and you type the command fsck.xfs to run a filesystem check on an XFS filesystem. What will happen?

Nothing

Which of the following is not true concerning PEs.

PE block size is set during the process of designating a PV

Which is a designated unused disk partition or drive that can be used by LVM?

PV

What type of release can you use to upgrade an existing kernel to a newer version?

Patch release

Using a btrfs filesystem, which RAID configuration can be implemented?

RAID 1 RAID 0 RAID 6

Which of the following RAID array structures are considered fault tolerant?

RAID 1 RAID 10 RAID 6 RAID 5

Which one of the following RAID structures is also called disk striping with double parity?

RAID 6

Assume that money is plentiful,and you want the fastest media to use for your company's backups. Based on that information, which is the best backup media choice?

SSD

Where does the firmware first look for a Linux bootloader program?

The Master Boot Record (MBR)

Where is the Master Boot Record located?

The first sector of the first hard drive on the system

What program does the workstation firmware start a boot time?

a bootloader

Where does the workstation BIOS attempt to find a bootloader program?

an internal hard drive an external hard drive a DVD drive remote server a usb memory stick

You need to determine a filesystem's UUID. Which utility can help you do this?

blkid

You have a Btrf filesystem that has perormed well for a long time. However for some reason, it has suffered a catastrophic problem and you need to restore files. Which utility should you use?

btrfs restore

Which make utility target is commonly used to generate a compressed kernel binary file?

bzimage

What command displays the runlevels in which a program will be started?

chkconfig

During the process of installing a program from source, which of the following creates or updates the Makefile with the Makefile.in file's contents and what it finds on your system?

configure

Which of the following is not an mdadm command mode?

delete mode

What Linux command lets you examine the most recent boot messages?

dmesg

Which of the following encrypted iflesystems is a layered filesystem?

eCryptfs

What program allows you to fix corrupt hard drive partitions?

fsck

Which make utility target used a graphical interface to configure the kernel?

gconfig

What command must you run to generate the GRUB2 grub.cfg configuration file?

grub-mkconfig

Which of the following map types can be found in the /etc/auto.master file?

indirect direct built-in

Which command should you use to list all of the the installed modules?

lsmod

Which command should you use to display information about USB devices installed on the system?

lsusb

To rename an LV, which utility should you use?

lvrename

Assuming that you have or can obtain super privileges, which of the following commands would you allow you to make an ext2 filesystem on the /dev/sdd2 partition?

mke2fs /dev/sdd2 mkfs -t ext2 /dev/sdd2 mkfs.ext2 /dev/sdd2

Which program should you used to create an initial RAM disk for a Debian-based system?

mkinitramfs

Which command should be used to create an ISO?

mkisofs

You've just created a new disk partition, /dev/sde3, and want to prepare it as swap space. Which command do you use?

mkswap /dev/sde3

Which command should you use to install a module if you don't know its filename?

modprobe

Which commands should you sue to install a module if you don't know its filename?

modprobe

Which command allows you to append a partition to the virtual directory on a running Linux system?

mount

Which make utility target should you use to remove any old object files from a previous compile?

mrproper

To control a magnetic tape for backups, use the ____program

mt

Which of the following sdparm commands options will show all of the common mode parameters for adesignated device?

none of the above

Which of the following LVM utilities will designate a partition as a PV?

pvcreate

Which of the following rsync commands is the proper way to send a backup over the network to the remote host, ServerA, while having the transfer encrypted using OpenSSH?

rysnc-av ProjectServerA: ~/

Which of the following will show CPU usage infomation 20 times in 2 second intervals?

sar 2 20

You have a disk drive partition /dev/sdc3 that supports SMART and has it enabled. Assuming that you have super user privileges, which command will show you a quick summary status, including whether or not it has passed the overall health self-assessment test?

smartctl -H /dev/sdc3

What is the area on the hard disk called that is used as memory storage?

swap space

Which command should be used to force filesystems to write metadata residing in memory to the filesystem media structures?

sync

What command allows you to change kernel settings during runtime?

sysctl

What command would you use to change the current runlevel?

telinit init

Which of the following monitoring commands allow you to view systme memory information?

top vmstat free

You have generated a new UUID and want to assign it to an unmounted ext4 filesystem Which utility do you use?

tune2fs

What program does Linux use to detect hotplug devices and load the appropriate modules?

udevd

What command do Debian systems use to set the runlevels for programs?

update-rc.d

Assuming that you have super user privileges to temporarily attach a formatted filesystem to the Linux virtual directory structure, which of the following should you do?

use the mount command with the proper options and parameters.

Which of the following is not a utility for adjusting the ext2, ext3, and ext4 filesystems?

uuidgen

You've just finished create vg01. What utility would be the best one to check it?

vgdisplay

Which of the following commands will allow a message to be sent to any tty terminals with write access allowed?

write wall

Which of the following commands checks for inconsistencies but does not conduct any repairs for an XFS filesystem?

xfs_check


Set pelajaran terkait

Chapter 5: Abbreviations and terminology

View Set

Chapter 31: Societies at Crossroads

View Set

Chapter 9: Nationalism and Sectionalism

View Set

Topic Test 6 Topic Review Activity

View Set

ABC-er og leseopplæringsmetoder

View Set