Q: 1
[Navigate Terraform State and Backends]
You have to initialize a Terraform backend before it can be configured.
Options
Discussion
No way, you need the backend config in your .tf files before running terraform init or it won’t know what backend to set up. So the statement is False. Pretty sure most practice tests reflect this order too, but I’m open if someone’s seen documentation that says otherwise.
False , backend config goes in the .tf files first and only then can you run terraform init. If they flipped the order, True would be right but that's not how it works here.
False , config has to be in the .tf file first before you can initialize. Saw this on a similar exam question.
False. Similar question came up on my practice exam and config is always set before you run init.
False . Saw a similar question on a practice and backend config always comes before running init.
False . You set the backend config in your .tf file before init, not after. That's a common trap since the wording tries to flip the order. Saw similar wording tripping people up in practice questions.
Nah, that's False. You write the backend settings in your config first, then run init.
Yeah, had something like this in a mock before. False.
False tbh, you actually configure the backend in your .tf files first, then run init to set it up. Always get this mixed up. Someone confirm if I’m off base here?
True . I remember seeing default local backend until init, so feels like you have to initialize first. Maybe Im missing something.
Be respectful. No spam.