nerdexam
HashiCorp

TA-002-P · Question #305

Select the most accurate statement to describe the Terraform language from the following list.

The correct answer is A. Terraform is an immutable, declarative, Infrastructure as Code provisioning language. Terraform is best described as an immutable, declarative, Infrastructure as Code provisioning language. 'Declarative' means you define the desired end state of your infrastructure and Terraform figures out how to reach it - you do not write step-by-step procedural instructions…

Understand Terraform basics

Question

Select the most accurate statement to describe the Terraform language from the following list.

Options

  • ATerraform is an immutable, declarative, Infrastructure as Code provisioning language
  • BTerraform is a mutable, declarative, Infrastructure as Code configuration management
  • CTerraform is an immutable, procedural, Infrastructure as Code configuration management
  • DTerraform is a mutable, procedural, Infrastructure as Code provisioning language based

How the community answered

(16 responses)
  • A
    88% (14)
  • B
    6% (1)
  • C
    6% (1)

Explanation

Terraform is best described as an immutable, declarative, Infrastructure as Code provisioning language. 'Declarative' means you define the desired end state of your infrastructure and Terraform figures out how to reach it - you do not write step-by-step procedural instructions. 'Immutable' refers to Terraform's approach of replacing resources rather than modifying them in place (as opposed to mutable configuration management tools like Ansible or Chef that make changes to existing systems). 'Provisioning' distinguishes it from configuration management tools (Puppet, Chef, Ansible) which configure software on existing servers. Options B, C, and D are incorrect because they incorrectly label Terraform as mutable, procedural, or a configuration management tool.

Topics

#Terraform definition#Declarative language#IaC concepts#Immutable infrastructure

Community Discussion

No community discussion yet for this question.

Full TA-002-P Practice