TA-002-P · Question #115
TA-002-P Question #115: Real Exam Question with Answer & Explanation
The correct answer is C: state file. {"question_number": 1, "question": "Terraform must track metadata such as resource dependencies. Where is this data stored?", "correct_answer": "C", "explanation": "Terraform stores all metadata - including resource dependencies, resource IDs, attribute values, and the mapping be
Question
Terraform must track metadata such as resource dependencies. Where is this data stored?
Options
- Aworkspace
- Bbackend
- Cstate file
- Dmetadata store
Explanation
{"question_number": 1, "question": "Terraform must track metadata such as resource dependencies. Where is this data stored?", "correct_answer": "C", "explanation": "Terraform stores all metadata - including resource dependencies, resource IDs, attribute values, and the mapping between your configuration and real-world infrastructure - in the state file (terraform.tfstate). This file is the source of truth for what Terraform has deployed. Without the state file, Terraform cannot determine what exists or in what order resources must be created/destroyed. Options A (workspace) and B (backend) are related concepts but are not where the metadata itself lives; they determine where the state file is stored. A 'metadata store' (D) is not a Terraform concept.", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.