This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Suppose you're deciding on a method for deploying your Azure infrastructure. Which of the following characteristics is a benefit of using infrastructure as code?
Infrastructure as code improves the consistency of your deployments.
Infrastructure as code requires that you deploy only a single environment.
With infrastructure as code, you manually execute your deployments.
Suppose you decide to use infrastructure as code for resource provisioning. You're deciding between using an imperative or a declarative code approach. Which statement best describes declarative code?
With declarative code, you execute a sequence of commands, in a specific order, to reach an end configuration. This process defines what the code should accomplish, and it defines how to accomplish the task.
With declarative code, objects and classes are used to determine the final configuration of a resource.
With declarative code, you specify only the end configuration. You don't define how to accomplish the task.
Suppose you're deciding on the type of declarative template for provisioning your resources. Which of the following declarative template formats work with Azure?
Bicep template.
XML template.
Running a Bash script in Azure CLI.
Suppose you're deciding on the type of declarative template for provisioning your resources. Which of the following characteristics is a benefit of using ARM templates?
Imperative code.
Modularity.
Management group.
You must answer all questions before checking your work.
Was this page helpful?