When using a remote backend or terraform Cloud integration, where does Terraform save resource sate?
Suggested Answer: C
Get Premium Terraform-Associate-004 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
This is where Terraform saves resource state when using a remote backend or Terraform Cloud integration, as it allows you to store and manage your state file in a remote location, such as a cloud storage service or Terraform Cloud's servers. This enables collaboration, security, and scalability for your Terraform infrastructure.
27 comments · newest first
AL
Alexis
4 months ago
Yeah, C is the best choice. It keeps everything centralized.
SH
Sherrell
4 months ago
I was torn between C and B, but C is definitely right.
EA
Earleen
4 months ago
Agreed! C makes sense for collaboration.
PA
Paris
4 months ago
I think it's C. The state is saved in the remote backend.
DI
Dion
4 months ago
Definitely not in an environment variable, that's for sure.
SE
Sean
6 months ago
I always thought it was in memory, this is new to me!
VE
Verda
6 months ago
Wait, I thought it was stored on disk?
JU
Jutta
6 months ago
Totally agree, option C is the right one!
BR
Britt
6 months ago
It's saved in the remote backend or Terraform Cloud.
CA
Casandra
6 months ago
I bet the person who wrote option A has never actually used Terraform before.
TH
Theodora
7 months ago
Storing state in an environment variable? What is this, amateur hour?
FR
Franchesca
7 months ago
C is the correct answer. I can't believe anyone would think Terraform stores state on the disk or in memory.
LE
Leanora
7 months ago
C is the only logical choice here. Storing state in memory or an environment variable doesn't make any sense.
JO
Joanne
7 months ago
Definitely C. Terraform wouldn't save state locally, that would defeat the purpose of a remote backend.
MA
Ma
7 months ago
C) In the remote backend or Terraform Cloud
SH
Sheldon
8 months ago
Yeah, I agree with C. The remote backend is where the state is managed, especially for team collaboration.
SH
Shawna
8 months ago
I’m a bit confused; I thought it could also be saved on disk, but that’s usually for local setups, right?
LA
Launa
8 months ago
I remember practicing a question like this, and I think the answer was definitely C.
JO
Josephine
9 months ago
I think the state is saved in the remote backend or Terraform Cloud, but I'm not completely sure.
GI
Giovanna
9 months ago
I'm pretty confident the answer is C. Terraform is designed to store state remotely when using a backend integration, so that's where the state would be saved, not on the local disk or in memory.
LO
Louann
9 months ago
I'm a bit confused on this one. I know Terraform has different ways of storing state, but I can't recall the specifics. I'll have to review my notes and try to reason through the options.
AN
Anika
9 months ago
Okay, I've got this. When using a remote backend, Terraform saves the resource state in the remote backend, not on the local disk. So the answer has to be C.
LY
Lynette
9 months ago
Hmm, I'm a bit unsure about this one. I know Terraform stores state somewhere, but I can't remember if it's on the disk or in a remote backend. I'll have to think this through carefully.
VI
Vivienne
9 months ago
I think the answer is C, since Terraform is designed to store state remotely when using a backend or Terraform Cloud integration.
SH
Sharmaine
3 months ago
C is the right choice. Makes collaboration easier too!
ON
Oneida
3 months ago
Definitely C! It keeps everything centralized.
BE
Bernardine
3 months ago
I agree, it has to be C. Remote backends are meant for that.