nerdexam
CompTIACompTIA

XK0-005 · Question #10470

XK0-005 Question #10470: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-005 to reveal the answer and full explanation for question #10470. The question stem and answer options stay visible for context.

System Management

Question

A Linux administrator has installed a web server, a database server, and a web application on a server. The web application should be active in order to render the web pages. After the administrator restarts the server, the website displays the following message in the browser: Error establishing a database connection. The Linux administrator reviews the following relevant output from the systemd init files: The administrator needs to ensure that the database is available before the web application is started. Which of the following should the administrator add to the HTTP server .service file to accomplish this task?

Options

  • ATRIGGERS=mariadb.service
  • BONFAILURE=mariadb.service
  • CWANTEDBY=mariadb.service
  • DREQUIRES=mariadb.service

Unlock XK0-005 to see the answer

You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#systemd#Service Management#Service Dependencies#Unit Files
Full XK0-005 PracticeBrowse All XK0-005 Questions