AZ-801 · Question #96
You have a three-node failover cluster. You need to run pre-scripts and post-scripts when Cluster-Aware Updating (CAU) runs. The solution must minimize administrative effort. What should you use?
The correct answer is B. Run profiles. To run pre-scripts and post-scripts during Cluster-Aware Updating (CAU) with minimal administrative effort, you should use CAU's built-in run profiles feature.
Question
Options
- AScheduled tasks
- BRun profiles
- CAzure Functions
- DWindows Server Update Serveries (WSUS)
How the community answered
(31 responses)- A10% (3)
- B74% (23)
- C13% (4)
- D3% (1)
Why each option
To run pre-scripts and post-scripts during Cluster-Aware Updating (CAU) with minimal administrative effort, you should use CAU's built-in run profiles feature.
While scheduled tasks can run scripts, integrating them with CAU for pre/post script execution requires more manual configuration and coordination than using CAU's native run profiles, thus not minimizing administrative effort.
Cluster-Aware Updating (CAU) has a native feature called "run profiles" that allows administrators to specify pre-update and post-update PowerShell scripts. These scripts are automatically executed on the cluster nodes as part of the CAU update process, providing a streamlined and low-administrative-effort solution for custom actions before and after updates.
Azure Functions are cloud-based serverless compute services and are not directly integrated into the on-premises Cluster-Aware Updating process for running scripts on cluster nodes without significant custom development.
Windows Server Update Services (WSUS) manages and distributes updates to servers, including those used by CAU, but it does not provide functionality for defining or executing pre-scripts or post-scripts within the CAU workflow.
Concept tested: Cluster-Aware Updating pre/post scripts (run profiles)
Source: https://learn.microsoft.com/en-us/windows-server/failover-clustering/cluster-aware-updating-options#updating-run-profiles
Topics
Community Discussion
No community discussion yet for this question.