Chapter 1 Flashcards
Which installation option has no GUI?
Server Core
Which installation option does not appear in the installation wizard?
Nano Server
What are the minimum processor requirements for Server 2016?
1.4 GHz 64-bit
What are the minimum RAM requirements for Server 2016 Core?
512 MB ECC
What are the minimum RAM requirements for Server 2016 with Desktop Experience?
2 GB ECC
What are the minimum disk space requirements for Server 2016?
32 GB on a SATA or comparable drive
What are the minimum network requirements for Server 2016?
Gigabit Ethernet
What are the minimum display requirements for Server 2016?
Super VGA (1024 x 768)
What disk interfaces are not supported by Server 2016?
ATA, PATA, IDE, or EIDE
Under what installation conditions does Server 2016 need more than the minimum amount of disk space?
When installing over the network or if the computer has more than 16 GB of RAM
How do you install Server 2016 on a VM with minimum memory and 1 CPU core?
Increase the memory size from 512 MB during the install, then reduce it
What is the maximum number of processors supported by Server 2016?
512 logical processors if Hyper-V is installed
What is the maximum amount of memory supported by Server 2016?
24 terabytes per host server, 12 terabytes per VM
What is the maximum size of a VHDX file?
64 terabytes
What is the maximum number of virtual machines supported by Hyper-V?
1,024 per host
What is the maximum number of virtual machine processors supported by Server 2016?
240 per VM
How is an Intel core with hyperthreading counted as logical processors in Server 2016?
2 LPs per core when Hyper-V is running
1 LP per core when it is not
What editions of Server 2016 are available?
Datacenter, Standard, Essentials, MultiPoint Premium Server, Storage Server, Hyper-V Server
How many operating system environments (OSEs) are licensed for Server 2016 Datacenter?
Unlimited
How many operating system environemtns (OSEs) are licensed for Server 2016 Standard?
2
How many operating system environemtns (OSEs) are licensed for Server 2016 Essentials?
1
How many users and devices are allowed for Server 2016 Essentials?
25 users and 50 devices
What installation options are available for Server 2016 Essentials?
Desktop only
What feature is available on Server 2016 Essentials that isn’t on Datacenter or Standard?
A configuration wizard
What features are available in Server 2016 Datacenter that are not available in Standard?
Storage Spaces Direct, Storage Replica, Shielded VMs, and a network controller
How do you burn the Server 2016 installer to DVD?
Select .iso file, and select Disk Image Tools > Manage, click Burn
What technology allows for mass deployment of Windows Server via PXE?
Windows Deployment Services (WDS)
What method can be used to install roles and features on multiple servers simultaneously?
PowerShell (not the GUI wizard)
What feature allows for exporting XML script to replicate the same configuration with PowerShell?
Export Configuration Settings
What PowerShell command is similar to the Add Roles and Features wizard?
Install-WindowsFeature -name [featurename] -IncludeAllSubFeature -IncludeManagementTools
Can the desktop environment be removed after the installation of Server 2016?
No
How can Server Core be configured?
CMD, PowerShell, or remotely via Server Manager or MMC
How do you assign an IP address to a server via PowerShell?
New-NetIpAddress -InterfaceIndex 1 -IpAddress 10.1.0.1 -PrefixLength 8 -DefaultGateway 10.0.0.1
How do you look up the interface index of a network interface?
Get-NetAdapter
How do you configure the DNS settings of a network interface via PowerShell?
Set-DnsClientServerAddress - InterfaceIndex 1 -ServerAddresses {“10.0.0.1”, “8.8.8.8”}
How do you rename a server and join it to the domain in PowerShell?
Add-Computer -DomainName kentontofte.xyz -NewName SERVER -Credential KENTONXYZ\Administrator
How do you rename a computer and join it to the domain using CMD?
netdom renamecomputer %computername% /newname
shutdown /r
netdom join %computername% /domain /userd /passwordd
shutdown /r
Which PowerShell cmdlets are used to manage remote sessions?
New-PSSession -ComputerName
Enter-PSSession # Enter an existing PS session
Exit-PSSession # Exit a session and return to local PS session
Disconnect-PSSession # Terminate a PS session
What service must be enabled to allow remote PowerShell sessions?
Windows Remote Management (WinRM), enabled by default on Server 2016
What settings must be changed to allow remote management through MMC?
Allow communicatiosn for the Distributed Component Object Model (DCOM)
The following apps must be allowed through Windows Firewall:
COM+ Network Access (DCOM-In)
Remote Event Log Management (NP-In)
Remote Event Log Management (RPC)
Remote Event Log Management (RPC-EPMAP)
What PowerShell feature is used to automatically configure systems?
Desired State Configuration (DSC)
What service runs on a client system to receive and apply configurations from a DSC server?
Local Configuration Manager (LCM)
What is a MOF file?
Management Object Format - created by PowerShell for each computer in a node block, actual scripts distributed to DSC clients
How does DSC work in a “pull” architecture?
LCM is configured as a script with the URL of the DSC server, and a scheduled task to pull updates and verify the system is compliant
How does DSC work in a “push” architecture?
The Start-DscConfiguration cmdlet is run from the DSC server, with the path to the MOF files, deploys to all clients that have MOF files in that path
When transitioning to a newer version of Windows Server, does Microsoft recommend upgrade or migration?
Migration, as it leaves the old system intact in case something goes wrong during the upgrade, which is difficult to undo
What versions can Windows Server 2016 be upgraded from?
Server 2012 and Server 2012 R2
What are the permissible edition upgrades for Windows Server?
2012 Standard -> 2016 Standard
2012 Standard -> 2016 Datacenter
Datacenter cannot be upgraded to Standard
What steps must be taken before upgrading to Windows Server 2016?
Check hardware compatibility
Remove NIC teaming
Check disk space
Confirm all kernel-mode software is signed
Check application compatiblity (use Setup > What Needs Your Attention)
Install Windows updates
Ensure computer is fully functional with no errors in Event Viewer
Perform a full backup
Purchase the appropriate license and have the installation medium and product key handy
What versions can Windows Server 2016 be migrated from?
Any version between Server 2008 and Server 2016, except for 2008 Core
What platforms can Windows Server 2016 be migrated from?
x86 or x64 platforms can be migrated to x64
What editions can Windows Server 2016 be migrated from?
Any
Can Windows Server 2016 be migrated to or from physical/virtual machines?
Yes, any combination
Can you migrate from Core to Desktop and vice versa?
Yes
Can you migrate between different language versions of Windows Server?
No
How are server migration PowerShell features obtained?
Install-WindowsFeature migration
What is the process for creating a distribution folder for server migration?
Open CMD as administrator
cd\windows\system32\ServerMigrationTools
SmigDeploy.exe /package /architecture amd64 /os WS12R2 /path c:\dist
Copy distribution folder to the source server, then run SmigDeploy.exe on the server, which opens a PowerShell window to use the migration tools
What are the three volume licensing activation methods provided by Microsoft?
Multiple activation keys (MAKs)
Key Management Service (KMS)
Active Directory-based activation
What are MAKs?
Multiple activation keys, used in small environments to activate multiple licenses with the same key
How can MAKs be activated?
Independently on computers with Internet access, or through a MAK proxy running the Volume Activation Management Tool (VAMT) that can authenticate offline systems
What is KMS?
Key Management Service, used as an authentication server for large networks
What versions of Windows can be activated from a Server 2016 system running KMS?
Vista - 10, Server 2008 - 2016, and Office 2010 - later
What is the activation threshold for KMS?
25 workstations or 5 servers
How many cached activations does KMS store?
50
What is the minimum number of workstations recommended by Microsoft for a KMS deployment?
50
What is the activation validity interval for KMS?
180 days
What firewall rules must be configured for KMS?
TCP 1688 must be open
How is a KMS server found on the network?
Through a SRV resource record in DNS
How are non-Enterprise versions of Windows configured to be KMS clients?
With generinc volume licensing keys (GVLKs)
What versions of Windows support Active Directory-based activation?
Server 2012 and Windows 8 or newer
What forest schema is required for AD-based activation?
Windows Server 2012
What method can be used to activate Hyper-V VMs?
Automatic Virtual Machine Activation (AVMA)
What edition of Windows Server is required to support AVMA?
Datacenter
What Windows Server versions of VMs can be activated on what hosts using AVMA?
2012 R2 VMs on a 2012 R2 host
2012 R2 and 2016 VMs on a 2016 host
What features does Nano Server lack?
Any local user interface and 32-bit application support
What tools can be used to manage Nano Server?
Windows Remote Management (WinRM) PowerShell connections
Windows Management Interface (WMI) tools
What are the two basic scenarios for deploying Nano Server?
Server cloud infrastructure services
Cloud-native applications that do not require a GUI
How is Nanon Server installed?
By creating a VHD using PowerShell
Are server roles interchangeable on Nano Server?
No
What is the procedure for creating a Nano Server image with PowerShell?
Mount Windows Server installation media
Open a PS session in the Nano Server directory
Import-Module .\NanoServerImageGenerator -Verbose
New-NanoServerImage -DeploymentType -Edition -MediaPath -TargetPath -ComputerName
How do you create a generation 1 or 2 image for Nano Server?
Use .vhd for gen 1 or .vhdx for gen 2 in the filename
How do you bind a Nano server to a domain from a domain-bound PC?
Use the -DomainName paramter with New-NanoServerImage
How do you reuse a computer account in AD with Nano server?
Use the -ReuseDomainNode parameter in New-NanoServerImage
How do you bind a Nano server to a domain from a PC that isn’t domain-bound?
Create a blob file using Djoin.exe
djoin /provision /domain /machine /savefile
Then append the blob to the new image using the -DomainBlobPath option
How do you create a Hyper-V VM with a Nano disk image?
New-VM -Name “Nano Server” -Generation 2 -MemoryStartupBytes 1GB -VhdPath C:\nanoserver.vhdx
Where are optional Nano Server components stored?
In the Packages directory of the NanoServer directory on the Server 2016 installation media
What options are available with New-NanoServerImages for adding packages?
- Compute # Installs Hyper-V role
- Cluster # Installs Failover Clustering role
- OEMDrivers # Adds basic drivers from Server Core
- Storage # Installs File Server role
- Defender # Installs Windows Defender
- Containers # Adds support for Windows Containers
- Packages # Specify one or more Nano server packages
What Nano Server packages are available?
Microsoft-NanoServer-DSC-Package # Desired State Configuration
Microsoft-NanoServer-DNS-Package # Installs DNS server role
Microsoft-NanoServer-IIS-Package # Installs web server role
Microsoft-NanoServer-SCVMM-Package # Installs System Center Virtual Machine Manager agent
Microsoft-NanoServer-SCVMM-Compute-Package # Installs Hyper-V role to make image manageable with SCVMM, not to be used with -Compute
Microsoft-NanoServer-NPDS-Package # Installs Network Performance Diagnostics Service
Microsoft-NanoServer-DCB-Package # Installs Data Center Bridging
Microsoft-NanoServer-SecureStartup-Package # Installs Secure Startup
Microsoft-NanoServer-ShieldedVM-Package # Installs Shielded Virtual Machine, Datacenter edition only
What command is used to edit a Nano Server image?
Edit-NanoServerImage -BasePath c:\nanoserver\base -TargetPath c:\nanoserver\server.vhdx -Packages [packages]
What configuration can you perform from the Nano Server Recovery Console?
Networking, Firewall, and WinRM
How can you configure Nano Server for a network without DHCP?
Either from the New-NanoServerImage or Edit-NanoServerImage cmdlets, or from the Nano Server Recovery Console
What parameters are used in the *-NanoServerImage cmdlets to configure networking?
- InterfaceNameOrIndex # “Ethernet” is sufficient if only one adapter is configured
- Ipv4Address
- Ipv4SubnetMask
- Ipv4Gateway
- Ipv4Dns
What keyboard navigation is supported in the Nano Server Recovery Console?
Cursor or tab keys for highlighting options, Enter to select
Number pad, CapsLock and NumLock are not supported
How can DNS server addresses be configured for Nano Server?
Either from DHCP or from the *-NanoServerImage cmdlets: not supported from Nano Server Recovery Console
What commands are necessary to allow a remote PowerShell session to a non-domain-bound system?
Add the IP address to the list of trusted hosts, like so:
Set-Item wsman:\localhost\client\trustedhosts “10.0.0.1”
or
winrm set winrm/config/client @{TrustedHosts=”10.0.0.1”}
What version of PowerShell is available on the desktop and Core editions of Server 2016?
Desktop
What version of PowerShell is available on Nano server?
Core
What are the names of the drivers used for Linux and FreeBSD Hyper-V support?
Linux Integration Services (LIS)
FreeBSD Integration Services (BIS)
Which Linux distributions does Hyper-V officially support?
CentOS, Red Hat, Debian, Oracle, SUSE, and Ubuntu
What tool is used for inventory, assessment, and reporting for evaluating hardware/software resources?
Microsoft Assessment and Planning Toolkit (MAP)
What are the minimum system requirements for running MAP?
Windows 7 SP1 Pro and above Windows Server 2008 R2 SP1 Dual Core 1.5GHz CPU 2 GB RAM 1 GB of disk space
What database does MAP use?
SQL Server 2012 Express, or a SQL Server instance named MAPS
What types of workloads are NOT good candidates for virtualization?
Applications with high CPU, memory, network, or storage performance requirements
What tool is used to modify VHD and Windows Imaging files?
Deployment Image Servicing and Management (DISM)
Which versions of Windows can DISM service?
Windows 7 and up
Windows Server 2008 SP2 and up
Windows PE 3.0 and up
What command is used to mount a WIM?
dism /mount-image /imagefile:filename /index:# /name:imagename /mountdir:path
or in PowerShell
Mount-WindowsImage
How can you find the index and names in a WIM?
dism /get-imageinfo /imagefile:filename
or in PowerShell
Get-WindowsImage
What command is used to add a driver to a WIM?
dism /image:folder /add-driver /driver:[folder or .inf] [/recurse]
or in PowerShell
Add-WindowsDriver
How can you add drivers to a WIM that do not have .inf files?
Use Windows System Image Manager (SIM) to create an answer file, and apply that using DISM /apply-unattend
or in PowerShell
Apply-WindowsUnattend
How does DISM rename manually added drivers?
With consecutive numbers, such as oem1.inf, oem2.inf, etc.
How can you get a list of drivers in a WIM?
dism /image:c:\mount /get-drivers
Get-WindowsDriver
How can you get information about a driver from a WIM?
dism /image:c:\mount /get-driverinfo /driver:c:\driver.inf
or in PowerShell
Get-WindowsDriver -Driver
How can you remove a driver from a WIM?
dism /image:c:\mount /remove-driver /driver:oem1.inf
or in PowerShell
Remove-WindowsDriver
What command is used to add update CAB/MSU files to a WIM?
dism /image:c:\mount /add-package /packagepath:[.msu, .cab, or directory of them]
or in PowerShell
Add-WindowsPackage
What DISM option is used to skip verification of OS compatibility when applying updates?
/ignorecheck
What DISM option is used to uninstall an update from a WIM?
/remove-package
or in PowerShell
Remove-WindowsPackage
What DISM option is used to see which updates are installed in a WIM?
/get-packages and /get-packageinfo
or in PowerShell
Get-WindowsPackage, possibly with -PackagePath or -PackageName
How do you finalize changes to a WIM?
dism /unmount-image /mountdir:[dir] /commit
or in PowerShell
Dismount-WindowsImage
How do you add features to a WIM?
Find them using /get-features
Install using /enable-feature /featurename:feature
Use /packagename when referencing a package not in the Windows Foundation feature set
Use /source to reference a path to files needed when a feature is removed, e.g. a Windows or Windows side-by-side SxS folder
Use /all to enable all parent features for a feature
or in PowerShell
Get-WindowsOptionalFeature
Enable-WindowsOptionalFeature
How can you use multiple /featurename options in DISM?
Only if all the features have the same parent
How can you disable features in a WIM?
Use the /disable-feature option
or in PowerShell
Disable-WindowsOptionalFeature
Which PowerShell cmdlet exports settings to the server migration store?
Export-SmigServerSetting
Which PowerShell cmdlet displays a list of features that can be migrated?
Get-SmigServerFeature
Which PowerShell cmdlet imports settings from the server migration store and applies them to the local server?
Import-SmigServerSetting
Which PowerShell cmdlet enables a local server to receive migrated files and settings from a remote server?
Receive-SmigServerData
Which PowerShell cmdlet sends files and settings to other servers?
Send-SmigServerData