cyber section 4 and 5 practice questions
which non-symlink file in the /usr/lib/systemd/system/ directory is used to start the services necessary for multiple users, networking, and a graphical display?
graphical.target
make changes take effect, command enter to make this service use the new configuration?
systemctl restart anaconda.service
directory contains the configuration file for GRUB 2
/boot/grub2/
grub2 configuration file (non-editable)
/boot/grub2/grub.cfg
full path and filename of the GRUB 2 file that is used for editing the default behavior of the boot loader menu?
/etc/default/grub
grub2 configuration file (editable)
/etc/default/grub
grub2 directory for script files
/etc/grub.d/
you have a grub2 installed on your linux workstation. you need to make changes to the boot menu. which files and scripts can you edit to modify the menu entries and behavior of the boot menu?
/etc/grub.d/40_custom /etc/default/grub
Anna, a system admin, wants to prevent users from pressed the ctrl alt delete key combination to reboot the server. which config file should be modified?
/etc/iniitab
if a systemd system us configured to use multi-user.target as the default boot target, which file has a symbolic link to the multi-user.target file?
/etc/systemd/system/default.target
scrip that identifies kernels on the root device and creates menu entries
10_linux
script file that allows menu entries to be modified
40_custom
which system component verifies the hardware and passes control of the computer to the boot loader?
BIOS
correct order for the boot phases of a Linux computer?
BIOS, boot loader, OS kernel, system or init
default for many linux distributions
GNOME
editing the /etc/default/grub file.. option should you use to set the default operating system?
GRUB_DEFAULT=
emulates a windows desktop, especially in the location of the menu options and bottom panel bar>
KDE
started by an Arch Linux user in response to the negative reception of GNOME 3 and continue to follow the GNOME 2 code base
MATE
which Remote Desktop tech offers access from most common platforms such as Linux, windows, Mac, iOS , android, and rasberry?
NX
in which boot process stage is the root partition mounted?
OS kernel
responsible for loading and executing the initial process
OS kernel
provides a complete open-source solution for remote access to virtual machines?
SPICE
default for ubuntu until 2017
Unity
which of the following technologies establishes a connection w a remote computer using a viewer on one end and a server on the remote end
VNC
which component of the X11 window system controls the placement and appearance of windows on a Linux computer?
Windows Manager
which X11 window system element is the MAIN system component?
X11 server
role of linux desktop
adds a series of tools and utilities to make the GUI useful
difficulty typing, containing pressing keys by accident, which keyboard accessibility option should be enabled?
bounce keys
following desktops from GNOME 3, follows traditional desktop metaphor conventions, and is the primary desktop environment for the min distribution?
cinnamon
configure GRUB 2 boot loader to display the menu for 12 seconds before it automatically boots the default operating system. best first step to configure the boot loader?
edit the timeout parameter in the /etc/default/grub file to say GRUB_TIMEOUT=12
u have just installed a new linux system, which is using the wayland system. which of the following is a valid statement regarding this system?
events captured from the keyboard are sent to the wayland compositor and then the wayland client, where the rendering takes place
following commands will help you to determine which version of GRUB is installed on your linux system?
grub-install -v grub2-install --version
after updating the settings in the /etc/default/grub file, you know the changes must be written to the grub.cfg file before they will be used. what would you enter at the common prompt to write the changes to the grub.cfg file?
grub2-mkconfig -o /boot/grub2/grub.cfg
accessibility option adjusts the background and text colors to improve readability?
high contrast
which command completely shuts down the system in an orderly manner?
init 0
difficulty using mouse, keyboard accessibility option?
mouse keys
which file in the /usr/lib/system/ directory is text-based and used to start the services that support multiple users and support networking?
multi-user.target
free open-source scriptable screen reader that works w GNOME desktop?
orca
best describes the repeat keyboard accessibility option
repeat keys affect how quickly the action associated w the key is repeatedly performed when the key is pressed and held down
which of the following system unit-specific sections describes how to manage services or applications on the server?
service
prevent a user from booting a computer, booting from removable devices, and changing the UEFI/BIOS settings?
set a UEFI/BIOS password
attacker boots into single user mode, logged in automatically as root user w out being required to enter root password, best measure to prevent?
set a boot loader password
have a systemd linux system that is configured to boot into the graphical.target by default. the system seems to be running much slower than normal. you need to reboot the system, but you want it to boot into a single-user target unit w no network access so you can perform troubleshooting tasks and get the system running normally again. what should you do before you reboot?
set the default boot target to rescue.target
which option prevents fsck from running after the reboot and allows the system to boot faster?
shutdown -f
...send message to users to give them 15 min to save data and exit the system
shutdown -h +15 It is time for a shutdown!
need to shut down the system immediately and send a message to logged in users to allow running processes to close gracefully
shutdown -h now
command to manage the services and targets
systemctl
you are experiencing a problem w one particular server. each time it boot it foes into single-user mode even though no warning or errors are reported. u want to verify that it is configured to boot to the multi-user.target unit, just as all your other servers are. this system is running systemd. which command would u use to see which boot target is set as the default?
systemctl get-default
currently running the multi-user.target. what would u enter at the command prompt to find out whether the attd.service is configured to start every time the multi-user.target is loaded?
systemctl is-enabled attd.service
on a systemd system. without rebooting the system, u want to change from the currently running target unit to a target that supports networking, multiple users, and displays a graphical interface. what command accomplishes this task?
systemctl isolate graphical.target
experiencing a problem w a network server, want to bring the system down and try reseating the cards within it before restarting it. command runs power off.target to shut down the system in an orderly manner?
systemctl isolate poweroff.target
u need to perform some system maintain on a systemd system, u want to prevent users from logging on while u do so. what command do u run?
systemctl isolate rescue.target
current boot target is multi-user.target, u want to use this system as a desktop workstation. u need a boot target that supports multiple users, supports networking, and has a graphical display. this is a systemd system. what command should you enter to change the default boot target to one that meets these needs?
systemctl set-default graphical.target
enter to run cups.service
systemctl start cups.service
command to find out if cups.service is running
systemctl status cups.service
responsible for bringing up other units and services when boot targets are changed?
systemd
what is the core process for a systemd-base linux system?
systemd
has a process ID (PID) of 1?
the initial process
you have a system with more than one linux operating system installed. during the systems boot up process, which component loads a splash screen, allowing you to choose which operating system you want to run?
the secondary boot loader
following are popular linux desktops
unity mate cinnamon gnome kde
which of the following users MOST benefit from the sticky keys accessibility option?
users who have difficulty pressing multiple keys at the same time
examples of a linux display server
wayland compositor X11
following implementations would allow the system dmins to connect to linux systems using windows Remote Desktop?
xrdp