- Which of the following best describes Docker multi-stage builds?
View Answer
Correct answer: A — Optimizing image size by separating build and runtime stages
- Docker image layers are used to:
View Answer
Correct answer: A — Reuse and cache parts of images
- Which of the following is true about Docker security best practices?
View Answer
Correct answer: A — Use minimal base images
- Docker resource limits can be set using:
View Answer
Correct answer: A — --cpus and --memory flags
- Which of the following is true about Docker networking modes?
View Answer
Correct answer: A — Bridge, Host, Overlay, Macvlan
- Docker Swarm provides:
View Answer
Correct answer: A — Native container orchestration for Docker
- Which of the following is true about Docker private registries?
View Answer
Correct answer: A — They allow hosting custom images securely
- Docker image signing ensures:
View Answer
Correct answer: A — Image authenticity and integrity
- Which of the following is true about Docker volumes?
View Answer
Correct answer: A — They persist data outside containers
- Docker Compose advanced features include:
View Answer
Correct answer: A — Defining networks, volumes, and multiple services
- What will be printed?
1 echo "Eduinq Advanced Docker Test" View Answer
Correct answer: A — Eduinq Advanced Docker Test
- Which of the following is true about Docker health checks?
View Answer
Correct answer: A — They monitor container status and restart if unhealthy
- Docker overlay networks are used for:
View Answer
Correct answer: A — Multi-host container communication
- Which of the following is true about Docker secrets?
View Answer
Correct answer: A — They store sensitive data securely in Swarm mode
- Docker logging drivers include:
View Answer
Correct answer: A — json-file, syslog, fluentd
- Which of the following is true about Docker resource monitoring?
View Answer
Correct answer: A — docker stats command shows CPU and memory usage
- Docker Swarm services can be scaled using:
View Answer
Correct answer: A — docker service scale command
- Which of the following is true about Docker namespaces?
View Answer
Correct answer: A — They provide isolation for processes, networks, and mounts
- Docker image pruning is used to:
View Answer
Correct answer: A — Remove unused images and free space
- Which of the following is true about advanced Docker networking?
View Answer
Correct answer: A — Macvlan allows containers to appear as physical devices on the network
- Which of the following is true about Docker image optimization?
View Answer
Correct answer: A — Use smaller base images and multi-stage builds
- Docker content trust ensures:
View Answer
Correct answer: A — Images are signed and verified before use
- Which of the following is true about Docker Swarm overlay networks?
View Answer
Correct answer: A — They enable communication across multiple nodes
- Docker volume drivers allow:
View Answer
Correct answer: A — Integration with external storage systems
- Which of the following is true about Docker resource constraints?
View Answer
Correct answer: A — They prevent containers from consuming excessive CPU/memory
- Docker Swarm mode supports:
View Answer
Correct answer: A — Service discovery and load balancing
- Which of the following is true about Docker image layering?
View Answer
Correct answer: A — Each instruction in Dockerfile creates a new layer
- Docker prune commands are used to:
View Answer
Correct answer: A — Remove unused containers, images, and networks
- Which of the following is true about Docker Swarm scaling?
View Answer
Correct answer: A — Services can be scaled horizontally by adding replicas
- Docker image digest represents:
View Answer
Correct answer: A — A unique hash identifying an image
- What will be printed?
1 echo "Eduinq Docker Security Test" View Answer
Correct answer: A — Eduinq Docker Security Test
- Which of the following is true about Docker namespaces?
View Answer
Correct answer: A — They isolate processes, networks, and mounts
- Docker Swarm manager nodes are responsible for:
View Answer
Correct answer: A — Orchestrating and managing cluster state
- Which of the following is true about Docker image caching?
View Answer
Correct answer: A — It speeds up builds by reusing unchanged layers
- Docker secrets in Swarm mode are:
View Answer
Correct answer: A — Encrypted and mounted into containers securely
- Which of the following is true about Docker Swarm rolling updates?
View Answer
Correct answer: A — They update services gradually without downtime
- Docker image layers can be inspected using:
View Answer
Correct answer: A — docker history command
- Which of the following is true about Docker Swarm fault tolerance?
View Answer
Correct answer: A — Replicas are redistributed if nodes fail
- Docker image build context includes:
View Answer
Correct answer: A — Files in the directory sent to the Docker daemon
- Which of the following is true about Docker Swarm service discovery?
View Answer
Correct answer: A — Services are automatically assigned DNS names
- Which of the following is true about Docker image optimization techniques?
View Answer
Correct answer: A — Minimize layers and use .dockerignore
- Docker Swarm supports constraints to:
View Answer
Correct answer: A — Control placement of services on nodes
- Which of the following is true about Docker image registries?
View Answer
Correct answer: A — They can be public or private
- Docker Swarm overlay networks provide:
View Answer
Correct answer: A — Secure communication between services across nodes
- Which of the following is true about Docker image layers?
View Answer
Correct answer: A — They are immutable once created
- Docker Swarm rolling updates can be configured with:
View Answer
Correct answer: A — Update delay and parallelism settings
- Which of the following is true about Docker image tagging?
View Answer
Correct answer: A — Tags identify versions and variants of images
- Docker Swarm supports service constraints using:
View Answer
Correct answer: A — Placement rules
- Which of the following is true about Docker image digests?
View Answer
Correct answer: A — They provide cryptographic verification of images
- Which of the following best describes advanced Docker concepts overall?
View Answer
Correct answer: A — Techniques for optimizing, securing, and orchestrating Docker containers