Courseiva
Compare and configure secrets enginesmediumMultiple ChoiceObjective-mapped

VA-003 Compare and configure secrets engines Practice Question

A team is adopting Vault and wants to organize secrets by application and environment (e.g., production, staging). What is the best practice for secrets engine path naming?

⚠ Common exam trap

HashiCorp often tests the misconception that flat or prefix-based naming is simpler and therefore better, but the trap is that Vault's ACL engine is path-based and hierarchical paths are required for proper policy isolation and least-privilege access control.

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

Use hierarchical paths like 'app/env/secret'

Hierarchical paths like 'app/env/secret' are the best practice because they allow Vault's ACL policies to apply fine-grained access control at each level of the path. This structure maps directly to the organization's application and environment boundaries, enabling least-privilege access without complex policy rules. It also simplifies secret rotation and auditing by keeping related secrets logically grouped.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use hierarchical paths like 'app/env/secret'

    Why this is correct

    Hierarchical paths enable fine-grained ACLs and easy organization by app and environment.

  • Use a single path like 'secrets/' for simplicity

    Why it's wrong here

    Single path makes ACL management difficult and mixes environments.

  • Use the same path for all applications but separate with prefixes like 'app1-'

    Why it's wrong here

    Mixing apps in one path still complicates ACLs; better to use separate paths.

  • Use random UUIDs to avoid guessing

    Why it's wrong here

    UUIDs are hard to manage and not human-readable; they don't reflect application or environment.

Visual reference

Source Router + ACL permit 10.0.0.0/8 deny any Server 10.0.0.5 ✓ 192.168.1.1 ✗ dropped ACLs evaluate top-down; first match wins — implicit deny all at end

About these practice questions

Courseiva writes every VA-003 question from scratch — 498 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This VA-003 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 VA-003 exam.