HashiCorp Terraform-Associate-004 - HashiCorp Certified: Terraform Associate (004) (HCTA0-004)
Total 366 questions
Which configuration consistency errors does terraform validate report?
What type of information can be found on the Terraform Registry when using published modules?
After creating a new Terraform configuration, your configuration passes terraform validate but returns an “Access Denied†error from the cloud provider when running terraform plan.
Why did terraform validate not catch this issue?
Which of the following should you add in the required_providers block to define a provider version constraint?
Exhibit:
data " vsphere_datacenter " " dc " {}
resource " vsphere_folder " " parent " {
path = " Production "
type = " vm "
datacenter_id = _________
}
You want to pass the id of the vsphere_datacenter data source to the datacenter_id argument of the vsphere_folder resource. Which reference would you use?
Which of the following does terraform apply change after you approve the execution plan? (Choose two.)
A developer accidentally launched a VM (virtual machine) outside of the Terraform workflow and ended up with two servers with the same name. They don ' t know which VM Terraform manages but do have a list of all active VM IDs.
Which of the following methods could you use to discover which instance Terraform manages?
What does Terraform not reference when running a terraform apply -refresh-only ?
You ' re building a CI/CD (continuous integration/continuous delivery) pipeline and need to inject sensitive variables into your Terraform run. How can you do this safely?
A module can always refer to all variables declared in its parent module.
