🎧 New: AI-Generated Podcasts Turn your study notes into engaging audio conversations. Learn more

Virtualization vs Containerization Quiz
28 Questions
1 Views

Virtualization vs Containerization Quiz

Created by
@RapidDivisionism

Podcast Beta

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Paravirtualization is a type of bare metal hypervisor that runs directly on host hardware.

True

Virtual Machines (VM) in OS virtualization are real physical machines.

False

A hypervisor is a process that executes virtual machines, allocating the guest machine's hardware resources to the host machine.

False

One of the advantages of virtualization is to run software/peripherals that cannot run on host hardware.

<p>True</p> Signup and view all the answers

The technique of paravirtualization adds a significant layer of abstraction which enhances performance.

<p>False</p> Signup and view all the answers

Running multiple operating systems simultaneously on a single machine is a benefit of virtualization.

<p>True</p> Signup and view all the answers

Virtualization tools like Oracle VM VirtualBox simulate the central processing unit of the host machine.

<p>True</p> Signup and view all the answers

Containers are heavier than full virtualization in terms of resource usage.

<p>False</p> Signup and view all the answers

Containers such as Docker and LXD allow for running multiple operating systems on the host machine simultaneously.

<p>False</p> Signup and view all the answers

In a containerized environment, each container has its own isolated memory space but shares system resources like drivers and kernel with the host.

<p>True</p> Signup and view all the answers

When a container is destroyed, its data is retained for future use.

<p>False</p> Signup and view all the answers

A server can be identified through its IP address.

<p>True</p> Signup and view all the answers

Docker pull automatically downloads a docker image.

<p>False</p> Signup and view all the answers

The option -d in docker run starts a container in detached mode.

<p>True</p> Signup and view all the answers

Docker ps -a lists only running containers.

<p>False</p> Signup and view all the answers

Docker restart stops a running container.

<p>False</p> Signup and view all the answers

Docker exec -it allows executing an application within a running container.

<p>True</p> Signup and view all the answers

In type 2 full virtualization, the hypervisor simulates the whole computer but does not allow guest access to host's CPU, RAM, and storage.

<p>False</p> Signup and view all the answers

Containers share the host kernel and drivers but have dedicated and isolated memory for each environment.

<p>True</p> Signup and view all the answers

Paravirtualization is a type of virtualization where the hypervisor runs directly on the host hardware, providing performance close to real hardware.

<p>True</p> Signup and view all the answers

In full virtualization, the guest OS must be adapted to work with the hypervisor directly on the host hardware.

<p>False</p> Signup and view all the answers

Type 2 hypervisors are more common in enterprise environments compared to type 1 hypervisors.

<p>False</p> Signup and view all the answers

Full virtualization can only virtualize guest OS with different hardware architecture than the host OS.

<p>False</p> Signup and view all the answers

The command 'docker ps -aq | xargs -r docker rm -f' removes all containers, even the running ones.

<p>False</p> Signup and view all the answers

Docker images without running containers can be removed using the command 'docker images --no-trunc | awk '{ print $3 }' | xargs -r docker rmi'.

<p>False</p> Signup and view all the answers

Docker volumes with a 'dangling' status can be removed using the command 'docker volume ls -qf dangling=true | xargs -r docker volume rm'.

<p>False</p> Signup and view all the answers

Containers can execute multiple shells simultaneously within the same container using the command 'docker exec -it mon-linux-shell sh'.

<p>True</p> Signup and view all the answers

A process in Docker is equivalent to a container.

<p>False</p> Signup and view all the answers

More Quizzes Like This

Use Quizgecko on...
Browser
Browser