Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam XK0-005 All Questions
Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

CompTIA Linux+ XK0-005 Question # 122 Topic 13 Discussion

XK0-005 Exam Topic 13 Question 122 Discussion:
Question #: 122
Topic #: 13

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?


A.

TRIGGERS=mariadb.service


B.

ONFAILURE=mariadb.service


C.

WANTEDBY=mariadb.service


D.

REQUIRES=mariadb.service


Get Premium XK0-005 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.