nerdexam
HashiCorpHashiCorp

TA-002-P · Question #344

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

The correct answer is A: True. {"question_number": 3, "correct_answer": "A", "explanation": "True. You must run 'terraform init' before Terraform can use any backend configuration. The init phase reads the backend block in your configuration, downloads the required backend plugin or sets up the remote state co

Implement and maintain state

Question

You have to initialize a Terraform backend before it can be configured.

Options

  • ATrue
  • BFalse

Explanation

{"question_number": 3, "correct_answer": "A", "explanation": "True. You must run 'terraform init' before Terraform can use any backend configuration. The init phase reads the backend block in your configuration, downloads the required backend plugin or sets up the remote state connection, and prepares the working directory. Without initialization, Terraform has no knowledge of where or how to store state, so any subsequent commands (plan, apply) will fail or default to local state.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#Terraform backend#Initialization#terraform init#State management

Community Discussion

No community discussion yet for this question.

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