Chapter 8 linux

Ace your homework & exams now with Quizwiz!

In what directory is Stage 2 of the GRUB2 boot loader stored? /boot /root /bin /

/boot

Which directory stores most UNIX SysV rc scripts? /etc/rc5.d /etc/rc.d /etc/init.d /usr/local/systemd

/etc/init.d

Which file does the UNIX SysV init daemon reference on startup to determine the default runlevel? /etc/initstate /inittab /etc/init /etc/inittab

/etc/inittab

What is the name of the directory that contains symbolic links to UNIX SysV rc scripts for runlevel 2? /etc/rc2.d /etc/init.d/rc2.d /etc/runlevel/2 /etc/inittab/rc2/d

/etc/rc2.d

Which runlevel halts the system? 1 6 0 5

0

Which of the following statements is true? GRUB Legacy can be loaded from a MBR or GPT. After modifying /etc/default/grub, you must run the grub2-mkconfig command before the changes are made to GRUB2. GRUB2 can only be loaded from a UEFI System Partition. GRUB needs to be reinstalled after it has been modified.

After modifying /etc/default/grub, you must run the grub2-mkconfig command before the changes are made to GRUB2.

Which assistive technology will make a desktop environment more accessible to a person with low vision? High Contrast Visual Alerts Repeat Keys Click Assist

High Contrast

You want to configure the runlevels that a particular upstart daemon is started in. What should you do? Run the appropriate update-rc.d command. Modify the contents of the /etc/rc[runlevel].d directories. Modify the daemon configuration file within the /etc/init directory. Run the appropriate systemctl command.

Modify the daemon configuration file within the /etc/init directory.

Which of the following statements is true? Unicode provides the least localization support for different languages. ASCII is the most common character set used today. UTF-8 is commonly used to provide Unicode character set support. ASCII is an extension of the ISO-8859 standard.

UTF-8 is commonly used to provide Unicode character set support.

Which two implementations of X Windows are commonly used in Linux? (Choose two answers.) X.org XFCE winX Wayland

X.org, Wayland

Which of the following files is where the default runlevel is set on some Linux systems? a. /etc/inittab b. /etc/init.d/init c. /etc/rc.d/init.conf d. /etc/rc.d/init.d/init.conf

a. /etc/inittab

Which of the following does Click Assist do? a. Simulates a right click by holding down the left mouse button. b. Simulates a right click by holding down the Ctrl key on the keyboard. c. Simulates a left click by holding down the left shift key or a right click by holding down the right shift key. d. Reads the text for buttons on the screen so the user knows what they may be clicking on.

a. Simulates a right click by holding down the left mouse button.

Which of the following is a valid Linux initialization process? a. Systemd b. GRUB c. SysV d. GRUB2

a. Systemd, c. SysV

Which of the following system variables can you modify to override the default system timezone within your current shell? a. TZ b. TIME c. LOCALE d. LC_TZ

a. TZ

Which of the following commands will display the number of seconds that have elapsed since January 1, 1970? a. date +%s b. date --epochdiff c. datetime --epoch d. datetime -s

a. date +%s

Which of the following commands can be used to convert files between different character encodings? a. iconv b. conv c. convert d. transform

a. iconv

Which of the following commands can be used to display the current locale of a system? (Choose two.) a. locale b. localectl c. localed d. syslocale

a. locale, b. localectl

Which of the following commands will generate a new initramfs? a. mkinitrd b. mkinit c. dracut d. cutram

a. mkinitrd, c. dracut

Which of the following is the default window manager used by the GNOME version 3 desktop environment? a. mutter b. metacity c. wmaker d. kwin

a. mutter

Which of the following commands will display a list of Systemd units sorted by the time they took to load? a. systemd-analyze blame b. systemd --listload c. systemctl --listload d. systemctl-analyze --blame

a. systemd-analyze blame

If incompatible X Windows settings are configured, where will the errors that are generated be written to? a. ~/.xsession-errors b. ~/.xerror c. ~/.xwin-error d. /var/log/xwindows.error

a. ~/.xsession-errors

Which of the following files is a binary file that contains the rules for calculating the time based on your time zone relative to epoch time? a. /usr/local/bin/timecalc b. /etc/localtime c. /sbin/tickadj d. /sbin/timeadj

b. /etc/localtime

Which of the following is responsible for starting tasks and services during boot, stopping them during shutdown, and supervising them while the system is running? a. Kickstart b. Upstart c. GRUB d. POST

b. Upstart

What is contained in the DISPLAY variable on a Linux system running the X window system? a. The resolution of the monitor connected to the Linux system. b. Which X server the client is supposed to connect to by default. c. The display manager that should be used. d. How many monitors are connected to a Linux system.

b. Which X server the client is supposed to connect to by default.

Which of the following will invalid entries in the GRUB2 configuration cause? a.kernel warning automatically skipping invalid entries b. kernel panic and halt the system c. kernel error with confirmation to skip invalid entries d. no error, automatically skipping invalid entries until a valid entry is found

