Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free HashiCorp VA-002-P Practice Exam with Questions & Answers | Set: 5

Questions 41

Which of the following best describes a Terraform provider?

Options:
A.

describes an infrastructure object, such as a virtual network, compute instance, or other components

B.

a container for multiple resources that are used together

C.

serves as a parameter for a Terraform module that allows a module to be customized

D.

a plugin that Terraform uses to translate the API interactions with the service or provider

HashiCorp VA-002-P Premium Access
Questions 42

By default, where does Terraform store its state file?

Options:
A.

shared directory

B.

current working directory

C.

Amazon S3 bucket

D.

remotely using Terraform Cloud

Questions 43

You are deploying Vault in a local data center, but want to be sure you have a secondary cluster in the event the primary cluster goes offline. In the secondary data center, you have applications that are running, as they are architected to run active/active. Which type of replication would be best in this scenario?

Options:
A.

disaster recovery replication

B.

single-node replication

C.

performance replication

D.

end-to-end replication

Questions 44

What type of policy is shown below?

1. key_prefix "vault/" {

2. policy = "write"

3. }

4. node_prefix "" {

5. policy = "write"

6. }

7. service "vault" {

8. policy = "write"

9. }

10. agent_prefix "" {

11. policy = "write"

12. }

13. session_prefix "" {

14. policy = "write"

15. }

Options:
A.

Vault policy allowing access to certain paths

B.

Consul ACL policy for a Vault node

C.

Consul configuration policy to enable Consul features

D.

Vault token policy is written for a user

Questions 45

Which of the following commands will launch the Interactive console for Terraform interpolations?

Options:
A.

terraform

B.

terraform console

C.

terraform cmdline

D.

terraform cli

Questions 46

A user creates three workspaces from the command line - prod, dev, and test. Which of the following commands will the user run to switch to the dev workspace?

Options:
A.

terraform workspace select dev

B.

terraform workspace -switch dev

C.

terraform workspace dev

D.

terraform workspace switch dev

Questions 47

You've deployed Vault in your production environment and are curious to understand metrics on your Vault cluster, such as the number of writes to the backend, the status of WALs, and the seal status. What feature would you configure in order to view these metrics?

Options:
A.

audit device

B.

telemetry

C.

nothing to configure, these are available in the Vault log found on the OS

D.

enable logs for each individual secrets engines

Questions 48

By default, how long does the transit secrets engine store the resulting ciphertext?

Options:
A.

24 hours

B.

32 days

C.

transit does not store data

D.

30 days

Questions 49

A user has created three workspaces using the command line - prod, dev, and test. The user wants to create a fourth workspace named stage. Which command will the user execute to accomplish this?

Options:
A.

terraform workspace -new stage

B.

terraform workspace -create stage

C.

terraform workspace create stage

D.

terraform workspace new stage

Questions 50

Anyone can publish and share modules on the Terraform Public Module Registry, and meeting the requirements for publishing a module is extremely easy. Select from the following list all valid requirements. (select three)

Options:
A.

The registry uses tags to identify module versions. Release tag names must be for the format x.y.z, and can optionally be prefixed with a v.

B.

Module repositories must use this three-part name format, terraform--.

C.

The module must be PCI/HIPPA compliant.

D.

The module must be on GitHub and must be a public repo

Exam Code: VA-002-P
Certification Provider: HashiCorp
Exam Name: HashiCorp Certified: Vault Associate
Last Update: Jul 15, 2025
Questions: 200

HashiCorp Free Exams

HashiCorp Free Exams
Unlock free HashiCorp exam resources and practice tests at Examstrack. Boost your HashiCorp exam readiness with top-notch materials.