Skip to content

Vault policies Questions

Practice questions for Vault policies topic in HashiCorp Certified: Vault Associate (003). 24 questions covering this domain.

24 questions5 easy12 medium7 hard
Q1
medium

A team needs a token that can enumerate keys beneath a path without reading the secret values themselves. Which capability should the policy grant?

Q2
hard

An administrator must manage auth method mounts under sys/auth. Which additional policy capability is required beyond ordinary path access?

Q3
medium

A token receives one policy granting read access to a path and another policy applying deny to the same path. Which result is correct?

Q4
easy

Which two built-in Vault policies cannot be modified or removed?

Q5
easy

A new token is created without any policy granting access to a secret path. What is the default access result in Vault?

Q6
medium

A policy author needs a wildcard that matches exactly one path segment in a Vault policy path. Which symbol should be used?

Q7
medium

A security team wants every request to auth/approle/role/web/secret-id to use response wrapping. Which policy setting achieves that most directly?

Q8
medium

Two policy paths could match a request: secret/* and secret/apps/*. A client reads secret/apps/payroll. Which rule wins?

Q9
hard

A team uses list capability on a path where key names contain customer IDs. Why is this risky even if the policy does not allow read?

Q10
hard

A policy author plans to use allowed_parameters and denied_parameters to constrain writes through a KV v2 path. What limitation applies?

Q11
medium

An administrator updates the contents of a policy named app-read. What happens to tokens that already have app-read attached?

Q12
easy

A policy should let users list keys in a KV v2 mount at secret/. Which path should receive the list capability?

Q13
easy

A platform engineer intentionally wants a token without the built-in default policy. Which CLI option creates that token most directly?

Q14
hard

A policy on a write endpoint denies no_store=false but does not require the no_store parameter. What happens if a client omits no_store entirely?

Q15
medium

Two attached policies both define the exact path secret/data/app. One grants read and the other grants list. What capabilities does Vault apply for th...

Q16
medium

A policy should allow applications to generate database credentials from a database secrets engine role. Which capability is typically required on tha...

Q17
medium

Which policy path uses Vault's supported asterisk glob behavior correctly?

Q18
hard

When templating a policy with identity values, why does HashiCorp recommend using IDs instead of names where possible?

Q19
hard

Which statement correctly describes Vault's two built-in ACL policies?

Q20
easy

Which formats does Vault support for authoring ACL policies?

Sign in to see all 24 questions

Create a free account to browse all questions — completely free during our launch phase.