Learning paths / Containers / Images and layers

Check: images

Knowledge check · 5 min · Module 2, lesson 5 of 55 min left in this module

Module 2 · Images and layersLesson 5 of 5

Goal: Confirm you can order a Dockerfile for the cache, pin an image version and choose a base image.

Four questions: three on this module, one from Application foundations. Every answer explains itself, right or wrong.

Every build of your Python app reinstalls all its packages, even when you only changed one line of code. Which Dockerfile order fixes that?
You deploy myapp:1.4.0 to ComputeSphere and want every future redeploy to run exactly the same image. What do you do?
A Go app compiles to one file that needs no runtime. Which base do you run it on?
From Application foundations: a teammate committed an API key, then deleted the file in the next commit and pushed both. What now?

Retry as often as you like.