2 How Virtualization Works Flashcards

1
Q

What is a Hypervisor?

A

A hypervisor is a software program that separates a computer’s software from its hardware and makes virtualization possible.

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

What Are the Benefits of Hypervisors?

A
  • Capital expenses are reduced.
  • Operating expenses are reduced.
  • Each OS shares the resources on the server.
  • One physical server can host multiple guest operating systems.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Do Hypervisors Require an OS?

A

It depends on the type of hypervisor.

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

What is Bare-Metal Hypervisor?

A
  • Also called a type 1 hypervisor, a bare-metal hypervisor is installed directly on the server hardware.
  • You do not need to install an OS before installing the bare-metal hypervisor.
  • It is easier to maintain than a hosted hypervisor.
  • Example: VMware ESXi.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Hosted Hypervisors?

A
  • Also called a type 2 hypervisor, a hosted hypervisor is installed on an OS.
  • You install the hosted hypervisor on an OS in the same way that you install an application.
  • Example: VMware Workstation and VMware Fusion.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How Transforming Physical Resources into Virtual Resources?

A
    • When the hypervisor starts, it takes control of the physical resources of the host.
    • You create VMs on the ESXi host:
      - When creating a physical server, you assemble the required physical CPU, RAM, and other resources. Similarly, for VMs, you specify the software equivalent of the hardware resources that you need to run the guest OS.
    • The hypervisor creates virtual hardware that VMs can use:
      - The hypervisor abstracts the processor, memory, disk, network, and other resources and creates a virtual version of these resources, which are called virtual hardware.
    • The hypervisor manages the virtual hardware assigned to the VMs that it runs.
    • You install a guest OS inside the VM in the same way that you install an OS on a physical computer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Virtual CPU

A

The ESXi host manages how much compute access is available for each VM:

  • When a guest OS requests CPU for an application, ESXi finds the available resource and makes it visible to the VM.
  • Multiple VMs might demand CPU from the ESXi host simultaneously.
  • If the requested CPU is more than the available CPU on the host, ESXi schedules the VMs to take turns (share) using the CPU.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Virtual Memory

A
  • The sum of configured memory sizes of all VMs might exceed the amount of available physical memory on the host. For example, an ESXi host with 8 GB RAM can run three VMs of total allocated memory of 11 GB.
  • The memory resource settings for a VM determine how much of the host’s memory is allocated to the VM.
  • The virtual memory size determines how much memory is available to applications that run in the VM.
  • VMs do not always use 100% of the allocated memory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Virtual Networking

A

VMs can share access to the same virtual switch and the same physical network interface cards (NICs) on the host:
- Share the same virtual switch to communicate with other VMs on the host.
- Share the same physical NIC to communicate with other devices outside the ESXi host.
For example, if your ESXi host has only one physical NIC, you can use one virtual switch to direct the network traffic of multiple VMs through that NIC.

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

Virtual Disks

A

Multiple ESXi hosts can read or write to shared storage concurrently.

For example, ESXi hosts connect to a large array of disks in a server room through a network:

  • The ESXi hosts recognize those devices as storage space that they can present to VMs as virtual disks.
  • VMs can store application data and their VM files in these virtual disks.
  • A VM with a virtual disk that is stored on shared storage can be powered on by using any ESXi host that has access to that storage.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Virtual GPUs

A
  • Using virtualization, VMs can share specialized hardware devices or devices that are difficult or expensive to obtain.

For example, an ESXi host is dedicated to development and testing:

  • The host has four GPUs.
  • The total number of allocated GPUs is five.

In this case, you can decide whether to dedicate a full GPU device to one VM, or allow partial sharing of a GPU device by more than one VM, if the GPU supports it.

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

Which statements accurately describe bare-metal hypervisors?

A
  • An example of a bare-metal hypervisor is VMware ESXi.

- Bare-metal hypervisors are installed directly on the computer hardware.

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

After you install a hypervisor, it helps you to virtualize physical resources for VMs. This virtualization of resources follows a sequence of steps.

A
    • The hypervisor takes control of the physical resources of the host.
    • You create a VM and specify the required hardware to run a specific OS.
    • The hypervisor abstracts the physical resources into virtual hardware.
    • The hypervisor manages the virtual hardware that is assigned to VMs.
    • You install a guest operating system inside the VM, just as you do on a physical computer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which statements accurately describe physical resource sharing?

A
  • The ESXi host can route the network traffic of multiple VMs through the same physical network card.
  • You can create 10 VMs with two virtual CPUs each, even though the ESXi host has only four CPUs in total.
  • VMs can share the virtual resources that their ESXi host manages.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly