Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 77


Your DevOps team is currently using the local backend for your Terraform configuration. You would like to move to a remote backend to begin storing the state file in a central location.

Which of the following backends would not work?

Show Answer
Correct Answer: C

Among the given options, Git would not work as a remote backend for Terraform state files. Terraform supports remote backends like Amazon S3 and Terraform Cloud, but Git is not designed for state management due to a lack of necessary features such as state locking and concurrent access handling.

Discussion

28 comments
Sign in to comment
ReetOption: B
Aug 1, 2023

Note: We removed the artifactory, etcd, etcdv3, manta, and swift backends in Terraform v1.3. Information about their behavior in older versions is still available in the Terraform v1.2 documentation. For migration paths from these removed backends, refer to Upgrading to Terraform v1.3. https://developer.hashicorp.com/terraform/language/settings/backends/configuration#available-backends

Tyler2023
Nov 1, 2023

Thanks for this, as I question why artifactory

ray320x
May 30, 2024

With the removal of support for Artifactory in Terraform v1.3 and Git never being a supported backend, both options B and C would not work. However, Git has never been a supported backend for Terraform state files, making it the primary correct answer. The correct answer is: C. Git

nez15Option: C
Apr 29, 2022

https://www.terraform.io/cdktf/concepts/remote-backends

ArnaldoW
Mar 30, 2023

If Everyone knows, that the answer is C why didn't the admin fix it yet?

kapara
Aug 20, 2023

I believe the administrator is aware of the solution. However, if they merely provide us with answers without encouraging exploration, individuals might resort to memorizing the responses. This could potentially lead to a situation where the company detects and takes action against the website for distributing exam dumps. It's essential for learning and growth that we understand concepts thoroughly through exploration rather than relying solely on pre-supplied answers.

nez15
Apr 29, 2022

Answer is C. Git https://www.terraform.io/cdktf/concepts/remote-backends

EltoothOption: C
Jun 28, 2022

C is correct answer : Git https://www.terraform.io/cdktf/concepts/remote-backends

vitasac
May 3, 2022

For sure C

bp339Option: C
Jun 4, 2022

C is the Answer

AnonymousOption: C
Jun 9, 2022

C for sure, all other options are suitable for use as a TF backend

BereOption: C
Aug 17, 2023

Supported backends: https://developer.hashicorp.com/terraform/cdktf/concepts/remote-backends#supported-backends Git is not a supported backend for Terraform state. While it's possible to store state files in Git, doing so is not recommended because state files can contain sensitive information, and it's not designed for concurrent state management.

Turak64
Aug 26, 2022

You can store a remote backend in Gitlab - https://docs.gitlab.com/ee/user/infrastructure/iac/terraform_state.html

RVivek
Sep 23, 2022

Gitlab utilizes the generic http backend feature to provide state remote backend service

eduvar4Option: C
Sep 27, 2022

https://developer.hashicorp.com/terraform/cdktf/concepts/remote-backends

Stiffler1
Dec 16, 2022

Why is answer showing A as the correct answer. C is the answer for sure

campsOption: C
Mar 31, 2023

C. Git. Git is not a suitable remote backend for Terraform. While it is possible to store Terraform state files in Git, it is not recommended because Git is not designed to manage state files and does not provide the necessary locking mechanisms to prevent concurrent access.

wheelanOption: B
Jul 21, 2023

Answer is B. I am using Git as a backend. Artifactory is no longer a valid backend. https://developer.hashicorp.com/terraform/language/settings/backends/configuration#available-backends

kingfighers
Apr 3, 2024

git is not official support now, check the doc: https://developer.hashicorp.com/terraform/language/settings/backends/local

TlakminiOption: B
Aug 10, 2023

https://developer.hashicorp.com/terraform/language/settings/backends/configuration#available-backends

ray320x
May 30, 2024

With the removal of support for Artifactory in Terraform v1.3 and Git never being a supported backend, both options B and C would not work. However, Git has never been a supported backend for Terraform state files, making it the primary correct answer. The correct answer is: C. Git

AakashjOption: C
Jan 11, 2025

Git is where we do not store state files

karapet
Oct 30, 2022

"C" for sure.

vikramvlr
Dec 14, 2022

Answer is C - Git is not supported to do the remote backend operation

vadeemkaa
Dec 22, 2022

Answer C - Git cannot be used as a backend

cedry87
Apr 14, 2023

answer : B

sumnearOption: C
Aug 2, 2023

C is the answer

gofavad926Option: C
Sep 29, 2023

C. git is not supported

KLIERKOOption: C
Sep 29, 2023

The anwer is C stop kliering

Absence379
Mar 5, 2024

B Note: We removed the artifactory, etcd, etcdv3, manta, and swift backends in Terraform v1.3. Information about their behavior in older versions is still available in the Terraform v1.2 documentation. For migration paths from these removed backends, refer to Upgrading to Terraform v1.3.

AlgolOption: C
Sep 12, 2024

The backend that would not work for storing Terraform state files is C. Git. Git is not designed to handle the dynamic state file that Terraform requires for tracking infrastructure. Terraform needs backends that support locking and consistent state management, such as A. Amazon S3, B. Artifactory, or D. Terraform Cloud, which are suitable for remote state storage and ensure safe concurrent access to the state file.

muammer32Option: C
Dec 13, 2024

Git is the only option that does not work as a remote backend for storing Terraform state files. The other options (Amazon S3, Artifactory, and Terraform Cloud) are valid backends for remote state storage.

KG8Option: C
Mar 7, 2025

It is explicit that we do not store the state files in the Version Control Systems, so Git will be the answer.