Microsoft Azure Administrator Associate AZ-104 Practice Question
An Azure administrator needs to deploy an ARM template that creates multiple resources, including a virtual network, storage account, and several virtual machines. The template includes parameters and variables. The administrator wants to deploy the template using a script that can be easily integrated into existing CI/CD pipelines and run on Windows, Linux, or macOS.
Which command-line tool should the administrator use to deploy the template?
The Azure CLI is a cross-platform command-line tool that runs on Windows, Linux, or macOS, making it ideal for integrating into CI/CD pipelines regardless of the operating system. Using the 'az deployment group create' command, administrators can deploy ARM templates and supply parameters as needed. While Azure PowerShell can deploy templates, it relies on PowerShell, which may require additional setup on non-Windows systems. Azure Cloud Shell is a browser-based shell, which is not as suitable for automated scripted deployments. The Azure Portal is a graphical user interface and doesn't meet the requirement of using a script in a CI/CD pipeline.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an ARM template?
Open an interactive chat with Bash
What is Azure CLI and how does it work with CI/CD pipelines?
Open an interactive chat with Bash
What are parameters and variables in ARM templates?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Deploy and manage Azure compute resources
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access