0
0
PowerShellscripting~5 mins

Configuration drift detection in PowerShell - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is configuration drift in IT systems?
Configuration drift happens when a system's settings change over time from the original or desired setup, often causing unexpected behavior.
Click to reveal answer
beginner
Why is detecting configuration drift important?
Detecting drift helps keep systems secure, stable, and consistent by finding changes that might cause errors or vulnerabilities.
Click to reveal answer
intermediate
Which PowerShell cmdlet can be used to compare current system settings to a baseline for drift detection?
You can use Compare-Object to compare current configuration data with a saved baseline to find differences.
Click to reveal answer
intermediate
What is a simple way to store a baseline configuration in PowerShell?
You can export system settings to a file using Export-CliXml or Export-Csv to save the baseline for later comparison.
Click to reveal answer
beginner
How can automation help with configuration drift detection?
Automation scripts can regularly check system settings against the baseline and alert you if changes are found, saving time and reducing errors.
Click to reveal answer
What does configuration drift mean?
ASystem hardware is upgraded
BSystem settings have changed from the original setup
CNew software is installed
DSystem is running faster than usual
Which PowerShell cmdlet helps compare two sets of data for differences?
ASet-Item
BGet-Content
CCompare-Object
DNew-Item
What is a good practice to detect configuration drift?
AManually check settings once a year
BOnly check after system crashes
CIgnore small changes
DRegularly compare current settings to a saved baseline
Which file format can be used to save baseline configurations in PowerShell?
A.csv
B.exe
C.mp3
D.jpg
How does automation improve configuration drift detection?
ABy automatically checking and alerting on changes
BBy deleting old configurations
CBy making manual checks slower
DBy ignoring changes
Explain what configuration drift is and why it matters in system management.
Think about how changes over time can affect a system's behavior.
You got /3 concepts.
    Describe a simple PowerShell approach to detect configuration drift using baseline files.
    Consider saving settings and comparing them later.
    You got /3 concepts.