nerdexam
ExamsXK0-004Questions#127
CompTIA

XK0-004 · Question #127

XK0-004 Question #127: Real Exam Question with Answer & Explanation

The correct answer is A: chkconfig <service> on. "chkconfig <service> on" affects by default runlevel2, runlevel3, runlevel4, runlevel5. https://geekflare.com/how-to-auto-start-services-on-boot-in-linux/

Question

A junior Linux administrator needs to ensure a service will start on system boot. Which of the following commands should be used to accomplish this task?

Options

  • Achkconfig <service> on
  • Bsystemctl <service> bootup
  • Cservice <service> enable
  • Dcrontab install <service>

Explanation

"chkconfig <service> on" affects by default runlevel2, runlevel3, runlevel4, runlevel5. https://geekflare.com/how-to-auto-start-services-on-boot-in-linux/

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice