Question 101 · 342 in bank
When you initialize Terraform, where does it cache modules from the public Terraform Module Registry?
Show answer
Answer: C
HashiCorp Certified: Terraform Associate (003)342 questions across 35 pages are complete and free, with no account or card.
342 questions in this bank
Free access · progress saved on this device
When you initialize Terraform, where does it cache modules from the public Terraform Module Registry?
Answer: C
You have a Terraform configuration that defines a single virtual machine with no references to it. You have run terraform apply to create the resource, then removed the resource definition from your Terraform configuration file. What will happen when you run terraform apply in the working directory again?
Answer: A
You write a new Terraform configuration and immediately run terraform apply in the CLI using the local backend. Why will the apply fail?
Answer: B
What features stops multiple admins from changing the Terraform state at the same time?
Answer: D
A fellow developer on your team is asking for some help in refactoring their Terraform code. As part of their application's architecture, they are going to tear down an existing deployment managed by Terraform and deploy new. However, there is a server resource named aws_instance.ubuntu[1] they would like to keep to perform some additional analysis. What command should be used to tell Terraform to no longer manage the resource?
Answer: B
A terraform apply can not _________ infrastructure.
Answer: D
You need to constrain the GitHub provider to version 2.1 or greater. Which of the following should you put into the Terraform 0.12 configuration's provider block?
Answer: D
You just scaled your VM infrastructure and realized you set the count variable to the wrong value. You correct the value and save your change. What do you do next to make your infrastructure match your configuration?
Answer: A
Terraform provisioners that require authentication can use the ______ block.
Answer: A
Terraform validate reports syntax check errors from which of the following scenarios?
Answer: D
Keyboard:J Kmove between questionsA–Dselect an answerRshow or hide the answer← →change page
TA-003 practice, question 101. 342 questions available.
Version 1.0.0. How we source questions