SCA_SLES15 practice question 5 of 15
If you have a service named tftp, which command and options would enable tftp to start automatically when the server starts?
Full set: 69 questionsSUSE Linux Enterprise Server 15 uses systemd as its init system. The systemctl command is the primary tool for managing services. To configure a service to start automatically at boot, you must "enable" it. The systemctl enable tftp command creates the necessary symbolic links in the systemd configuration directories, which instructs systemd to start the tftp.service unit during the system startup process.
systemctl start tftp: This command starts the service only for the current session; it will not persist after a reboot.
chkconfig add tftp: chkconfig is a legacy command from the older SysVinit system and is not the native tool for systemd. systemd start tftp: systemd is the name of the init system itself, not a command-line tool for managing services in this syntax.
systemctl enable-start tftp: enable-start is not a valid verb for the systemctl command. The correct combined action is systemctl enable --now.
SUSE Linux Enterprise Server 15 SP5 Administration Guide, Section 15.5.1, "Managing Services". It explicitly states: "To start a service at boot, enable it with sudo systemctl enable SERVICENAME."
SUSE Linux Enterprise Server 15 SP5 Administration Guide, Table 15.2, "systemctl: Service States". The table clearly distinguishes between start (starts a service) and enable (enables a service to be started at boot time).
Keep practicing
Take the free SCA_SLES15 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SCA_SLES15 practice questions
- Question 1Which option for zypper will list the available patches?
- Question 2Which Vim command will save the current file without exiting?
- Question 3Which file should be edited to make sure a file system is mounted each time a system boot…
- Question 4You have just added a new directory to be exported via NFS. what command should you run n…
- Question 6Which statements about log file rotation are true? (Choose two)
- Question 7By default, what does the VNC Client and the VNC server daemon use for secure communicati…
