Which of the following are string functions? Select three
A. tostring
B. tonumber
C. Chomp
D. format
E. join
You have a Terraform configuration file where a variable itemNum is defined as follows:
variable "itemNum" { default = 3}
You also have a defined the following environment variables in your shell: TF_itemNum =6, TF_VAR_itemNum =9. You also have a terraform.tfvars file with the following contents
itemNum = 7
When you run the following apply command, what is the value assigned to the itemNum variable?
terraform apply-var itemNum =4
A. 10
B. 6
C. 1
D. 4
E. 3
You have already set TF_LOG = DEBUG to enable debug log. Now you want to always write the log to the directory you're currently running terraform from. what should you do to achieve this.
A. Run the command export TF_LOG_FILE=./terraform.log.
B. Run the command export TF_LOG_PATH=./terraform.log.
C. Run the command export TF_DEBUG_PATH=./terraform.log.
D. No explicit action required. Terraform will take care of this as you have enable TF_LOG.
Which of the following best describes a Terraform provider?
A. A plugin that Terraform uses to translate the API interactions with the service or provider.
B. Serves as a parameter for a Terraform module that allows a module to be customized.
C. Describes an infrastructure object, such as a virtual network, compute instance, or other components.
D. A container for multiple resources that are used together.
If you delete a remote backend from the configuration, will you need to rebuild your state files locally?
A. False
B. True
Which of the below are paid features of Terraform Cloud?
A. Full API Coverage
B. Secure variable Storage
C. Roles/ Team management
D. Cost Estimation
E. Private Module Registry
F. Sentinel policies
You want terraform plan and apply to be executed in Terraform Cloud's run environment but the output is to be streamed locally. Which one of the below you will choose?
A. Local Backends
B. This can be done using any of the local or remote backends
C. Remote Backends
D. Terraform Backends
By default, a defined provisioner is a creation-time provisioner.
A. True
B. False
What is the standard workflow that a developer follows while working with terraform open source version?
A. Run terraform refresh to update the terraform state , then write the terraform code , and finally run terraform apply.
B. Run terraform destroy first since you need to start from fresh every time , before running terraform apply.
C. Write terraform code , and run terraform push , to update the terraform state to the remote repo , which in turn will take care of the next steps.
D. Write the terraform code on the developer machine , run terraform plan to check the changes , and run terraform apply to provision the infra.
You do not need to specify every required argument in the backend configuration. Omitting certain arguments may be desirable to avoid storing secrets, such as access keys, within the main configuration. When some or all of the arguments are omitted, we call this a _____________.
A. First Time Configuration
B. Default Configuration
C. Changing Configuration
D. Partial Configuration
E. Incomplete Configuration
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.