nerdexam
HashiCorpHashiCorp

TA-002-P · Question #106

TA-002-P Question #106: Real Exam Question with Answer & Explanation

The correct answer is A: True. {"question_number": 4, "question": "terraform refresh command will not modify infrastructure, but does modify the state file.", "correct_answer": "A. True", "explanation": "The terraform refresh command queries the actual infrastructure providers to detect any real-world changes

Implement and maintain state

Question

terraform refresh command will not modify infrastructure, but does modify the state file.

Options

  • ATrue
  • BFalse

Explanation

{"question_number": 4, "question": "terraform refresh command will not modify infrastructure, but does modify the state file.", "correct_answer": "A. True", "explanation": "The terraform refresh command queries the actual infrastructure providers to detect any real-world changes made outside of Terraform, then updates the local state file to reflect the current actual state. It is a read-only operation against infrastructure - it makes no changes to resources - but it does write updates to the state file to bring it in sync with reality.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#terraform refresh#state file#infrastructure as code#CLI

Community Discussion

No community discussion yet for this question.

Full TA-002-P PracticeBrowse All TA-002-P Questions