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:

Arlean
2 months ago
Ah, the age-old question: what happens when you mix Docker, data, and a dash of confusion? I'm going with a wild card answer: the container starts dancing the macarena.
upvoted 0 times
...
Antonio
3 months ago
Wait, what? Dockerfiles and volumes? Is this a cooking exam or something? I thought we were here to learn how to juggle chainsaws.
upvoted 0 times
...
Emilio
3 months ago
This is easy peasy! The correct answers are C and E. Now, where's the coffee dispenser in this exam hall?
upvoted 0 times
Lanie
28 days ago
I think you're right. Let's find that coffee dispenser!
upvoted 0 times
...
Arthur
1 months ago
E) A new volume is created and mounted to /data/ within the new container.
upvoted 0 times
...
Vinnie
2 months ago
C) Existing files from /data/ in the image are copied to the new volume.
upvoted 0 times
...
Lisha
2 months ago
A) Files existing in /data/ in the image are not available in the running container.
upvoted 0 times
...
...
Carman
3 months ago
Ooh, this is a good one. I'm going to go with B and D. No wait, that can't be right. What was the question again?
upvoted 0 times
Leatha
1 months ago
User3: E) A new volume is created and mounted to /data/ within the new container.
upvoted 0 times
...
Oretha
2 months ago
User2: C) Existing files from /data/ in the image are copied to the new volume.
upvoted 0 times
...
Adelina
2 months ago
User1: A) Files existing in /data/ in the image are not available in the running container.
upvoted 0 times
...
...
Helene
3 months ago
Ah, I know this one! The correct answers are C and E. The existing files will be copied to the new volume, and a new volume will be created and mounted to /data/.
upvoted 0 times
Winfred
2 months ago
That makes sense, thanks for clarifying!
upvoted 0 times
...
Audria
2 months ago
Yes, and a new volume will be created and mounted to /data/ within the new container.
upvoted 0 times
...
Cyndy
2 months ago
I think you're right, the existing files will be copied to the new volume.
upvoted 0 times
...
...
Terrilyn
4 months 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
Abel
3 months ago
User2: I agree, and also E) A new volume is created and mounted to /data/ within the new container.
upvoted 0 times
...
Glory
3 months ago
User1: I think it's A) Files existing in /data/ in the image are not available in the running container.
upvoted 0 times
...
...
Stephania
4 months 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
4 months 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
4 months ago
I think the correct answers are A and E.
upvoted 0 times
...

Save Cancel