Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 305-300 Topic 1 Question 31 Discussion

Actual exam question for LPI's 305-300 exam
Question #: 31
Topic #: 1
[All 305-300 Questions]

What happens when the following command is executed twice in succession?

docker run -tid -v data:/data debian bash

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Chan
6 days ago
E is definitely wrong. If the volume is already associated with a running container, the second command should just attach to that container, not fail.
upvoted 0 times
...
Lasandra
8 days ago
D sounds plausible, but I'm not sure why the original container image data would be available in both containers. Hmm, I'll have to think this through a bit more.
upvoted 0 times
...
Catarina
10 days ago
Haha, what if we just run the command a hundred times and see what happens? The data volume must be super confused by now!
upvoted 0 times
...
Mona
11 days ago
But wouldn't that mean both containers can alter the content?
upvoted 0 times
...
Mabelle
17 days ago
I disagree, I believe the answer is C.
upvoted 0 times
...
Lashaunda
19 days ago
I think the correct answer is C. Both containers share the contents of the data volume, have full permissions to alter its content and mutually see their respective changes.
upvoted 0 times
Ahmed
5 days ago
I agree with B. Each container has its own data volume.
upvoted 0 times
...
Quentin
10 days ago
I believe it's actually B. Each container is equipped with its own independent data volume.
upvoted 0 times
...
Hollis
14 days ago
I think the correct answer is C.
upvoted 0 times
...
...
Mona
20 days ago
I think the answer is B.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77