HashiCorp Terraform-Associate-004 - HashiCorp Certified: Terraform Associate (004) (HCTA0-004)
Total 385 questions
Which of these actions are forbidden when the Terraform state file is locked? (Pick the 3 correct responses)
Terraform configuration (including any module references) can contain only one Terraform provider type.
You are responsible for a set of infrastructure that is managed by two workspaces: example-network and example-compute. The example-compute workspace uses data from output values configured in the example-network workspace and must be deployed afterward. Currently, this is a manual process:
An operator deploys changes to the example-network workspace.
They manually copy the output values from the example-network workspace to input variables configured for the example-compute workspace.
They deploy the example-compute workspace.
Which HCP Terraform features can you use to automate this process?
Pick the two correct responses below.
How does an HCP Terraform integration using the cloud block differ from remote backends such as S3?
Which of these workflows is only enabled by the use of Infrastructure as Code?
You have successfully deployed an application that includes a resource with a public IP address. Due to a configuration oversight, no outputs were defined.
Using the Terraform CLI, how can you find the IP address of the deployed resource with minimum disruption to the application?
You can configure Terraform to log to a file using the TF_LOG environment variable.
Exhibit:
resource " kubernetes_namespace " " example " {
name = " test "
}
A resource block is shown in the exhibit. How would you reference the name attribute of this resource in HCL?
Multiple team members are collaborating on infrastructure using Terraform and want to format the* Terraform code following standard Terraform-style convention.
How should they ensure the code satisfies conventions?
When using multiple configurations of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?
