Docker Certified Associate (DCA) Test Review Questions Set 7 – Networking Part 1
Docker Certified Associate Test Review Questions Set 7 - Networking Part 1
Start
Congratulations - you have completed Docker Certified Associate Test Review Questions Set 7 - Networking Part 1.
You scored %%SCORE%% out of %%TOTAL%%.
Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Question 1 |
Which network driver type is best when you need containers running on different Docker hosts to communicate, or when multiple applications work together using swarm services?
A | Overlay networks |
B | User-defined bridge networks |
C | Host networks |
D | Macvlan networks |
Question 1 Explanation:
Reference:
https://docs.docker.com/network/#network-drivers
Question 2 |
Which network driver type is best when you need multiple containers to communicate on the same Docker host?
A | Macvlan networks |
B | Host networks |
C | User-defined bridge networks |
D | Overlay networks |
Question 2 Explanation:
Reference:
https://docs.docker.com/network/#network-drivers
Question 3 |
Which network driver type is best when you are migrating from a VM setup or need your containers to look like physical hosts on your network, each with a unique MAC address?
A | Host networks |
B | Macvlan networks |
C | User-defined bridge networks |
D | Overlay networks |
Question 3 Explanation:
Reference:
https://docs.docker.com/network/#network-drivers
Question 4 |
What is the docker command to display detailed information on one or more networks?
A | docker network status |
B | docker network display |
C | docker inspect network |
D | docker network inspect |
Question 4 Explanation:
Reference:
https://docs.docker.com/engine/reference/commandline/network_inspect/
Question 5 |
Which network driver type is best when the network stack should not be isolated from the Docker host, but you want other aspects of the container to be isolated?
A | Macvlan networks |
B | User-defined bridge networks |
C | Host networks |
D | Overlay networks |
Question 5 Explanation:
Reference:
https://docs.docker.com/network/#network-drivers
Question 6 |
What is the docker command to connect a running container to an existing user-defined bridge?
A | docker network join |
B | docker network connect |
C | docker connect network |
D | docker network attach |
Question 6 Explanation:
Reference:
https://docs.docker.com/network/bridge/#connect-a-container-to-a-user-defined-bridge
Question 7 |
What is the docker command to create a bridge network?
A | docker network deploy |
B | docker create network |
C | docker network create |
D | docker network add |
Question 7 Explanation:
Reference:
https://docs.docker.com/network/bridge/#manage-a-user-defined-bridge
https://docs.docker.com/engine/reference/commandline/network_create/
Question 8 |
Which of the following statements is false?
A | Each user-defined network creates a configurable bridge |
B | User-defined bridges provide automatic DNS resolution between containers |
C | Linked containers on the default bridge network share environment variables |
D | User-defined bridges provide better isolation and interoperability between containerized applications |
E | Containers can NOT be attached and detached from user-defined networks on the fly |
Question 8 Explanation:
Reference:
https://docs.docker.com/network/bridge/#differences-between-user-defined-bridges-and-the-default-bridge
Question 9 |
What is the docker run option to publish a port so that an application is accesible externally?
A | docker run --expose |
B | docker run --publish-port |
C | docker run --publish |
D | docker run --open-port |
Question 9 Explanation:
Reference:
https://docs.docker.com/engine/reference/run/#expose-incoming-ports
https://docs.docker.com/engine/reference/commandline/run/#options
https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
Question 10 |
Which of the following docker command can be used to find out all the ports mapped? (select three)
A | docker inspect |
B | docker port |
C | docker network ls |
D | docker ps |
Question 10 Explanation:
Reference:
https://docs.docker.com/engine/reference/commandline/port/#examples
Once you are finished, click the button below. Any items you have not completed will be marked incorrect.
Get Results
There are 10 questions to complete.
← |
List |
→ |
Return
Shaded items are complete.
| 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 |
| End |
Return
You have completed
questions
question
Your score is
Correct
Wrong
Partial-Credit
You have not finished your quiz. If you leave this page, your progress will be lost.
Correct Answer
You Selected
Not Attempted
Final Score on Quiz
Attempted Questions Correct
Attempted Questions Wrong
Questions Not Attempted
Total Questions on Quiz
Question Details
Results
Date
Score
Hint
Time allowed
minutes
seconds
Time used
Answer Choice(s) Selected
Question Text
All done
Need more practice!
Keep trying!
Not bad!
Good work!
Perfect!
NOTES: For other review question sets and resources, you may want to check Docker Certified Associate (DCA) Certification Test Resources page.
Related Posts
-
Docker Certified Associate (DCA) Test Review Questions Set 3 - Orchestration
NOTES: For other review question sets and resources, you may want to check Docker Certified Associate…
-
Docker Certified Associate (DCA) Test Review Questions Set 4 - Orchestration
NOTES: For other review question sets and resources, you may want to check Docker Certified Associate…
-
Docker Certified Associate (DCA) Test Review Questions Set 9 - Security
NOTES: For other review question sets and resources, you may want to check Docker Certified Associate…


