click below
click below
Normal Size Small Size show me how
IT 230 Final CH15-27
IT 230 Final Exam (Chapters 15-27)
Question | Answer |
---|---|
Which command is used to create or update the quota database files? quotactl quotadb quotacheck dbquota | quotacheck |
By default, the edquota command will use which editor? joe emacs gedit vi | vi |
The quotacheck command creates databases with which names? (choose two) group.quota aquota.group aquota.user user.quota | aquota.group aquota.user |
Which directory is the root file system mounted on? /rootfs /root /home / | / |
In which directory are you most likely to find software from third-party publishers? /usr/local /var/lib /usr/third /opt | /opt |
To activate a swap space that has been initialized, you can execute: swapcontrol swapon swapoff swapctl | swapon |
The first (1st) field in the /etc/fstab file is used to specify: The filesystem type The mount point The mount options The dump level The device to mount The fsck order | The device to mount hint: [Device] [Mount Point] [File System Type] [Options] [Dump] [Pass] |
The fifth (5th) field in the /etc/fstab file is used to specify: The mount options The dump level The filesystem type The device to mount The mount point The fsck order | The dump level hint: [Device] [Mount Point] [File System Type] [Options] [Dump] [Pass] |
The sixth (6th) field in the /etc/fstab file is used to specify: The mount point The device to mount The dump level The filesystem type The fsck order The mount options | The fsck order hint: [Device] [Mount Point] [File System Type] [Options] [Dump] [Pass] |
Which mount option will remount a currently mounted filesystem? mount -o reset mount -o reload mount -o mount mount -o remount | mount -o remount |
What determines how many files can be stored in a filesystem? The number of inodes The Superblock size The number of data blocks The number of bytes | The number of inodes |
The number of inodes in a filesystem is: Always the same for every filesystem Determined when the filesystem is created Determined by the filesystem type Something that can be changed at a later date | Determined when the filesystem is created |
Which of the following is true about the fsck command? It should only be executed on unmounted filesystems It can only be used to fix ext2 filesystems It can only be used to fix ext3 filesystems It should only be executed on mounted filesystems | It should only be executed on unmounted filesystems |
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 83 2 22:45 87589 | 87589 |
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 83 2 22:45 87589 | 2 |
Which bootloader includes the Secure Boot feature? BIOS UEFI LILO GRUB | UEFI |
In GRUB Legacy, the _____ directive indicates how long to wait before automatically booting the default operating system. fallback= timeout= password= kernel | timeout= |
Which of the following commands can be used to create an encrypted password that can be used with the password directive in GRUB Legacy: crypt-md5-grub grub-md5-crypt grub-crypt crypt-grub | grub-md5-crypt |
The first (1st) stage of the boot process is: The firmware (BIOS/UEFI) stage The init phase The kernel phase The Bootloader (LILO/GRUB) stage | The firmware (BIOS/UEFI) stage |
The fourth (4th) stage of the boot process is: The init phase The Bootloader (LILO/GRUB) stage The firmware (BIOS/UEFI) stage The kernel | The init phase |
The bootloader (GRUB/LILO) loads which of the following components into memory? (choose two) The root filesystem The kernel The init process The ramdisk | The kernel The ramdisk |
Which of the following commands can be used to reboot the system? (choose two) shutdown halt reboot shutdown -r | reboot shutdown -r |
The rpm2cpio command can be used to: (choose two) Create a new “.rpm” file Extract files from a “.rpm” file List the content of a “.rpm” file Build a binary “.rpm” file from a source “.src.rpm” file | Extract files from a “.rpm” file List the content of a “.rpm” file |
Which command will remove all files that belong to a Debian package? apt-get purge apt-get remove apt-get uninstall apt-get erase | apt-get purge |
Which command will update the list of available packages for APT? apt-cache update apt-get update apt-cache upgrade apt-get upgrade | apt-get update |
Which command may be used to get a list of the installed Debian packages? dpkg -l dpkg -L apt-get list apt-get show | dpkg -l |
Which command will show the dependencies of a Debian package? apt-cache requires apt-get depends apt-cache depends apt-get requires | apt-cache depends (hint: Debian's dependents always need cash) |
Which command will show the dependencies of an RPM package? rpm -qpd yum provides yum requires rpm -qpR | rpm -qpR |
Which two commands will show detailed information about a Debian package? (choose two) apt-cache info apt-cache show dpkg -s dpkg -i | apt-cache show dpkg -s (hint: Debian 'shows' both s's.) |
Which command shows the scripts that may be part of a RPM package? yum scripts yum info rpm -qs rpm -q –scripts | rpm -q –scripts |
Which command is used to display the shared libraries of a dynamically linked executable? ldd ld.so ldlist ldconfig | ldd |
Which option to the df command displays the size of a filesystem in “human readable” format? -h -human -g No option will provide this feature | -h |
You can display current filesystem space usage with the _____ command. du ls dw df | df (display filesystem) |
A system that contains Linux as well as a Microsoft Windows operating system is called a: This sort of system cannot exist Multi environment system A file base system Dual boot system | Dual boot system |
In what directory are you most likely to find user’s home directories? /usr/local /home /var/lib /usr/third | /home |
Which directory structure has directories which may have heavy activity for services like mail, ftp, and printing? /home /rootfs /root /var | /var |
After running fdisk -cu /dev/sdb, what fdisk command will allow you to change a partition type? d f t g | t |
After running fdisk -cu /dev/sdb, what fdisk command will allow you to create a new partition? c w n g | n (n for new) |
After running fdisk -cu /dev/sdb, what fdisk command will allow you to delete a partition? r g d s | d (d for delete) |
What option to the fdisk command is used to utilize sector unit sizes? -t -s -usize -u | -u |
Which mount option mounts a filesystem allowing reading only? readonly ronly ro rw | ro |
Which option to the tune2fs command will change the space reserved for system use? -R -m -M -r | -m |
Which option to the dumpe2fs command will have the command display only superblock information? -h -g -d -s | -h |
The _____ command will display how much space a filesystem has free? du free df init | df |
Which option to the fsck command will answer “yes” to all queries? -y -n -N -Y | -y |
Which option to the fsck command will answer “no” to all queries? -y -Y -n -N | -n |
Which option to the fsck command will allow you to specify the filesystem type? -t -F -T -f | -t (t for type) |
Missing files don’t have their original file names, instead they are named with their _____ number? device inode UID GID | inode |
Which type of link can be made to a file on another filesystem, hard or soft? soft hard | soft |
To use an encrypted password in the GRUB Legacy configuration file, use the _____ option to the password directive. –md5 –encrypt –secure –crypt | –md5 |
The primary configuration file for the GRUB 2 on a Fedora system is _____. /boot/grub2/grub.cfg /boot/grub/grub2.cfg /boot/grub2.cfg /boot/grub/grub.cfg | /boot/grub2/grub.cfg |
Which runlevel number is defined as “user-definable”? 0 1 2 3 4 5 6 | 4 |
Which runlevel number defines halting the system? 0 1 2 3 4 5 6 | 0 |
The first process that the kernel launches is called the _____ process. init kernel sys startx | init |
On a Ubuntu system, what variable defines the default runlevel in the /etc/init/rc-sysinit.conf file? DEFAULT_RUNLEVEL DEFAULT RUNLEVEL RUN | DEFAULT_RUNLEVEL |
What are the correct options for the rpm command to display a list of all installed packages? -qa -a -qall -b | -qa |
Which environment variable can a user set, that will affect where shared libraries can be located and loaded? LIBRARY_PATH LIBRARY_LD_PATH LD_PATH LD_LIBRARY_PATH | LD_LIBRARY_PATH |
Which of the following are benefits of a shared library: (choose two) Programs run faster Programs can be smaller Programs run slower Programs use a more consistent base of code | Programs can be smaller Programs use a more consistent base of code |
Which of the following will find and load shared libraries when a program is executed? The scheduler The dynamic linker The kernel The init process | The dynamic linker |
Which of the following contents is in the ldconfig configuration file by default? include all include /etc/ldconfig include ldconfig include ld.so.conf.d/*.conf | include ld.so.conf.d/*.conf |
Which command is used to view the services that are set to start or stop automatically? config chkconfig lsconfig initconfig | chkconfig |
Which of the following is not a daemon used for logging? klogd ilogd rsyslogd syslogd | ilogd |
What is the maximum memory that a 64 bit processor can theoretically use? 16 EiB 8 GiB 2 GiB 4 GiB | 16 EiB |
Which of the following is not a characteristic of firmware? Change runlevels Tests the components upon startup Typically stored in ROM Change settings to affect the use of external devices | Change runlevels |
What is used by devices to communicate with the system? IO Channels, IO Memory, Interrupts and DMA Ports IO Ports, IO Memory, Interrupts, and DMA Channels IO Ports, IO Memory, Signals and DMA Channels IO Ports, RAM, Interrupts and DMA Channels | IO Ports, IO Memory, Interrupts, and DMA Channels |
Interrupts cannot be shared between devices. True or False? True False | False |
Which option of the lspci command would you use to troubleshoot a network interface card? -r -t -nn -a | -nn |
Which of the following commands will create a soft link from the /tmp/test file to the /tmp/data file? ln -s /tmp/data /tmp/test ln /tmp/test /tmp/data ln -s /tmp/test /tmp/data ln /tmp/data /tmp/test | 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 -s /tmp/test /tmp/data ln /tmp/test /tmp/data ln -s /tmp/data /tmp/test ln /tmp/data /tmp/test | ln /tmp/test /tmp/data |
Which of the following commands can be used to reboot the system? (choose two) shutdown halt reboot shutdown -r | reboot shutdown -r |