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


