Summer Certification Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Free Practice Questions for the HashiCorp Security Automation Certification HCVA0-003 Exam (2026 Updated)

At Marks4sure, we are dedicated to providing IT professionals with the most accurate and reliable preparation materials for the HashiCorp HCVA0-003 exam. To support your certification journey, we have made a selection of our premium 2026 HashiCorp Security Automation Certification practice questions and answers available completely free. You can take this practice test as many times as you need. Every question includes a detailed, expertly verified explanation to ensure you fully grasp the core security concepts before test day.

Questions 4

Which is a benefit of Vault’s path-based system for policies?

Options:

A.

Every path is assigned a unique set of permissions.

B.

Granular control, which separates configuration functions from access while allowing simple policies and wildcard rules.

C.

Allows Vault to be mounted as a file system and accessed using native system commands like cd and mkdir.

D.

All of these are benefits of Vault’s path-based system for policies.

Buy Now
Questions 5

Which of the following statements are true about Vault policies? Choose two correct answers.

Options:

A.

The default policy can not be modified

B.

You must use YAML to define policies

C.

Policies provide a declarative way to grant or forbid access to certain paths and operations in Vault

D.

Vault must be restarted in order for a policy change to take an effect

E.

Policies deny by default (empty policy grants no permission)

Buy Now
Questions 6

A policy is shown in the exhibit.

What does this policy do?

Exhibit:

path " secret/data/{{identity.entity.id}}/* " { capabilities = [ " create " , " update " , " read " , " delete " ] }

path " secret/metadata/{{identity.entity.id}}/* " { capabilities = [ " list " ] }

Options:

A.

Grants access to a special system entity folder.

B.

Nothing, this is not a valid policy.

C.

Grants access for each user to a KV folder, which shares their ID.

D.

Allows a user to read data about the secret endpoint identity.

Buy Now
Questions 7

A user logs into Vault through a configured LDAP auth method and notices that re-authentication is needed after every 8 hours.

Why would the user be required to log in again every 8 hours?

Options:

A.

The time-to-live associated with the existing token lease is up, and the lease has been revoked.

B.

The wrong token was provided by the user too many times and has been revoked.

C.

The administrator revoked the root token.

D.

The LDAP password associated with the user has changed.

Buy Now
Questions 8

You need to manage access to Vault secrets engines for users that will have multiple accounts with various identity providers with which they will authenticate to Vault, such as GitHub, LDAP, Active Directory, etc.

What would allow them to have a single set of policies across all of these identity providers for each user?

Options:

A.

Identity secrets engine

B.

OIDC (OpenID Connect) authentication method

C.

LDAP authentication method

D.

Tokens

Buy Now
Questions 9

When looking at Vault token details, which key helps you find the paths the token is able to access?

Options:

A.

Meta

B.

Path

C.

Policies

D.

Accessor

Buy Now
Questions 10

What is required to seal Vault?

Options:

A.

A single operator with root privileges.

B.

3 Shamir’s keys.

C.

A threshold of operators with root privileges.

D.

The root key.

Buy Now
Questions 11

The base namespace for HCP Vault Dedicated clusters is admin.

Options:

A.

True

B.

False

Buy Now
Questions 12

You are using an orchestrator to deploy a new application. Even though the orchestrator creates a new AppRole secret ID, security requires that only the new application has the combination of the role ID and secret ID. What feature can you use to meet these requirements?

Options:

A.

Have the application authenticate with the role ID to retrieve the secret ID

B.

Use response wrapping and provide the application server with the unwrapping token instead

C.

Use a batch token instead of a traditional service token

D.

Secure the communication between the orchestrator and Vault using TLS

Buy Now
Questions 13

Your company ' s security policies require that all encryption keys must be rotated at least once per year. After using the Transit secrets engine for a year, the Vault admin issues the proper command to rotate the key named ecommerce that was used to encrypt your data. What command can be used to easily re-encrypt the original data with the new version of the key?

Options:

A.

vault write -f transit/keys/ecommerce/rotate < old data >

B.

vault write -f transit/keys/ecommerce/update < old data >

C.

vault write transit/encrypt/ecommerce v1:v2 < old data >

D.

vault write transit/rewrap/ecommerce ciphertext= < old data >

Buy Now
Questions 14

What are the primary benefits of running Vault in a production deployment over dev server mode (select two)?

Options:

A.

Faster deployment

B.

Persistent storage

C.

Ability to enable auth methods

D.

Encryption via TLS

Buy Now
Questions 15

Which of the following policies would permit a user to generate dynamic credentials on a database?

Options:

A.

path " database/creds/read_only_role " { capabilities = [ " generate " ] }

B.

path " database/creds/read_only_role " { capabilities = [ " update " ] }

C.

path " database/creds/read_only_role " { capabilities = [ " list " ] }

D.

