nerdexam
HashiCorpHashiCorp

TA-002-P · Question #367

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

The correct answer is A: True. {"question_number": 4, "explanation": "terraform init initializes the working directory and performs several setup tasks: it installs provider plugins, downloads and installs remote module source code into the .terraform/modules directory, and configures the backend. So yes, it r

Use the Terraform CLI (terraform plan, apply, destroy, fmt, init, validate, workspace, import, taint, providers, output)

Question

terraform init retrieves the source code tot all referenced modules

Options

  • ATrue
  • BFalse

Explanation

{"question_number": 4, "explanation": "terraform init initializes the working directory and performs several setup tasks: it installs provider plugins, downloads and installs remote module source code into the .terraform/modules directory, and configures the backend. So yes, it retrieves the source code for all referenced modules (both local paths are validated and remote sources like the Terraform Registry or Git are downloaded). Answer A (True) is correct.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#terraform init#modules#dependencies#CLI

Community Discussion

No community discussion yet for this question.

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