Summer Certification Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: clap70

HCVA0-003 HashiCorp Certified: Vault Associate (003)Exam Questions and Answers

Questions 4

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 5

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 6

Without logging into another interface, what feature can Chad use to execute a simple CLI command to enable a new secrets engine?

Options:

A.

CLI emulation in the Vault UI (Feature 1)

B.

User information button (Feature 2)

C.

Client count details (Feature 3)

D.

Access management link (Feature 4)

Buy Now
Questions 7

You are performing a high number of authentications in a short amount of time. You ' re experiencing slow throughput for token generation. How would you solve this problem?

Options:

A.

Increase the time-to-live on service tokens

B.

Implement batch tokens

C.

Establish a rate limit quota

D.

Reduce the number of policies attached to the tokens

Buy Now
Questions 8

Why are short-lived, dynamic secrets in Vault more secure than long-lived, static credentials?

Options:

A.

They provide better performance by caching credentials for longer durations

B.

They are created on-demand and expire after a short period, minimizing the risk of credential leakage

C.

They eliminate the need for authentication, allowing seamless access to Vault-managed systems

D.

They automatically rotate on a set schedule, reducing the need for manual intervention

Buy Now
Questions 9

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

Options:

A.

Storage Backends

B.

Secrets Engine

C.

Auth Methods

D.

Audit Devices

Buy Now
Questions 10

You are using Vault CLI and enable the database secrets engine on the default path of database/. However, the DevOps team wants to enable another database secrets engine for testing but receives an error stating the path is already in use. How can you enable a second database secrets engine using the CLI?

Options:

A.

vault secrets enable database database2/

B.

vault secrets enable -force database

C.

vault secrets enable -path=database2 database

D.

vault secrets enable database2/

Buy Now
Questions 11

You have a new team member on the Vault operations team. Their first task is to rotate the encryption key in Vault as part of the organization’s security policy. However, when they log in, they get an access denied error when attempting to rotate the key. The policy being used is below. Why can’t the user rotate the encryption key?

path " auth/* " {

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

}

path " sys/rotate " {

capabilities = [ " read " , " update " ]

}

Options:

A.

The policy requires sudo privileges since it is a root-protected path

B.

The policy doesn’t include create privileges so a new encryption key can’t be created

C.

The policy should include sys/rotate/ < name of key > as part of the path

D.

The encryption key has a minimum TTL, therefore the key cannot be rotated until that time expires

Buy Now
Questions 12

A developer team requests integration of their legacy application with Vault to encrypt and decrypt data for a backend database. They cannot modify the application for Vault authentication. What is the best way to achieve this integration?

Options:

A.

Enable the Transit secrets engine and configure the secrets engine to send data directly to the legacy app

B.

Have the app team call the Vault API to encrypt and decrypt the required data

C.

Enable and configure the Kubernetes auth method to allow the application to authenticate to Vault using a JWT

D.

Run the Vault Agent on the application server(s) and use the Auto Auth feature to manage the tokens

Buy Now
Questions 13

What of the following features are true about batch tokens in Vault? (Select two)

Options:

A.

Batch tokens are not persisted (written) to storage

B.

Batch tokens can be renewed

C.

Batch tokens are valid across all clusters when using Vault Enterprise replication

D.

Batch tokens can create child tokens

Buy Now
Questions 14

By default, what methods of authentication does Vault support? (Select four)

Options:

A.

SSH

B.

Kubernetes

C.

VMware

D.

LDAP

E.

AppRole

F.

JWT

Buy Now
Questions 15

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 16

A MySQL server has been deployed on Google Cloud Platform (GCP) to support a legacy application. You want to generate dynamic credentials against this MySQL server rather than use static credentials. What Vault secrets engine would you use to accomplish this?

Options:

A.

The GCP secrets engine

B.

The Identity secrets engine

C.

The database secrets engine

D.

The Cubbyhole secrets engine

Buy Now
Questions 17

What is the primary role of the Vault Security Operator (VSO) in a Kubernetes environment?

Options:

A.

Managing Vault server deployments and auto-scaling Vault instances in Kubernetes

B.

Enforcing Kubernetes network policies for Vault communication

