Microsoft Azure Administrator Associate AZ-104 Practice Question
You are deploying an Azure infrastructure template that provisions a server. You need to ensure that additional software is automatically installed on the server after deployment. What is the best way to achieve this within the template?
Use Azure CLI to run the installation script after the server is deployed.
Manually connect to the server and install the software.
Enable Azure Automation to install the software on the server.
Include a custom script extension in the template.
Including a custom script extension in the template is the best way to automatically install additional software on the server after deployment. Extensions like the Custom Script Extension allow you to run scripts during or after the provisioning process as part of the deployment. This method ensures that the software installation is automated and integrated within the template, providing consistency and scalability. Using Azure CLI or Azure Automation requires additional configurations outside the template and does not embed the installation process within the deployment. Manually installing the software is inefficient and does not leverage automation.
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 a custom script extension in Azure?
Open an interactive chat with Bash
How does a custom script extension improve Azure deployment?
Open an interactive chat with Bash
Can you run PowerShell scripts using custom script extensions?
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