DCA Cheat Sheet 2026
The 30 highest-yield DCA facts, distilled from real exam questions. Print it, save it as a PDF, or study it here β free, no sign-up.
55 questions
90 min time limit
65.00% to pass
- A security scan finds a critical CVE in a base image. What is the recommended remediation workflow in a Docker-based CI/CD pipeline? β Update the base image tag in the Dockerfile, rebuild, re-scan, and redeploy
- How do regulations differ from industry standards in DCA practice? β Regulations are legally binding; standards are typically voluntary guidelines
- A team member shares a Dockerfile that pulls a base image using 'latest' tag in production. What professional concern should be raised? β Using 'latest' reduces reproducibility and can introduce unexpected breaking changes
- Why is written communication important in DCA practice? β It creates a permanent record, ensures clarity, and provides reference for future actions
- A DevOps team needs to communicate service health to operations stakeholders. Which Docker Swarm feature provides built-in service health information? β Health checks defined in the service spec
- Which Dockerfile instruction, when used incorrectly, most commonly leads to unnecessarily large image sizes that fail image size quality gates? β RUN (installing packages without cleaning up cache in the same layer)
- To export Prometheus-compatible metrics from the Docker daemon, which configuration option must be enabled? β "experimental": true and "metrics-addr"
- An organization's risk policy requires that no container run as UID 0. Which Dockerfile instruction enforces this at the image level? β USER nonroot
- Why is regular review important in DCA risk management? β Because conditions change and new risks emerge requiring updated assessments
- What is multi-factor authentication (MFA) in DCA security? β A security method requiring two or more verification factors to gain access
- How can John launch a container that utilizes the json-file log driver when he has configured his Docker daemon to use the syslog log driver by default? β By using β--log-driver json-fileβ along with docker run
- You need to time-limit `docker events` to only show events that occurred in a specific window. Which flags accomplish this? β --since and --until
- Which of the following parameters would allow you to SSH into an active "nginx" Docker container? β docker exec -it nginx /bin/sh
- Which command lists all nodes currently participating in a Docker Swarm? β docker node ls
- During project planning, the security team requires all containers to run as a non-root user. How is this enforced in a Dockerfile? β USER instruction before the CMD or ENTRYPOINT
- Which log driver is the default for Docker containers when no driver is explicitly configured? β json-file
- A project stakeholder needs a summary of all running services and their replica counts in a Docker Swarm. Which command provides this? β docker service ls
- PCI DSS Requirement 6 mandates secure development practices. Which Docker workflow directly addresses this for containerized applications? β Integrating image vulnerability scanning into the CI/CD pipeline before deployment
- What does running a container with the `--privileged` flag do? β Grants the container almost all Linux capabilities and access to host devices
- Which action best demonstrates professional responsibility when a Docker host shows signs of compromise? β Immediately isolate the host, preserve logs, and follow the incident response plan
- What is trend analysis in DCA reporting? β Examining data over time to identify patterns, directions, and changes in performance
- What is the default subnet used by Docker's default bridge network (docker0)? β 172.17.0.0/16
- Which practice ensures Docker image build reproducibility, which is required for software supply chain compliance frameworks like SLSA? β Pinning base images to immutable digests (SHA256) in Dockerfiles
- What is cash flow management in DCA practice? β Monitoring and optimizing the timing of money coming in and going out of an organization
- What does the Apache 2.0 license require when distributing modified versions of Apache-licensed Docker components? β Include a NOTICE file and state significant changes made to the original
- When planning secrets management for a Docker Swarm project, what is the correct way to create a secret from a file? β docker secret create my_secret ./secret.txt
- Which `docker events` filter would show only container die events? β --filter type=container --filter event=die
- A junior engineer checks in a Dockerfile with the instruction 'USER root' for all services. What is the professional responsibility of the reviewer? β Request that the engineer use a non-root user and explain the principle of least privilege
- Which command shows detailed information about a Docker network including its connected containers? β docker network inspect my-network
- Which Docker feature allows you to enforce mandatory access controls by restricting the system calls a container can make to the host kernel? β Seccomp profiles
Turn these facts into recall:
Was this helpful?