HashiCorp HashiCorp Security Automation Certification

HashiCorp VA-002-P Exam Dumps

HashiCorp Certified: Vault Associate

Exam code
VA-002-P
Questions
200
Updated
25 Nov 2026
  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email
Choose a format
Try free sample questions

Prices in USD. Downloads appear in My Account once your order is complete.

  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email
Free demo

VA-002-P sample questions

Check the style and quality of the material before you buy.

Question 1

In regards to using a K/V v2 secrets engine, select the three correct statements below: (select three)

  • A. issuing a vault kv destroy statement permanently deletes a single version of a secret
  • B. issuing a vault kv destroy statement deletes all versions of a secret
  • C. issuing a vault kv delete statement permanently deletes the secret
  • D. issuing a vault kv metadata delete statement permanently deletes the secret
  • E. issuing a vault kv delete statement performs a soft delete

Answer: A, D, E

Explanation

The kv delete command is like a soft delete which deletes the data for the provided path in the key/value secrets engine. If using K/V Version 2, its versioned data will not be fully removed, but marked as deleted and will no longer be available for normal get requests. The kv destroy command permanently removes the specified versions' data from the key/value secrets engine. If no key exists at the path, no action is taken. It does not deletes all versions of a secret. The kv metadata delete command deletes all versions and metadata for the provided key

Question 2

True or False: When encrypting data with the transit secrets engine, Vault always stores theciphertext in a dedicated KV store along with the associated encryption key.

  • A. False
  • B. True

Answer: A

Explanation

Vault doesn't store the data sent to the secrets engine. The transit secrets engine handles cryptographic functions on data-in-transit. It can also be viewed as "cryptography as a service" or "encryption as a service". The transit secrets engine can also sign and verify data; generate hashes and HMACs of data; and act as a source of random bytes. Reference link:- https://www.vaultproject.io/docs/secrets/transit

Question 3

From the options below, select the benefits of using a batch token over a service token. (select three)

  • A. no storage cost for token creation
  • B. lightweight and scalable
  • C. can be a root token
  • D. used for ephemeral, high-performance workloads
  • E. has accessors

Answer: A, B, D

Explanation

Service Tokens Service tokens are what users will generally think of as "normal" Vault tokens. They support all features, such as renewal, revocation, creating child tokens, and more. They are correspondingly heavyweight to create and track. Batch Tokens Batch tokens are encrypted blobs that carry enough information for them to be used for Vault actions, but they require no storage on disk to track them. As a result, they are extremely lightweight and scalable but lack most of the flexibility and features of service tokens. Reference link:- https://www.vaultproject.io/docs/concepts/tokens

Question 4

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. }

  • 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

Answer: B

Explanation

If using ACLs in Consul, you'll need appropriate permissions. For Consul 0.8, these policies will work for most use-cases, assuming that your service name is vault and the prefix being used is vault/Consul ACLs should always be enabled when using Consul as a storage backend. This policy allows Vault to communicate to the required services hosted on Consul. Reference link:- https://www.vaultproject.io/docs/configuration/storage/consul

Question 5

From the options below, select the benefits of using the PKI (certificates) secrets engine: (selectthree)

  • A. TTLs on Vault certs are longer to ensure certificates are valid for a longer period of time
  • B. Vault can act as an intermediate CA
  • C. reducing, or eliminating certificate revocations
  • D. reduces time to get a certificate by eliminating the need to generate a private key and CSR

Answer: B, C, D

Explanation

Reference link:- https://www.vaultproject.io/docs/secrets/pki

Question 6

Select the policies below that permit you to create a new entry of foo=bar at the path/secrets/apps/my_secret (select three)

  • A.path "secrets/apps/my_secret" {capabilities = ["create"]allowed_parameters = {"foo" = []}}
  • B.path "secrets/+/my_secret" {capabilities = ["create"]allowed_parameters = {"*" = ["bar"]}}C.path "secrets/apps/my_secret" {capabilities = ["update"]}
  • D.path "secrets/apps/*" {capabilities = ["create"]allowed_parameters = {"foo" = ["bar", "zip"]}}

Answer: A, B

Explanation

Setting a parameter with a value of the empty list allows the parameter to contain any value. Setting a parameter with a value of a populated list allows the parameter to contain only those values. If any keys are specified, all non-specified parameters will be denied unless the parameter "*" is set to an empty array, which will allow all other parameters to be modified. Parameters with specific values will still be restricted to those values.

Question 7

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

  • A. 24 hours
  • B. 32 days
  • C. transit does not store data
  • D. 30 days

Answer: C

Explanation

Vault does NOT store any data encrypted via the transit/encrypt endpoint. The output you received is the ciphertext. You can store this ciphertext at the desired location (e.g. MySQL database) or pass it to another application

Question 8

What is the proper command to enable the AWS secrets engine at the default path?

  • A. vault enable secrets aws
  • B. vault secrets aws enable
  • C. vault secrets enable aws
  • D. vault enable aws secrets engine

Answer: C

Explanation

The command format for enabling Vault features is vault <feature> <enable/disable> <name>, therefore the correct answer would be vault secrets enable aws

Question 9

Beyond encryption and decryption of data, which of the following is not a function of the Vaulttransit secrets engine?

  • A. generate hashes and HMACs of data
  • B. sign and verify data
  • C. act as a source of random bytes
  • D. store the encrypted data securely in Vault for retrieval

Answer: D

Explanation

Vault doesn't store the data sent to the secrets engine. The transit secrets engine handles cryptographic functions on data-in-transit. It can also be viewed as "cryptography as a service" or "encryption as a service". The transit secrets engine can also sign and verify data; generate hashes and HMACs of data; and act as a source of random bytes.

Question 10

Given the policy below, what would the user be able to access?1. path "*" {2. capabilities = ["create", "update", "read", "list", "delete", "sudo"]3. }

  • A. anything they want to within Vault
  • B. ability to enable a secret engine at the path *
  • C. only make changes to policies
  • D. nothing, since the policy doesn't specify any specific paths

Answer: A

Explanation

All interactions with Vault are done through its pathing structure. If you create a policy with a wildcard, you are giving them access to any path within Vault

Why Dumpsforsure is the best choice for HashiCorp VA-002-P exam preparation

Secure your position in a competitive IT industry

The HashiCorp VA-002-P certification is a strong way to demonstrate your understanding and ability. Our VA-002-P questions & answers help you prepare for it, so you can secure your current position and move your career forward.

Reviewed by IT professionals

We keep our VA-002-P exam dumps up to date, with explanations. The questions and answers on Dumpsforsure are reviewed by people with professional experience of HashiCorp technologies.

One place to prepare

Dumpsforsure brings together the material you need for the HashiCorp VA-002-P exam. Explanations are added to the questions to help you understand the logic behind them and prepare for other HashiCorp exams.

Updated VA-002-P questions & answers

We update the exam files regularly to add new questions. The date of the latest update is shown at the top of this page.

Free VA-002-P demo before you buy

You can view sample VA-002-P questions on this page before buying, to see the format and pattern of the material.

90 days of free updates

You are eligible for 90 days of free updates after buying the VA-002-P exam. If the file is updated in that time, you can download the latest version from your account.

Ready to prepare?

HashiCorp VA-002-P · 200 questions

Choose a format