Exam style questions across every Terraform-Associate-004 domain
Last Update 1 day ago
Total Questions : 385
Start with our free Terraform-Associate-004 practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real Terraform Associate exam. Each Terraform-Associate-004 exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your HashiCorp weak domains, see where you're losing marks, and build a focused study plan in minutes.
Exhibit:
resource " aws_instance " " example " {
ami = " ami-0a123456789abcdef "
instance_type = " t3.micro "
}
You are updating a child module with the resource block shown in the exhibit. The public_ip attribute of the resource needs to be accessible to the parent module. How do you meet this requirement?
A resource block is shown in the Exhibit space of this page. What is the Terraform resource name of that resource block?
A module block used in your configuration is shown in the exhibit. You have been asked to update the version of this module from 4.2.1 to 5.0.0.
Exhibit:
module " compute " {
source = " Azure/compute/azurerm "
version = " 4.2.1 "
}
Which two steps must you take to accomplish this?
Your security team scanned some Terraform workspaces and found secrets stored in plaintext in state files. How can you protect that data?
Which option does not keep secret variable values out of Terraform configuration files?
Which features do HCP Terraform workspaces provide that are not available in Terraform Community Edition? (Pick the 3 correct responses below.)
Which are examples of infrastructure as code? Choose two correct answers.
