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