path " database/creds/read_only_role " { capabilities = [ " read " ] }

Buy Now
Questions 16

Which of the following statements best describes the difference in cluster strategies between self-managed Vault and HashiCorp-managed Vault?

Options:

A.

Self-managed clusters require users to handle setup, maintenance, and scaling, whereas HCP Vault Dedicated is fully managed by HashiCorp and offloads most operational tasks

B.

Neither self-managed clusters nor HCP Vault Dedicated include enterprise security features such as replication or disaster recovery

C.

Both self-managed clusters and HCP Vault Dedicated require manual patching and upgrades, but only self-managed clusters are hosted in the user’s cloud

D.

In self-managed clusters, HashiCorp is responsible for scaling, upgrades, and patching, while HCP Vault Dedicated requires the user to handle all operational overhead

Buy Now
Questions 17

Which of the following Vault policies will allow a Vault client to read a secret stored at secrets/applications/app01/api_key?

Options:

A.

path " secrets/applications/ " { capabilities = [ " read " ] allowed_parameters = { " certificate " = [] } }

B.

path " secrets/* " { capabilities = [ " list " ] }

C.

path " secrets/applications/+/api_* " { capabilities = [ " read " ] }

D.

path " secrets/applications/app01/api_key/* " { capabilities = [ " update " , " list " , " read " ] }

Buy Now
Questions 18

What command would have created the token displayed below?

$ vault token lookup hvs.nNeZ2I64ALCxuO7dqQEJGPrO

Key: policies Value: [default dev], num_uses: 5, ttl: 767h59m49s

    Key Value

    --- -----

    accessor mfvaVMFgOcXHIeqlRasroSOn

    creation_time 1604610457

    creation_ttl 768h

    display_name token

    entity_id n/a

    expire_time 2024-12-07T16:07:37.7540672-05:00

    explicit_max_ttl 0s

    id hvs.nNeZ2I64ALCxuO7dqQEJGPrO

    issue_time 2024-11-05T16:07:37.7540672-05:00

    meta < nil >

    num_uses 5

    orphan false

    path auth/token/create

    policies [default dev]

    renewable true

    ttl 767h59m49s

    type service

Options:

A.

vault token create -policy=dev -use-limit=5

B.

vault token create -policy=dev -ttl=768h

C.

vault token create -policy=dev -policy=default -ttl=768h

D.

vault token create -policy=dev

Buy Now
Questions 19

True or False? Once you create a KV v1 secrets engine and place data in it, there is no way to modify the mount to include the features of a KV v2 secrets engine.

Options:

A.

True

B.

False

Buy Now
Questions 20

What is the default maximum time-to-live (TTL) for a token, measured in days?

Options:

A.

32 days (768 hours)

B.

7 days (168 hours)

C.

14 days (336 hours)

D.

31 days (744 hours)

Buy Now
Questions 21

How can Vault be used to programmatically obtain a generated code for MFA, somewhat similar to Google Authenticator?

Options:

A.

Cubbyhole

B.

The random byte generator

C.

TOTP secrets engine

D.

The identity secrets engine

Buy Now
Questions 22

You are deploying Vault in a local data center, but want to be sure you have a secondary Vault cluster in the event the primary cluster goes offline. In the secondary data center, you have applications that are running, as they are architected to run active/active. Which type of replication would be best in this scenario?

Options:

A.

Disaster Recovery replication

B.

Performance replication

Buy Now
Questions 23

After issuing the command to delete a secret, you run a vault kv list command, but the path to the secret still seems to exist. What command would permanently delete the path from Vault?

HCVA0-003 Question 23

Options:

A.

vault kv delete -force kv/applications/app01

B.

vault kv destroy -versions=1 kv/applications/app01

C.

vault kv metadata delete kv/applications/app01

D.

vault kv delete -all kv/applications/app01

Buy Now
Questions 24

How long does the Transit secrets engine store the resulting ciphertext by default?

Options:

A.

24 hours

B.

30 days

C.

32 days

D.

Transit does not store data

Buy Now
Questions 25

You logged into the Vault CLI and attempted to enable an auth method, but you received this error message. What can you do to resolve the error and configure Vault?

(Error: dial tcp 127.0.0.1:8200: connect: connection refused)

HCVA0-003 Question 25

Options:

A.

Restart the Vault service on this node

B.

Ask an admin to grant you permission to enable the userpass auth method

C.

Change ' userpass ' to ' username and password '

D.

Set the VAULT_ADDR environment variable to HTTP

Buy Now
Questions 26

Which of the following statements are true regarding Vault seal and unseal (select three)?

Options:

A.

By default, Vault uses the Shamir Sharing algorithm to create unseal keys during the initialization process

B.

When using Vault Auto Unseal feature, Vault returns unseal keys to the user when it is initialized

C.

Vault can use a third-party KMS solution to automatically unseal during a service restart

