Choose the best option from below to make Terraform code more user configuration-centric.
A. Variables
B. Local values
C. Input Variable
D. Modules
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, and then removed the resource definition from your Terraform configuration file. What will happen when you run terraform apply in the working directory again?
A. Nothing
B. Terraform will destroy the virtual machine
C. Terraform will error
D. Terraform will remove the virtual machine from the state file, but the resource will still exist
Which of the following is not a way to trigger terraform destroy ?
A. Passing---destroy at the end of apian request
B. Running terraform destroy from the correct directory and then typing "yes" when prompted in the CLI
C. Using the destroy command with auto approve
D. Delete the state file and run terraform apply
Complete the following sentence:
The terraform state command can be used to ____
A. modify state
B. view state
C. refresh state
D. There is no such command
Using the terraform state rm command against a resource will destroy it.
A. True
B. False
You can reference a resource created with for_each using a Splat (*) expression.
A. True
B. False
From the code below, identify the implicit dependency:
A. The EIP with an id of ami-2757f631
B. The AMI used for the EC2 instance
C. The EC2 instance labeled web_server
D. The S3 bucket labeled company_data
Terraform Cloud is available only as a paid offering from HashiCorp.
A. True
B. False
What advantage does an operations team that uses infrastructure as code have?
A. The ability to delete infrastructure
B. The ability to reuse best practice configurations and settings
C. The ability to autoscale a group of servers
D. The ability to update existing infrastructure
Which statements best describes what the local variable assignment is doing in the following code snippet:
A. Create a distinct list of route table name objects
B. Create a map of route table names to subnet names
C. Create a map of route table names from a list of subnet names
D. Create a list of route table names eliminating duplicates
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only HashiCorp exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your TA-002-P exam preparations and HashiCorp certification application, do not hesitate to visit our Vcedump.com to find your solutions here.