22 Management: Tools & Deployment Practice Questions & Answers
Every Management: Tools & Deployment practice question from the AZ-900 Azure Fundamentals Practice Test, with the correct answer and a short explanation.
Start practice test →1. A shop owner with no scripting experience wants to create one web app and watch its status on a customizable dashboard. Which tool best fits this need?
- A.Azure Cloud Shell
- B.The Azure portal✓ Answer
- C.Azure PowerShell
- D.An ARM template
The Azure portal is a web-based graphical console where you create and manage resources by pointing and clicking, and it provides dashboards you can customize to show the resources you care about. Cloud Shell, Azure PowerShell and ARM templates all require writing commands or code.
Ref QB-N9N28FSource: Microsoft Learn, What is the Azure portal? (Azure portal overview): portal as web-based unified console; customizable dashboardsReport a problem with this question
2. An IT manager asks how the Azure portal itself is kept up to date. Which statement is accurate?
- A.It is patched by each admin who installs it on a PC
- B.It is updated continuously with no maintenance downtime✓ Answer
- C.It is updated in a monthly window when it goes offline
- D.It is updated region by region, with brief regional outages
Microsoft states that the Azure portal updates continuously and requires no downtime for maintenance activities. It runs in a browser, so nothing is installed or patched by the administrator, and it is deployed across Azure datacenters for resiliency.
Ref QB-6ST7TFSource: Microsoft Learn, What is the Azure portal? (Azure portal overview): updates continuously and requires no downtime for maintenanceReport a problem with this question
3. An on-call engineer is away from any computer and needs to check resource health and stop a virtual machine from a phone. Which option fits best?
- A.An Azure Arc agent
- B.The Azure mobile app✓ Answer
- C.A Bicep deployment
- D.An ARM template
The Azure mobile app lets you monitor and manage Azure resources from a mobile device, including viewing health and starting or stopping virtual machines, and it can open Azure Cloud Shell. Bicep and ARM templates are deployment files, and the Azure Arc agent connects non-Azure servers to Azure.
Ref QB-P9ZCDGSource: Microsoft Learn, What is the Azure mobile app?: monitor and manage resources, start and stop virtual machines, access Cloud ShellReport a problem with this question
4. A contractor uses a locked-down laptop where installing software is blocked, but must run Azure CLI commands today. What should the contractor use?
- A.Azure Cloud Shell in the browser✓ Answer
- B.A shared Azure portal dashboard
- C.An Azure Arc agent on the laptop
- D.Azure CLI installed on the laptop
Azure Cloud Shell is a browser-accessible, already-authenticated terminal managed by Microsoft, with the Azure CLI and Azure PowerShell preinstalled, so nothing has to be installed on the local machine. Installing the CLI or an Arc agent is blocked here, and a portal dashboard does not run commands.
Ref QB-7S6JYGSource: Microsoft Learn, Azure Cloud Shell overview: browser-accessible, authenticated terminal with Azure CLI and Azure PowerShellReport a problem with this question
5. An administrator who prefers PowerShell opens Azure Cloud Shell for the first time. What can the administrator do?
- A.Choose the PowerShell experience and run Az cmdlets at once✓ Answer
- B.Switch to a Windows VM, since Cloud Shell offers Bash alone
- C.Download Azure PowerShell to a local PC and connect from there
- D.Install PowerShell on the Cloud Shell host before using it
Cloud Shell lets you choose either a Bash or a PowerShell experience, and Azure PowerShell and the Azure CLI come preinstalled and preauthenticated, so there is nothing to install. It does not offer Bash alone, and no local download is needed.
Ref QB-Q9CQJHSource: Microsoft Learn, Azure Cloud Shell overview: choose Bash or PowerShell; Azure CLI and Azure PowerShell preinstalledReport a problem with this question
6. Each Azure Cloud Shell session runs on a temporary host. How does Cloud Shell keep a user's saved scripts available in the next session?
- A.It stores files inside the Azure portal dashboard
- B.It syncs files to the user's local Downloads folder
- C.It mounts an Azure Files share from a storage account✓ Answer
- D.It saves the full host disk image to the subscription
Cloud Shell runs on a temporary, per-session host, so it persists your $HOME files in an Azure Files share that is mounted from a storage account; that is why a persistent session needs a storage account and regular storage costs apply. An ephemeral session needs none, but its files are deleted when it ends.
Ref QB-8SHV5JSource: Microsoft Learn, Azure Cloud Shell overview: temporary per-session host; files persisted in mounted Azure Files shareReport a problem with this question
7. A runbook mixes commands from several tools. Which command is written in Azure PowerShell syntax?
- A.kubectl get pods
- B.Get-AzVM✓ Answer
- C.az vm list
- D.az group list
Azure PowerShell is a set of cmdlets in the Az module that follow a Verb-Noun pattern with an Az prefix on the noun, such as Get-AzVM. Commands that start with az belong to the Azure CLI, and kubectl is the Kubernetes command-line tool.
Ref QB-R9Q2RJSource: Microsoft Learn, What is Azure PowerShell?: Az PowerShell module cmdletsReport a problem with this question
8. A team works entirely on macOS and Linux laptops and wants to manage Azure with Verb-Noun cmdlets they already know. Which choice fits?
- A.Install the Az PowerShell module on their laptops✓ Answer
- B.Use the Azure CLI, as PowerShell needs Windows
- C.Use only the Azure portal, as cmdlets need Windows
- D.Buy Windows laptops so they can run Azure PowerShell
The Az PowerShell module is cross-platform and is recommended for managing Azure with PowerShell on Windows, Linux and macOS, so the team can keep its cmdlet syntax on its current laptops. The idea that PowerShell requires Windows is a common misconception.
Ref QB-ZR2JX9Source: Microsoft Learn, What is Azure PowerShell?: Az module is cross-platform on Windows, Linux and macOSReport a problem with this question
9. Which statement about the Azure CLI and Azure PowerShell is accurate?
- A.Azure PowerShell requires a Windows computer
- B.Each one runs on Windows, macOS and Linux✓ Answer
- C.The Azure CLI requires a Linux or macOS PC
- D.The Azure CLI requires a Cloud Shell session
Microsoft describes the Azure CLI as a cross-platform command-line tool and the Az PowerShell module as cross-platform on Windows, Linux and macOS. Both can be installed locally or used inside Cloud Shell, so neither is tied to one operating system or to Cloud Shell.
Ref QB-H98QHASource: Microsoft Learn, What is the Azure CLI? (cross-platform command-line tool) and What is Azure PowerShell? (cross-platform Az module)Report a problem with this question
10. An admin must run the same resource-creation steps every night from a scheduled script with no one at the keyboard. Which pair of tools both suit this task?
- A.Azure Advisor or Azure Service Health
- B.Azure Arc or Azure portal dashboards
- C.Azure CLI or Azure PowerShell✓ Answer
- D.The Azure portal or the Azure mobile app
The Azure CLI and Azure PowerShell can run commands interactively or from scripts, which makes them suitable for unattended, repeatable automation. The portal and mobile app are interactive graphical tools, Azure Arc extends management to non-Azure resources, and Advisor and Service Health give recommendations and service status.
Ref QB-FCQRJ5Source: Microsoft Learn, What is the Azure CLI?: execute commands through a terminal using interactive prompts or a scriptReport a problem with this question
11. A company wants to apply Azure Policy and Azure role-based access control to Linux servers in its own datacenter without moving those servers. Which service should it use?
- A.Azure Virtual Desktop
- B.Azure ExpressRoute
- C.Azure Migrate
- D.Azure Arc✓ Answer
Azure Arc projects non-Azure resources such as on-premises servers into Azure Resource Manager, so you can govern them with familiar Azure tools like Azure Policy and role-based access control while they stay where they are. Azure Migrate moves workloads into Azure, and ExpressRoute is a private network connection.
Ref QB-XUHKY4Source: Microsoft Learn, Describe the purpose of Azure Arc (Describe features and tools for managing and deploying Azure resources module): project non-Azure resources into Azure Resource Manager; consistent governanceReport a problem with this question
12. A company connects a server that runs in another public cloud to Azure Arc. What does Azure Arc do with that server?
- A.Builds a private network link from that cloud to Azure
- B.Copies its disks into Azure and shuts down the original
- C.Represents it in Azure Resource Manager as a resource✓ Answer
- D.Rebuilds it as an Azure virtual machine in one region
Azure Arc projects existing non-Azure resources into Azure Resource Manager, giving each one an Azure representation so it can be managed as if it ran in Azure. The server keeps running in the other cloud; Arc does not migrate it, convert it or provide network connectivity.
Ref QB-ECCED4Source: Microsoft Learn, Describe the purpose of Azure Arc (Describe features and tools for managing and deploying Azure resources module): manage environment by projecting existing non-Azure resources into Azure Resource ManagerReport a problem with this question
13. A retailer runs Kubernetes clusters in its stores and in another public cloud. It wants to view them in Azure and deploy configurations to all of them from a Git repository. Which service fits?
- A.Azure Migrate
- B.Azure Arc-enabled Kubernetes✓ Answer
- C.Azure Container Instances
- D.Azure Kubernetes Service
Azure Arc-enabled Kubernetes connects clusters running anywhere to Azure so you can inventory them alongside AKS clusters and deploy configuration with GitOps. Azure Kubernetes Service creates managed clusters inside Azure, Container Instances runs single containers in Azure, and Azure Migrate moves workloads into Azure.
Ref QB-WU69T3Source: Microsoft Learn, Azure Arc-enabled Kubernetes overview: connected clusters inventory and GitOps-based configuration managementReport a problem with this question
14. A bank must keep its database on its own on-premises Kubernetes infrastructure but wants to run Azure SQL Managed Instance there with Azure management. Which option fits?
- A.Azure Arc-enabled data services✓ Answer
- B.Azure Database Migration Service
- C.Azure SQL Database in Azure
- D.Azure Data Box appliances
Azure Arc-enabled data services let you run Azure data services such as SQL Managed Instance on-premises, at the edge or in other clouds on Kubernetes infrastructure of your choice, while managing them through Azure. The other options move data into Azure or run the database in Azure, which breaks the stated constraint.
Ref QB-HCEEW7Source: Microsoft Learn, What are Azure Arc-enabled data services?: run SQL Managed Instance on-premises on KubernetesReport a problem with this question
15. A cloud architect tells new hires that the team practices infrastructure as code. What does that mean?
- A.Managing infrastructure through code and templates✓ Answer
- B.Letting Microsoft run all infrastructure under SaaS
- C.Writing app code that runs on Azure-managed servers
- D.Keeping manual portal steps in a shared runbook
Infrastructure as code means managing infrastructure through code and templates instead of manual configuration, so environments can be deployed repeatably and kept in source control. Writing application code, buying SaaS or documenting manual clicks does not define infrastructure in code.
Ref QB-ZU89B7Source: Microsoft Learn, Describe Azure Resource Manager and Azure ARM templates (Describe features and tools for managing and deploying Azure resources module): infrastructure as code means managing infrastructure through code and templates instead of manual configurationReport a problem with this question
16. A team builds each test environment by clicking through the Azure portal, and every copy comes out slightly different. Which change best removes the inconsistency?
- A.Type the commands by hand in Cloud Shell each time
- B.Pin every resource to one shared portal dashboard
- C.Have the same person click through each build
- D.Define the environment in a Bicep file and deploy it✓ Answer
Manual steps, whether clicks or hand-typed commands, invite human error. Describing the environment once in a declarative Bicep file, which compiles to an ARM template, lets the team deploy the same definition repeatedly with consistent results and keep it in source control.
Ref QB-GC34R6Source: Microsoft Learn, What is Bicep? (declarative syntax) and What are ARM templates? (repeatable results)Report a problem with this question
17. Bicep files and ARM templates use a declarative approach. Which description matches that approach?
- A.You describe the end state, and Azure works out the steps✓ Answer
- B.You list each command in order, and Azure runs them as written
- C.You click through wizards, and Azure saves them as a script
- D.You write a Bash loop, and Azure retries any failed step
In a declarative template you state what you want deployed, the desired end state, without writing the sequence of programming commands; Resource Manager then works out the order and deploys the resources. Listing commands in order is the imperative style used by CLI or PowerShell scripts.
Ref QB-YUVW56Source: Microsoft Learn, What are ARM templates? (Azure Resource Manager templates overview): declarative syntax; deploy through one command rather than multiple imperative commandsReport a problem with this question
18. One engineer creates a storage account in the Azure portal while another creates one with the Azure CLI, and both get the same capabilities and results. Why?
- A.The CLI turns each command into portal clicks
- B.Azure Arc applies the same rules to both tools
- C.Both requests go through Azure Resource Manager✓ Answer
- D.Cloud Shell syncs settings between the two tools
Every request from the portal, CLI, PowerShell, REST API or SDKs is received by Azure Resource Manager, which authenticates and authorizes it and forwards it to the right service. Because all requests are handled through the same API, results and capabilities are consistent across tools.
Ref QB-BCAEVYSource: Microsoft Learn, What is Azure Resource Manager?: all requests handled through the same API give consistent results in all toolsReport a problem with this question
19. Which description best matches Azure Resource Manager?
- A.A service that collects logs and metrics from resources
- B.A service that signs users in and issues access tokens
- C.A service that suggests ways to cut cost and improve speed
- D.A service that deploys, updates and deletes Azure resources✓ Answer
Azure Resource Manager is the deployment and management service for Azure, providing the management layer to create, update and delete resources. Collecting logs describes Azure Monitor, cost and performance suggestions describe Azure Advisor, and signing users in describes Microsoft Entra ID.
Ref QB-TU49AYSource: Microsoft Learn, What is Azure Resource Manager?: deployment and management service for AzureReport a problem with this question
20. An engineer opens a file that defines a virtual network and a storage account in sections named $schema, parameters, resources and outputs. What kind of file is it?
- A.An Azure Policy rule in XML
- B.A Bicep file written in YAML
- C.An Azure CLI script in Bash
- D.An ARM template in JSON✓ Answer
An ARM template is a JavaScript Object Notation (JSON) file that declaratively defines infrastructure, with sections such as $schema, parameters, resources and outputs. Bicep is its own concise language, not YAML, and compiles to ARM JSON; a CLI script is a list of imperative commands.
Ref QB-JEQW39Source: Microsoft Learn, What are ARM templates? (Azure Resource Manager templates overview): template is a JSON file defining infrastructure and configuration; Bicep overviewReport a problem with this question
21. A team deploys the same ARM template a second time to a resource group that already holds the resources it defines, with no changes to the template. What happens?
- A.A second copy of each resource is created
- B.Each resource is deleted and created again
- C.The resources stay in the defined state✓ Answer
- D.The deployment fails as the resources exist
ARM templates are idempotent: you can deploy the same template many times and get the same resource types in the same state. Resource Manager compares the request with what exists, so it neither duplicates resources, fails because they exist, nor tears them down.
Ref QB-3XV3P9Source: Microsoft Learn, What are ARM templates? (Azure Resource Manager templates overview): repeatable results; templates are idempotentReport a problem with this question
22. Before deploying an updated ARM template, an engineer wants to preview which resources would be created, changed or deleted. Which capability should the engineer use?
- A.Service Health alerts
- B.Azure Advisor tips
- C.A CanNotDelete lock
- D.The what-if operation✓ Answer
The what-if operation previews a template deployment by checking the current state of your environment and showing which resources will be created, updated or deleted and which properties change. A CanNotDelete lock blocks deletion, Advisor gives recommendations, and Service Health reports Azure service issues.
Ref QB-HECKW7Source: Microsoft Learn, What are ARM templates? (Azure Resource Manager templates overview): preview changes with the what-if operationReport a problem with this question
Other topics in this exam
Practice questions built from the skills measured in Microsoft's published AZ-900 study guide. Microsoft, Azure and Microsoft Certified: Azure Fundamentals are trademarks of the Microsoft group of companies; this site is not affiliated with or endorsed by Microsoft, and these are not real exam questions. Prices, scoring rules, exam languages, service names and features change over time — confirm the current details on Microsoft Learn before you book. The real exam also uses question formats such as yes/no statement sets and drag-and-drop, which this single-answer practice does not reproduce. Microsoft AZ-900 study guide →