nerdexam
HashiCorp

TA-002-P · Question #250

A "backend" in Terraform determines how state is loaded and how an operation such as apply is executed. Which of the following is not a supported backend type?

The correct answer is C. Github. GitHub is not a supported Terraform backend type. Terraform backends are responsible for storing state and optionally performing operations. Supported backends include S3, Consul, Artifactory, Terraform Enterprise (remote backend), azurerm, gcs, and others. GitHub is a code…

Implement and maintain state

Question

A "backend" in Terraform determines how state is loaded and how an operation such as apply is executed. Which of the following is not a supported backend type?

Options

  • ATerraform enterprise
  • BConsul
  • CGithub
  • DS3
  • EArtifactory

How the community answered

(47 responses)
  • A
    6% (3)
  • B
    4% (2)
  • C
    87% (41)
  • E
    2% (1)

Explanation

GitHub is not a supported Terraform backend type. Terraform backends are responsible for storing state and optionally performing operations. Supported backends include S3, Consul, Artifactory, Terraform Enterprise (remote backend), azurerm, gcs, and others. GitHub is a code hosting platform and has no role as a Terraform state backend. If you want to store state remotely and use GitHub for source control, you would pair GitHub with a separate backend like S3 or Terraform Cloud.

Topics

#Terraform backends#Remote state#State management#Backend configuration

Community Discussion

No community discussion yet for this question.

Full TA-002-P Practice