HashiCorp Certified: Terraform Associate (003) (HCTA0-003) - Terraform-Associate-003 Exam Practice Test

What does this code do?
terraform { required_providers { aws = ">= 3.0" }}
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Terraform providers are part of the Terraform core binary.
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
You want to know from which paths Terraform is loading providers referenced in your Terraform configuration (* files). You need to enable additional logging messages to find this out. Which of the following would achieve this?
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
You have a simple Terraform configuration containing one virtual machine (VM) in a cloud provider. You run terraform apply and the VM is created successfully. What will happen if you terraform apply again immediately afterward without changing any Terraform code?
Correct Answer: D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A Terraform backend determines how Terraform loads state and stores updates when you execute which command?
Correct Answer: C
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Which of the following is not a valid string function in Terraform?
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
In a Terraform Cloud workpace linked to a version control repository speculative plan rum start automatically commit changes to version control.
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Terraform configuration can only call modules from the public registry.
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
A developer on your team is going lo leaf down an existing deployment managed by Terraform and deploy a new one. However, there is a server resource named aws instant.ubuntu[l] they would like to keep. What command should they use to tell Terraform to stop managing that specific resource?
Correct Answer: C
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).