Study guide · Flashcards and memory notes

DCA Flashcards

40 recall cards for study guide v1.5: Swarm services, images and registries, the engine and networks, plus trust and volumes.

Study guide v1.54 decks · 40 cardsNo sign-up required

How to use these cards: Say the command or object out loud before you flip the card, and mark it honestly. Revisit the cards you missed tomorrow rather than rereading them right away. Progress is kept only while this page is open. For the full explanations, see the core notes.

Study mode

Choose a deck, flip each card, and mark what you already know.

All flashcards

Select a question to reveal its answer.

Deck 1 · Orchestration

The exam facts, Swarm services, and the Kubernetes objects on the blueprint.

10 cards
1.1What does passing the DCA award by itself?

Docker Certified Associate. It does not award CKA, CKAD, or CKS. The LinkedIn Learning course certificate is a different credential.

1.2Which format does the Mirantis page list?

55 questions, 90 minutes, 13 multiple choice and 42 DOMC. No numeric passing score is published. The credential lasts 2 years. The listed price is $199 or €200.

Memory note: DOMC shows one option at a time. These cards are not that player.

1.3Which blueprint is current, and who runs the exam?

Study guide v1.5, January 2025, administered by Mirantis. Docker, Inc. does not run this exam. No newer public blueprint was posted at the November 15, 2026 review.

1.4What is the difference between docker run and a Swarm service?

docker run starts one container. A service is desired state that Swarm keeps running. It does not write a Raft log by itself.

1.5How many managers can a three-manager Swarm lose and still commit changes?

One. Quorum is a majority. One survivor of three cannot commit. Workers do not vote.

1.6Which mode runs one task on every matching node?

Global. Replicated mode runs the replica count. A replica flag does not mean five tasks on every node.

1.7Which command updates a stack after you edit the Compose file?

docker stack deploy again, with the same stack name. The file is not watched. docker stack rm deletes the services.

1.8A service stays at 0/3 because constraints are not satisfied. What do you change?

The node label or the constraint. A new worker without the label does not help. Read docker service ps before you raise the replica count.

1.9Which Kubernetes object restores a deleted Pod?

A Deployment, through its ReplicaSet. A bare Pod has no controller. A ConfigMap does not start Pods.

1.10What is the Kubernetes pair for a normal setting and a sensitive value?

A ConfigMap and a Secret. Secret data in the API is base64. That encoding is not encryption.

Deck 2 · Images and registries

Dockerfile instructions, layers, and push.

10 cards
2.1Which instruction copies files and does not extract a local tar?

COPY. ADD can extract a local tar and can fetch a URL. EXPOSE copies nothing.

2.2What does EXPOSE 80 do?

It documents the port. Publishing is -p or a service publish. EXPOSE does not open the host port.

2.3Which command uploads an image to a registry?

docker push. The name must include the registry host. docker tag only adds a local name.

2.4What does docker rmi remove?

A local image. It does not delete the copy in a remote registry. A running container can block the delete.

2.5Which pipeline makes a single-layer image and drops ENV and ENTRYPOINT?

docker export piped to docker import. docker save and docker load keep the layers and the metadata.

2.6A push is denied and HTTPS works. What do you check?

docker login for that host, and the registry host in the image name. Rebooting workers does not log the client in.

2.7What does docker search query?

Docker Hub. A private registry catalog is that registry API or its UI.

2.8Where do you install a private registry CA?

/etc/docker/certs.d/<host>/ca.crt. insecure-registries turns verification off. It does not install the CA.

2.9What does DOCKER_CONTENT_TRUST=1 require on push?

A signature on the tag. It does not scan the image for vulnerabilities.

2.10What does a multi-stage final image contain?

The final stage base, plus files you copied from earlier stages. Packages that stayed in the builder are not included.

Memory note: A digest pins bytes. A tag can move, including latest.

Deck 3 · Engine and networks

The daemon, logging, publish modes, and Kubernetes service ports.

10 cards
3.1Which graph driver should you recognize on a classic Linux Engine?

overlay2. Fresh Engine 29 installs use the containerd image store and an overlayfs snapshotter. devicemapper is a legacy guide term and was removed from Engine 25.

3.2Which logs can docker logs read?

json-file, local, and journald, plus a local dual-logging cache when enabled. A Splunk driver sends logs remotely, but docker logs can show cached lines without querying Splunk.

3.3Where is Swarm state stored on a Linux manager?

/var/lib/docker/swarm. That is the Raft data. /etc/docker is configuration.

3.4What are the current names of UCP and DTR?

Mirantis Kubernetes Engine and Mirantis Secure Registry. Study guide v1.5 still says UCP and DTR.

3.5Is the Unix docker group a UCP team?

No. The docker group is root-equivalent access to the local socket. A UCP team is an identity used in a grant.

3.6Which publish mode uses the routing mesh?

ingress. host mode binds only on the node that runs the task. The mesh is layer 4.

3.7Which driver gives container-name DNS on one host?

