Question 11 · 27 in bank
When a check block’s assertion fails, Terraform blocks the current operation from executing.
Show answer
Answer: B
HashiCorp Certified: Terraform Associate (004)27 questions across 3 pages are complete and free, with no account or card.
27 questions in this bank
Free access · progress saved on this device
When a check block’s assertion fails, Terraform blocks the current operation from executing.
Answer: B
You modified your local Terraform configuration and ran terraform plan to review the changes. Simultaneously, your teammate manually modified the infrastructure component you are working on. Since you already ran terraform plan locally, the execution plan for terraform apply will be the same.
Answer: B
Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.
Answer: B
Your team adopts an AWS CloudFormation as the standardized method for provisioning public cloud resources. Which scenario presents a challenge for your team?
Answer: A
A resource block is shown in the Exhibit space of this page. resource “aws_vpc” “main” { name = “test” } What is the provider for this resource?
Answer: C
Terraform providers are always installed from the internet.
Answer: B
You need to determine from which paths Terraform is loading the providers referenced in your *.tf files. How can you enable additional logging to see this information?
Answer: B
Your team is using a version 3.1.4 of a module from the public Terraform Registry, and they’re worried about possible breaking changes in future versions of the module. Which version argument should you add to the module block to prevent newer versions from being used?
Answer: D
Which syntax check returns an error when you run terraform validate?
Answer: B
Which of these is stored in the .terraform directory?
Answer: A
Keyboard:J Kmove between questionsA–Dselect an answerRshow or hide the answer← →change page
TA-004 practice, question 11. 27 questions available.
Version 1.0.0. How we source questions