Created by Rick Schoenman
over 2 years ago
|
||
Question | Answer |
What is Desired State Configuration (DSC)? | A PowerShell based management platform that you can use to manage: - Operating Systems - Applications |
Which 3 components does DSC consist of? | - Configurations - Resources - Local Configuration Manager (LCM) |
What are DSC Configurations? | These are .mof files Declarative PowerShell scripts that configure and define targets. |
What are DSC Resources? | These are 'Powershell Modules' Contains the code that defines and applies the desired configuration state of the resource |
What is the Local Configuration Manager (LCM)? | This is the main execution engine of DSC scriptsthat applies the configurations on a system |
Do you need to install anything to use DSC? | No, powershell DSC is included in Windows |
Name 3 things LCM is responsible for | - Coordinating the implementation of settings - Monitoring the ongoing status of those settings - Updating the state of a computer to match a desired state |
Every time the LCM runs, it completes 3 steps. Name those steps. | - Get: Retrieves the current state of the computer - Test: Test the current state of the computer against the desired state - Set: Updates the computer's configuration to match the desired state. |
In which 2 modes can DSC be deployed? | - Push Mode - Pull Mode |
What is DSC Push Mode? | In this mode the desired configurations are send (or pushed) to the managed computers. |
What is DSC Pull Mode? | In this mode a Pull server hold the configuration information. The LCM polls the Pull server every 15 mins to get the latest configuration |
What 2 deployment options can you use for a DSC Pull server? | - Windows Server - Azure Automation Desired State Configuration |
Which Operating System is required to use DSC? | - Windows Server 2012 R2 or higher - Windows 8.1 or higher |
Which feature must be enabled on managed computers to use DSC? | Windows Remote Management (WinRM) |
After creating a DSC configuration script (.ps1), what next action must be done? | Compile the script in a .mof file |
What PowerShell configuration is required to run DSC (even on a localhost)? | PowerShell Remoting |
Which Cmdlet is used to apply the DSC configuration? | Start-DscConfiguration |
Which Cmdlet is used to verify the succes of the DSC configuration? | Get-DscConfigurationStatus |
Want to create your own Flashcards for free with GoConqr? Learn more.