C.

Automating the injection and lifecycle management of Vault secrets for Kubernetes workloads

D.

Replacing Kubernetes Secrets with a built-in alternative that does not require Vault

Buy Now
Questions 18

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)

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 19

Which of the following capabilities can be used when writing a Vault policy? (Select four)

Options:

A.

list

B.

deny

C.

apply

D.

root

E.

create

F.

write

Buy Now
Questions 20

A security architect is designing a solution to address the " Secret Zero " problem for a Kubernetes-based application that needs to authenticate to HashiCorp Vault. Which approach correctly leverages Vault features to solve this challenge?

Options:

A.

Store the Vault root token in a ConfigMap and mount it to all containers that require access to sensitive information

B.

Generate a long-lived token during deployment and store it as an environment variable within each container that needs to access Vault

C.

Configure the Kubernetes auth method in Vault and enable applications to authenticate without pre-shared secrets

D.

Implement a custom sidecar container that uses AppRole role-id and secret-id each time the application needs to access Vault

Buy Now
Questions 21

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 22

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 23

Your organization has enabled the LDAP auth method on the path of corp-auth/. When you access the Vault UI, you cannot log in despite providing the correct credentials. Based on the screenshot below, what action should you take to log in?

Options:

A.

Select corp-auth from the dropdown list

B.

Enter the username as corp-auth/bryan.krausen

C.

Select More Options and enter the Mount path that LDAP was enabled on (corp-auth/)

D.

Change to the Namespace of corp-auth before trying to authenticate

Buy Now
Questions 24

Which of the following is true about the token authentication method in Vault? (Select three)

Options:

A.

The token auth method is automatically enabled in Vault and cannot be disabled

B.

External authentication mechanisms, such as GitHub, are used to dynamically create tokens

C.

The token auth method is used as the first method of authentication for Vault for a newly initialized Vault node/cluster

D.

Tokens cannot be used directly; they must be used in conjunction with one of Vault’s many auth methods

Buy Now
Questions 25

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 26

Which of these are a benefit of using the Vault Agent?

Options:

A.

Vault Agent allows for centralized configuration of application secrets engines

B.

Vault Agent will auto-discover which authentication mechanism to use

C.

Vault Agent will enforce minimum levels of encryption an application can use

D.

Vault Agent will manage the lifecycle of cached tokens and leases automatically

Buy Now
Questions 27

Which of the following cannot define the maximum time-to-live (TTL) for a token?

Options:

A.

By the authentication method t natively provide a method of expiring credentials

B.

By the client system f credentials leaking

C.

By the mount endpoint configuration very password used

D.

A parent token TTL e password rotation tools and practices

E.

System max TTL

Buy Now
Questions 28

What does the following policy do?

Options:

A.

Grants access for each user to a KV folder which shares their id

B.

Grants access to a special system entity folder

C.

Allows a user to read data about the secret endpoint identity

D.

Nothing, this is not a valid policy

Buy Now
Questions 29

Which command implements the AppRole authentication method?

Options:

A.

vault auth enable approle

B.

vault mount approle

C.

vault mount enable approle

D.

vault enable approle

Buy Now
Questions 30

HCP Vault Dedicated automatically enables cross-region disaster recovery replication.

Options:

A.

True

B.

False

Buy Now
Questions 31

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
Questions 32

What are orphan tokens?

Options:

A.

Orphan tokens are tokens with a use limit so you can set the number of uses when you create them

B.

Orphan tokens are not children of their parent; therefore, orphan tokens do not expire when their parent does

C.

Orphan tokens are tokens with no policies attached

D.

Orphan tokens do not expire when their own max TTL is reached

Buy Now
Questions 33

You can build a high availability Vault cluster with any storage backend.

Options:

A.

True

B.

False

Buy Now
Questions 34