D.

Vault supports high availability for the Auto Unseal feature, allowing you to point to multiple keys

Buy Now
Questions 27

A user is assigned the following policy, and they can successfully retrieve secrets using the CLI. However, the user reports receiving an error message in the UI. Why can’t the user access the secret in the Vault UI?

path " kv/apps/app01 " { capabilities = [ " read " ] }

Successful retrieval using the CLI

HCVA0-003 Question 27

(Error: Permission denied in UI)

HCVA0-003 Question 27

Options:

A.

The user doesn’t know what they’re doing

B.

The user doesn’t have permissions to retrieve the data from the UI, only the CLI

C.

The user needs list permissions to browse the UI

D.

The user’s token is invalid

Buy Now
Questions 28

True or False? When using the Transit secrets engine, setting the min_decryption_version will determine the minimum key length of the data key (i.e., 2048, 4096, etc.).

Options:

A.

True

B.

False

Buy Now
Questions 29

Below is a list of parent and child tokens and their associated TTL. Which token(s) will be revoked first?

Options:

A.

├───hvs.y4fUERqCtUV0xsQjWLJar5qX - TTL: 4 hours

B.

├───hvs.FNiIFU14RUxxUYAl4ErLfPVR - TTL: 6 hours

C.

├───hvs.Jw9LMpu7oCQgxiKbjfyzyg75 - TTL: 4 hours (child of B)

D.

├───hvs.3IrlhEvcerEGbae11YQf9FvI - TTL: 3 hours

E.

├───hvs.hOpweMVFvqfvoVnNgvZq8jLS - TTL: 5 hours (child of D)

Buy Now
Questions 30

Which of the following auth methods are intended for machine-to-machine authentication, and not necessarily human (operator) authentication? (Select four)

Options:

A.

Okta

B.

Tokens

C.

TLS Certificates

D.

Cloud-based Auth methods (AWS, Azure, GCP)

E.

LDAP

F.

AppRole

Buy Now
Questions 31

True or False? All dynamic secrets in Vault are required to have a lease.

Options:

A.

True

B.

False

Buy Now
Questions 32

Which of the following features in Vault will replicate service tokens between clusters?

Options:

A.

Disaster Recovery Replication

B.

Performance Replication

C.

Vault Agent

D.

Integrated Storage

Buy Now
Questions 33

When a lease is created, what actions can be performed by using only the lease ID? (Choose two)

Options:

A.

Renew the lease

B.

Revoke the lease

C.

Extend the max TTL for the lease

D.

Authenticate using the lease ID

Buy Now
Questions 34

True or False? A token can be renewed up until the max TTL, even if the TTL has been reached.

Options:

A.

True

B.

False

Buy Now
Questions 35

Which of the following secrets engines can store static secrets in Vault for future retrieval?

Options:

A.

KV

B.

PKI (certificates)

C.

Database

D.

Transit

Buy Now
Questions 36

True or False? Although AppRole is designed for machines, humans can use it to authenticate to Vault if you wish.

Options:

A.

True

B.

False

Buy Now
Questions 37

Kyle enabled the database secrets engine for dynamic credentials. Amy, the senior DBA, accidentally deleted the database users created by Vault, disrupting client applications. How can Kyle manually remove the leases in Vault?

Options:

A.

No action is required since the leases will eventually expire and be revoked

B.

Obtain the individual lease IDs from the application logs and remove them using the vault lease revoke command

C.

Use the command vault lease revoke -force flag to delete the leases

D.

Revoke all of the leases associated with the entire database secrets engine to be sure they are all removed

Buy Now
Questions 38

You are considering using HCP Vault Dedicated but are concerned about differences between a hosted version and a self-hosted deployment. Which of the following statements is true about HCP Vault Dedicated?

Options:

A.

HCP Vault Dedicated provides a similar experience to self-hosted Vault Enterprise because it uses the same Vault binary

B.

HCP Vault Dedicated can be deployed on any cloud provider, including AWS, Azure, and Google Cloud, with full multi-cloud support

C.

HCP Vault Dedicated requires different CLI commands and APIs compared to self-hosted Vault Enterprise

D.

HCP Vault Dedicated is currently limited to a single region and cannot be deployed across multiple regions

Buy Now
Questions 39

An organization wants to authenticate an AWS EC2 virtual machine with Vault to access a dynamic database secret. The only authentication method which they can use in this case is AWS.

Options:

A.

True

B.

False

Buy Now
Questions 40

True or False? The following policy permits a user to read secrets contained in the path secrets/cloud/apps/jenkins?

text

CollapseWrapCopy

path " secrets/cloud/apps/jenkins/* " {

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

}

Options:

A.

True

B.

False

Buy Now
Questions 41

True or False? Once the lease for a dynamic secret has expired, Vault revokes the credentials on the backend platform for which they were created (i.e., database, AWS, Kubernetes).

