Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam XK0-005 Topic 4 Question 33 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 33
Topic #: 4
[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 the 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?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

I'm not sure, but I think option A) After=docker-repository.mount could also work. It specifies that the Docker service should start after the specified mount unit is active.
upvoted 0 times
...
Goldie
1 days ago
I agree with Laura. Adding Requires=docker-repository.mount to the Docker service definition will make sure that the service waits for the volume to be mounted before starting.
upvoted 0 times
...
Laura
3 days ago
I think the answer is C) Requires=docker-repository.mount because it ensures that the Docker service will only start if the specified volume is mounted.
upvoted 0 times
...
Jesse
5 days ago
I'm not sure, but I think option A) After=docker-repository.mount could also work. It specifies that the Docker service should start after the specified mount unit is active.
upvoted 0 times
...
Bernardine
6 days ago
I agree with Claudio. Adding Requires=docker-repository.mount to the Docker service definition will make sure that the service waits for the volume to be mounted before starting.
upvoted 0 times
...
Claudio
17 days ago
I think the answer is C) Requires=docker-repository.mount because it ensures that the Docker service will only start if the specified volume is mounted.
upvoted 0 times
...

Save Cancel