exam questions

Exam 701-100 All Questions

View all questions & answers for the 701-100 exam

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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
alex87
7 months, 1 week ago
Selected Answer: CE
C and E are correct
upvoted 1 times
...
MJ06
2 years 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, 2 months ago
https://docs.docker.com/network/network-tutorial-standalone/ https://docs.docker.com/network/ C and E
upvoted 3 times
...
hmagroun
3 years, 5 months 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
3 years, 6 months ago
I agree. The correct answers are C and E
upvoted 2 times
...
elies_jebri
3 years, 8 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago