Advanced Windows Administration test (Advanced)
40 questions · 40 minutes · Free
Hyper-V, failover clustering, hardening, patching and automation.
Take the Advanced Windows Administration test
What it covers
- Hyper-V
- Windows Server failover clustering
- Windows security hardening
- Windows patch management
- Automating Windows administration
Interview format
- Questions: 40 questions — 24 multiple choice, 12 multi-answer, 4 predict-the-output
- Time: 40 minutes, timed from the first question
- Difficulty: Advanced
- Skill area: DevOps & cloud
- Price: Free
Earn a certificate
The Advanced Windows Administration test is one of the 6 tests of the Systems Administrator: Advanced learning path. Pass it and the other 5 tests at 70% or more and readyforhires issues you a verifiable certificate in your name, with its own code and verify link to share or add to LinkedIn.
Sample questions
5 sample questions from the Advanced Windows Administration test, with the answers. Samples are taken out of the live test, so you will not meet these when you sit it.
Which of the following best describes how PowerShell Desired State Configuration (DSC) ensures a system remains in the desired state?
- It only configures the system during initial deployment and does not monitor for drift.
- It ensures the system reaches the desired state and re-applies changes if they drift.
- It is limited to configuring only one node at a time.
- It runs scripts sequentially and stops on the first error.
Answer: B. It ensures the system reaches the desired state and re-applies changes if they drift.
Desired State Configuration (DSC) is designed to ensure that the system remains in the desired state. If the system drifts from the desired state, DSC re-applies the necessary changes to bring it back in line. Other options may describe general automation or configuration management concepts, but they are not specific to DSC's behavior.
In a scenario where you are automating the deployment of a server configuration using PowerShell Desired State Configuration (DSC), which approach ensures that the configuration is fully applied before proceeding with subsequent steps in the automation script?
- Use the `Start-DscConfiguration` cmdlet with the `-Wait` parameter to ensure the configuration is applied before proceeding.
- Use `Invoke-DscResource` directly to apply the configuration without waiting for completion.
- Apply the configuration using `Test-DscConfiguration` and skip the actual application if it passes.
- Apply the configuration using `Set-DscLocalConfigurationManager` without verifying the outcome.
Answer: A. Use the `Start-DscConfiguration` cmdlet with the `-Wait` parameter to ensure the configuration is applied before proceeding.
In a realistic project scenario, using `Start-DscConfiguration` with the `-Wait` parameter ensures that the DSC configuration is fully applied before the script continues, allowing for proper error handling and verification of the configuration's success. This is critical in automation scenarios to avoid partial or incomplete configurations. Other options are incorrect because they do not ensure the configuration is applied before proceeding, which could lead to inconsistent or incomplete system states.
Which of the following best describes the difference between PowerShell Desired State Configuration (DSC) and traditional scripts in Windows administration?
- PowerShell DSC and scripts are both procedural and perform the same function in different ways.
- PowerShell DSC is only used for deploying applications, while scripts are used for system configuration.
- Scripts are more efficient for long-term system configuration, while PowerShell DSC is used for one-time tasks.
- PowerShell DSC is declarative and ensures the system reaches a desired state, while scripts are procedural and execute a sequence of commands.
Answer: D. PowerShell DSC is declarative and ensures the system reaches a desired state, while scripts are procedural and execute a sequence of commands.
PowerShell DSC is designed for declarative configuration management, ensuring that systems reach and maintain a desired state. In contrast, traditional scripts are procedural, executing a sequence of commands in a specific order. DSC is ideal for maintaining consistent system configurations across multiple machines, while scripts are better suited for executing one-time or sequential tasks.
In a realistic project scenario, you are using PowerShell Desired State Configuration (DSC) to ensure that all servers in a datacenter are configured according to a predefined baseline. What will happen once the DSC configuration is applied?
- The configuration will be applied to all target nodes, but only if they are in a specific maintenance window.
- The configuration will be applied to all target nodes, and any deviations from the desired state will be corrected automatically.
- The configuration will be applied to all target nodes, but only if they are manually rebooted after the configuration is applied.
- The configuration will only be applied to the first node in the list, and other nodes will remain unchanged.
Answer: B. The configuration will be applied to all target nodes, and any deviations from the desired state will be corrected automatically.
PowerShell Desired State Configuration (DSC) ensures that the configuration is applied to all target nodes and enforces the desired state. If the system is not in the desired state, DSC automatically corrects the deviation. This is a core feature of DSC, as it is designed to bring systems into compliance with the defined configuration.
A PowerShell Desired State Configuration (DSC) configuration is failing to apply on a target system. The configuration file was created on a system with a local administrator account, and the target system has the execution policy set to 'RemoteSigned'. What is the most likely reason for the failure?
- The configuration will not apply because the DSC configuration file is not signed with a certificate.
- The configuration will not apply because the DSC metaconfiguration is not properly set up.
- The configuration will not apply because the target system's firewall is blocking communication.
- The configuration will not apply because the target system does not have PowerShell 7 installed.
Answer: A. The configuration will not apply because the DSC configuration file is not signed with a certificate.
In PowerShell Desired State Configuration (DSC), if the configuration file is not signed with a certificate, it will not apply on a target system that has the execution policy set to 'RemoteSigned' or 'AllSigned'. This is a security measure to ensure that only trusted configurations are applied. The other options may be relevant in different scenarios but are not the direct cause of the issue described.
Frequently asked questions
- How many questions are in the Advanced Windows Administration test?
- 40 questions (24 multiple choice, 12 multi-answer, 4 predict-the-output), with 40 minutes to answer them.
- What does the Advanced Windows Administration test cover?
- Hyper-V, Windows Server failover clustering, Windows security hardening, Windows patch management, Automating Windows administration.
- Is the Advanced Windows Administration test free?
- Yes. It is free to take with a readyforhires account.
- What level is the Advanced Windows Administration test?
- Advanced, in DevOps & cloud.