Home › MCA Cloud Computing › cloudcomputing › cloudorchestration › In Terraform, what is the role of the "state" fi…
In Terraform, what is the role of the "state" file?
AHold compiled binaries of the Terraform engine itself
BEncrypt the user's local source code
CStore the cloud provider's pricing catalogue
DTrack the real-world mapping between Terraform configuration resources and the actual cloud resources Terraform manages
Answer & Solution
Correct answer: D. Track the real-world mapping between Terraform configuration resources and the actual cloud resources Terraform manages
State maps the HCL declarations to the real resources, enabling diffs and updates. The other options are unrelated.
Related questions
A blue/green deployment strategy on cloud platforms primarily:Which IaC concept describes ensuring that applying the same configuration twice yields theWhat is the difference between a Kubernetes Deployment and a StatefulSet?Which Kubernetes object lets you declare a pool of pods that should always have N running,GitOps as a deployment pattern means:A service mesh (e.g. Istio, Linkerd) primarily adds which capability to a microservices syHelm in the Kubernetes ecosystem primarily provides:What is the role of a Kubernetes Service object?