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: 3

Questions 21

Which of the following Vault features is available only in the Enterprise version? (select three)

Options:
A.

MFA

B.

dynamic credentials

C.

cloud auto unseal

D.

replication

E.

auto unseal with HSM

HashiCorp VA-002-P Premium Access
Questions 22

Vault's User Interface (UI) needs to be enabled in the command line before it can be used.

Options:
A.

FALSE

B.

TRUE

Questions 23

What command is used to renew a token, if permitted?

Options:
A.

vault operator token renew

B.

vault token update

C.

vault new

D.

vault update token

E.

vault token renew

F.

vault renew token

Questions 24

After executing a terraform apply, you notice that a resource has a tilde (~) next to it. What does this infer?

Options:
A.

the resource will be destroyed and recreated

B.

the resource will be created

C.

Terraform can't determine how to proceed due to a problem with the state file

D.

the resource will be updated in place

Questions 25

If a client is currently assigned the following policy, what additional policy can be added to ensure they cannot access the data stored at secret/apps/confidential but still, read all other secrets?

Options:
A.

path "secret/apps/confidential/*" {

capabilities = ["deny"]

}

B.

path "secret/apps/*" {

capabilities = ["deny"]

}

C.

path "secret/apps/confidential" {

capabilities = ["deny"]

}

D.

path "secret/apps/*" {

capabilities = ["create", "read", "update", "delete", "list"]

}

path "secret/*" {

capabilities = ["read", "deny"]

}

Questions 26

Which statements best describes what the local variable assignment is doing in the following code snippet:

1. variable "subnet_details" {

2. type = list(object({

3. cidr = string

4. subnet_name = string

5. route_table_name = string

6. aznum = number

7. }))

8. }

9. locals {

10. route_tables_all = distinct([for s in var.subnet_details : s.route_table_name ])

11. }

Options:
A.

Create a distinct list of route table name objects

B.

Create a map of route table names to subnet names

C.

Create a map of route table names from a list of subnet names

D.

Create a list of route table names eliminating duplicates

Questions 27

In the following code snippet, the block type is identified by which string?

1. resource "aws_instance" "db" {

2. ami = "ami-123456"

3. instance_type = "t2.micro"

4. }

Options:
A.

"db"

B.

resource

C.

"aws_instance"

D.

instance_type

Questions 28

What are some of the problems of how infrastructure was traditionally managed before Infrastructure as Code? (select three)

Options:
A.

Requests for infrastructure or hardware required a ticket, increasing the time required to deploy applications

B.

Traditional deployment methods are not able to meet the demands of the modern business where resources tend to live days to weeks, rather than months to years

C.

Traditionally managed infrastructure can't keep up with cyclic or elastic applications

D.

Pointing and clicking in a management console is a scalable approach and reduces human error as businesses are moving to a multi-cloud deployment model

Questions 29

In the example below, the depends_on argument creates what type of dependency?

1. esource "aws_instance" "example" {

2. ami = "ami-2757f631"

3. instance_type = "t2.micro"

4. depends_on = [aws_s3_bucket.company_data]

5. }

Options:
A.

non-dependency resource

B.

implicit dependency

C.

explicit dependency

D.

internal dependency

Questions 30

What does the command terraform fmt do?

Options:
A.

formats the state file in order to ensure the latest state of resources can be obtained

B.

updates the font of the configuration file to the official font supported by HashiCorp

C.

rewrite Terraform configuration files to a canonical format and style

D.

deletes the existing configuration file

Exam Code: VA-002-P
Certification Provider: HashiCorp
Exam Name: HashiCorp Certified: Vault Associate
Last Update: Jul 10, 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.