wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Linux module 8 Quiz

Total questions: 28

Worksheet time: 15mins

Name
Class
Date
1.

which command can be used to modify the default locale on the system?

a)

tzselect

b)

cmdline

c)

localectl

d)

export LANG=C

2.

Which of the following statements is true?

a)

GRUB Legacy can be loaded from a MBR or GPT

b)

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

c)

GRUB2 can only be loaded from a UEFI System Partition

d)

GRUB needs to be reinstalled after it has been modified

3.

Which directory stores most Unix SysV rc scripts?

a)

/etc/rc5.d

b)

/etc/rc.d

c)

/etc/init.d

d)

/usr/local/systemd

4.

which runlevel halts the system?

a)

1

b)

6

c)

0

d)

5

5.

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

a)

/etc/initstate

b)

/inittab

c)

/etc/init

d)

/etc/inittab

6.

which command can be used to start X windos, the window manager, and the default desktop environment?

a)

startgui

b)

startgdm

c)

startx

d)

gstart

7.

which of the following statements are true?

a)

unicode provides the least localization support for diferent languages

b)

ASCII is the most common character set used today

c)

UTF-8 is commonly used to provide unicode character set support

d)

ASCII is an extension of the ISO-8859 standard

8.

which of the following indicates the second MBR partition on the third hard disk drive to GRUB2?

a)

hd2,msdos2

b)

hd4,mbr3

c)

hd3,mbr2

d)

hd2,msdos1

9.

Which two implementations of X windows are commonly used in Linux?

b)

XFCE

c)

winX

d)

Wayland

10.

what is the name of the directory that contians symbolic links to UNIX SysV rc scripts for runlevel 2?

a)

/etc/rc2.d

b)

/etc/init.d/rc2.d

c)

/etc/runlevel/2

d)

/etc/inittab/rc2/d

11.

in what directory is stage 2 of the GRUB2 boot loader stored?

a)

/boot

b)

/root

c)

/bin

d)

/

12.

the first daemon loaded on a Linux system is _____.

a)

initstate

b)

inittab

c)

init

d)

linux

13.

which command causes the system to enter Single User Mode?

a)

init 0

b)

init 1

c)

init 6

d)

initstate 5

14.

which assistive technology will make a desktop environment more accessible to a person with low vision?

a)

high contrast

b)

visual alerts

c)

repeat keys

d)

click assist

15.

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?

a)

timedatectl --update

b)

tzselect

c)

hwclock -w

d)

date --set

16.

you want to configure the runlevels that particular upstart daemon is started in. what should you do?

a)

run appropriate update-rc.d command

b)

modify the contents of the /etc/rc[runlevel].d directories

c)

modify the daemon configuration file within the /etc/init directory

d)

run appropriate systemctl command

17.

which of the following Systemd commands can be used to stop a daemon called lala?

a)

service stop lala

b)

systemctl stop lala.service

c)

chkconfig stop lala

d)

stop lala

18.

which of the following commands can be used to start a UNIX SysV daemon called lala in runlevels 1, 2, and 3?

a)

chkconfig --level 123 lala on

b)

update-rc.d lala defaults

c)

systemctl enable lala 123

d)

service enable lala 123

19.

what System target corresponds to runlevel 5?

20.

what kernel option can be specified within a boot loader to force the system to boot to Single User Mode?

a)

init

b)

rescue

c)

single

d)

telinit

21.

which of the following will invalid entries in teh 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

22.

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

23.

which of the following commands will show the current runlevel along with the previous runlevel?

a)

runlevel

b)

telinit -r

c)

init -r

d)

echo $RUNLEVEL

24.

which of the following commands will shut down a Linux system?

a)

runlevel0

b)

telinit 0

c)

shutdown -h now

d)

poweroff

25.

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

26.

which of the following is the default windows manager used by the GNOME version 3 desktop environment?

a)

mutter

b)

metacity

c)

wmaker

d)

kwin

27.

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

28.

which of the following commands can be used to convert files between different character encodings?

a)

iconv

b)

conv

c)

convert

d)

transform