What is the purpose of a Terraform workspace in either open source of enterprise?
A. Workspaces allow you to manage collections of infrastructure in state files.
B. A logical separation of business units
C. A method of grouping multiple infrastructure security policies
D. Provides limited access to a cloud environment
You have created a custom variable definition file my_vars.tfvars. How will you use it for provisioning infrastructure?
A. terraform apply-var-state-file ="my_vars.tfvars"
B. terraform apply var-file="my_vars.tfvars"
C. terraform plan-var-file="my_vars.tfvar"
D. terraform apply-var-file="my_vars.tfvars"
Provider dependencies are created in several different ways. Select the valid provider dependencies from the following list: (select three)
A. Explicit use of a provider block in configuration, optionally including a version constraint.
B. Use of any resource belonging to a particular provider in a resource or data block in configuration.
C. Existence of any resource instance belonging to a particular provider in the current state.
D. Existence of any provider plugins found locally in the working directory.
As a member of the operations team, you need to run a script on a virtual machine created by Terraform. Which provisioned is best to use in your Terraform code?
A. local-exec
B. file
C. null-exec
D. remote-exec
A Terraform backend determines how Terraform loads state and stores updates when you execute ___________.
A. apply
B. taint
C. destroy
D. All of the above
E. None of the above
You are creating a Terraform configuration which needs to make use of multiple providers, one for AWS and one for Datadog.
Which of the following provider blocks would allow you to do this?
A. Option A
B. Option B
C. Option C
terraform validate reports HCL syntax errors.
A. True
B. False
Talal is a DevOps engineer and he has deployed the production infrastructure using Terraform. He is using a very large configuration file to maintain and update the actual infrastructure. As the infrastructure have grown to a very complex and large, he has started experiencing slowness when he run runs terraform plan. What are the options for him to resolve this slowness?
A. Use-refresh=true flag as well as the-target flag with terraform plan in order to work around this.
B. Run terraform refresh every time before running terraform plan.
C. Break large configurations into several smaller configurations that can each be independently applied.
D. Use-refresh=false flag as well as the-target flag with terraform plan in order to work around this.
Which of the following is the safest way to inject sensitive values into a Terraform Cloud workspace?
A. Write the value to a file and specify the file with the-var-file flag
B. Set a value for the variable in the UI and check the "Sensitive" check box
C. Edit the state file directly just before running terraform apply
D. Set the variable value on the command line with the-var flag
As a member of an operations team that uses infrastructure as code (laC) practices, you are tasked with making a change to an infrastructure stack running in a public cloud. Which pattern would follow laC best practices for making a change?
A. Make the change via the public cloud API endpoint
B. Make the change programmatically via the public cloud CLI
C. Submit a pull request and wait for an approved merge of the proposed changes
D. Use the public cloud console to make the change after a database record has been approved
E. Clone the repository containing your infrastructure code and then run the code
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.