Timedora
Free Online Flashcard Deck

Container Fundamentals and Security Free Online Flashcards

Study Container Fundamentals and Security with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What does least-privilege configuration mean for a container?

Back

Grant an application only the permissions and resources it needs. Excessive privileges, exposed host resources, or vulnerable software can increase risk.

02
Front

How do a container image and a container differ?

Back

An image is a packaged, largely immutable template containing an application, its runtime, libraries, and default configuration. A container is an application process running in an isolated environment, created from an image.

03
Front

Where should data go if it must outlive a container?

Back

A container’s writable layer is generally temporary. Put data that must outlive the container, such as database files, in a persistent volume or other external storage.

04
Front

What do Linux namespaces provide to container processes?

Back

On Linux, namespaces provide separate views of resources such as processes, networking, and mount points. A PID namespace, for example, can give a process a different view of processes from the host.

05
Front

How does orchestration differ from running a container workload?

Back

Containers package and run individual workloads; orchestration coordinates workloads across a cluster and can automate placement, restarts, and scaling across hosts.

06
Front

What is the typical image-to-container lifecycle?

Back

A typical lifecycle is to build an image, push it to a registry, pull it onto a host, then create and start a container from it.

07
Front

What is the role of an image registry?

Back

An image registry stores images so a host or build system can download them.

08
Front

Why should a container not be treated as a complete security boundary?

Back

A container is not automatically a complete security boundary. Excessive privileges, exposed host resources, or vulnerable software can increase risk.

09
Front

How are image layers and a container’s writable layer related?

Back

Images are built from layers that can be reused between images. A running container adds a writable layer over its image.

10
Front

What happens when a container’s configured main process exits?

Back

A container runs a configured main process; when that process exits, the container stops.

11
Front

What does an image builder do?

Back

An image builder creates an image from application code and build instructions.

12
Front

What do Linux cgroups do for containers?

Back

Control groups (cgroups) track and limit resource use, such as CPU and memory.