HashiCorp Terraform-Associate-004 - HashiCorp Certified: Terraform Associate (004) (HCTA0-004)
Total 385 questions
Why would you use the -replace flag for terraform apply?
When you initialize Terraform, where does it cache modules from the public Terraform Registry?
Which of these actions will prevent two Terraform runs from changing the same state file at the same time?
What does terraform destroy do?
Which is a benefit of using infrastructure as code (IaC) tools compared to native platform APIs?
When using multiple configuration of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?
Exhibit:
variable " sizes " {
type = list(string)
description = " Valid server sizes "
default = [ " small " , " medium " , " large " ]
}
A variable declaration is shown in the exhibit. Which is the correct way to get the value of medium from this variable?
When do changes invoked by terraform apply take effect?
Which method for sharing Terraform configurations fulfills the following criteria:
1. Keeps the configurations confidential within your organization
2. Support Terraform’s semantic version constrains
3. Provides a browsable directory
Which command should you run to check if all code in a Terraform configuration that references multiple modules is properly formatted without making changes?
