
HashiCorp Certified:Terraform Associate
Domain 7Objective 1
7a Import Existing Infrastructure into Your Terraform Workspace TERRAFORM-ASSOCIATE-004 Practice Questions (Page 3)
Part of the Maintain infrastructure with Terraform domain, which makes up ~7% of our current practice bank. HashiCorp does not publish an official question count, but from its 60-minute exam (~25–40 total, ~2–3 in this domain), expect 1–1 from this objective — we provide 22 practice questions to prepare you well beyond it. (estimate)
22questions here
5free pages
5concepts
Questions 11–15
- 11
Which Terraform command is used to bring an existing cloud resource into Terraform management by adding it to the state file?
Select an answer first - 12
A company has imported an existing Azure App Service plan into Terraform. The plan is named 'asp-prod' and is in the 'prod-rg' resource group. The configuration has a resource block azurerm_app_service_plan.main. After import, they run terraform plan and see that Terraform wants to change the SKU tier from 'PremiumV3' to 'Standard'. The actual plan is PremiumV3. What is the most likely reason for this?
Select an answer first - 13
What is a common cause of the error 'resource address ... does not exist in the configuration' when running terraform import?
Select an answer first - 14
A developer is trying to import an existing Google Cloud Storage bucket into Terraform. They run the command: terraform import google_storage_bucket.bucket my-bucket-name. The command fails with the error: 'Error: Cannot import non-existent remote object'. What is the most likely cause?
Select an answer first - 15
An organization has imported a legacy Azure VM into Terraform. After import, they run terraform plan and see that Terraform wants to change the VM's SKU size from Standard_D2s_v3 to Standard_B2s. The actual VM is running Standard_D2s_v3. What should the team do to ensure the next terraform apply does not resize the VM?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by HashiCorp. “TERRAFORM-ASSOCIATE-004” is a trademark of its owner, used for identification only.