TA-002-P · Question #348
TA-002-P Question #348: Real Exam Question with Answer & Explanation
The correct answer is B: Init. {"question_number": 4, "correct_answer": "B", "explanation": "'terraform init' is the phase that downloads and installs providers. When you run 'terraform init', Terraform reads the required_providers block (or infers provider requirements from resource types), contacts the Terra
Question
Terra form installs its providers during which phase?
Options
- AMan
- BInit
- CRefresh
- DAll of the above
Explanation
{"question_number": 4, "correct_answer": "B", "explanation": "'terraform init' is the phase that downloads and installs providers. When you run 'terraform init', Terraform reads the required_providers block (or infers provider requirements from resource types), contacts the Terraform Registry (or a configured mirror), downloads the correct provider binaries, and caches them in the .terraform directory. This must happen before 'terraform plan' or 'terraform apply' can run. The 'refresh' phase updates state to match real infrastructure but does not install providers.", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.