TA-002-P Sample Test HashiCorp Certified: Terraform Associate https://www.passcert.com/TA-002-P.html Download Passcert latest TA-002-P Sample Test to help you pass successfully Question 1 Which option can not be used to keep secrets out of Terraform configuration files? A. A Terraform provider B. Environment variables C. A -var02 flag D. secure string Answer: C 03 04 Download Passcert latest TA-002-P Sample Test to help you pass successfully Question 2 Terraform can run on Windows or Linux, but it requires a Server version of the Windows01 operating system. A. True B. False Answer: A02 03 04 Download Passcert latest TA-002-P Sample Test to help you pass successfully Question 3 You have used Terraform to create an ephemeral development environment in the 01 cloud and are now ready to destroy all the infrastructure described by your Terraform configuration. To be safe, you would like to first see all the infrastructure that will be deleted by Terraform. 02 should you use to show all of the resources that will be deleted? Which command (Choose two.) A. Run terraform plan -destroy. B. This is not possible. You can only show resources that will be created. 03 state rm *. C. Run terraform D. Run terraform destroy and it will first output all the resources that will be deleted before prompting for approval. Answer: C,D 04 Download Passcert latest TA-002-P Sample Test to help you pass successfully Question 4 A Terraform provisioner must be nested inside a resource configuration block. A. True 01 B. False Answer: A 02 03 04 Download Passcert latest TA-002-P Sample Test to help you pass successfully Question 5 01 destroy infrastructure, what is the best practice reflecting this If you manually change in Terraform? A. Run terraform refresh B. It will happen automatically 02update the state fire C. Manually D. Run terraform import Answer: B 03 04 Download Passcert latest TA-002-P Sample Test to help you pass successfully Question 6 What command does Terraform require the first time you run it within a configuration 01 directory? A. terraform import B. terraform init C. terraform plan 02workspace D. terraform Answer: B 03 04 Download Passcert latest TA-002-P Sample Test to help you pass successfully Question 7 Only the 01 user that generated a plan may apply it. A. True B. False Answer: 02 A 03 04 Download Passcert latest TA-002-P Sample Test to help you pass successfully Question 8 You run 01a local-exec provisioner in a null resource called null_resource.run_script and realize that you need to rerun the script. Which of the following commands would you use first? 02 taint null_resource.run_script A. terraform B. terraform apply -target=null_resource.run_script C. terraform validate null_resource.run_script 03 plan -target=null_resource.run_script D. terraform Answer: A 04 Download Passcert latest TA-002-P Sample Test to help you pass successfully Question 9 Where does the Terraform local backend store its state? A. In the01 /tmp directory B. In the terraform.tfvars file C. In the terraform.tfstate file D. In the02user's .terraformrc file Answer: C 03 04 Download Passcert latest TA-002-P Sample Test to help you pass successfully Question 10 Which of the following is not a key principle of infrastructure as code? 01 infrastructure A. Versioned B. Golden images C. Idempotence D. Self-describing 02 infrastructure Answer: A,B,D 03 04 Thank you More Information, you can visit Passcert.com
Enter the password to open this PDF file:
-
-
-
-
-
-
-
-
-
-
-
-