Free HashiCorp VA-002-P Exam Actual Questions

The questions for VA-002-P were last updated On Jan 12, 2025

Question No. 1

Which command is used to initialize Vault after first starting the Vault service?

Show Answer Hide Answer
Correct Answer: B

The vault operator init command initializes a Vault server. Initialization is the process by which Vault's storage backend is prepared to receive data.

This only happens once when the server is started against a new backend that has never been used with Vault before.

Reference link is below:- https://www.vaultproject.io/docs/commands/operator/init


Question No. 2

In order to reduce the time it takes to provision resources, Terraform uses parallelism. By default, how many resources will Terraform provision concurrently?

Show Answer Hide Answer
Correct Answer: D

Terraform can limit the number of concurrent operations as Terraform walks the graph using the -parallelism=n argument. The default value for this setting is 10. This setting might be helpful if you're running into API rate limits.


Question No. 3

After logging into the Vault UI, a user complains that they cannot enable Replication. Why would the replication configuration be missing?

Show Answer Hide Answer
Correct Answer: C

Replication is not available in open-source versions of Vault. It is an enterprise feature.


Question No. 4

True or False: Provisioners should only be used as a last resort.

Show Answer Hide Answer
Correct Answer: A

Provisioners are used to execute scripts on a local or remote machine as part of resource creation or destruction. Provisioners can be used to bootstrap a resource, cleanup before destroy, run configuration management, etc. Even if the functionality you need is not available in a provider today, HashiCorp suggests that you consider local-exec usage as a temporary workaround and to open an issue in the relevant provider's repo to discuss adding first-class support.


Question No. 5

Terraform-specific settings and behaviors are declared in which configuration block type?

Show Answer Hide Answer
Correct Answer: C

The special terraform configuration block type is used to configure some behaviors of Terraform itself, such as requiring a minimum Terraform version to apply your configuration.