You have modified your local Terraform configuration and ran terraform plan to review the changes. Simultaneously, your teammate manually modified the infrastructure component you are working on. Since you already ran terraform plan locally, the execution plan for terraform apply will be the same.
A. True
B. False
When writing Terraform code, HashiCorp recommends that you use how many spaces between each nesting level?
A. 0
B. 1
C. 2
D. 4
Which of the following statements about local modules is incorrect:
A. Local modules are not cached by terraform init command
B. Local modules are sourced from a directory on disk
C. Local modules support versions
D. All of the above (all statements above are incorrect
E. None of the above (all statements above are correct)
How would you reference the Volume IDs associated with the ebs_block_device blocks in this configuration?
A. aws_instance.example.ebs_block_device.[*].volume_id
B. aws_instance.example.ebs_block_device.volume_id
C. aws_instance.example.ebs_block_device[sda2,sda3].volume_id
D. aws_instance.example.ebs_block_device.*.volume_id
What is the result of the following terraform function call?
A. True
B. False
Terraform is currently being used by your organisation to create resources on AWS for the development of a web application. One of your coworkers wants to change the instance type to "t2.large" while keeping the default set values. What adjustments does the teammate make in order to meet his goal?
A. Issue Terraform plan instance.type".t2.large" and it deploys the instance
B. Modify the tf.variableswith the instance type and issue terraform apply
C. Create a new file my.tfvars and add the type of the instance and issue terraform plan and apply
D. Modify the terraform.tfvars with the instance type and issue terraform plan and then terraform apply to deploy the instances
You're writing a Terraform configuration that needs to read input from a local file called id_rsa.pub. Which built-in Terraform function can you use to import the file's contents as a string?
A. fileset("id_rsa.pub")
B. filebase64("id_rsa.pub")
C. templatefile("id_rsa.pub")
D. file("id_rsa.pub")
Do terraform workspaces help in adding/allowing multiple state files for a single configuration?
A. True
B. False
To check if all code in a Terraform configuration with multiple modules is properly formatted without making changes, what command should be run?
A. terraform fmt-check
B. terraform fmt-write-false
C. terraform fmt "list-recursive
D. terraform fmt-check-recursive
Which of the following is a meta-argument defined in the configuration files of Terraform?
A. tfvar
B. depends_on
C. instance aws
D. varl
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.