What does least-privilege configuration mean for a container?
Grant an application only the permissions and resources it needs. Excessive privileges, exposed host resources, or vulnerable software can increase risk.
Study Container Fundamentals and Security with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.
What does least-privilege configuration mean for a container?
Grant an application only the permissions and resources it needs. Excessive privileges, exposed host resources, or vulnerable software can increase risk.
How do a container image and a container differ?
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.
Where should data go if it must outlive a container?
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.
What do Linux namespaces provide to container processes?
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.
How does orchestration differ from running a container workload?
Containers package and run individual workloads; orchestration coordinates workloads across a cluster and can automate placement, restarts, and scaling across hosts.
What is the typical image-to-container lifecycle?
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.
What is the role of an image registry?
An image registry stores images so a host or build system can download them.
Why should a container not be treated as a complete security boundary?
A container is not automatically a complete security boundary. Excessive privileges, exposed host resources, or vulnerable software can increase risk.
How are image layers and a container’s writable layer related?
Images are built from layers that can be reused between images. A running container adds a writable layer over its image.
What happens when a container’s configured main process exits?
A container runs a configured main process; when that process exits, the container stops.
What does an image builder do?
An image builder creates an image from application code and build instructions.
What do Linux cgroups do for containers?
Control groups (cgroups) track and limit resource use, such as CPU and memory.
Practice cloud benefits, deployment models, scalability, elasticity and AWS Cloud concepts.
Comprehensive AWS Certified Cloud Practitioner practice covering cloud concepts, security, AWS services and pricing.
Focused study of relational and nonrelational databases and service selection concepts.
Focused study of instances, instance types, scaling and compute use cases.
Focused study of objects, buckets, storage classes and storage use cases.
Focused study of event-driven functions and serverless application concepts.