Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 701-100 topic 1 question 33 discussion

Actual exam question from LPI's 701-100
Question #: 33
Topic #: 1
[All 701-100 Questions]

The following command is issued on two docker nodes:
docker network create --driver bridge isolated_nw
Afterwards, one container is started at each node with the parameter --network=isolated_nw. It turns out that the containers can not interact with each other.
What must be done in order to allow the containers to interact with each other? (Choose two correct answers.)

  • A. Use a host network instead of a bridged network.
  • B. Add the option --inter-container to the docker network create command.
  • C. Start the containers on the same node.
  • D. Change the --network parameter of docker create to --network=isolated_nw,nofence.
  • E. Use an overlay network instead of a bridged network.
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️
Reference https://docs.docker.com/v17.09/engine/userguide/networking/#bridge-networks

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
alex87
1 year, 2 months ago
Selected Answer: CE
C and E are correct
upvoted 1 times
...
MJ06
2 years, 7 months ago
"User-defined bridge networks are best when you need multiple containers to communicate on the same Docker host. Overlay networks are best when you need containers running on different Docker hosts to communicate, or when multiple applications work together using swarm services." C & E look best https://docs.docker.com/network/
upvoted 3 times
...
Blob21
2 years, 10 months ago
https://docs.docker.com/network/network-tutorial-standalone/ https://docs.docker.com/network/ C and E
upvoted 3 times
...
hmagroun
4 years ago
i agree with C and E "--network=isolated_nw,nofence" : it seems strage as syntax I found nowhere "nofence" option
upvoted 4 times
...
hector1978
4 years, 2 months ago
I agree. The correct answers are C and E
upvoted 2 times
...
elies_jebri
4 years, 3 months ago
C and E seem to be best choices
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...