b. kernel panic and halt the system

Which of the following commands will set the default runlevel of a Linux system? a. systemctl --set-default runlevel5.target b. systemctl set-default runlevel5.target c. systemctl --default runlevel5.target d. systemctl set-init runlevel5.target

b. systemctl set-default runlevel5.target

Which of the following commands will shut down a Linux system? (Choose all that apply.) a. runlevel 0 b. telinit 0 c. shutdown -h now d. poweroff

b. telinit 0 ,c. shutdown -h now, d. poweroff

Which of the following commands will list the time zones available on a Linux system? a. date --timezones b. timedatectl list-timezones c. timezones d. tzlist

b. timedatectl list-timezones

Which of the following options can be specified in the GRUB Legacy configuration file to set how long the boot menu is displayed before loading the default image? a. splash b. timeout c. wait d. timer

b. timeout

Where are the files stored that contain information for all of the time zones that could be recognized by a Linux operating system? a. /etc/timezones b. /var/zoneinfo c. /usr/share/zoneinfo d. /var/local/timezones

c. /usr/share/zoneinfo

Which of the following options is passed to the Linux kernel from the GRUB2 configuration file to set the locale? a. LC_* b. LC_ALL c. LANG d. TZ

c. LANG

Which of the following accessibility features simulates simultaneous key presses when two keys are pressed in sequence? a. Bounce Keys b. Repeat Keys c. Sticky Keys d. Slow Keys

c. Sticky Keys

Which of the following does a Linux kernel use to store the value of epoch time? a. The number of days since January 1, 1900 b. The number of minutes since January 1, 1900 c. The number of seconds since January 1, 1970 d. The number of milliseconds since January 1, 1980

c. The number of seconds since January 1, 1970

Which of the following is a lightweight desktop environment that uses very few system resources that a system administrator might choose to install on a Linux server instead of one of the two main desktop environments? a. GNOME b. KDE c. XFCE d. mutter

c. XFCE

Which of the following files holds the configuration information for GRUB Legacy on Ubuntu Linux systems? a. grub.conf b. menu.conf c. menu.lst d. grub.lst

c. menu.lst

Which of the following commands can be used to start a UNIX SysV daemon called lala in runlevels 1, 2, and 3? chkconfig --level 123 lala on update-rc.d lala defaults systemctl enable lala 123 service enable lala 123

chkconfig --level 123 lala on

In addition to /etc/localtime, some Linux distributions also have an /etc/timezone text file that contains a reference to the correct time zone file contained in which directory? a. /usr/local/zoneinfo b. /usr/zoneinfo c. /etc/zoneinfo d. /usr/share/zoneinfo

d. /usr/share/zoneinfo

Which of the following is the default desktop environment used by Linux Mint? a. GNOME b. KDE c. Unity d. Cinnamon

d. Cinnamon

Which of the following can be used to compare the hardware clock to the system clock, writing a new result to a new line every 10 seconds? a. systohc --compare b. compare --hw2sys c. hwtosys -c d. hwclock -c

d. hwclock -c

Which of the following commands will prompt you to answer a series of questions to help determine which time zone file you should use? a. zones b. timezones c. zoneselect d. tzselect

d. tzselect

What Systemd target corresponds to runlevel 5? multi-user.target graphical.target system.target runlevel5.target

graphical.target

Which of the following indicates the second MBR partition on the third hard disk drive to GRUB2? hd2,msdos2 hd4,mbr3 hd3,mbr2 hd2,msdos1

hd2,msdos2

You have recently modified the system time using the date command. What command can you run to ensure that the same time is updated within the system BIOS? timedatectl --update tzselect hwclock -w date --set

hwclock -w

The first daemon loaded on a Linux system is . initstate inittab init linux

init

Which command causes the system to enter Single User Mode? init 0 init 1 init 6 initstate 5

init 1

Which command can be used to modify the default locale on the system? tzselect cmdline localectl export LANG=C

localectl

What kernel option can be specified within a boot loader to force the system to boot to Single User Mode? init rescue single telinit

single

Which command can be used to start X Windows, the window manager, and the default desktop environment? startgui startgdm startx gstart

startx

Which of the following Systemd commands can be used to stop a daemon called lala? service stop lala systemctl stop lala.service chkconfig stop lala stop lala

systemctl stop lala.service


Related study sets

Chapter 8: Electronic and Mobile Commerce Quiz

View Set

American Government Chapter 14: Foreign Policy

View Set

Occupational Rehabilitation and Return-to-Work Programming

View Set

The Industrial Revolution (Chapter 9)

View Set

Chapter 8: Atlantic Revolutions, Global Echoes 1750-1900

View Set

Cvent Certification: Event Management (Section 1 - Navigate the Cvent Platform)

View Set

Chemistry Appendix Quiz F 11th grade

View Set

ACC 212 Chapter 14 - Managerial Accounting Concepts and Principles

View Set

Exam 2: Groups & Organizations; Deviance, Crime, & Social Control

View Set