Options:

A.

True

B.

False

Buy Now
Questions 42

Based on the output below, how many policies have been added to Vault?

$ vault policy list

base

default

root

web-app-1

automation-team

Options:

A.

3

B.

4

C.

1

D.

2

Buy Now
Questions 43

Tom needs to set the proper environment variable so he doesn’t need to first authenticate to Vault to retrieve dynamically generated credentials for a database server. What environment variable does Tom need to set first before running commands?

Options:

A.

VAULT_NAMESPACE

B.

VAULT_TOKEN

C.

VAULT_CAPATH

D.

VAULT_CLIENT_KEY

Buy Now
Questions 44

Which of the following are supported auth methods for Vault? (Select six)

Options:

A.

AWS

B.

Kubernetes

C.

Token

D.

OIDC/JWT

E.

Userpass

F.

Cubbyhole

G.

AppRole

Buy Now
Questions 45

When you are unsealing Vault using unseal keys, what are you actually doing?

Options:

A.

Creating the recovery keys

B.

Exporting the encryption key

C.

Reconstructing the root key

D.

Decrypting the Vault data

Buy Now
Questions 46

You need to decrypt customer data to provide it to an application. When you run the decryption command, you get the output below. Why does the response not directly reveal the cleartext data?

$ vault write transit/decrypt/phone_number ciphertext= " vault:v1:tgx2vsxtlQRfyLSKvem... "

Key Value

--- -----

plaintext aGFzaGljb3JwIGNlcnRpZmllZDogdmF1bHQgYXNzb2NpYXRl

Options:

A.

The user does not have permission to view the cleartext data

B.

The output is base64 encoded

C.

The output is actually a response wrapped token that needs to be unwrapped

D.

The original data must have been encrypted

Buy Now
Questions 47

Your organization has many applications needing heavy read access to Vault. As these applications integrate with Vault, the primary Vault cluster’s performance is negatively impacted. What feature can you use to scale the cluster and improve performance?

Options:

A.

Add additional standby nodes

B.

Enable multiple secrets engines for the applications

C.

Enable control groups

D.

Add performance standby nodes

Buy Now
Questions 48

Elijah manages a legacy application that requires strict control over when its service account credentials change. Which type of credential should be used for this legacy application?

Options:

A.

static

B.

dynamic

Buy Now
Questions 49

Short-lived, dynamically generated secrets provide organizations with many benefits. Select the benefits from the options below. (Select four)

Options:

A.

Each application instance can generate its own credentials, rather than using a shared credential across all application instances

B.

Credentials only exist when needed

C.

Applications only have access to privileged accounts when needed

D.

Credentials accidentally checked into a code repo or discovered in a text file are likely to be invalid

E.

Dynamic credentials do not change, so legacy applications can easily take advantage of them

Buy Now
Questions 50

Tom is authenticating to Vault using the CLI. Which of the following commands allows Tom to authenticate using the userpass method WITHOUT logging his password to the shell history?

Options:

A.

vault login tom

B.

vault login -method=userpass username=tom

C.

vault login userpass username=tom password=jerry

D.

vault login -method=userpass username=tom password=jerry

Buy Now
Questions 51

After setting up a new HashiCorp Vault server with the default configurations, which method can be used to unseal Vault?

Options:

A.

Log on to each Vault node and provide the root token

B.

Running vault operator init to regenerate unseal keys and automatically unseal the Vault

C.

Submit a threshold of unseal keys to reconstruct the root key

D.

Restart the Vault service, which will automatically unseal it

Buy Now
Questions 52

You are trying to create a new orphan token but receiving a Permission Denied error. What capabilities are required to create this token without using a root token?

Options:

A.

write privileges on the path auth/token

B.

write privileges on the path sys/mounts

C.

sudo privileges on the path auth/token/create

D.

sudo privileges on the path sys/mounts/token

Buy Now
Questions 53

True or False? The userpass auth method has the ability to access external services in order to provide authentication to Vault.

Options:

A.

True

B.

False

Buy Now
Questions 54

Which of the following unseal options can automatically unseal Vault upon the start of the Vault service? (Select four)

Options:

A.

HSM

B.

Azure KMS

C.

AWS KMS

D.

Transit

E.

Key Shards

Buy Now
Questions 55

Compared to service tokens, batch tokens are ideal for what type of action?

Options:

A.

Generating dynamic credentials

B.

Renewing other tokens

C.

For daily batch jobs requesting secrets from Vault

D.

Short-lived, high-volume, or “ephemeral” tasks

Buy Now
Questions 56

A new Vault administrator is writing a CURL command (shown below) to retrieve a secret stored in a KV v2 secrets engine at secret/audio/soundbooth but is receiving an error. What could be the cause of the error?

$ curl \

