Made with Palestinian hands Support EmuPath ☕

No results found.

Try another search or remove some filters.

All practice exams
Infrastructure / FOUR DIFFICULTY LEVELS

Docker & Containers

Explore images, networks, persistent storage, build caching and production container behavior.

Four self-study difficulty levels, from basic concepts to advanced scenarios. Difficulty is an editorial guide, not an official certification ranking. Linux containers using Docker concepts. Use disposable lab resources when testing lifecycle and storage operations.

YOUR PRACTICE SPACE

Learn it. Test it. Understand it.

Choose your difficulty

Recognize core concepts and trace a single step.

10 questions in Easy · one answer per question · no timer

Choose a mode

Free, no account needed. Answers stay in this tab and reset on reload. This is self-study, not a proctored exam or certificate.

Choose the right challenge

Easy checks core concepts. Medium applies them to tasks. Hard examines edge cases and failure modes. Very advanced combines constraints such as concurrency, security and recovery. Start where you are comfortable; each level has its own attempt and result. These labels are editorial, not certification grades.

What you will learn

  • Separate images, containers, volumes and host resources.
  • Diagnose networking and lifecycle issues without losing data.
  • Build reproducible artifacts and limit runtime privileges.

Think through a real scenario

A web app responds from inside its container but not from the host. Check whether the application listens on the container’s network interface rather than only its loopback address, and whether the required port was published. A Dockerfile EXPOSE instruction documents a container port; it does not itself create a host port mapping. Confirm each layer before changing firewall policy.

Turn your result into a study plan

For each missed question, write down the rule you overlooked and test it with a small example. Avoid memorizing an option’s position: understanding the behavior matters more than recognizing the wording. In exam mode explanations stay hidden until you submit; in practice mode use “Check answer” to see feedback immediately.

Read further

The questions and explanations are original EmuPath teaching material. These references provide background for further study; their publishers do not endorse this exam.

Found an ambiguous question? Include the track and question text in your correction report.

Sample Docker & Containers questions with explanations

Preview one question from each difficulty level before choosing a practice session. These examples also appear in the question bank. Try answering first, then open the explanation to check your reasoning.

Easy: Images

How does a container differ from its image?

  1. It is a runtime instance based on an image
  2. It is always a full separate guest operating system
  3. It is a remote Git branch
  4. It is the image’s documentation page
Show answer and explanation

It is a runtime instance based on an image

An image provides packaged filesystem content and configuration. A container adds an execution context and lifecycle; stopping it does not edit the original image.

Medium: Publishing

What does -p 127.0.0.1:8080:80 request on a typical Docker host?

  1. Publish container port 80 on host loopback port 8080
  2. Change the container application to listen on port 8080
  3. Publish all container ports on every host interface
  4. Make container port 8080 available as host port 80
Show answer and explanation

Publish container port 80 on host loopback port 8080

The mapping specifies host address and host port followed by the container port. Loopback binding limits ordinary host-network exposure; verify the actual environment and policy.

Hard: Signals

Why can an exec-form entrypoint improve shutdown behavior compared with an extra shell that does not forward signals?

  1. The application can directly receive signals as the main container process
  2. It makes SIGKILL catchable
  3. It automatically backs up every open file
  4. It prevents the application from exiting
Show answer and explanation

The application can directly receive signals as the main container process

Process layout affects signal delivery. An unnecessary shell can interfere with forwarding; the application still needs correct shutdown handling and time to drain its work.

Very advanced: Artifact identity

A release must run exactly the image tested in staging. Which reference gives stronger content identity than a mutable tag?

  1. An image digest verified through the release process
  2. The word latest in the image name
  3. The creation time of the deployment ticket
  4. The number of layers alone
Show answer and explanation

An image digest verified through the release process

A digest identifies image content. Identity still needs provenance and policy checks; using a digest does not by itself establish that the artifact is safe or approved.