Summer Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: s2p65

Easiest Solution 2 Pass Your Certification Exams

VA-002-P HashiCorp Certified: Vault Associate Free Practice Exam Questions (2025 Updated)

Prepare effectively for your HashiCorp VA-002-P HashiCorp Certified: Vault Associate certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 2 / 3
Total 200 questions

Which of the following actions are performed during a terraform init? (select three)

A.

provisions the declared resources in your configuration

B.

download the declared providers which are supported by HashiCorp

C.

initializes the backend configuration

D.

initializes downloaded and/or installed providers

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

Vault does not trust the storage backend.

A.

False

B.

True

In regards to the transit secrets engine, which of the following is true given the following command and output: (select three)

1. $ vault write encryption/encrypt/creditcard plaintext=$(base64 <<< "1234 5678 9101 1121")

2. Key Value

3. --- -----

4. ciphertext vault:v3:cZNHVx+sxdMErXRSuDa1q/pz49fXTn1PScKfhf+PIZPvy8xKfkytpwKcbC0fF2U=

A.

there are at least three data keys associated with this keyring

B.

the name of the keyring used to encrypt the data is creditcard

C.

the data was written to the encryption path, which is provided by default when enabling the transit secrets engine

D.

the transit secrets engine is mounted at the encryption path

Which of the following policies would permit a user to generate dynamic credentials on a database?

A.

path "database/creds/read_only_role" {

capabilities = ["read"]

}

B.

path "database/creds/read_only_role" {

capabilities = ["generate"]

}

C.

path "database/creds/read_only_role" {

capabilities = ["list"]

}

D.

path "database/creds/read_only_role" {

capabilities = ["sudo"]

}

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

A.

replication wasn't configured in the Vault configuration file

B.

replication hasn't been enabled

C.

Vault is running an open-source version

D.

replication configuration isn't available in the UI

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

Vault policies are deny by default

A.

TRUE

B.

FALSE

In regards to deploying resources in multi-cloud environments, what are some of the benefits of using Terraform rather than a provider's native tooling? (select three)

A.

Terraform simplifies management and orchestration, helping operators build large-scale, multi-cloud infrastructure

B.

Terraform can help businesses deploy applications on multiple clouds and on-premises infrastructure

C.

Terraform can manage cross-cloud dependencies

D.

Terraform is not cloud-agnostic and can be used to deploy resources across a single public cloud

Which of the following best describes a token accessor?

A.

a value that acts as a reference to a token which can be used to perform limited actions against the token

B.

a token used for Consul to access Vault auth methods

C.

describes the value associated with the tokens TTL

D.

a value that describes which clients have access to the attached token

Complete the following sentence:

The terraform state command can be used to ____

A.

view the entire state file

B.

modify the current state, such as removing items

C.

refresh the existing state

D.

there is no such command

Which Terraform command will force a marked resource to be destroyed and recreated on the next apply?

A.

terraform fmt

B.

terraform destroy

C.

terraform taint

D.

terraform refresh

Which of the following is an invalid variable name?

A.

instance_name

B.

web

C.

var1

D.

count

When configuring a remote backend in Terraform, it might be a good idea to purposely omit some of the required arguments to ensure secrets and other relevant data are not inadvertently shared with others. What are the ways the remaining configuration can be added to Terraform so it can initialize and communicate with the backend? (select three)

A.

directly querying HashiCorp Vault for the secrets

B.

command-line key/value pairs

C.

use the -backend-config=PATH to specify a separate config file

D.

interactively on the command line

Which of the following storage backends are supported by HashiCorp technical support? (select four)

A.

Filesystem

B.

Consul

C.

In-Memory

D.

Raft

E.

DynamoDB

F.

MySQL

Which TCP port does Vault replication use?

A.

8200

B.

8201

C.

8300

D.

8301

Select all Operating Systems that Terraform is available for. (select five)

A.

Linux

B.

Windows

C.

Unix

D.

FreeBSD

E.

Solaris

F.

macOS

Which of the following cloud providers are not supported by Vault secrets engines?

A.

Oracle

B.

Azure

C.

AWS

D.

GCP

E.

AliCloud

What type of token does not have a TTL (time to live)?

A.

default tokens

B.

parent tokens

C.

user tokens

D.

root tokens

E.

expired tokens

F.

child tokens

When a primary Vault cluster fails, Vault will automatically promote a secondary cluster to ensure maximum uptime.

A.

False

B.

True

Page: 2 / 3
Total 200 questions
Copyright © 2014-2025 Solution2Pass. All Rights Reserved