Implement Workload Specific Security Flashcards

Containers Dynamic Access Control FSRM Quotas

1
Q

What is Powershell Core?

A

An edition of Powershell designed to be cross platform to MacOS and Linux

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

How is Powershell Core different from Powershell?

A

Powershell is built on top of .NET

  • Only available to Windows
  • Built into Windows
  • Launched as Powershell.exe
  • Supports .NET functions and abilities (C#, Add-Type, Static methods, etc.)

Powershell Core is built on .NET Core

  • Cross platform on Windows, macOS, and Linux
  • Launched via Pwsh.exe
  • Can utilize many .NET features as long as they are exposed via .NET Core
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which OSes support Powershell Core?

A
Windows 7/8.1/10
Server 2008 R2/2012 R2/2016
Windows Server Semi-Annual Channel
Unbuntu 14, 16, 17+
Debian 8.7+ and 9+
CentOS 7+
RHEL 7+
OpenSUSE 42.2
Fedora 25 and 26+
macOS 10.12+
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Can Powershell and Powershell Core be installed on the same system?

A

Yes. The two versions are exclusive of each other

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

Can modules be written for Powershell work in Powershell Core?

A

Not necessarily. Modules are mostly compatible, but some may not work. Especially 3rd party.

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

What are Configurations with Desired State Configuration?

A

Configurations are declarative Powershell scripts that define and configure instances of resources

When DSC runs a configuration, it simply makes it happen and ensures the system has the appropriate configuration.

DSC will continue to enforce the configuration and re-apply it if it changes.

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

What are Resources with Desired State Configuration?

A

Resources are the code that is placed on a target and keep the target in a specified state

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

What is the Local Configuration Manager (LCM)?

A

LCM is the engine used by DSC that facilitates the interaction between resources and configurations.

LCM polls the system using the control flow implemented by resources to ensure the state defined by the configuration is maintained.

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

What are the goals of Desired State Configuration?

A

Decrease the complexity of scripting on Windows

Increase the speed of interaction

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

What is the benefit of Powershell DSC over Powershell scripting?

A

Scripting will allow you to configure what you want to be done and how you want it done using a complicated flow.

Desired State Configuration allows you to configure the same thing as scripting without knowing the underlying scripting.

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

What are containers?

A

Containers are isolated instances of Windows that allow system-level virtualization.

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

What types of containers are supported with Windows Server 2016?

A

Hyper-V Containers

Windows Containers

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

What is the difference between Hyper-V and Windows Containers?

A

Hyper-V containers have their own virtualized kernel that allows for greater isolation and performance as they don’t utilize the host kernel at all.

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

In which version of Windows Server was Nano Server introduced?

A

Server 2016

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

What are the advantages of of Nano Server over Server Core?

A

Nano is a smaller footprint than Server Core
Nano has no real local logon option
Nano supports only 64bit applications, tools, and agents
Nano consumes far less disk
Requires fewer updates and faster reboots

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

What are some use cases for Nano Server?

A

Compute host for Hyper-V (including clustered Hyper-V)
Storage host for SoFS
Host for cloud applications that are containerized or run in a guest VM
Note: DNS and Web Server (IIS) (Infrastructure Roles) were removed after the initial release.

17
Q

Does Nano Server support centralized configuration management, with GPO for example?

A

Yes, Nano Server can be centrally managed using the Desired State Configuration.
Group Policy and SCCM, however, are not supported on Nano Server

18
Q

Can Nano Server support centralized configuration management, with GPO, for example?

A

Yes, Nano Server can be centrally managed using Desired State Configuration.
Group Policy and SCCM, however, are not supported on Nano Server.

19
Q

Can Nano Server be used to deploy an especially lightweight domain controller?

A

No. Nano does not support the AD DS role.

20
Q

Can Nano Server be configured to utilize NIC Teaming?

A

NIC teaming is built into the OS, Load Balancing and Failover, cannot be utilized. However, NIC teaming at the switch level with Switch-embedded teaming (SET) is supported.

21
Q

Can you utilize System Center Data Protection Manager to manage Nano Server backups?

A

No. Nano does not support SCDPM.

22
Q

What Windows Server activation mechanisms are available on Nano Server?

A

Nano can be activated using KMS with generic volume license key or using AD-based activation.

23
Q

What type of support model is utilized with Nano Server: Current Branch or LTSB?

A

Current Branch

24
Q

What are some restrictions/downsides of using Nano Server?

A

Nano Server is headless, there isn’t a local logon

Nano cannot become a Domain Controller

Group Policy is not supported for a Nano Server management. Use DSC instead

Nano cannot be used as a proxy server.

Traditional Windows-based NIC teaming is not supported. Use switch-embedded teaming instead.

SCCM and SCDPM are not supported.

Best Practices Analyzer is not available for Nano Server

Nano cannot utilize Automatic Virtual Machine Activation.

Nano only supports the Current Branch model of Windows Support.

25
Q

How often are major platform updates released for Current Branch support?

A

Approximately 2-3 times a year.

26
Q

What upgrade or migration paths are available for going from existing versions of Windows Server to Nano Server?

A

Nano Server cannot be migrated or updated to. It requires a fresh install.

27
Q

What is the process of installing Nano Server on a Physical Server?.

A
  1. Copy Convert-WindowsImage.ps1 and New-NanoServerImage.ps1 from \NanoServer folder on the Server ISO to a system.
  2. Launch Powershell and navigate to the directory with copied files and run .\New-NanoServerImage.ps1
  3. Create the VHD that has a computer name and OEM drivers with the following command.
    New-NanoServerImage -MediaPath $Media -BasePath $Base -TargetPath $Target -ComptuerName $Computer -OEMDrivers $FeatureOptions
  4. Copy VHD created by the script to the pysical server.
  5. Confgiure Boot Loader
    - Copy boot loader: Bcdedit /copy $Current /d “Nano Server”
    - Copy GUID that appears into the ID of the new boot loader, include curley brackets
    - Run the following commands
    Bcdedit /set $Guid device vhd=[c:]\NanoServer\NanoServervhd
    Bcdedit /set $GUID osdevice vhd=[c:]\NanoServer\NanoServer.vhd
    Bcdedit /set $Guid path \windows\system32\boot\winload.exe
28
Q

What is the purpose of the Emergency Management Console in Nano Server?

A

It is intended to be used to recover Nano Server or repair network issues preventing remote management.

29
Q

What methods are available to manage Nano Server?

A

Powershell Remote Management
MMC Remote Management
Powershell

30
Q

What are some major support features removed from Nano Server to make it so small?

A

GUI Support
32bit Support (WOW64)
MSI Support
Various other Server components

31
Q

What tools should be used to manage Nano Server?

A

WMI

Powershell