← All DCA Flashcard Decks

DCA Docker Networking Flashcards

6 cards from real DCA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 6 DCA Docker Networking flashcards as text
  1. What does the `-P` (uppercase) flag do when used with `docker run`?

    Answer: Publishes all EXPOSE ports to random ephemeral host ports

    The `-P` flag automatically publishes all ports declared with EXPOSE in the Dockerfile to random host ports.

  2. Which command removes a Docker network?

    Answer: docker network rm my-network

    The `docker network rm` command removes one or more Docker networks by name or ID.

  3. What does 'routing mesh' mean in Docker Swarm networking?

    Answer: Any Swarm node can accept requests on a published port and route them to a service container

    Swarm's routing mesh allows any node to accept incoming connections on a published port and route them to a service task on any node.

  4. Which `docker run` option configures a container to use a specific DNS server?

    Answer: --dns

    The `--dns` flag in `docker run` specifies a custom DNS server IP address for the container.

  5. What is the role of the IPAM driver in Docker networking?

    Answer: IP Address Management for allocating IPs and subnets to networks and containers

    IPAM (IP Address Management) is responsible for allocating IP addresses and subnets to Docker networks and their connected containers.

  6. Which command shows detailed information about a Docker network including its connected containers?

    Answer: docker network inspect my-network

    The `docker network inspect` command displays detailed JSON-formatted information about a network, including configuration and connected containers.

How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy

Sources & references

Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy

  1. training.mirantis.com — Test delivery, eligibility, fees, passing score, renewal, retake policy, score release, time limit, score validity · verified Oct 2026