Test Out Linux Pro 4.3.7 Systemd Boot Targets (Practice Questions)

¡Supera tus tareas y exámenes ahora con Quizwiz!

You are on a systemd system. Without rebooting the system, you want to change from the currently running target unit to a target that supports networking, supports multiple users, and displays a graphical interface. What command should you enter to accomplish this task?

systemctl isolate graphical.target

You are experiencing a problem with a network server. You want to bring the system down and try reseating the cards within it before restarting it. Which command runs poweroff.target to shut down the system in an orderly manner?

systemctl isolate poweroff.target

You need to perform some system maintenance on a systemd system, and you want to prevent users from logging on while you do so. Which command should you run?

systemctl isolate rescue.target

If a systemd system is configured to use multi-user.target as the default boot target, which file has a symbolic link (symlink) to the multi-user.target file?

/etc/systemd/system/default.target

Which of the following systemd unit-specific sections describes how to manage services or applications on the server?

Service

You 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 with 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 torescue.target.

You are working on a Linux distribution that uses systemd. 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

You are experiencing a problem with one particular server. Each time it boots, it goes into single-user mode even though no warnings or errors are reported. You 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 you use to see which boot target is set as the default?

systemctl get-default

The current default boot target is a multi-user.target, but you want to use this system as a desktop workstation. You 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

Which of the following is responsible for bringing up other units and services when boot targets are changed?

systemd


Conjuntos de estudio relacionados

Abnormal Psychology Non-Comprehensive Final

View Set

Chapter 22- Eating Disorder Final, Personality Disorders - Davis Edge, 360 Nursing test 3, Chapter 31. Eating Disorders, #30 - Eating Disorders

View Set

Chapter: Completing the Application, Underwriting, and Delivering the Policy

View Set

Chapter 3 + 19: Establishing Goals Consistent with Your Values and Ethics & Project Management

View Set

SEC - 160 Security Administration I Chapter 8 Cryptography

View Set