--header " X-Vault-Token: hvs.rffHw0iXqkRo19b2cjf93DM39WjpbN3J " \

https://vault.unlimited.com:8200/v1/secret/audio/soundbooth

Options:

A.

The VAULT_ADDR environment variable wasn’t set, so it should be configured: export VAULT_ADDR= " https://vault.unlimited.com:8200 "

B.

The request is being made on the incorrect endpoint and should be:

$ curl \

--header " X-Vault-Token: hvs.rffHw0iXqkRo19b2cjf93DM39WjpbN3J " \

https://vault.unlimited.com:8200/v1/secret/data/audio/soundbooth

C.

The user’s token doesn’t permit access to the Vault API, only the UI

D.

The endpoint should point to v2 since this is a KV v2 secrets engine:

$ curl \

--header " X-Vault-Token: hvs.rffHw0iXqkRo19b2cjf93DM39WjpbN3J " \

https://vault.unlimited.com:8200/v2/secret/audio/soundbooth

Buy Now
Questions 57

After creating a dynamic credential on a database, the DBA accidentally deletes the credentials on the database itself. When attempting to remove the lease, Vault returns an error stating that the credential cannot be found. What command can be run to make Vault remove the secret?

Options:

A.

vault lease revoke -force -prefix < lease_path >

B.

vault lease -renew

C.

vault lease revoke -enforce

D.

vault revoke -apply

Buy Now
Questions 58

Your organization wants to set up human-based authentication for AzureAD. What authentication method should you enable and configure for Vault?

Options:

A.

OIDC/JWT

B.

Okta

C.

Active Directory

D.

UserPass

Buy Now
Questions 59

The Vault Agent provides which of the following benefits? (Select three)

Options:

A.

Token renewal

B.

Authentication to Vault

C.

Client-side caching of responses

D.

Automatically creates secrets in the desired storage backend

Buy Now
Questions 60

What type of Vault token does not have a TTL (Time to Live)?

Options:

A.

Child tokens

B.

Parent tokens

C.

Service tokens

D.

Root tokens

E.

Batch tokens

Buy Now
Questions 61

When Vault is sealed, which are the only two operations available to a Vault administrator? (Select two)

Options:

A.

View the status of Vault

B.

Configure policies

C.

View data stored in the key/value store

D.

Rotate the encryption key

E.

Unseal Vault

F.

Author security policies

Buy Now
Questions 62

Which of the following statements best describes the difference between static and dynamic credentials in a secrets management system?

Options:

A.

They are functionally identical—the only difference is what secrets engine creates them.

B.

Static credentials only apply to specific use cases, while dynamic credentials can be used everywhere.

C.

Static credentials often remain persistent for long periods of time, while dynamic are short-lived and auto-rotated.

D.

Static credentials are ephemeral and rotated frequently, while dynamic credentials remain unchanged indefinitely.

Buy Now
Questions 63

True or False? To prepare for day-to-day operations, the root token should be safely saved outside of Vault in order to administer Vault.

Options:

A.

True

B.

False

Buy Now
Questions 64

Which of the following is not an action associated with the Transit secrets engine when interacting with data?

Options:

A.

encrypt

B.

decrypt

C.

rewrap

D.

update

Buy Now
Questions 65

Which of the following statements are true about HCP Vault Dedicated? (Select three)

Options:

A.

Provides 100% feature parity compared to Vault self-managed clusters

B.

Helps reduce operational overhead for organizations with push-button deployment and fully managed upgrades

C.

Increases reliability and ease of use so you can onboard applications and teams easily

D.

Increases security across clouds and machines through a single interface

Buy Now
Questions 66

Which of the following auth methods is the best choice for human interaction with Vault (as opposed to machine/system authentication)?

Options:

A.

Kubernetes

B.

AppRole

C.

TLS

D.

OIDC

Buy Now
Questions 67

Holly has discovered that a highly privileged dynamic credential with a very long lease time was created, which could negatively impact the organization’s security. What command can Holly use to invalidate the credential so it can’t be used without affecting other credentials?

Options:

A.

vault lease revoke aws/creds/admin/27e1b9a1-27b8-83d9-9fe0-d99d786bdc83

B.

Holly would need to delete the credential on the cloud platform directly

C.

vault lease revoke -all

D.

