exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 333 discussion

Actual exam question from CompTIA's XK0-005
Question #: 333
Topic #: 1
[All XK0-005 Questions]

A Linux administrator has defined a systemd script docker-repository.mount to mount a volume for use by the Docker service. The administrator wants to ensure that Docker service does not start until the volume is mounted. Which of the following configurations needs to be added to the Docker service definition to best accomplish this task?

  • A. After=docker-respository.mount
  • B. ExecStart=/usr/bin/mount -a
  • C. Requires=docker-repository.mount
  • D. RequiresMountsFor=docker-repository.mount
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Mistermiyagi
3 weeks ago
Selected Answer: D
I think D here is better since it specifically requires that it is fully mounted before the service starts C is mostly when it is available or better for web applications/databases
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago