Assessments

Chapter 1

  1. Correct answer: (B) False. A container that is based on one architecture cannot be run on a different architecture. For example, an image created using the x86 architecture will not run on an ARM-based architecture.
  2. Correct answer: (D) Union filesystem. Docker uses the Union filesystem to manage multiple image layers. The layers are read from top to bottom to provide the appearance of a single filesystem.
  3. Correct answer: (D) Overlay2. A system running a kernel that's version 4.0 or above will use the Overlay2 storage driver.
  4. Correct answer: (C) Container layer. Any changes that are made to a running container's filesystem are stored in the topmost layer, called the container layer.
  5. Correct answer: (C) docker exec -it <container> ...

Get Kubernetes and Docker - An Enterprise Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.