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: AC

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

17 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

ArnaldoWOption: C
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.

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.

Stiffler1Option: C
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

karapetOption: C
Oct 30, 2022

"C" for sure.

vikramvlrOption: C
Dec 14, 2022

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

vadeemkaaOption: C
Dec 22, 2022

Answer C - Git cannot be used as a backend

cedry87Option: B
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

Absence379Option: B
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.

ray320xOption: C
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