Exam Terraform-Associate-004 Topic 4 Question 73 Discussion
Actual exam question for HashiCorp's Terraform-Associate-004 exam
Question #: 73
Topic #: 4
Question #: 73
Topic #: 4
What task does the terraform import command perform?
Suggested Answer: B Vote an answer
Rationale for Correct Answer (B):
terraform import allows Terraform to associate existing resources (created outside of Terraform or by another tool) with a Terraform configuration by writing them into the state file. After import, Terraform can manage those resources.
Analysis of Incorrect Options:
A . From one state file to another: Incorrect, import does not transfer between state files.
C . Importing a module: Incorrect, modules are defined in configuration, not imported.
D . Import all infrastructure: Incorrect, import is per-resource, not bulk.
E . Provider configuration transfer: Incorrect, provider configs are in .tf files, not imported with this command.
Key Concept:
The terraform import command bridges existing resources with Terraform state management.
Reference:
Terraform Exam Objective - Implement and Maintain State.
terraform import allows Terraform to associate existing resources (created outside of Terraform or by another tool) with a Terraform configuration by writing them into the state file. After import, Terraform can manage those resources.
Analysis of Incorrect Options:
A . From one state file to another: Incorrect, import does not transfer between state files.
C . Importing a module: Incorrect, modules are defined in configuration, not imported.
D . Import all infrastructure: Incorrect, import is per-resource, not bulk.
E . Provider configuration transfer: Incorrect, provider configs are in .tf files, not imported with this command.
Key Concept:
The terraform import command bridges existing resources with Terraform state management.
Reference:
Terraform Exam Objective - Implement and Maintain State.
by Beau at Mar 10, 2026, 10:01 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).