A state file can schedule recurring infrastructure tasks.
B.
A state file is the desired state expressed by the Terraform code files.
C.
A state file is a source of truth for resources provisioned with Terraform.
D.
A state file is a source of truth for resources provisioned with a public cloud console.
The Answer Is:
C
This question includes an explanation.
Explanation:
Rationale for Correct Answer: Terraform state is Terraform’s record of what it manages: it maps resource addresses in configuration to real-world resource IDs and stores metadata needed to plan changes. That makes it a source of truth for resources Terraform is managing, enabling accurate diffs, updates, and deletes.
Analysis of Incorrect Options (Distractors):
A: Incorrect—Terraform state does not schedule jobs; that’s the role of external schedulers/automation tools.
B: Incorrect—the desired state is expressed in .tf configuration, not in the state file. State reflects the current known state of managed infrastructure.
D: Incorrect—resources created manually in a cloud console are not automatically in Terraform state unless they are imported/adopted.
Key Concept: Purpose of Terraform state: resource mapping, metadata, and planning accuracy.
[Reference: Terraform Objectives — Implement and Maintain State; Navigate Terraform State and Backends., , ====================, , ]
Terraform-Associate-004 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"