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 |
What is the docker command to create a bridge network?
A | docker create network |
B | docker network deploy |
C | docker network add |
D | docker network create |
Question 1 Explanation:
Reference:
https://docs.docker.com/network/bridge/#manage-a-user-defined-bridge
https://docs.docker.com/engine/reference/commandline/network_create/
Question 2 |
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 | Overlay networks |
B | User-defined bridge networks |
C | Host networks |
D | Macvlan networks |
Question 2 Explanation:
Reference:
https://docs.docker.com/network/#network-drivers
Question 3 |
Which of the following docker command can be used to find out all the ports mapped? (select three)
A | docker port |
B | docker inspect |
C | docker network ls |
D | docker ps |
Question 3 Explanation:
Reference:
https://docs.docker.com/engine/reference/commandline/port/#examples
Question 4 |
What is the docker command to connect a running container to an existing user-defined bridge?
A | docker connect network |
B | docker network join |
C | docker network connect |
D | docker network attach |
Question 4 Explanation:
Reference:
https://docs.docker.com/network/bridge/#connect-a-container-to-a-user-defined-bridge
Question 5 |
What is the docker command to display detailed information on one or more networks?
A | docker inspect network |
B | docker network inspect |
C | docker network display |
D | docker network status |
Question 5 Explanation:
Reference:
https://docs.docker.com/engine/reference/commandline/network_inspect/
Question 6 |
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 | Host networks |
B | Overlay networks |
C | Macvlan networks |
D | User-defined bridge networks |
Question 6 Explanation:
Reference:
https://docs.docker.com/network/#network-drivers
Question 7 |
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 --open-port |
D | docker run --publish |
Question 7 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 8 |
Which network driver type is best when you need multiple containers to communicate on the same Docker host?
A | User-defined bridge networks |
B | Macvlan networks |
C | Overlay networks |
D | Host networks |
Question 8 Explanation:
Reference:
https://docs.docker.com/network/#network-drivers
Question 9 |
Which of the following statements is false?
A | Each user-defined network creates a configurable bridge |
B | Linked containers on the default bridge network share environment variables |
C | User-defined bridges provide automatic DNS resolution between containers |
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 9 Explanation:
Reference:
https://docs.docker.com/network/bridge/#differences-between-user-defined-bridges-and-the-default-bridge
Question 10 |
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 | Macvlan networks |
C | Host networks |
D | User-defined bridge networks |
Question 10 Explanation:
Reference:
https://docs.docker.com/network/#network-drivers
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…