To give a role the ability to display or output all of the end points under the /secrets/apps/* end point it would need to have which capability set?

Options:

A.

update

B.

read

C.

sudo

D.

list

E.

None of the above

Buy Now
Questions 35

You are using Vault ' s Transit secrets engine to encrypt your data. You want to reduce the amount of content encrypted with a single key in case the key gets compromised. How would you do this?

Options:

A.

Use 4096-bit RSA key to encrypt the data

B.

Upgrade to Vault Enterprise and integrate with HSM

C.

Periodically re-key the Vault ' s unseal keys

D.

Periodically rotate the encryption key

Buy Now
Questions 36

You have a requirement that an application needs to implement AES encryption.

What parameter must you use to meet this requirement when defining a new key in a Transit secrets engine for this app?

Options:

A.

exportable

B.

convergent_encryption

C.

type

D.

name

Buy Now
Questions 37

You are using the Vault userpass auth method mounted at auth/userpass. How do you create a new user named " sally " with password " h0wN0wB4r0wnC0w " ? This new user will need the power-users policy.

Options:

A.

B.

C.

D.

Buy Now
Questions 38

When using the principle of least privilege with Vault ACL policies, you start by granting broad access, then remove capabilities as issues occur.

Options:

A.

True

B.

False

Buy Now
Questions 39

Where do you define the Namespace to log into using the Vault Ul?

To answer this question

Use your mouse to click on the screenshot in the location described above. An arrow indicator will mark where you have clicked. Click the " Answer " button once you have positioned the arrow to answer the question. You may need to scroll down to see the entire screenshot.

Options:

Buy Now
Questions 40

When unsealing Vault, each Shamir unseal key should be entered:

Options:

A.

Sequentially from one system that all of the administrators are in front of

B.

By different administrators each connecting from different computers

C.

While encrypted with each administrators PGP key

D.

At the command line in one single command

Buy Now
Questions 41

You are building a new CI/CD pipeline which integrates with Vault. You will be building multiple targets: on premises in vSphere, and in AWS. You have already selected the AWS authentication method for the AWS targets.

Which auth method can the CI/CD tool use to authenticate with the on-premises targets?

Options:

A.

AWS

B.

GitHub

C.

AppRole

D.

Userpass

Buy Now
Questions 42

Where can you set the Vault seal configuration? Choose two correct answers.

Options:

A.

Cloud Provider KMS

B.

Vault CLI

C.

Vault configuration file

D.

Environment variables

E.

Vault API

Buy Now
Questions 43

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 44

Your application cannot manage authentication with Vault, but it can communicate with a local service to retrieve secrets. What solution can enable your app to generate dynamic credentials from Vault?

Options:

A.

Vault Proxy with caching feature enabled

B.

Vault Agent with environment variable secret injection

C.

Vault Proxy with Auto-Auth feature enabled

D.

Vault Agent with the templating feature configured

Buy Now
Questions 45

You need to write a Vault operator policy and give the users access to perform administrative actions in Vault. What path is used for Vault backend functions?

Options:

A.

/security

B.

/admin

C.

/vault

D.

/system

E.

/sys

F.

/backend

Buy Now
Questions 46

An application is trying to use a dynamic secret in which the lease has expired. What can be done in order for the application to successfully request data from Vault?

Options:

A.

Try the expired secret in hopes it hasn’t been deleted yet

B.

Perform a lease renewal

C.

Request a new secret and associated lease

D.

Request the TTL be extended for the secret lease

Buy Now
Questions 47

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 48

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 49

Based on the following output, what command can Steve use to determine if the KV store is configured for versioning?

text

CollapseWrapCopy

$ vault secrets list

Path Type Accessor Description

---- ---- -------- -----------

automation/ kv kv_56f991b9 Automation team for CI/CD

cloud/ kv kv_4426c541 Cloud team for static secrets

cubbyhole/ cubbyhole cubbyhole_9bd538e per-token priv secret storage

data_team/ kv kv_96d57692 Data warehouse KV for certs

identity/ identity identity_0042595e identity store

network/ kv kv_3e53aaab Network team secret storage

secret/ kv kv_d66e2adc key/value secret storage

sys/ system system_d6f218a9 system endpoints

Options:

A.

vault secrets list -all

B.

vault kv get automation

C.

vault secrets list -detailed

D.

vault kv list

Buy Now
Questions 50

Which auth method is ideal for machine-to-machine authentication?

Options:

A.

Okta

B.

UserPass

C.

GitHub

D.

AppRole

Buy Now
Questions 51

Christy has created a token and needs to use that token to access Vault. What command can she use to authenticate and access secrets stored in Vault?

$ vault token create -policy=christy

Key Value

--- -----

token hvs.hxDIPd8RPVtxu4AzSGS1lArP

token_accessor AxwxpDs6LbdFQbWGmBDnwIK3

token_duration 24h

token_renewable true

token_policies [ " christy " " default " ]

identity_policies []

policies [ " christy " " default " ]

Options:

A.

vault login hvs.hxDIPd8RPVtxu4AzSGS1lArP

B.

vault login -method=password

C.

vault login -method=token christy

D.

vault login -accessor=AxwxpDs6LbdFQbWGmBDnwIK3

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

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 54

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 55

You have a legacy application that requires secrets from Vault that must be written to a local configuration file. However, you cannot refactor the application to communicate directly with Vault. What solution should you implement to satisfy the requirements?

Options:

A.

Run the Vault Agent and use the templating feature

B.

Use the Vault Proxy with Auto-Auth to authenticate with Vault

C.

Use the Vault Proxy to act as a proxy for the Vault API

D.

Use the Vault Agent and cache the newly created tokens and leases

Buy Now
Questions 56

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 57

What command is used to extend the TTL of a token, if permitted?

Options:

A.

vault token revoke < token-id >

B.

vault capabilities < token-id >

C.

vault token lookup < token-id >

D.

vault token renew < token-id >

Buy Now
Questions 58

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 59

True or False? After initializing Vault or restarting the Vault service, each individual node in the cluster needs to be unsealed.

Options:

A.

True

B.

False

Buy Now
Questions 60

You have a long-running app that cannot handle a regeneration of a token or secret. What type of token should be created for this application in order to authenticate and interact with Vault?

Options:

A.

Service Token with Use Limit

B.

Periodic Service Token

C.

Batch Token

D.

Orphan Token

Buy Now
Questions 61

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 62

Which is not a capability that can be used when writing a Vault policy?

Options:

A.

delete

B.

modify

C.

create

D.

list

E.

read

F.

update

Buy Now
Questions 63

What command can be used to update a Vault policy named web-app-1 using the command line?

Options:

A.

vault policy create web-app-1 web.hcl

B.

vault policy fmt web.hcl

C.

vault policy update web-app-1 web.hcl

D.

vault policy write web-app-1 web.hcl

Buy Now
Questions 64

What occurs when a Vault cluster cannot maintain a quorum while using the Integrated Storage backend?

Options:

A.

Vault continues to operate in read-only mode until quorum is restored

B.

The cluster becomes unavailable and cannot commit new logs

C.

Vault automatically promotes a standby node to a leader to restore quorum

D.

Vault temporarily switches to local storage until quorum is regained

Buy Now
Questions 65

Thomas has authenticated to Vault using the API and has received the following response. What data must Thomas parse from the response in order to continue making requests to Vault?

text

CollapseWrapCopy

{

" request_id " : " 65897160-fd8b-1f87-c24e-fdba14c9728e " ,

" lease_id " : " " ,

" renewable " : false,

" lease_duration " : 0,

" data " : null,

" wrap_info " : null,

" warnings " : null,

" auth " : {

" client_token " : " hvss.lzrmRe5Y3LMcDRmOttEjWoagd92fD29fxakwej_38djs " ,

" accessor " : " EMX0nv4nr0Y1wXoaN7i0WDW1 " ,

" policies " : [ " bryan " , " default " ],

" token_policies " : [ " bryan " , " default " ],

" metadata " : { " username " : " bryan " },

" lease_duration " : 2764800,

" renewable " : true,

" entity_id " : " 40e203e8-818e-b6ad-4cb3-0befdbf9b598 " ,

" token_type " : " service " ,

" orphan " : true

}

}

Options:

A.

accessor

B.

request_id

C.

client_token

D.

entity_id

Buy Now
Questions 66

What header must be included in an API request in order to provide authentication validation?

Options:

A.

X-Token-Vault

B.

X-Vault-Token

C.

X-Token-Creds

D.

X-Vault-Creds

Buy Now
Questions 67

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 68

Given the following screenshot, how many secrets engines have been enabled by a Vault user?

Options:

A.

2

B.

3

C.

4

D.

5

Buy Now
Questions 69

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 70

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 71

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 72

Julie is a developer who needs to ensure an application can properly renew its lease for AWS credentials it uses to access data in an S3 bucket. Although the application would generally use the API, what is the equivalent CLI command to perform this action?

Options:

A.

vault renew aws/roles/s3-read-only/39e6b9a2-296-83d9-2fe0-c11e846bdc99

B.

vault lease renew aws/creds/s3-read-only/39e6b9a2-296-83d9-2fe0-c11e846bdc99

C.

vault lease renew aws/roles/s3-read-only/39e6b9a2-296-83d9-2fe0-c11e846bdc99

D.

vault lease renew aws/creds/s3-read-only

Buy Now
Questions 73

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 74

Which of the following best describes response wrapping?

Options:

A.

The response is Base64 encoded, and the user must decode the response to retrieve the cleartext data

B.

Rather than provide a direct response, Vault returns a token and an accessor

C.

Vault responds with an encrypted version of the response, decrypted via transit

D.

Vault inserts the response into a single-use token’s cubbyhole

Buy Now
Questions 75

A DevOps engineer has set up LDAP and GitHub auth methods. The engineer must ensure user Sarah, who authenticates via either method, has consistent access permissions. Which approach correctly describes how to achieve this in Vault?

Options:

A.

Create an entity for Sarah and map both her LDAP and GitHub identities as entity aliases to this single entity

B.

Create an external group and add the LDAP and GitHub providers as members of the group

C.

Create separate policies for each auth method and manually ensure they remain synchronized

D.

Configure a trust relationship between the LDAP and GitHub providers to ensure Sarah’s account is synced

Buy Now
Questions 76

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 77

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?

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 78

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 79

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 80

What API endpoint is used to manage secrets engines in Vault?

Options:

A.

/secret-engines/

B.

/sys/mounts

C.

/sys/capabilities

D.

/sys/kv

Buy Now
Questions 81

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 82

If Bobby is currently assigned the following policy, what additional policy can be added to ensure Bobby cannot access the data stored at secret/apps/confidential but still read all other secrets?

path " secret/apps/* " { capabilities = [ " create " , " read " , " update " , " delete " , " list " ] }

Options:

A.

path " secret/apps/confidential " { capabilities = [ " deny " ] }

B.

path " secret/* " { capabilities = [ " read " , " deny " ] }

C.

path " secret/apps/* " { capabilities = [ " deny " ] }

D.

path " secret/apps/confidential/* " { capabilities = [ " deny " ] }

Buy Now
Questions 83

Which of the following token attributes can be used to renew a token in Vault (select two)?

Options:

A.

TTL

B.

Token ID

C.

Identity policy

D.

Token accessor

Buy Now
Questions 84

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 85

When using the Vault Secrets Operator, where is the secret written to after being retrieved from Vault?

Options:

A.

The secret is never written to any service or persistent storage

B.

Directly to the filesystem of the pod

C.

Kubernetes Secrets

D.

To the cloud-provider’s native secret manager (Azure Key Vault, AWS Secrets Manager, etc.)

Buy Now
Questions 86

True or False? The Vault Secrets Operator does NOT encrypt client cache, such as Vault tokens and leases, by default in Kubernetes Secrets.

Options:

A.

True

B.

False

Buy Now
Questions 87

You’ve set up multiple Vault clusters, one on-premises intended to be the primary cluster, and the second cluster in AWS, which was deployed for performance replication. After enabling replication, developers complain that all the data they’ve stored in the AWS Vault cluster is missing. What happened?

Options:

A.

There is a certificate mismatch after replication was enabled since Vault replication generates its own TLS certificates to ensure nodes are trusted entities

B.

All of the data on the secondary cluster was deleted after replication was enabled

C.

The data was automatically copied to the primary cluster after replication was enabled since all writes are always forwarded to the primary cluster

D.

The data was moved to a recovery path after replication was enabled. Use the vault secrets move command to move the data back to its intended location

Buy Now
Questions 88

Tommy has written an AWS Lambda function that will perform certain tasks for the organization when data has been uploaded to an S3 bucket. Security policies for the organization do not allow Tommy to hardcode any type of credential within the Lambda code or environment variables. However, Tommy needs to retrieve a credential from Vault to write data to an on-premises database. What auth method should Tommy use in Vault to meet the requirements while not violating security policies?

Options:

A.

AWS

B.

Userpass

C.

Token

D.

AppRole

Buy Now
Questions 89

How does the Vault Secrets Operator (VSO) assist in integrating Kubernetes-based workloads with Vault?

Options:

A.

By enabling a local API endpoint to allow the workload to make requests directly from the VSO

B.

By using client-side caching for KVv1 and KVv2 secrets engines

C.

By injecting a Vault Agent directly into the pod requesting secrets from Vault

D.

By watching for changes to its supported set of Custom Resource Definitions (CRD)

Buy Now
Questions 90

Select the two paths below that would be permitted for read access based on the following Vault policy:

path " secret/+/training/* " {

capabilities = [ " create " , " read " ]

}

Options:

A.

secret/business/training

B.

secret/cloud/training/test/exam

C.

secret/departments/certification/api

D.

secret/departments/training/vault

Buy Now
Questions 91

You need a simple and self-contained HashiCorp Vault cluster deployment with minimal dependencies. Which storage backend is best suited for this use case, providing all configuration within Vault and avoiding external services?

Options:

A.

Local File Storage Backend

B.

Integrated Storage (raft) Backend

C.

Consul Backend

D.

In-Memory Backend

Buy Now
Questions 92

What command can be used to revoke all leases associated with a database role named prod-mysql?

Options:

A.

vault lease revoke database/role/prod-mysql

B.

vault lease revoke -prefix database/creds/prod-mysql

C.

vault revoke database/role/prod-mysql

D.

vault lease revoke database/creds/prod-mysql

Buy Now
Questions 93

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 94

What features are offered by the Vault Agent? (Select three)

Options:

A.

Auditing

B.

Templating

C.

Auto-auth

D.

Secret caching

Buy Now
Questions 95

You have ciphertext stored in an Amazon S3 bucket encrypted by the key named prod-customer. Will Vault decrypt this data with the command vault write transit/decrypt/prod-customer ciphertext= " vault:v4:Xa1f9FIJtn13em/Wb7QCsXsU/kCOn7... " given this output?

    $ vault read transit/keys/prod-customer

    Key Value

    --- -----

    ...

    keys map[4:1549347108 5:1549347109 6:1549347110]

    latest_version 6

    min_available_version 0

    min_decryption_version 4

    min_encryption_version 0

Will Vault decrypt this data for you by running the following command?

    $ vault write transit/decrypt/prod-customer ciphertext= " vault:v4:Xa1f9FIJtn13em/Wb7QCsXsU/kCOn7... "

Options:

A.

Yes, because the minimum decryption key configuration is set to 4

B.

No, since the latest version of the key is 6

Buy Now
Questions 96

From the options below, select the benefits of using the PKI (x.509 certificates) secrets engine (select three):

Options:

A.

TTLs on Vault certs are longer to ensure certificates are valid for a longer period of time

B.

Reducing, or eliminating certificate revocations

C.

Reduces time to get a certificate by eliminating the need to generate a private key and CSR

D.

Vault can act as an intermediate CA

Buy Now
Questions 97

Although batch and service tokens share many characteristics, which of the following are true only about batch tokens? (Select three)

Options:

A.

Can create child tokens

B.

Are renewable up until the max TTL

C.

Maintain a single fixed TTL

D.

They are valid for either the primary or any secondary clusters

E.

They are not persisted to disk

Buy Now
Exam Code: HCVA0-003
Exam Name: HashiCorp Certified: Vault Associate (003)Exam
Last Update: Jun 20, 2026
Questions: 285
HCVA0-003 pdf

HCVA0-003 PDF

$25.5  $84.99
HCVA0-003 Engine

HCVA0-003 Testing Engine

$30  $99.99
HCVA0-003 PDF + Engine

HCVA0-003 PDF + Testing Engine

$40.5  $134.99