Which statement correctly distinguishes a container from a container image?
Container and Virtual Machine Fundamentals Online Quiz Questions
Use this free practice quiz with 10 questions to review Container and Virtual Machine Fundamentals, test your knowledge, and prepare for your next test or exam.
What is a container image?
- A
A running application process that shares the host kernel.
- B
A writable layer that always stores data permanently.
- C
A packaged, largely immutable template containing an application and its dependencies.
- D
A separate guest operating-system kernel.
A team needs several separate application instances with the same packaged setup. Which statement about images and containers supports this?
- A
Starting an image creates a container, and multiple containers can use the same image.
- B
Starting a container creates a new host kernel for that container.
- C
An image can create only one container during its lifetime.
- D
A container must be converted into an image before it can run.
What is a key difference between a typical container and a virtual machine?
- A
Containers always boot a separate guest kernel, while virtual machines share the host kernel.
- B
Both containers and virtual machines always share the host kernel in the same way.
- C
Containers use no operating-system kernel.
- D
Containers normally share the host kernel, while virtual machines include a separate guest kernel.
Why are containers generally more lightweight than virtual machines?
- A
They each include a complete guest operating system and kernel.
- B
They share the host kernel instead of normally including a separate guest kernel.
- C
They run without any operating-system support.
- D
They replace the host operating system with an image.
How can containers isolate processes even though they share the host kernel?
- A
Containers cannot be isolated because they share a kernel.
- B
Containers and virtual machines have identical isolation boundaries.
- C
Containers share the host kernel, while isolation mechanisms limit what each process can see and do.
- D
A container's isolation comes from booting a separate guest kernel.
Which statement describes a common arrangement for containers and virtual machines?
- A
Containers can run inside virtual machines.
- B
Containers cannot run on a virtual machine.
- C
A virtual machine is created from each running container.
- D
Containers and virtual machines must always run on separate physical hosts.
A developer has a packaged application template and then starts an isolated application process from it. Which terms identify the template and the process, respectively?
- A
The image is the host kernel, and the container is a virtual machine.
- B
The image is the running process, and the container is the registry storing it.
- C
The image is a network-isolation mechanism, and the container is a CPU limit.
- D
The image is the packaged template, and the container is the isolated application process created from it.
Which description best defines a container?
- A
A complete virtual computer with its own guest kernel.
- B
An application process running in an isolated environment.
- C
A packaged template that cannot be run.
- D
A host operating system's kernel.
Which statement is correct when several containers are started from one application image?
- A
Each image must contain its own separate host kernel.
- B
A container is the reusable template, and an image is its running process.
- C
An image can be used to start multiple containers.
- D
A container image is created only after its container stops.
Related study packs and tools
AWS Cloud Concepts
Practice cloud benefits, deployment models, scalability, elasticity and AWS Cloud concepts.
12 study toolsAWS Cloud Practitioner Practice Test
Comprehensive AWS Certified Cloud Practitioner practice covering cloud concepts, security, AWS services and pricing.
15 study toolsAWS Cloud Technology and Services: Cloud Databases
Focused study of relational and nonrelational databases and service selection concepts.
12 study toolsAWS Cloud Technology and Services: EC2 Compute
Focused study of instances, instance types, scaling and compute use cases.
12 study toolsAWS Cloud Technology and Services: S3 Storage
Focused study of objects, buckets, storage classes and storage use cases.
12 study toolsAWS Cloud Technology and Services: Serverless Services
Focused study of event-driven functions and serverless application concepts.
15 study tools