A user-defined bridge. The default bridge does not. The resolver address is 127.0.0.11.

3.8A Service port is 8080 and targetPort is 80. Where does the Pod receive the traffic?

Port 80 on the Pod, TCP by default. Clients use 8080 on the Service.

3.9Which Swarm ports carry management, gossip, and overlay data?

2377/tcp, 7946/tcp and udp, and 4789/udp. Opening the application port does not replace them.

3.10Can a laptop open a ClusterIP?

Not from outside the cluster. ClusterIP is an in-cluster address. NodePort is the node listener. A failed laptop test does not prove the Pod is down.

Memory note: HTTP routing mesh is the enterprise layer 7 feature. Ingress publish mode is not that feature.

Deck 4 · Trust and storage

Swarm security, UCP grants, layers, and claims.

10 cards
4.1What does a Swarm encrypt before you set the overlay encrypted option?

The control plane, with mutual TLS. Application packets on the overlay are encrypted only when that network option is set.

4.2Where does a Swarm secret show up in the container?

As a file under /run/secrets. It is not an image layer and it is not an environment variable unless you copy it there.

4.3Container root, with user-namespace remapping off, is which host user?

Host uid 0. Namespaces isolate the view. They do not by themselves map root to an unprivileged host uid.

4.4What does a UCP grant bind?

A subject, a role, and a collection. LDAP login does not create that grant by itself.

4.5What is a UCP client bundle?

Certificates and environment settings that point the Docker client at UCP. It is not a Dockerfile.

4.6A clean image scan and an unsigned tag. What can content trust still do?

Refuse the pull when the tag is unsigned and a compatible Notary service is available. A scan does not write a signature. Docker Hub Notary v1 is scheduled to shut down on December 8, 2026.

4.7What survives docker rm: the named volume, or the writable layer?

The named volume. The writable layer goes with the container. Image layers stay while something references them.

4.8A local volume task moves to another node. Where is the file?

On the first node. The local driver does not follow the task. Use a shared driver or constrain the service.

4.9Does docker image prune clean DTR?

No. Prune cleans the local engine. Registry garbage collection is a separate operation.

4.10A PVC is Pending and there is no StorageClass. What is missing?

A PersistentVolume the claim can bind, or a class that can provision one. The Pod mounts the claim. Deleting the Pod does not create a disk.

Memory note: Object storage fits registry blobs. A database that needs fsync wants a disk volume.

How to use the memory notes

The short line under a card is the trap that shows up when two products share a word. Registry, engine, and Kubernetes each have a store. Name which store you are cleaning before you run a prune.

Follow a card with one lab change

Use engines you are allowed to wipe. After the constraint card, leave a service at zero until the label exists. After the volume card, reschedule onto a second node and look for the missing file. After the trust card, use a controlled registry with a compatible Notary service to test an unsigned pull. Do not practice these steps on a host you need to keep.

Forty cards cannot cover every flag. Use the exam overview for scope, the core notes for context, and the practice questions to find a decision you still hesitate on. Check the Mirantis page before you book.

Check the version behind an old command

The January 2025 guide names devicemapper and Docker Content Trust. Those are real guide objectives, but they do not describe every new Docker host. Fresh Engine 29 installations use the containerd image store; classic installations can still use overlay2. Docker removed devicemapper from Engine 25. Before you answer a storage question, ask whether it describes the guide's legacy driver or a current machine. Before you test a registry question, check whether the image declares a volume: the official registry image does, so an ordinary container removal leaves an anonymous volume behind. The next registry container will not find that volume by name unless you attach it.

For logging, distinguish the remote destination from the local read path. A Splunk driver can ship records remotely while dual logging lets docker logs read recent cached records. For signing, distinguish an exam concept from a production service: Docker's retirement notice schedules the Docker Hub Notary v1 shutdown for December 8, 2026. Read each card as a claim with a version and a scope, then check the command on an engine you can rebuild.

Continue the DCA study path

Test what you have learned with a timed practice exam.

DCA hub →
Available

Overview

Exam format, study guide v1.5, and a lab plan.

Available

Core Notes

Reference notes for services, images, networks, trust, and volumes.

Available · You are here

Flashcards & Memory Notes

40 recall cards in four decks, plus memory notes for Swarm, registries, and signing.

Available

Practice Exams

200 original questions sized to the v1.5 weights.

Official exam sources

Use study guide v1.5 and the Mirantis DCA page to check every line on these cards. Engine commands are in the Docker Engine docs. These cards are independent recall prompts, not official exam items.

CKA

The Kubernetes administrator exam. Swarm remains on the DCA blueprint. Most production clusters now use Kubernetes.

CKAD

The Kubernetes application-developer exam. The DCA guide also asks how Pods, Deployments, ConfigMaps, and Secrets fit together.

Linux CLI Fundamentals

Practice the shell, systemd, and files you use when the engine or a volume path misbehaves.

Apply concepts in the Scenario Workshop →