vault lease revoke aws/creds/admin/*

Buy Now
Questions 68

Which two interfaces automatically assume the token for subsequent requests after successfully authenticating? (Select two)

Options:

A.

CLI

B.

API

C.

UI

Buy Now
Questions 69

What is the correct order that Vault uses to protect data?

Options:

A.

root key -- > encryption key -- > data

B.

unseal keys -- > root key -- > data

C.

root key -- > data

D.

encryption key -- > root key -- > data

Buy Now
Questions 70

Which statement best describes the process of sealing a Vault instance?

Options:

A.

Disable the TLS certificates on the Vault server by running vault secrets disable pki, blocking all requests.

B.

Run vault operator rotate to rotate the Vault tokens for all clients, causing them to reauthenticate with the Vault.

C.

Run the vault operator seal command, which securely discards the master key from memory and prevents further operations until unsealed.

D.

Revoke all leases so no secrets can be accessed using vault lease revoke, but keep the master key in memory for quick recovery.

Buy Now
Questions 71

You need to connect to and manage a new HCP Vault cluster using the Vault CLI on your laptop. What environment variables should you set to establish connectivity?

Options:

A.

VAULT_CLIENT_KEY= < path-to-key-file > , VAULT_TOKEN= < token-here >

B.

VAULT_NAMESPACE=root, VAULT_REDIRECT_ADDR= < cluster-address >

C.

VAULT_ADDR=https:// < cluster-address > :8200, VAULT_NAMESPACE=admin

D.

VAULT_TOKEN= < token-here > , VAULT_CLUSTER_ADDR=https:// < cluster-address > :8200

Buy Now
Questions 72

You are using Vault to generate dynamic credentials for a Microsoft SQL server to perform queries for a month-end report. The report seems to be taking much longer than expected due to degradation on the underlying server, and you are afraid that Vault might automatically revoke the credentials. How can you extend the time the credentials are valid to ensure your month-end query is successful?

Options:

A.

Renew the lease

B.

Generate a new lease

C.

Create a new role within the secrets engine for the database

D.

Revoke the lease

Buy Now
Questions 73

You are using the Vault API to test authentication before modifying your CI/CD pipeline to properly authenticate to Vault. You manually authenticate to Vault and receive the response below. Based on the provided options, which of the following are true? (Select four)

    $ curl \

    --request POST \

    --data @payload.json \

    https://vault.krausen.com:8200/v1/auth/userpass/login/bryan.krausen | jq

     

    *******************************************************************************

    ******* RESPONSE BELOW ********************************************************

    *******************************************************************************

     

    {

    " request_id " : " f758e8da-11b6-8341-d404-56f0c370a7fa " ,

    " lease_id " : " " ,

    " renewable " : false,

    " lease_duration " : 0,

    " data " : null,

    " wrap_info " : null,

    " warnings " : null,

    " auth " : {

    " client_token " : " hvs.CbzCNJCVWt63jyzyaJakgDwz " ,

    " accessor " : " rffwXzKFcxvaQi6Vgo8tY4Lt " ,

    " policies " : [

    " training " ,

    " default "

    ],

    " token_policies " : [

    " training " ,

    " default "

    ],

    " metadata " : {

    " username " : " bryan.krausen "

    },

    " lease_duration " : 84600,

    " renewable " : true,

    " entity_id " : " f1795f6a-c576-d619-b2d5-74c0aee08edb " ,

    " token_type " : " service " ,

    " orphan " : true

    }

    }

Options:

A.

The token required to retrieve a secret is hvs.CbzCNJCVWt63jyzyaJakgDwz

B.

The returned token is a batch token

C.

The user needs to retrieve .auth.client_token in order to perform other actions

D.

The accessor will be used to authenticate to Vault to retrieve secrets

E.

The user is using the userpass auth method

F.

The user’s password is stored in a file named payload.json

Buy Now
Questions 74

You have enabled the Transit secrets engine on your Vault cluster to provide an " encryption as a service " service as your team develops new applications. What is a prime use case for the Transit secrets engine?

Options:

A.

Encrypting data before being written to an Amazon S3 bucket

B.

Storing the encrypted data in Vault for easy retrieval

C.

Generating dynamic SSH credentials for access to local systems

D.

Creating X.509 certificates for a new fleet of containers

Buy Now
Questions 75

Over a few years, you have a lot of data that has been encrypted by older versions of a Transit encryption key. Due to compliance regulations, you have to re-encrypt the data using the newest version of the encryption key. What is the easiest way to complete this task without putting the data at risk?

Options:

A.

Rotate the encryption key used to encrypt the data

B.

Decrypt the data manually and encrypt it with the latest version

C.

Use the transit rewrap feature

D.

Create a new master key used by Vault

Buy Now
Questions 76

You are the primary Vault operator. During a routine audit, an auditor requested the ability to display all secrets under a specific path in Vault without seeing the actual stored data. Which policy permits the auditor to display the stored secrets without revealing their contents?

Options:

A.

path " kv/apps/production/ " { capabilities = [ " list " ] }

B.

path " kv/apps/+/ " { capabilities = [ " list " ] }

C.

path " kv/+/production " { capabilities = [ " list " ] }

D.

path " kv/apps/* " { capabilities = [ " list " , " read " ] }

Buy Now
Questions 77

Vault enables the generation of dynamic credentials against many different platforms. When generating these credentials, what Vault feature is used to track the credentials?

Options:

A.

namespace

B.

role

C.

token

D.

lease_id

Buy Now
Questions 78

True or False? Performing a rekey operation using the vault operator rekey command creates new unseal/recovery keys as well as a new root key?

Options:

A.

True

B.

False

Buy Now
Questions 79

Before data is written to the storage backend, the data is encrypted by which Vault feature?

Options:

A.

TLS certificate

B.

Cryptographic barrier

C.

Unseal keys

D.

Transit secrets engine

Buy Now
Questions 80

You need to write a new policy for Vault for a group of users on the automation team. The requirements stipulate that each user (and all future users) get access to their own private section of a KV secrets engine at the path kv/team/ and be able to manage their own secrets. Which policy below meets these requirements while minimizing the administrative effort and following the principle of least privilege?

Options:

A.

path " secret/data/groups/{{identity.groups.ids.2f62-9503-42aa7A869741.name}}/ " { capabilities = [ " list " ] }

B.

path " kv/team/frank/ " { capabilities = [ " create " , " update " , " read " , " delete " ] } path " kv/team/steve/ " { capabilities = [ " create " , " update " , " read " , " delete " ] } path " kv/team/bryan/ " { capabilities = [ " create " , " update " , " read " ,

C.

path " kv/team/ " { capabilities = [ " create " , " update " , " read " , " delete " ] }

D.

path " kv/team/{{identity.entity.id}}/ " { capabilities = [ " create " , " update " , " read " , " delete " ] } path " kv/team/{{identity.entity.id}} " { capabilities = [ " create " , " update " , " read " , " delete " ] }

Buy Now
Questions 81

Your organization audited an essential application and found it isn’t securely storing data. For added security, auditors recommended encrypting all data before storing it in a backend database, and the application server should not store encryption keys locally. Which secrets engine meets these requirements?

Options:

A.

PKI secrets engine

B.

SSH secrets engine

C.

Transit secrets engine

D.

Cubbyhole secrets engine

Buy Now
Questions 82

Your organization has applications in a primary data center and a secondary warm-standby site. You want to configure Vault replication between the primary and secondary clusters. If the primary fails over to the secondary, the applications must interact with Vault without re-authenticating. What type of Vault replication would you use?

Options:

A.

Performance Replication

B.

Integrated Storage

C.

Disaster Recovery Replication

D.

Vault Secrets Operator

Buy Now
Questions 83

A developer has requested access to manage secrets at the path kv/apps/webapp01. You create the policy below which gives them the proper access:

path " kv/apps/webapp01 " {

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

}

However, when the developer logs in to the Vault UI, they see the following screenshot and cannot access the desired secret. Why can’t the developer see the secrets they need?

HCVA0-003 Question 83

Options:

A.

The Vault UI isn’t enabled for the developer, therefore they will only see the default options

B.

The key/value secrets engine isn’t available in the Vault UI, therefore the developer should use a different Vault interface instead

C.

The policy doesn’t permit list access to the paths prior to the secret so the Vault UI doesn’t display the mount path

D.

The secrets are stored under the cubbyhole secrets engine, so the developer should browse to that secrets engine

Buy Now
Questions 84

Your team uses the Transit secrets engine to encrypt all data before writing it to a MySQL database server. During testing, you manually retrieve ciphertext from the database and decrypt it to ensure the data can be read. After decrypting the data, you are worried something is wrong because the plaintext data isn’t legible. Why can you not read the original plaintext data after decrypting the ciphertext?

    $ vault write transit/decrypt/krausen-key ciphertext=vault:v1:8SDd3WHDOjf7mq69C.....

    Key Value

    --- -----

    plaintext Zml2ZSBzdGFyIHByYWN0aWNlIGV4YW1zIGJ5IGJyeWFuIGtyYXVzZW4=

Options:

A.

The incorrect key was selected when decrypting the ciphertext. Use the correct key to successfully read the data

B.

The incorrect key version was used to decrypt the data. Update the ciphertext and change the v1 to v3 to use the latest key version

C.

The plaintext is Base64 encoded. Decode the plaintext to see the original data

D.

The data was also encrypted on the database. Therefore Vault cannot decrypt the original data

Buy Now
Questions 85

You are planning the deployment of your first Vault cluster and have decided to use Integrated Storage as the storage backend. Where do you configure the storage backend to be used by Vault?

Options:

A.

In the systemd service file

B.

Inside the Vault service once Vault is up and running

C.

In the Vault configuration file

D.

In the Vault Agent sink file

Buy Now
Questions 86

To secure your applications, your organization uses certificates generated by a public CA. However, this strategy has proven expensive and you have to revoke certificates even though they have additional time left. What Vault plugin can be used to quickly generate X.509 certificates to secure your internal applications?

Options:

A.

Identity secrets engine

B.

PKI secrets engine

C.

SSH secrets engine

D.

Transit secrets engine

Buy Now
Questions 87

Your Azure Subscription ID is stored in Vault and you need to retrieve it via Vault API for an automated job. The Subscription ID is stored at secret/cloud/azure/subscription. The secret is stored on a KV Version 2 secrets engine. What curl command below would successfully retrieve the latest version of the secret?

Options:

A.

curl https://vault.krausen.com:8200/v1/secret/data/cloud/azure/subscription

B.

curl --header " X-Vault-Token: hvs.CbzCNJCVWt63jyzyaJakgDwz " https://vault.krausen.com:8200/v1/secret/cloud/azure/subscription

C.

curl --header " X-Vault-Token: hvs.CbzCNJCVWt63jyzyaJakgDwz " https://vault.krausen.com:8200/v1/secret/data/cloud/azure/subscription

D.

curl --header " X-Vault-Token: hvs.CbzCNJCVWt63jyzyaJakgDwz " https://vault.krausen.com:8200/secret/data/cloud/azure/subscription/latest

Buy Now
Questions 88

A new application is being provisioned in your environment. The application requires the generation of dynamic credentials against the Oracle database in order to read reporting data. Which is the best auth method to use to permit the application to authenticate to Vault?

Options:

A.

OIDC

B.

GitHub

C.

Userpass

D.

AppRole

Buy Now
Questions 89

You are working on a new project and need to retrieve a secret from Vault. You log into the Vault UI and browse to the path where the secret is stored. Based on the screenshot below, what is true about the secrets stored in this path? (Select four)

HCVA0-003 Question 89

Options:

A.

The secrets are stored in a KV v1 secrets engine

B.

The user does not have permission to delete the secret

C.

The secrets are stored in a KV v2 secrets engine

D.

The secrets engine is mounted at the path developers/

E.

There are four previous versions of the secret

F.

The user has additional permissions on the path beyond just list and read

Buy Now
Questions 90

You have logged into the Vault UI and see this screen. What Vault component is being enabled in the screenshot below?

HCVA0-003 Question 90

Options:

A.

Storage Backends

B.

Secrets Engine

C.

Auth Methods

D.

Audit Devices

Buy Now
Questions 91

Your supervisor has requested that you log into Vault and update a policy for one of the development teams. You successfully authenticated to Vault via OIDC but do not see a way to manage the Vault policies. Why are you unable to manage policies in the Vault UI?

HCVA0-003 Question 91

Options:

A.

Policies are only available on Vault Enterprise

B.

The Vault node is sealed, and therefore you cannot manage policies

C.

Policies cannot be managed in the UI, only the CLI and API

D.

The policy associated with your login does not permit access to manage policies

Buy Now
Questions 92

A web application uses Vault ' s transit secrets engine to encrypt data in-transit. If an attacker intercepts the data in transit which of the following statements are true? Choose two correct answers.

Options:

A.

You can rotate the encryption key so that the attacker won’t be able to decrypt the data

B.

The keys can be rotated and min_decryption_version moved forward to ensure this data cannot be decrypted

C.

The Vault administrator would need to seal the Vault server immediately

D.

Even if the attacker was able to access the raw data, they would only have encrypted bits (TLS in transit)

Buy Now
Questions 93

Your DevOps team would like to provision VMs in GCP via a CICD pipeline. They would like to integrate Vault to protect the credentials used by the tool. Which secrets engine would you recommend?

Options:

A.

Google Cloud Secrets Engine

B.

Identity secrets engine

C.

Key/Value secrets engine version 2

D.

SSH secrets engine

Buy Now
Questions 94

The Key/Value (KV) secrets engine is an example of a dynamic secrets engine.

Options:

A.

True

B.

False

Buy Now
Questions 95

Which of the following is a machine-oriented Vault authentication backend?

Options:

A.

Okta

B.

AppRole

C.

Transit

D.

GitHub

Buy Now
Questions 96

Which CLI command would enable a versioned Key/Value secrets engine in Vault at path my-secrets?

Options:

A.

vault auth enable userpass

B.

vault secrets enable -path= " my-secrets " kv-v2

C.

vault secrets enable -path= " my-secrets " kv

D.

vault secrets enable -version=2 kv

Buy Now
Questions 97

As a best practice, the root token should be stored in which of the following ways?

Options:

A.

Should be revoked and never stored after initial setup

B.

Should be stored in configuration automation tooling

C.

Should be stored in another password safe

D.

Should be stored in Vault

Buy Now
Exam Code: HCVA0-003
Exam Name: HashiCorp Certified: Vault Associate (003) Exam
Last Update: Jul 25, 2026
Questions: 324

PDF + Testing Engine

$64.99   $185.69

Testing Engine

$49.99   $142.83

PDF (Q&A)

$54.99   $157.11