Vault Enterprise Access Control Configuration Practice Question
If you need to grant a group of developers access to all paths starting with 'secret/data/developers/', which HCL syntax is correct?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
path "secret/data/developers/*" { capabilities = ["read"] }
The path should be defined with a trailing wildcard (/*) to cover sub-paths.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
path "secret/data/developers/**" { capabilities = ["read"] }
Why it's wrong here
Double wildcards are not standard Vault HCL syntax.
- ✓
path "secret/data/developers/*" { capabilities = ["read"] }
Why this is correct
The /* wildcard covers all paths under the prefix.
- ✗
path "secret/data/developers/" { capabilities = ["read"] }
Why it's wrong here
This is not sufficient to cover sub-paths.
- ✗
path "secret/developers/*" { capabilities = ["read"] }
Why it's wrong here
This skips the /data/ prefix required for KV v2.
- ✗
path "secret/data/developers" { capabilities = ["read"] }
Why it's wrong here
This only covers the exact path, not children.
About these practice questions
Courseiva writes every Vault Enterprise question from scratch — 184 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official HashiCorp exam blueprint
This Vault Enterprise practice question is part of Courseiva's free HashiCorp certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Vault Enterprise exam.