Common Traps on Which Command Should the Administrator Use Practice Questions
- ·Separate verification commands from configuration commands.
- ·Read whether the question asks to identify, verify, fix, permit or deny.
- ·Small command keywords often change the correct answer.
Sample Questions
Practice all 15 →A company has a policy that all Azure Storage accounts must have diagnostic settings enabled to send logs and metrics to a specific Log Analytics workspace. The governance team wants to automatically configure these diagnostic settings when a new storage account is created, without blocking the initial creation. The solution must not require manual intervention. Which Azure Policy effect should the team use in their policy definition?
Explanation: Azure Policy supports several effects. 'DeployIfNotExists' is used to automatically deploy a resource (like a diagnostic setting) when a condition is met and the resource does not already exist. In this scenario, the condition is the creation of a storage account, and the missing resource is the diagnostic setting. The other effects are not suitable because they either block creation (Deny), report compliance only (Audit), or cannot create entire resources (Append).
A company has a policy that every Azure virtual machine must have the Azure Monitor Agent installed and configured to send metrics to a central Log Analytics workspace. To enforce this requirement without relying on manual user action, the governance team wants to automatically deploy the agent to any existing or new VM that is missing it. They also need to generate a compliance report showing any VMs where the installation failed. Which Azure Policy effect should the team use to meet these requirements?
Explanation: Azure Policy can automatically remediate non-compliant resources using the 'DeployIfNotExists' effect. This effect evaluates resources after creation and deploys a defined resource template (in this case, the Azure Monitor Agent VM extension) if the required resource does not exist. It also logs compliance results for reporting. The 'AuditIfNotExists' effect would only report non-compliance without remediation. The 'Deny' effect would block creation of VMs without the agent but would not fix existing ones. The 'Modify' effect is used to change properties on the same resource, but deploying a VM extension is a separate resource, so DeployIfNotExists is appropriate.
A company has multiple Azure subscriptions, each belonging to a different department. The finance department wants to set spending limits per subscription and receive automated email notifications whenever actual spending reaches 80% of the allocated budget. Which Azure feature should they configure?
Explanation: Azure Budgets, part of Azure Cost Management, allows organizations to set spending thresholds and configure alerts when costs exceed defined percentages of the budget. Payments are sent via Action Groups, which can include email notifications. Azure Policy handles compliance rules for resources, not cost monitoring. Azure Blueprints is used to deploy and govern environments at scale. Azure Resource Graph is a query engine for exploring Azure resources.
A company has an Azure subscription that hosts multiple virtual machines, databases, and storage accounts. The finance team wants to receive an automated email notification when the forecasted monthly spending for the subscription exceeds $10,000. The team needs to use a native Azure feature that can track actual and forecasted costs and trigger alerts based on a monetary threshold. The solution must not require custom scripts or third-party tools. Which Azure feature should the team configure?
Explanation: Azure Budgets allows you to set monetary limits on your Azure spending and configure alerts that trigger when costs reach or exceed the defined thresholds. Budgets can be set at the subscription, resource group, or management group scope and support email notifications. Azure Advisor provides optimization recommendations but does not send cost threshold alerts. Azure Policy enforces compliance rules on resources. Azure Resource Graph enables efficient querying of resource inventory but does not provide cost alerts. Therefore, Azure Budgets is the correct native feature for this requirement.
A company has deployed multiple Azure virtual machines for a production workload. The IT administrator wants a centralized list of prioritized recommendations to improve the security, high availability, and cost efficiency of the virtual machines. The administrator also wants to be able to view the potential impact of implementing each recommendation. Which Azure service should the administrator use?
Explanation: Azure Advisor is a personalized cloud consultant that analyzes Azure resources and provides recommendations to follow best practices. It covers five categories: Reliability (high availability), Security, Performance, Operational Excellence, and Cost. The recommendations are prioritized, and each shows the expected impact (e.g., cost savings, security improvement). Azure Security Center focuses specifically on security posture and threat protection, not high availability or cost. Azure Monitor provides metrics, logs, and alerts but does not generate prioritized recommendations. Azure Policy enforces compliance rules but does not provide recommendations.
+10 more scenario questions available
Practice all Which Command Should the Administrator Use Practice QuestionsRelated Topics
Frequently asked questions
How do "Which Command Should the Administrator Use Practice Questions" appear on the real AZ-900?
Practise command-choice questions where the task is to identify the correct verification, configuration or troubleshooting command. These appear throughout the AZ-900 and require you to apply your knowledge, not just recall facts.
How many scenario questions are on the AZ-900 exam?
Cisco doesn't publish an exact breakdown, but scenario-based questions (especially exhibit and command-output formats) make up a significant portion of the AZ-900. Practicing each scenario type ensures you're ready for any format.
Are these AZ-900 scenario practice questions free?
Yes — all scenario practice on Courseiva is completely free. Sign up for a free account to track your progress and see which scenario types you've mastered.
Ready to practice this scenario type?
Launch a full Which Command Should the Administrator Use Practice Questions session with instant scoring and detailed explanations.
Start Scenario Practice →