Chapter 3 Flashcards

(171 cards)

1
Q

What is another name for the hypervisor?

A

Virtual Machine Monitor (VMM)

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

What is type 1 virtualization?

A

The hypervisor interfaces directly with hardware, and all operating systems run as guests

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

What is type 2 virtualization?

A

The hypervisor runs as an application on the host OS

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

What type of virtualization was used on older versions of Windows Server?

A

Type 2

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

What type of virtualization is used by Server 2016?

A

Type 1

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

How many logical processors can a Server 2016 system running Hyper-V have?

A

512

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

How many virtual CPUs can Server 2016 running Hyper-V support?

A

2048

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

How much memory can Server 2016 running Hyper-V support?

A

24 TB

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

How many active virtual machines can Server 2016 support in Hyper-V?

A

1024

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

How many virtual CPUs can a Generation 1 Hyper-V VM support?

A

64

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

How much memory can a Generation 1 Hyper-V VM support?

A

1 TB

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

How many virtual CPUs can a Generation 2 Hyper-V VM support?

A

240

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

How much memory can a Generation 2 Hyper-V VM support?

A

12 TB

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

How many nodes are supported in a Hyper-V cluster?

A

64

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

How many virtual machines are supported in a Hyper-V cluster?

A

8000

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

How can Hyper-V Server be configured?

A

Cmd, Sconfig, or remotely via Server Manager or Hyper-V Manager

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

What are the hardware requirements of Hyper-V?

A

A 64-bit CPU that supports hardware-assisted virtualization and second-level address translation (SLAT), e.g. Intel VT or AMD-V
Hardware-enforced DEP, e.g. Intel XD or AMD NX
VM Monitor Mode extensions, e.g. Intel VT-c,
BIOS/UEFI virtualization support
4 GB RAM

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

How can you confirm that hardware supports Hyper-V?

A

Run Systeminfo.exe and check the Hyper-V Requirements list

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

What PowerShell command installs Hyper-V?

A

Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart

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

How can you install Hyper-V on a system that does not have the right hardware requirements?

A

Add the feature to an OS image via DISM: dism /online /enable-feature /featurename:microsoft-hyper-v; it will not run, however

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

How can you install only the Hyper-V management tools?

A

Skip installing roles and install the RSAT feature, either from Server Manager or from PowerShell as Install-WindowsFeature -Name RSAT-Hyper-V-Tools

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

How can you install the GUI Hyper-V manager by itself?

A

Install-WindowsFeature -Name Hyper-V-Tools

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

How can you install the PowerShell Hyper-V modules by themselves?

A

Install-WindowsFeature -Name Hyper-V-PowerShell

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

What three methods can be used to migrate Hyper-V Vms during a server upgrade?

A

