1.12 Virtualization Fundamentals Flashcards

Summarize virtualization fundamentals (server virtualization, containers, and VRFs). (24 cards)

1
Q

What is a virtual machine?

(VM)

A

An OS instance that runs on virtualized hardware.

VMs allow multiple operating systems to run on a single physical server, decoupling the OS from the hardware.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is server virtualization used in modern data centers?

A

It improves resource utilization and scalability.

Virtualization allows for better hardware usage, easier management, and isolation of workloads.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the hypervisor do in server virtualization?

A

It manages hardware allocation to VMs.

Hypervisors create and manage virtual machines by providing each VM with virtualized resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the types of hypervisors?

A
  1. Type 1 (bare-metal)
  2. Type 2 (hosted)

Type 1: Runs directly on hardware.
Type 2: Runs on top of an existing OS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

True or False:

A hypervisor runs multiple operating systems on a single physical server.

A

True

Hypervisors allow for the concurrent running of multiple VMs, each with its own OS, on the same hardware.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the key components of a hypervisor?

A
  1. Virtual Machine Monitor (VMM)
  2. Virtual CPUs (vCPU)
  3. Virtual memory (vRAM)
  4. Virtual storage
  5. Virtual network interfaces (vNICs)

Virtual Machine Monitor: Manages VM resources.
Virtual CPUs: Allocates CPU resources to VMs.
Virtual memory: Provides memory for VMs.
Virtual storage: Manages storage for VMs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What makes a Type 1 hypervisor preferable to a Type 2?

A

Type 1 is more efficient and scalable.

Type 1 hypervisors run directly on hardware, making them better for production environments due to their performance and security.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the process of starting a VM is often called?

A

Spinning up a VM

“Spinning up” refers to the process of initiating and powering on a virtual machine, allowing it to begin functioning in the virtual environment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the use of a virtual machine snapshot?

A

It captures the current state of a Virtual Machine.

It includes the VM’s disk, memory, and settings, allowing easy rollback. Snapshots are commonly used for backup and recovery, enabling quick restoration in case of failure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What components are commonly virtualized for each VM?

A
  • NIC
  • RAM
  • CPU

NIC: Virtual Network Interface Card for network connectivity.
RAM: Virtualized memory allocated to the VM for processing tasks.
CPU: Virtual processor resources assigned to run the operating system and applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the main features of a vSwitch?

A
  • VLAN configuration for VM ports
  • VLAN trunking for physical NIC ports
  • Automated configuration through virtualization software

A vSwitch allows VMs to be assigned specific VLANs or share VLANs. It supports VLAN trunking for communication between physical NICs and automates network configuration within the virtualization platform.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

True or False:

A vSwitch allows communication only between virtual machines.

A

False

A vSwitch allows both internal communication between VMs and communication with external networks through physical network adapters (NICs).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

True or False:

A virtualized data center can dynamically allocate resources.

A

True

Virtualized data centers use software to allocate computing resources such as CPU, memory, and storage on demand, improving efficiency and scalability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What happens in a public cloud when a consumer requests a service?

A

Virtualization tools create the service.

The service runs in a data center managed by the public cloud provider.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Fill in the Blank:

The tool used to manage VMs in VMware is called ________.

A

vCenter

vCenter is a centralized management tool for managing multiple ESXi hosts and VMs in a VMware environment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Define:

containerization

A

A lightweight virtualization running apps in containers.

Containers share the host OS kernel, making them more resource-efficient than full VMs. They are often used for microservices and application deployment.

17
Q

Why is containerization preferred for microservices architecture?

A
  • Lightweight
  • Fast to deploy
  • Easily scalable
  • Ideal for microservices

Containers allow isolated, independent services that can be updated or scaled individually without affecting others.

18
Q

What are the key benefits of using containers?

A
  1. Faster startup times
  2. Efficient resource usage
  3. Portability across environments
  4. Isolation for security

Containers allow for fast deployment and scaling, making them a popular choice for modern cloud-native applications.

19
Q

True or False:

Containers offer stronger isolation than virtual machines.

A

False

VMs provide stronger isolation since each VM includes its own OS, while containers share the same host OS kernel.

20
Q

List the key differences between containers and virtual machines.

A
  • Containers share the host OS kernel; VMs run their own OS.
  • Containers are more lightweight, while VMs are more isolated.
  • Containers start faster and use fewer resources than VMs.

Containers are ideal for cloud-native applications, while VMs offer better security and isolation.

21
Q

Fill in the blank:

The tool commonly used to manage containers is ________.

A

docker

Docker is a widely used containerization platform that simplifies the creation, deployment, and management of containers.

22
Q

What is VRF?

(Virtual Routing and Forwarding)

A

A technology that allows multiple routing tables on one physical router.

Each VRF instance can be configured with its own IP routing table, enabling the same IP address space to be used for different traffic.

23
Q

List the benefits of using VRF.

A
  1. Traffic isolation
  2. Better security and policy enforcement
  3. Efficient use of IP address space
  4. Simplified network design

VRF helps organizations manage multiple routing domains without needing separate physical routers, thus optimizing resources and improving security.

24
Q

True or False:

VRFs can only be used in service provider networks.

A

False

VRFs can be used in both enterprise and service provider networks to create isolated routing instances and enhance security.