Question 6 of 514
Create Vault policiesmediumMultiple SelectObjective-mapped

Quick Answer

The answer is create, read, and update. The create capability is essential because the CI/CD pipeline must generate fresh dynamic database credentials from a role path like database/creds/my-role, which is a creation action distinct from writing static data. The read capability allows the pipeline to retrieve the AppRole role-id and secret-id for authentication, as well as to read the generated credentials back from Vault. The update capability is needed to allow the pipeline to write the secret-id or update the AppRole’s token properties during the CI/CD workflow. On the HashiCorp Vault Associate VA-003 exam, this question tests your understanding of policy path-based capabilities versus secret engine operations—a common trap is confusing create with update on dynamic secrets, where create is required for generating new credentials, not update. Remember the mnemonic: “Create for creds, read for retrieval, update for AppRole.”

VA-003 Create Vault policies Practice Question

This VA-003 practice question tests your understanding of create vault policies. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A DevOps team is writing a Vault policy for a CI/CD pipeline that needs to authenticate using AppRole, read specific secrets, and write dynamic database credentials. Which THREE capabilities should be included in the policy to meet these requirements? (Choose three.)

Question 1mediummulti select
Full question →

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

create

Option B (create) is correct because the CI/CD pipeline needs to write dynamic database credentials, which requires the 'create' capability on the database secrets engine path (e.g., database/creds/my-role). The 'create' capability allows generating new credentials from a role, which is distinct from simply updating existing secrets. Without 'create', the pipeline cannot request fresh credentials from the database backend.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • write

    Why it's wrong here

    'write' is not necessary for reading secrets; 'read' is correct.

  • create

    Why this is correct

    'create' is needed to generate new database credentials.

    Related concept

    Read the scenario before looking for a memorised answer.

  • read

    Why this is correct

    'read' is required to read secret data.

    Related concept

    Read the scenario before looking for a memorised answer.

  • sudo

    Why it's wrong here

    'sudo' is for privileged operations and not required here.

  • update

    Why this is correct

    'update' is needed to rotate or modify database credentials.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

HashiCorp often tests the distinction between 'write' and 'create' capabilities, where candidates mistakenly choose 'write' for generating dynamic credentials, not realizing that 'create' is specifically required for role-based credential generation in the database secrets engine.

Detailed technical explanation

How to think about this question

Under the hood, Vault's AppRole authentication uses a RoleID and SecretID to obtain a token, which is then used for subsequent API calls. The 'create' capability on a database role path (e.g., database/creds/my-role) triggers Vault to generate a new set of credentials (username/password) from the configured database plugin, which are time-bound and automatically revoked. In contrast, 'read' on a static secret path (e.g., secret/data/myapp) retrieves the stored value, while 'update' allows modifying existing secrets or policies. A real-world scenario: a CI/CD pipeline might use 'create' to get a short-lived database user for a deployment, then 'read' to fetch an API key from a KV store, and 'update' to rotate a shared credential after the deployment completes.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related VA-003 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free VA-003 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this VA-003 question test?

Create Vault policies — This question tests Create Vault policies — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: create — Option B (create) is correct because the CI/CD pipeline needs to write dynamic database credentials, which requires the 'create' capability on the database secrets engine path (e.g., database/creds/my-role). The 'create' capability allows generating new credentials from a role, which is distinct from simply updating existing secrets. Without 'create', the pipeline cannot request fresh credentials from the database backend.

What should I do if I get this VA-003 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.