Question 211 · 342 in bank
You can access state stored with the local backend by using the terraform_remote_state data source.
Show answer
Answer: A
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
You can access state stored with the local backend by using the terraform_remote_state data source.
Answer: A
You have been working in a Cloud provider account that is shared with other team members. You previously used Terraform to create a load balancer that is listening on port 80. After some application changes, you updated the Terraform code to change the port to 443. You run terraform plan and see that the execution plan shows the port changing from 80 to 443 like you intended, and step away to grab some coffee. In the meantime, another team member manually changes the load balancer port to 443 through the Cloud provider console before you get back to your desk. What will happen when you terraform apply upon returning to your desk?
Answer: C
In a Terraform Cloud workspace linked to a version control repository, speculative plan runs start automatically when you merge or commit changes to version control.
Answer: A
You have some Terraform code and a variable definitions file named dev.auto.tfvars that you tested successfully in the dev environment. You want to deploy the same code in the staging environment with a separate variable definition file and a separate state file. Which two actions should you perform? (Choose two.)
Answer: BC
The ________ determines how Terraform creates, updates, or deletes resources.
Answer: C
Terraform destroy is the only way to remove infrastructure.
Answer: B
Which of the following is the correct way to pass the value in the variable num_servers into a module with the input servers in HCL2?
Answer: A
Which of the fallowing commands would you use to access all of the attributes and details of a resource managed by Terraform?
Answer: B
How would you be able to reference an attribute from the vsphere_datacenter data source for use with the datacenter_id argument within the vsphere_folder resource in the following configuration?
Answer: D
You decide to move a Terraform state file to Amazon S3 from another location. You write the code below into a file called backend.tf.
Which command will migrate your current state file to the new S3 remote backend?
Answer: B
Keyboard:J Kmove between questionsA–Dselect an answerRshow or hide the answer← →change page
TA-003 practice, question 211. 342 questions available.
Version 1.0.0. How we source questions