What does state locking accomplish?
A. Copies the state file from memory to disk
B. Encrypts any credentials stored within the state file
C. Blocks Terraform commands from modifying the state file
D. Prevents accidental deletion of the state file
What command can you run to generate DOT (Document Template) formatted data to visualize Terraform dependencies?
A. terraform refresh
B. terraform show
C. terraform graph
D. terraform output
HashiCorp offers multiple versions of Terraform, including Terraform open-source, Terraform Cloud, and Terraform Enterprise. Which of the following Terraform features are only available in the Enterprise edition? (select four)
A. SAML/SSO
B. Sentinel
C. Audit Logs
D. Clustering
E. Private Module Registry
F. Private Network Connectivity
In a Terraform Cloud workspace linked to a version control repository, speculative plan runs start automatically when you merge or commit changes to version control.
A. True
B. False
Your team lead does not trust the junior terraform engineers who now have access to the git repo . So , he wants you to have some sort of a checking layer , whereby , you can ensure that the juniors will not create any non-compliant resources that might lead to a security audit failure in future. What can you do to efficiently enforce this?
A. Create a design /security document (in PDF) and share to the team , and ask them to always follow that document , and never deviate from it.
B. Since your team is using Hashicorp Terraform Enterprise Edition , enable Sentinel , and write Policy-As-Code rules that will check for non-compliant resource provisioning , and prevent/report them.
C. Use Terraform OSS Sentinel Lite version , which will save cost , since there is no charge for OSS , but it can still check for most non-compliant rules using Policy-As-Code.
D. Create a git master branch , and implement PR . Every change needs to be reviewed by you , before being merged to the master branch.
Choose the answer that correctly completes the sentence: _______backends support state locking.
A. All
B. No
C. Only local
D. Some
Which of the following is not a benefit of adopting infrastructure as code?
A. Automation
B. Versioning
C. Reusability of code
D. Interpolation
When using constraint expressions to signify a version of a provider, which of the following are valid provider versions that satisfy the expression found in the following code snippet: (select two)
1.
terraform
2.
{
3.
required_providers
4.
{
5.
aws = "~> 1.2.0"
6.
}
7.
}
A. 1.3.1
B. 1.2.3
C. 1.2.9
D. 1.3.0
You have decided to create a new Terraform workspace to deploy a development environment. What is different about this workspace?
A. It uses a different branch of code
B. It uses a different backend
C. It has its own state file
D. It pulls in a different terraform.tvars file
Which of the following terraform subcommands could be used to remove the lock on the state for the current configuration?
A. Unlock
B. force-unlock
C. Removing the lock on a state file is not possible
D. state-unlock
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.