nerdexam
Microsoft

AZ-400 · Question #619

You have a project in Azure DevOps that will use infrastructure as code (IaC) to deploy resources to Azure and Amazon Web Services (AWS). You need to recommend a deployment solution for the project. T

Terraform (A) is correct because it is a cloud-agnostic IaC tool that supports multiple providers, including both Azure and AWS, from a single unified configuration language (HCL). This makes it ideal for multi-cloud deployments, minimizing administrative effort by avoiding the n

Submitted by brentm· Mar 6, 2026Design and implement build and release pipelines

Question

You have a project in Azure DevOps that will use infrastructure as code (IaC) to deploy resources to Azure and Amazon Web Services (AWS). You need to recommend a deployment solution for the project. The solution must minimize administrative effort. What should you include in the recommendation?

Options

  • ATerraform
  • BBicep
  • CAzure Command-Line Interface (CLI)
  • DAzure Resource Manager (ARM) templates

Explanation

Terraform (A) is correct because it is a cloud-agnostic IaC tool that supports multiple providers, including both Azure and AWS, from a single unified configuration language (HCL). This makes it ideal for multi-cloud deployments, minimizing administrative effort by avoiding the need to learn and maintain separate toolsets for each cloud platform.

Bicep (B) is incorrect because it is Azure-specific and cannot deploy resources to AWS. ARM templates (D) are also Azure-only and are the underlying technology that Bicep compiles to, so they share the same limitation. Azure CLI (C) is a scripting/command-line tool rather than a true IaC solution, and while it has some AWS workarounds, it is not designed for multi-cloud IaC deployments and requires significantly more scripting effort.

Memory Tip: Think of Terraform = "Terra" (Earth/everywhere) - it works everywhere across multiple clouds, while Bicep and ARM are "Azure-only" tools baked into Microsoft's ecosystem. Whenever you see multi-cloud + IaC + minimize effort, Terraform is almost always the answer.

Topics

#Infrastructure as Code#Terraform#Multi-cloud#Deployment Solutions

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice