Font size
WorksheetsLinux module 8 Quiz
Total questions: 28
Worksheet time: 15mins
which command can be used to modify the default locale on the system?
tzselect
cmdline
localectl
export LANG=C
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
Which directory stores most Unix SysV rc scripts?
/etc/rc5.d
/etc/rc.d
/etc/init.d
/usr/local/systemd
which runlevel halts the system?
1
6
0
5
Which file does the UNIX SysV init daemon reference on startup to determine the default runlevel?
/etc/initstate
/inittab
/etc/init
/etc/inittab
which command can be used to start X windos, the window manager, and the default desktop environment?
startgui
startgdm
startx
gstart
which of the following statements are true?
unicode provides the least localization support for diferent 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
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
Which two implementations of X windows are commonly used in Linux?
what is the name of the directory that contians 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
in what directory is stage 2 of the GRUB2 boot loader stored?
/boot
/root
/bin
/
the first daemon loaded on a Linux system is _____.
initstate
inittab
init
linux
which command causes the system to enter Single User Mode?
init 0
init 1
init 6
initstate 5
which assistive technology will make a desktop environment more accessible to a person with low vision?
high contrast
visual alerts
repeat keys
click assist
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
you want to configure the runlevels that particular upstart daemon is started in. what should you do?
run 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 appropriate systemctl command
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
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
what System target corresponds to runlevel 5?
what kernel option can be specified within a boot loader to force the system to boot to Single User Mode?
init
rescue
single
telinit
which of the following will invalid entries in teh GRUB2 configuration cause?
kernel warning automatically skipping invalid entries
kernel panic and halt the system
kernel error with confirmation to skip invalid entries
no error, automatically skipping invalid entries until a valid entry is found
which of the following does a Linux kernel use to store the value of epoch time?
the number of days since January 1, 1900
the number of minutes since January 1, 1900
the number of seconds since January 1, 1970
the number of milliseconds since January 1, 1980
which of the following commands will show the current runlevel along with the previous runlevel?
runlevel
telinit -r
init -r
echo $RUNLEVEL
which of the following commands will shut down a Linux system?
runlevel0
telinit 0
shutdown -h now
poweroff
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?
splash
timeout
wait
timer
which of the following is the default windows manager used by the GNOME version 3 desktop environment?
mutter
metacity
wmaker
kwin
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?
systohc --compare
compare --hw2sys
hwtosys -c
hwclock -c
which of the following commands can be used to convert files between different character encodings?
iconv
conv
convert
transform
