Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 78


Which backend does the Terraform CLI use by default?

Show Answer
Correct Answer: D

By default, Terraform CLI uses the local backend. This means that if no specific backend is configured in the Terraform configuration files, Terraform will store its state as a local file in the current working directory. This default behavior ensures that state is accessible without requiring any additional setup or credentials.

Discussion

8 comments
Sign in to comment
EltoothOption: D
Jun 28, 2023

D is correct answer : local "By default, Terraform implicitly uses a backend called local to store state as a local file on disk. Every other backend stores state in a remote service of some kind, which allows multiple people to access it. Accessing state in a remote service generally requires some kind of access credentials, since state data contains extremely sensitive information." https://www.terraform.io/language/settings/backends

Zam88
Jun 19, 2023

By default, Terraform uses a backend called local, which stores state as a local file on disk. You can also configure one of the built-in backends listed in the documentation sidebar. D correct

Ahmad_Terraform
Jul 14, 2023

D. Local

SilentMilliOption: D
Mar 12, 2024

The default backend used by the Terraform CLI is the local backend. This means that the state file is stored on the local file system in a file named "terraform.tfstate".

vadeemkaa
Dec 22, 2023

Answer D. By default in Local backend

Power123
Mar 31, 2024

Answer is D- local

shehreenOption: D
Jul 18, 2024

Answer is : D

Pavan6516Option: D
Dec 29, 2024

The answer is definitely D - Local and its filename is terraform.tfstate