Module 9 Test: Linux installation and configuration, Linux Chapter 8, Linux final
A system administrator wants to allow most users to be able to run cron jobs, but wants to specifically prevent a couple of users from doing so. Which of the following files could the administrator edit to disallow these users from creating cron jobs?
/etc/cron.deny
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?
/usr/share/zoneinfo
Which of the following is the highest value that can be set for the nice value which would result in a greater chance of a lower priority?
19
Which of the following is the default desktop environment used by Linux Mint?
Cinnamon
Which of the following is an on-screen keyboard used with Linux?
GOK
Which of the following does Click Assist do?
Simulates a right click by holding down the left mouse button
Which of the following is a valid Linux initialization process?
Systemd
Which of the following system variables can you modify to override the default system timezone within your current shell?
TZ
Which of the following does a Linux kernel use to store the value of epoch time?
The number of seconds since January 1, 1970
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?
Upstart
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?
XFCE
Which of the following commands will show the current user cron jobs that have been created for the currently logged in user?
crontab -l
Which of the following commands will display the number of seconds that have elapsed since January 1, 1970?
date +%s
Which of the following commands will generate a new initramfs?
dracut mkinitrd
Which of the following files is where the default runlevel is set on some Linux systems?
etc/inittab
Which of the following will invalid entries in the GRUB2 configuration cause?
kernel panic and halt the system
Which of the following commands will send a process's resources to /dev/null to kill the process for process ID 1357?
kill -9 1357
Which of the following commands will show a number of environment variables that start with LC_?
locale
Which of the following commands can be used to see files that are currently being used by a specific process ID (PID)?
lsof
Which of the following files holds the configuration information for GRUB Legacy on Ubuntu Linux systems?
menu.lst
Which of the following can be used preceding a command to prevent a process from terminating when the parent process terminates?
nohup
Which of the following characters, when pressed while the top program is running, will allow you to change the niceness of a process?
r
Which of the following commands will show the current runlevel along with the previous runlevel? (Choose all that apply.)
runlevel
Which of the following accessibility features simulates simultaneous key presses when two keys are pressed in sequence?
sticky keys
Which of the following commands will set the default runlevel of a Linux system?
systemctl set-default runlevel5.target
Which of the following is a valid Linux initialization process?
systemd sysv
Which of the following commands will display a list of Systemd units sorted by the time they took to load?
systemd-analyze blame
Which of the following commands will shut down a Linux system? (Choose all that apply.)
telinit 0 shutdown -h now poweroff
Which of the following commands will list the time zones available on a Linux system?
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?
timeout
Which of the following commands will prompt you to answer a series of questions to help determine which time zone file you should use?
tzselect
Which of the following states describe a process that is waiting for a parent process to release its PID?
zombie
If incompatible X Windows settings are configured, where will the errors that are generated be written to?
~/.xsession-errors