Which of the statements below are true about the volume created by the following command? (Choose two correct answers.)
docker run --v /data --ti debian
Suggested Answer: E
Get Premium 701-100 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
39 comments · newest first
VA
Vannessa
11 months ago
The volume doesn't copy the whole base image, that's not how it works.
MA
Margot
11 months ago
If you run the command again, you get a new volume for /data.
HA
Harris
11 months ago
Wait, so the volume gets deleted when the container ends? That seems off.
CA
Cassandra
12 months ago
Totally agree, the volume sticks around after the container stops!
SO
Solange
12 months ago
The /data volume can be attached to another Docker container.
LO
Lorita
12 months ago
I remember reading that if you run the command again, it creates a new volume, so option E should be true.
YV
Yvonne
1 year ago
I practiced a similar question, and I believe option A is definitely false; volumes don't contain a copy of the base image.
DA
Daniela
1 year ago
I'm not entirely sure, but I feel like option C might be correct since volumes usually persist even after a container stops.
AR
Arthur
1 year ago
I think option D is true because I remember that volumes can be shared between containers.
PA
Pa
1 year ago
Volumes can be a bit confusing, but I'll give it my best shot. Gotta apply what I've learned so far.
LA
Lavelle
1 year ago
Okay, let's see. The key is understanding how Docker handles volumes when running a container. I think I can figure this out.
UL
Ula
1 year ago
Hmm, I'm a bit unsure about the volume behavior here. I'll have to review my Docker notes to answer this one.
TA
Tammi
1 year ago
This looks like a tricky Docker volume question. I'll need to think it through carefully.
ES
Essie
1 year ago
Ah, I remember learning about this in class. I'm pretty confident I know the right answers for this one.
NI
Nieves
1 year ago
Wait, I'm not sure about that. Wouldn't it be better to just contact the tech support team? They'd know the best way to handle this.
AM
Ammie
1 year ago
I think I've seen this term before, but I'm not totally sure what it means. I'll need to read the options carefully to try to figure it out.
DO
Dottie
1 year ago
I don't know about you, but I'm just gonna pick the ones that sound the most logical. Trying to outsmart the exam writers is like trying to win a staring contest with a cat.
DA
Darnell
1 year ago
D) The /data volume can be attached to another Docker container.
PO
Portia
1 year ago
C) The /data volume is discarded when the container terminates.
OM
Omer
1 year ago
A) The new /data volume contains a copy of the complete container's base image.
LA
Larae
1 year ago
Options B and D are the way to go. The volume is attached to the container, and I can reuse it later. Easy peasy!
MI
Micaela
1 year ago
That's right! Those options are correct. It's convenient to be able to reuse the volume in another container.
CA
Carolann
1 year ago
D) The /data volume can be attached to another Docker container.
SH
Sherell
1 year ago
B) The volume containing the container's rootfile system is retained until the /data volume is deleted.
AL
Alexis
2 years ago
Ha! I bet the people who came up with these options were just trying to confuse us. Gotta love those tricky Docker commands!
AI
Ailene
1 year ago
C) The /data volume is discarded when the container terminates.
JA
Janae
1 year ago
Yeah, Docker commands can be tricky sometimes.
RO
Ronnie
1 year ago
D) The /data volume can be attached to another Docker container.
RO
Royal
1 year ago
A) The new /data volume contains a copy of the complete container's base image.
LE
Leonida
2 years ago
I'm not sure about that. I think A and E are the correct answers.
RE
Reuben
2 years ago
I think Option E is also true. If the command is run a second time, a new /data volume will be created.
SH
Sheldon
1 year ago
E) If the command is run a second time, another volume for /data is created.
SH
Sheldon
1 year ago
A) The new /data volume contains a copy of the complete container's base image.
NA
Naomi
2 years ago
Option B and D seem correct. The volume containing the rootfile system is retained, and the /data volume can be attached to another container.
JO
Jovita
2 years ago
I agree with Karrie. The /data volume is discarded when the container terminates, and it can be attached to another Docker container.
KA
Karrie
2 years ago
I think the correct answers are C and D.
FL
Floyd
2 years ago
I'm not sure about that. I think A and E are the correct answers.
NI
Nichelle
2 years ago
I agree with Alyce. The /data volume is discarded when the container terminates, and it can be attached to another Docker container.
AL
Alyce
2 years ago
I think the correct answers are C and D.