Export as files; Hyper-V Replica, or Share Nothing Life Migration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What management group grants rights to manage Hyper-V VMs?
Hyper-V Administrators
26
What is the recommended tool for granting granular Hyper-V management permissions, and what tool does it replace?
System Center Virtual Machine Manager (VMM) | Replaces Authorization Manager (Azman.msc)
27
How can a PC connect to a Hyper-V server without AD?
Use the Credential Security Support Provider (CredSSP) protocol
28
What are the two methods for managing Hyper-V via PowerShell?
PowerShell remoting, aka explicit remoting, where a PS session is opened on the remote machine, does not require Hyper-V on the local machine Implicit remoting, where the name of the remote computer is specified in the -ComputerName parameter, requires Hyper-V on the local system
29
What is the one major advantage of implicit remoting with PowerShell?
You can often specify computer names as an array, allowing for the execution of the same command on multiple servers
30
What PowerShell command is used to connect to a guest OS from the host OS?
Enter-PSSession -vmname server
31
What PowerShell command can execute code on a VM?
Invoke-Command -vmname server -ScriptBlock {}
32
What PowerShell commands can be used to copy files to and from a VM?
Copy-Item -ToSession and Copy-Item -FromSession
33
What are the hardware requirements to run nested virtualization in Hyper-V?
An Intel CPU with VT-x and Extended Page Tables (EPT)
34
What are the OS requirements to run nested virtualization?
Server 2016
35
What settings must be changed to use nested virtualization?
The host VM must be set to access virtualization extensions, dynamic memory must be disabled, the number of virtual processors must be set to 2, and MAC address spoofing must be enabled
36
What Hyper-V features are not supported in nested virtualization?
Live memory resizing, checkpoints, live migration, and save/restore
37
What type of file stores a Hyper-V VM configuration?
Virtual machine configuration (.vmc)
38
What type of file stores a Hyper-V VM saved state?
A .vsv file
39
What PowerShell command creates a new Hyper-V VM?
New-VM -Name -MemoryStartupBytes -Generation -NewVHDSizeBytes
40
How do you list all the Hyper-V PowerShell cmdlets?
Get-Command -Module Hyper-V
41
What versions of Windows allow changes in memory allocation while running?
Server 2016
42
What PowerShell command changes the memory size of a VM?
Set-VMMemory -VMName -StartupBytes
43
What Hyper-V feature automatically allocates memory to VMs
Dynamic memory
44
What does the memory buffer setting define?
A percentage of currently allocated memory that should be retained as a buffer for future expansion
45
What are some limitations imposed by dynamic memory?
You cannot enable/disable dynamic memory while a VM is running; You cannot modify the RAM setting when DM is enabled, you cannot raise the minimum RAM setting or lower the maximum RAM setting
46
What is an example of an application that should NOT use dynamic memory?
Microsoft Exchange, because it is designed to use all memory available to it at all times
47
What Hyper-V integration allows for removing memory from a running guest, and how does it work?
The balloon driver locks excess memory so Hyper-V can reclaim it in the background
48
What can cause the memory amount shown in a guest VM and Hyper-V to differ?
The balloon driver gives a misleading figure to the guest: Hyper-V has the correct allocation amount
49
What is NUMA?
Non-Uniform Memory Access: divides logical processors and memory into NUMA nodes, so that the logical processor can access memory on its bus for higher performance
50
In a NUMA architecture, what type of memory is on the logical processor�s bus?
Local memory
51
In a NUMA architecture, what type of memory is on a different logical processor�s bus?
Remote memory or foreign memory
52
What is a NUMA ratio?
The difference between accessing local and remote memory
53
What is an example of an application that takes advantage of NUMA?
Microsoft SQL Server
54
What Hyper-V feature allows for a VM to use memory from NUMA nodes other than its own?
NUMA spanning
55
What are some benefits and drawbacks of enabling NUMA spanning?
It allows a VM to use any memory on the host server, but sometimes at the expense of performance
56
What are some benefits and drawbacks of disabling NUMA spanning?
It gives more consistent performance to VMs, but if memory within a VM�s NUMA is not available, it will not start
57
What two Hyper-V memory features cannot be used at the same time?
Dynamic memory and NUMA
58
What Hyper-V feature uses disk as spare memory during a VM boot when not enough RAM is available?
Smart paging
59
What Hyper-V feature allows for monitoring VM resource usage?
Resource metering
60
What resources are tracked with resource metering in Hyper-V?
CPU (MHz), memory (min/max/avg in MB), network (in/out MB), and disk
61
What PowerShell command enables Hyper-V resource metering?
Enable-VMResourceMetering -VMName
62
What PowerShell command retrieves resource metering statistics for a VM?
Measure-VM -VMName
63
What PowerShell command sets resource metering metrics back to 0 for a VM?
Reset-VMResourceMetering
64
What PowerShell command disables Hyper-V resource metering?
Disable-VMResourceMetering -VMName
65
What Integration Services are available in Hyper-V?
OS shutdown, time sync, data exchange, heartbeat, backup, and guest services
66
Which Integration Service is not enabled by default in Hyper-V?
Guest services
67
In what situation would it make sense to disable time synchronization in Hyper-V?
If you are running an AD DC that is configured to sync time from an external source
68
What is the data exchange Integration Service in Hyper-V?
Also known as key-value pair (KVP), it enables guests and hosts to share information without a network connection
69
How is the heartbeat Integration Service used in Hyper-V?
To detect if a guest is unresponsive
70
What is backed up using the backup Integration Service in Hyper-V?
The VM configuration, virtual hard disks, and any checkpoints
71
What is required for a Hyper-V guest to use the backup Integration Service?
An NTFS filesystem with volume shadow copy enabled
72
What is the guest services integration used for in Hyper-V?
To copy files to and from a VM using VMBus
73
What PowerShell cmdlet copies files over VMBus to a Hyper-V VM?
Copy-VMFile
74
What changes do Generation 2 Hyper-V VMs make for storage support?
Gen 2 supports SCSI rather than IDE or floppy, and thus cannot boot to those devices, but can support 64 devices on a controller and perform hot disk swapping
75
What changes do Generation 2 Hyper-V VMs make for PXE boot support?
Gen 2 supports booting from PXE over the native network adapter, rather than the legacy one required by Gen 1
76
What are the boot volume size limits of Gen 1 vs. Gen 2 VMs?
Gen 1 boots from up to 2 TB disks, while Gen 2 can boot from up to 64 TB disks
77
What operating systems are not compatible with Generation 2 VMs?
Server 2008 R2, Windows 7, some older Linux, all FreeBSD, all 32-bit operating systems
78
What program is used to connect to Hyper-V VMs?
Virtual Machine Connection (VMConnect.exe)
79
What features does Enhanced Session Mode provide in Hyper-V?
Access to the system printer and drives, audio playback and recording, and adjusting screen resolution
80
How do you enable Enhanced Session Mode in Hyper-V?
Hyper-V Settings > Server section > Enhanced Session Mode Policy > Allow enhanced session mode AND User section > Enhanced Session Mode > Use Enhanced Session Mode checkbox
81
What are the OS requirements for Enhanced Session Mode?
Host running at least Server 2012 or Windows 8, and guest running at least Server 2012 R2 or Windows 8.1
82
What is the set of drivers and components available for Linux and FreeBSD Hyper-V guests?
Linux Integration Services (LIS) and FreeBSD Integration Services (FIS)
83
What is a common cause for a VM silently failing to boot?
Secure Boot is not working properly
84
How can you use Secure Boot with Linux on Hyper-V?
Switch the certificate authority template from Microsoft Windows to Microsoft UEFI Certificate Authority
85
What PowerShell cmdlet shows the supported Hyper-V VM versions on a server?
Get-VMHostSupportedVersion
86
How can you upgrade a Hyper-V VM to a newer edition?
Select Upgrade Configuration in the Actions pane, or use the Update-VMVersion PowerShell cmdlet
87
What PowerShell cmdlet is used to export a Hyper-V VM?
Export-VM -Name -Path
88
If you are re-importing a Hyper-V VM on the same server, what import option must you choose to prevent ID conflicts/
Copy the virtual machine
89
What PowerShell cmdlet is used to import a Hyper-V VM?
Import-VM -Path
90
What PowerShell cmdlet is used to generate a report specifying an import incompatibility for a Hyper-V VM?
Compare-VM
91
What Hyper-V allows for direct access to a PCI device?
Discrete Device Assignment (DDA)
92
What storage controllers are created by default in a Generation 1 Hyper-V VM?
Two IDE controllers (for the system drive and optical drive) and one SCSI controller that is unpopulated
93
What storage controllers are created by default in a Generation 2 Hyper-V VM?
One SCSI controller for all bootable devices | IDE is not available
94
How many devices can be attached to an IDE controller?
Two
95
What is the maximum size of a VHD drive?
2 TB
96
What is the maximum size of a VHDX drive?
64 TB
97
What is the maximum block size of a VHDX drive?
256 MB
98
What logical sector sizes are supported by VHDX drives to make them compatible with certain physical drives?
4 KB
99
What are the minimum OS requirements to read a VHDX file?
Windows Server 2012 R2 or Windows 8.1
100
What are VHD Sets?
.VHDS files are used in clusters, and support online resizing, Hyper-V replica, and application-consistent checkpoints
101
What are the benefits to a fixed size virtual disk file?
More efficient performance and less fragmentation of the file
102
What can cause performance issues in dynamically expanding disks?
The disk file can become highly fragmented
103
What type of disk has a parent image and child image of changes?
Differencing
104
What PowerShell cmdlet is used to create a VHD?
New-VHD -Path -Fixed|-Dynamic|-Differencing -SizeBytes
105
What two parameters can New-VHD set on a disk that are unavailable in the GUI?
Block size and logical sector size
106
What controller can a Generation 1 Hyper-V VM not boot from?
SCSI
107
How many drives can a Hyper-V SCSI controller support?
64
108
What is an AVHDX file?
The part of the VHD set that contains the data
109
What is a VHDS file?
A VHD set file that contains metadata for coordinating disk activities
110
How do you create a VHD set in PowerShell?
Use the New-VHD cmdlet but add a .vhds extension to the filename
111
How do you create a differencing disk in PowerShell?
Use the -Differencing and -ParentPath options of the New-VHD cmdlet
112
What Action in the Disk Management MMC is used to mount a VHD?
Attach VHD
113
What PowerShell cmdlets are used to attach VHDs?
Mount-VHD and Dismount-VHD
114
How can roles and features be installed on a VHD disk?
Use the Install-WindowsFeature cmdlet with the -VHD option
115
What type of disk is physical but accessed by a Hyper-V VM?
A pass-through disk
116
What is necessary to make a physical disk accessible in Hyper-V?
The disk must be taken offline, either in the Disk Management MMC or with the Set-Disk -IsOffline cmdlet
117
What PowerShell cmdlet adds a pass-through disk to a Hyper-V VM?
Add-VMHardDiskDrive -VMName -ControllerType -DiskNumber
118
What happens when you compact a virtual hard disk?
Deletes empty space of dynamic or differencing disks, without reducing their size
119
When is it possible to shrink a virtual hard disk?
When there is unpartitioned space available at the end of the disk
120
What is the merge operation used for on virtual hard disks?
To combine parent and child differencing disks
121
What PowerShell cmdlet is used to compact a virtual hard disk?
Optimize-VHD
122
How do you merge multiple child differencing disks to a parent disk in PowerShell?
Specify the youngest child disk, and all the intermediate ones will automatically be merged
123
What is an older term for Hyper-V checkpoints?
Snapshots
124
What PowerShell cmdlet is used to create Hyper-V checkpoints?
Checkpoint-VM
125
What PowerShell cmdlet is used to apply a Hyper-V checkpoint?
Restore-VMCheckPoint
126
What is not a recommended use case for Hyper-V checkpoints?
Production systems, since multiple checkpoints can impact performance
127
What is the difference between standard and production checkpoints?
Standard checkpoints take both the disk and memory state, while production checkpoints use VSS in Windows or File System Freeze in Linux to take only the disk state
128
What PowerShell cmdlet is used to set the checkpoint type of a Hyper-V VM?
Set-VM -Name -CheckPointType
129
What is required for Hyper-V to connect to a physical fibre channel host bus adapter?
The host bust adapter msut have drivers that support virtual fibre channel and N_Port ID Virtualization (NPIV), and the SAN must address resources using logical unit numbers (LUNs)
130
What two addresses does the Hyper-V fibre channel adapter make available to a VM?
The virtual SAN�s World Wide Node Name (WWNN) and World Wide Port Name (WWPN)
131
What Hyper-V feature helps prevent a VM from monopolizing a disk?
Storage Quality of Service (QoS)
132
What Storage QoS parameters can be configured?
Minimum IOPS and maximum IOPS
133
What PowerShell cmdlet is used to configure storage QoS?
Set-VMHardDiskDrive -MinimumIOPS -MaximumIOPS
134
What PowerShell cmdlets can be used to help determine the appropriate IOPS for Storage QoS?
Enable-VMResourceMetering and Measure-VM
135
How many network adapters can you create for a Hyper-V VM?
Eight
136
What PowerShell cmdlet creates a network adapter for a Hyper-V VM?
Add-VMNetworkAdapter -VMName -SwitchName
137
What PowerShell cmdlet deletes a network adapter from a Hyper-V VM?
Remove-VMNetworkAdapter -VMName -VMNetworkAdapter
138
How many virtual ports are available on a Hyper-V virtual switch?
Unlimited
139
What are the three kinds of Hyper-V virtual switches?
External, internal, and private
140
How can Single Root IO Virtualization (SR-IOV) be enabled on a Hyper-V switch?
The option must be selected when creating a new external virtual switch
141
How many virtual switches can be created in Hyper-V?
One external switch for each physical adapter, and unlimited internal and private switches
142
What PowerShell cmdlet is used to create a Hyper-V virtual switch?
New-VMSwitch -Name -NetAdapterName|-SwitchType
143
What Hyper-V networking feature allows for queuing network packets separatedly on the physical network adapter?
Enable Virtual Machine Queue (VMQ)
144
What Hyper-V networking feature allows for offloading some cryptographic processing used by IPsec?
Enable IPsec Task Offloading
145
What Hyper-V networking feature allows a guest to share the hardware resources of a PCI Express network card?
Single-Root IO Virtualization (SR-IOV)
146
What is a good way to improve network performance for Hyper-V VMs?
Assign a unique physical network adapter to each VM through a virtual switch
147
What is the most efficient way for multiple VMs on the same host communicate with each other?
A private network
148
What is a simple way to enable name resolution for VMs on a private network?
Add the hostnames and static IP addresses to the HOSTS file in C:\Windows\System32\drivers\etc
149
By default, how is a MAC address generated for Hyper-V VMs?
Bytes 1-3 are the 00-15-5D OUI for Microsoft, bytes 4-5 are the last two bytes of the host adapter�s IP address, and byte 6 is a range between 00 and FF
150
By default, how large is the MAC address pool of a Hyper-V virtual switch?
256 addresses
151
How many network adapters does Microsoft recommend you have on a Hyper-V host?
Two: one for host traffic and the other for VMs
152
How can Hyper-V VMs on multiple hosts access the same private virtual network?
Use VLANs over external switches
153
What is the main difference between a synthetic and legacy network adapter in Hyper-V?
Legacy adapters communicate through the hypervisor, while synthetic adapters communicate over VMBus, providing much better performance
154
What is the one major advantage of using a legacy adapter?
It allows Generation 1 VMs to PXE boot (Generation 2 VMs support this through synthetic adapters)
155
How many NICs can be put in a NIC team on a Hyper-V guest versus a host?
Guests can have 2 NICs while hosts can have up to 32 NICs
156
How can Hyper-V guests access a NIC team?
Create a NIC team on the host, connect an external switch to it, and then connect the guest to the switch
157
What three settings must be set when creating a NIC team for Hyper-V?
Teaming mode: switch independent, Load balancing mode: Hyper-V port, Standby adapter: None
158
How is a NIC team represented as a device in Windows?
Through the Microsoft Network Adapter Multiplexor Driver
159
What option must be selected on a Hyper-V guest to use NIC teaming?
In the network adapter settings under Advanced Features, select Enable This Network Adapter To Be Part Of A Team In The Guest Operating System
160
What are the requirements to support VMQ in Hyper-V?
Windows Server 2012 R2, network adapter support, latest drivers, VM adapters must have Enable Virtual Machine Queue checked in Hardware Acceleration page
161
How do you enable VMQ in PowerShell?
Enable-NetAdapterVMQ -Name
162
How can you verify that a network adapter supports VMQ?
Use the Get-NetAdapterVmqQueue cmdlet
163
How can you modify the VMQ parameters of a network adapter?
Use the Set-NetAdapterVmq cmdlet
164
What is a Hyper-V-only variation of NIC teaming?
Switch Embedded Teaming (SET)
165
What technology is used to transfer large amounts of data over a network by directly pulling from memory (bypassing the CPU)?
Remote Direct Memory Access (RDMA)
166
What are the requirements to use SET and RDMA together in a Hyper-V virtual switch?
Up to 8 physical adapters on the host, all of which pass Windows Hardware Qualification and Logo (WHQL), all the same model/firmware/drivers, all running same speed, not necessarily on same physical switch, Data Center Bridging (DCB) recommended
167
How do you create a virtual switch with SET enabled?
Use the New-VMSwitch cmdlet with the -EnableEmbeddedTeaming parameter
168
How do you enable RDMA on a SET team?
View the adapters with Get0NetAdapterRDMA, and enable them with Enable-NetAdapterRDMA
169
What settings can improve network QoS in Hyper-V?
Set minimum and maximum bandwidth of virtual adapters
170
What happens if the maximum bandwidth of all network adapters is greater than the bandwidth of the physical device?
The host can be shut out of the network
171
What network QoS feature can be set in PowerShell that is not available in the GUI?
Minimum bandwidth weight