HashiCorp Certified: Vault Associate - VA-002-P Exam Practice Test

What is the best and easiest way for Terraform to read and write secrets from HashiCorp Vault?
Correct Answer: C Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
True or False? By default, Terraform destroy will prompt for confirmation before proceeding.
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
In order to reduce the time it takes to provision resources, Terraform uses parallelism. By default, how many resources will Terraform provision concurrently?
Correct Answer: C Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Why might a user opt to include the following snippet in their configuration file?
1. terraform {
2. required_version = ">= 0.12"
3. }
Correct Answer: D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
When creating a dynamic secret in Vault, Vault returns what value that can be used to renew or revoke the lease?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
By default, how long does the transit secrets engine store the resulting ciphertext?
Correct Answer: D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
What feature of Vault would allow you to architect a "Vault within a Vault"?
Correct Answer: C Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
You've logged into the Vault CLI and attempted to enable an auth method, but received this error message. What can be done to resolve the error and configure Vault?
Error enabling userpass auth: Post https://127.0.0.1:8200/v1/sys/auth/userpass: http: server gave HTTP response to HTTPS client
Correct Answer: A Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
As opposed to service tokens, batch tokens are ideal for what type of action?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
When writing the Terraform code, HashiCorp recommends that you use how many spaces between each nesting level?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
You want to use terraform import to start managing infrastructure that was not originally provisioned through infrastructure as code. Before you can import the resource's current state, what must you do in order to prepare to manage these resources using Terraform?
Correct Answer: A Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
What are some of the problems of how infrastructure was traditionally managed before Infrastructure as Code? (select three)
Correct Answer: A,B,C Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
In order to make a Terraform configuration file dynamic and/or reusable, static values should be converted to use what?
Correct Answer: C Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
What is the purpose of using the local-exec provisioner? (select two)
Correct Answer: A,B Vote an answer