Prepare and test your skills

Prepare and test your skills

Free sample question, answered and explained below. The AZ-900 Microsoft Azure Fundamentals Exam practice bank has 688 more like it. Try 10 free: instant score, no account.
An administrator is preparing to deploy infrastructure using an Azure Resource Manager (ARM) template.
Before executing the deployment, the administrator needs to evaluate the template to preview which resources will be created, modified, or deleted, as well as detect syntax and preflight validation errors without making actual changes to the live environment.
Which operation should the administrator execute?
Resource locks are governance safeguards applied to Azure subscriptions, resource groups, or individual resources to prevent unauthorized or accidental modifications and deletions.
CanNotDelete (authorized users can read and modify, but not delete) and ReadOnly (authorized users can only read resources).This option would be correct if the scenario required protecting critical production resources from being accidentally deleted or modified by administrators.
If a resource lock is in place, attempting to deploy a template that deletes or modifies that locked resource will fail, but the lock itself does not provide pre-deployment change previews.
Deployment scripts are custom Azure PowerShell or Azure CLI scripts embedded within or referenced by an ARM template to perform custom automation tasks during a deployment.
This option would be correct if the scenario required executing custom administrative commands or data seeding scripts as part of an end-to-end ARM template deployment.
Deployment scripts execute during active deployment and cannot replace preflight simulation tools such as the what-if operation.
The what-if operation in Azure Resource Manager allows administrators and engineers to preview the exact changes that will occur before executing an ARM template deployment. It compares the desired state described in the template against the current real-time state of the target environment.
az deployment group what-if), and Azure PowerShell (Get-AzResourceGroupDeploymentWhatIfResult).The what-if operation is specifically designed for pre-deployment inspection and validation. It allows administrators to verify template logic, ensure expected outcomes, and identify configuration errors safely before initiating actual infrastructure modifications.
Template specs are first-class Azure resource types used to store, version, and share ARM templates natively within an Azure subscription or resource group.
This option would be correct if the requirement was to securely store and share verified ARM templates across teams within an organization while controlling access using Azure role-based access control (RBAC).
While a template spec contains the ARM template definition, evaluating its impact still requires running the what-if operation against the target scope prior to deployment.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated