Advanced Docker Networking for Microservices: Beginner's Quiz
Test your understanding of Docker networking concepts for microservices.
Questions in this quiz
15 questions on Advanced Docker Networking for Microservices: Beginner's Quiz. Work through them here, then start the quiz to answer them and see your score.
1.What is the default network driver used by Docker when no specific driver is specified?
- Abridge
- Boverlay
- Chost
- Dnone
2.Which Docker network driver is best suited for multi-host networking?
- Abridge
- Bnone
- Chost
- Doverlay
3.What command is used to list all Docker networks?
- Adocker network ls
- Bdocker networks
- Cdocker network list
- Ddocker list networks
4.How can you connect a running container to a new network?
- Adocker network join
- Bdocker network connect
- Cdocker connect network
- Ddocker join network
5.Which network driver provides the highest network performance by using the host's network stack?
- Aoverlay
- Bhost
- Cbridge
- Dmacvlan
6.What is the purpose of the 'none' network driver in Docker?
- ATo connect to external networks
- BTo enable multi-host networking
- CTo disable networking
- DTo provide high performance
7.Which command creates a new Docker network?
- Adocker new network
- Bdocker network new
- Cdocker create network
- Ddocker network create
8.What is the primary use of the 'macvlan' network driver?
- ATo enable multi-host networking
- BTo assign a MAC address to containers
- CTo create isolated networks
- DTo disable networking
9.Which command removes a Docker network?
- Adocker delete network
- Bdocker remove network
- Cdocker network rm
- Ddocker network delete
10.What is the default subnet range for Docker's bridge network?
- A172.17.0.0/16
- B192.168.0.0/16
- C10.0.0.0/16
- D172.18.0.0/16
11.How can you inspect a Docker network to see its configuration?
- Adocker network view
- Bdocker inspect network
- Cdocker network inspect
- Ddocker view network
12.Which network driver would you use to ensure containers can communicate with each other on the same host?
- Aoverlay
- Bhost
- Cnone
- Dbridge
13.What is the main advantage of using the 'overlay' network driver?
- AAssigning MAC addresses
- BDisabling networking
- CHigh performance on a single host
- DScalability across multiple hosts
14.Which Docker network driver allows containers to share the host's network namespace?
- Amacvlan
- Bhost
- Cbridge
- Doverlay
15.What is the purpose of the 'docker network prune' command?
- ATo list all networks
- BTo create a new network
- CTo inspect a network
- DTo remove unused networks