nerdexam
HashiCorpHashiCorp

TA-002-P · Question #214

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

The correct answer is A: Update current state. {"question_number": 4, "question": "The terraform state command can be used to ____", "correct_answer": "A", "explanation": "The terraform state command is used for advanced state management, including moving resources (terraform state mv), removing resources (terraform state rm)

Implement and maintain state

Question

The terraform state command can be used to ____

Options

  • AUpdate current state
  • BRefresh existing state file
  • CPrint the current state file in console
  • DIt is not a valid command

Explanation

{"question_number": 4, "question": "The terraform state command can be used to ____", "correct_answer": "A", "explanation": "The terraform state command is used for advanced state management, including moving resources (terraform state mv), removing resources (terraform state rm), and listing/showing state - all of which effectively update the current state. It is a valid command with several subcommands. Options B and C describe terraform refresh and terraform show respectively.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#Terraform state management#CLI commands#State manipulation#Advanced state operations

Community Discussion

No community discussion yet for this question.

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