Timedora
Free Online Flashcard Deck

Docker and Kubernetes Operations Free Online Flashcards

Study Docker and Kubernetes Operations with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

Why use a named volume for container data?

Back

A named volume stores persistent data separately from a container’s writable layer, so replacing the container need not erase that data.

02
Front

What does docker run do, and what does -d change?

Back

docker run creates and starts a container. It runs in the foreground by default; use -d to run it in the background.

03
Front

What should you check first when diagnosing a Docker container failure?

Back

First check all container states, including stopped containers, and inspect the container’s state and configuration before changing settings.

04
Front

Where should an application normally write diagnostic output for runtime collection?

Back

Applications should normally write diagnostic output to standard output and standard error so the runtime can collect it.

05
Front

In Kubernetes, what is the difference between resource requests and limits?

Back

In Kubernetes, requests help the scheduler decide where a Pod can fit, while limits constrain resource use.

06
Front

How does Kubernetes organize containers for workload management?

Back

Kubernetes runs containers inside Pods, and operators usually manage workloads through the orchestrator rather than manually starting individual containers.

07
Front

Name three container states tracked by Kubernetes.

Back

Kubernetes tracks container states including Waiting, Running, and Terminated.

08
Front

What can happen when a container exceeds its memory limit, and what can a CPU limit constrain?

Back

A hard memory limit can lead to a process being killed after it exceeds its allowance; a CPU limit can constrain throughput.

09
Front

What determines whether a Docker container stays running?

Back

A container stays running only while its main process runs; when that process exits, the container stops.

10
Front

Why should credentials not be stored as ordinary container environment variables?

Back

Environment variables are convenient for ordinary settings but are not a secure secret store. Use an appropriate secrets-management mechanism for credentials.

11
Front

How can operators prevent Docker json-file logs from exhausting disk space?

Back

The default json-file driver can consume substantial disk space if logs grow without rotation; configure rotation or choose a driver that manages it.

12
Front

How can you keep a container image reference from unexpectedly changing?

Back

Pin an image to a specific version, or use a digest for stronger immutability, instead of relying on a tag that may later point to a different image.