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

LPI Exam 701-100 Topic 3 Question 29 Discussion

Actual exam question for LPI's 701-100 exam
Question #: 29
Topic #: 3
[All 701-100 Questions]

A Dockerfile contains the statements:

COPY data/ /data/

VOLUME /data

What happens when the resulting container is started without any additional volume configuration? (Choose two correct answers.)

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Terrilyn
2 days ago
Hmm, this seems like a tricky one. I'm thinking it's either A or E, but I'm not entirely sure.
upvoted 0 times
...
Stephania
2 days ago
I'm not sure about that. I think it's C and E because existing files from /data/ in the image are copied to the new volume.
upvoted 0 times
...
Lauran
5 days ago
I agree with you, Octavio. When no additional volume is configured, existing files are not available in the running container and a new volume is created.
upvoted 0 times
...
Octavio
11 days ago
I think the correct answers are A and E.
upvoted 0 times
...

Save Cancel