Chapter 3 Flashcards
What is another name for the hypervisor?
Virtual Machine Monitor (VMM)
What is type 1 virtualization?
The hypervisor interfaces directly with hardware, and all operating systems run as guests
What is type 2 virtualization?
The hypervisor runs as an application on the host OS
What type of virtualization was used on older versions of Windows Server?
Type 2
What type of virtualization is used by Server 2016?
Type 1
How many logical processors can a Server 2016 system running Hyper-V have?
512
How many virtual CPUs can Server 2016 running Hyper-V support?
2048
How much memory can Server 2016 running Hyper-V support?
24 TB
How many active virtual machines can Server 2016 support in Hyper-V?
1024
How many virtual CPUs can a Generation 1 Hyper-V VM support?
64
How much memory can a Generation 1 Hyper-V VM support?
1 TB
How many virtual CPUs can a Generation 2 Hyper-V VM support?
240
How much memory can a Generation 2 Hyper-V VM support?
12 TB
How many nodes are supported in a Hyper-V cluster?
64
How many virtual machines are supported in a Hyper-V cluster?
8000
How can Hyper-V Server be configured?
Cmd, Sconfig, or remotely via Server Manager or Hyper-V Manager
What are the hardware requirements of Hyper-V?
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 can you confirm that hardware supports Hyper-V?
Run Systeminfo.exe and check the Hyper-V Requirements list
What PowerShell command installs Hyper-V?
Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart
How can you install Hyper-V on a system that does not have the right hardware requirements?
Add the feature to an OS image via DISM: dism /online /enable-feature /featurename:microsoft-hyper-v; it will not run, however
How can you install only the Hyper-V management tools?
Skip installing roles and install the RSAT feature, either from Server Manager or from PowerShell as Install-WindowsFeature -Name RSAT-Hyper-V-Tools
How can you install the GUI Hyper-V manager by itself?
Install-WindowsFeature -Name Hyper-V-Tools
How can you install the PowerShell Hyper-V modules by themselves?
Install-WindowsFeature -Name Hyper-V-PowerShell
What three methods can be used to migrate Hyper-V Vms during a server upgrade?
Export as files; Hyper-V Replica, or Share Nothing Life Migration
What management group grants rights to manage Hyper-V VMs?
Hyper-V Administrators
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)
How can a PC connect to a Hyper-V server without AD?
Use the Credential Security Support Provider (CredSSP) protocol
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
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
What PowerShell command is used to connect to a guest OS from the host OS?
Enter-PSSession -vmname server
What PowerShell command can execute code on a VM?
Invoke-Command -vmname server -ScriptBlock {}
What PowerShell commands can be used to copy files to and from a VM?
Copy-Item -ToSession and Copy-Item -FromSession
What are the hardware requirements to run nested virtualization in Hyper-V?
An Intel CPU with VT-x and Extended Page Tables (EPT)
What are the OS requirements to run nested virtualization?
Server 2016
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
What Hyper-V features are not supported in nested virtualization?
Live memory resizing, checkpoints, live migration, and save/restore
What type of file stores a Hyper-V VM configuration?
Virtual machine configuration (.vmc)
What type of file stores a Hyper-V VM saved state?
A .vsv file
What PowerShell command creates a new Hyper-V VM?
New-VM -Name -MemoryStartupBytes -Generation -NewVHDSizeBytes
How do you list all the Hyper-V PowerShell cmdlets?
Get-Command -Module Hyper-V
What versions of Windows allow changes in memory allocation while running?
Server 2016
What PowerShell command changes the memory size of a VM?
Set-VMMemory -VMName -StartupBytes
What Hyper-V feature automatically allocates memory to VMs
Dynamic memory
What does the memory buffer setting define?
A percentage of currently allocated memory that should be retained as a buffer for future expansion
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
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
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
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
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
In a NUMA architecture, what type of memory is on the logical processor�s bus?
Local memory
In a NUMA architecture, what type of memory is on a different logical processor�s bus?
Remote memory or foreign memory
What is a NUMA ratio?
The difference between accessing local and remote memory
What is an example of an application that takes advantage of NUMA?
Microsoft SQL Server
What Hyper-V feature allows for a VM to use memory from NUMA nodes other than its own?
NUMA spanning
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
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
What two Hyper-V memory features cannot be used at the same time?
Dynamic memory and NUMA
What Hyper-V feature uses disk as spare memory during a VM boot when not enough RAM is available?
Smart paging
What Hyper-V feature allows for monitoring VM resource usage?
Resource metering
What resources are tracked with resource metering in Hyper-V?
CPU (MHz), memory (min/max/avg in MB), network (in/out MB), and disk
What PowerShell command enables Hyper-V resource metering?
Enable-VMResourceMetering -VMName
What PowerShell command retrieves resource metering statistics for a VM?
Measure-VM -VMName
What PowerShell command sets resource metering metrics back to 0 for a VM?
Reset-VMResourceMetering
What PowerShell command disables Hyper-V resource metering?
Disable-VMResourceMetering -VMName
What Integration Services are available in Hyper-V?
OS shutdown, time sync, data exchange, heartbeat, backup, and guest services
Which Integration Service is not enabled by default in Hyper-V?
Guest services
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
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