nerdexam
HashiCorp

TA-002-P · Question #438

Which of the following is true about Terraform's implementation of infrastructure as code? (Choose two.)

The correct answer is C. You can version your infrastructure configuration E. It allows you to automate infrastructure provisioning. Terraform's infrastructure as code approach enables both version control of configuration files and automated provisioning of resources across multiple cloud providers.

Understand infrastructure as code (IaC) concepts

Question

Which of the following is true about Terraform's implementation of infrastructure as code? (Choose two.)

Options

  • AIt is only compatible with AWS infrastructure management
  • BYou cannot reuse infrastructure configuration
  • CYou can version your infrastructure configuration
  • DIt requires manual configuration of infrastructure resources
  • EIt allows you to automate infrastructure provisioning

How the community answered

(46 responses)
  • A
    2% (1)
  • B
    7% (3)
  • C
    89% (41)
  • D
    2% (1)

Why each option

Terraform's infrastructure as code approach enables both version control of configuration files and automated provisioning of resources across multiple cloud providers.

AIt is only compatible with AWS infrastructure management

Terraform is provider-agnostic and supports hundreds of providers including Azure, Google Cloud, VMware, and many others, not just AWS.

BYou cannot reuse infrastructure configuration

Terraform modules allow you to encapsulate and reuse infrastructure configuration across multiple projects and environments.

CYou can version your infrastructure configurationCorrect

Terraform configurations are plain text files (HCL or JSON) that can be committed to any version control system such as Git, enabling change history, branching, and collaboration just like application code.

DIt requires manual configuration of infrastructure resources

Terraform eliminates manual configuration by codifying infrastructure, which is the opposite of requiring manual steps.

EIt allows you to automate infrastructure provisioningCorrect

Terraform automates provisioning by reading the desired state from configuration files and calling provider APIs to create, update, or delete resources without manual intervention - this is the core value proposition of IaC.

Concept tested: Terraform infrastructure as code core capabilities

Source: https://developer.hashicorp.com/terraform/intro

Topics

#Infrastructure as Code#Automation#Version control#Terraform benefits

Community Discussion

No community discussion yet for this question.

Full TA-002-P Practice