Container Images Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Application Artifacts

What you'll be asked

  1. What is the primary purpose of a container image?
  2. When building a container image, why is it recommended to use a multi-stage build?
  3. What happens when you add a new command to a Dockerfile and rebuild the image?
  4. Which of the following is considered a best practice for writing a Dockerfile to optimize image layering?
  5. In a Dockerfile, what is the functional difference between the COPY and ADD instructions?

Answers and explanations come after you submit.