Lesson 10 - Chapter 2: How Virtualization Works Flashcards

1
Q

What is a supervisor?

A

programming that handles very low-level interactions between hardware and software (task scheduling, tracking time and resources, etc)

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

What do you refer to the physical system running a virtual machine?

A

the host

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

What do you refer to the virtual system running inside a physical system?

A

the guest

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

What is virtualization?

A

Creating and running virtual machines that act as physical computers

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

The software we use to implement virtualization is called what? why?

A

a hypervisor (or VMM) because its role is similar to the supervisor handling software/hardware interactions

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

What’s another name for a Virtual Machine Manager (VMM)?

A

hypervisor (the software to run the VM)

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

What tasks does the hypervisor handle?

A

handles the interaction of the input/output the guest OS requests of the host OS’s physical hardware

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

How can the hypervisor be divided based on how they interact with the system?

A

Divided into 2 types

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

What are the 2 types hypervisor can be divided into?

  1. How does it run?
  2. How is it controlled?
A
  1. Type 1 - runs directly on the physical hardware (CPU, RAM, and storage) and doesn’t go through the OS (and even take its place)
  2. Type 2 -runs via an installed app. Hypervisor controls interactions between VM and hardware. Needs to pass through the host OS (the app running the VM)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What’s the difference between Type 1 and Type 2 Hypervisors?

A

Type 1 runs directly on the physical hardware (resources)

Type 2 run via app. Hypervisor passes through the app/supervisor on the Host OS to get to the hardware

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

A number of companies make hypervisors. What’s one of the oldest ones?

A

VMware in 1999 for Windows and Linux

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

What is Microsoft’s hypervisor called?What Type is it?

A

Hyper-V and is a Type 1

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

What is Hyper-V included in?(2)

A
  1. Windows Server
  2. Modern editions of Windows 10 and 11 (except Home)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Is Hyper-V installed by default?

A

No, you have to go to Control Panel > Programs > Programs and Features > Turn Windows Features on or off > Select Hyper-V

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

What are 2 popular hypervisors available on macOS?

A
  1. VMware Fusion
  2. Parallels Desktop
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What’s a popular Type 2 hypervisor that’s free and runs on Windows, Linux, and macOS?

A

Oracle VM VirtualBox

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

A hypervisor creates a system that cannot act….?

A

act like any other type of computer

(VM on an Intel system cannot act like a Nintendo DS, it acts exactly like the host Intel system)

18
Q

What is an emulator?

A

commands are converted to/from the Host machine into a different platform with software/hardware

19
Q

What’s an example of an emulator?

A

Install a Gameboy emulator application that runs a program file to play an old Nintendo Gameboy game (the emulator coverts the Host commands to the platform)

20
Q

What is client-side virtualization?

A

running a virtual machine on a local client PC (regardless of where the VM file is stored)

21
Q

What are the 4 steps to creating client-side virtual machines?

  1. Verify
  2. Install
  3. Create
  4. Start
A
  1. Verify and setup the system’s hardware to support VMs
  2. Install a hypervisor on your system
  3. Create a new VM that meets the virtualized hardware req of the guest OS
  4. Start the new VM, install the guest OS as if you were installing it on a new physical machine
22
Q

Every hypervisor will run better if you enable..?

A

hardware virtualization support

23
Q

What is hardware virtualization support?

A

extra CPU features that support hypervisors/supervisors (esp when using multiple supervisors for multiple VMs)

24
Q

What 2 resources do VMs need plenty of?

A
  1. RAM
  2. Storage space
25
Q

What are 2 RAM issues to keep in mind for VMs?

A
  1. Leave enough RAM for the hypervisor to run well
  2. Add enough RAM so every VM running at the same time runs well
26
Q

How do you calculate if your system has enough RAM to run a VM?

A

16-32GB should be enough, but check how much the Host needs to run comfortably and how much RAM each VM will need (consider the apps running on the VM too)

27
Q

How can you protect your VM files? (2)

A
  1. RAID arrays (esp in businesses)
  2. Back them up occasionally
28
Q

What’s a benefit of having network support for VMs?

A

the hypervisor can connect each of the VMs to a network

29
Q

How do you enable the network in VirtualBox? (3 steps)

A

Settings > Network > Network Mode

30
Q

What VM networking is the default for VMs in Oracle VirtualBox?

A

NAT

31
Q

What does NAT stand for?

A

Network Address Translation

32
Q

What is the NAT type of VM networking best used for?

A

simple tasks like when you just want to browse the Web, read email, download files in the guest OS

(has limitations on Windows file sharing)
(default for VirtualBox)

33
Q

What situations is bridged networking used for?

A

complex situations, running a server in a guest OS

34
Q

How does bridged networking work?

A

it bridges the guest’s virtual network adapter to a physical network adapter in the Host PC (and they exchange packets)

35
Q

What is internal networking?

A

Building your own internal network of VMs, sandbox-style (like a test network)

36
Q

What are virtual switches?

A

Just like how real computers in an internal network need to be connected via switch, hypervisors create virtual switches for virtual machines

37
Q

How are virtual switches set up? (2 options,VirtualBox and Hyper-V)

Each hypervisor has its own way to set up these virtual switches

A
  1. Can be set up automatically (VirtualBox)
  2. Can require you to create a virtual switch to set up networking (Hyper-V)
38
Q

What is “Host-only networking” for VMs?

A

The traffic from the host PC and VMs doesn’t leave the host machine

(so it doesn’t use the host’s network adapter)

39
Q

The virtualization software you run on your host PC is called….?

A

a hypervisor

40
Q

When you install a hypervisor on your local PC and you use it to run other operating systems, you’re using…?

A

client-side virtualization