Question 193 — Domain 3-Describe Azure management and governance | AZ-900 Practice Exam | 230 Questions
A DevOps engineer needs to deploy a complex infrastructure involving multiple virtual machines and databases. The engineer prefers to use imperative code to automate this process across a hybrid cloud environment. Which Azure tool is most suited for their needs? (Select one answer).
Azure portal
Azure PowerShell
Azure CLI
Azure Arc
Correct answers
Azure PowerShell
Explanations
Correct:
Azure PowerShell
Azure PowerShell is suited for orchestrating complex operations and infrastructure deployments using imperative code. It is commonly used in DevOps for scripting and automation.
Wrong:
Azure Portal
The Azure Portal provides a graphical interface, but it is less suited for complex automation tasks.
Azure CLI
Azure CLI could also be used, but the question emphasizes imperative code, which is more aligned with PowerShell.
Azure Arc
Azure Arc is used for hybrid and multi-cloud management, but it is not primarily for infrastructure automation like PowerShell.