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

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

Questions 4

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 4

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 5

Your co-worker has asked you to perform certain operations in Vault and has provided you with a token accessor (not the token itself). What Vault operations would you be allowed to perform using only the provided accessor? (Select three)

Options:

A.

Renew the token to extend the TTL

B.

Revoke the token in Vault to make it invalid

C.

Create child tokens associated with the same policies as the related token

D.

Lookup properties of the token, such as the TTL, policies, and metadata

Buy Now
Questions 6

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 7

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 8

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 9

You have enabled the Transit secrets engine and want to start encrypting data to store in Azure Blob storage. What is the next step that needs to be completed before you can encrypt data? (Select two)

Options:

A.

Export the encryption key and upload it to the application server

B.

Enable the Transit secrets engine API

C.

Create an encryption key for the application to use

D.

Write a policy that permits the application to use the encryption key

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 multiple Vault clusters in your environment, one for test and one for production. You have the CLI installed on your local machine and need to target the production cluster to make configuration changes. What environment variable can you set to target the production cluster?

Options:

A.

VAULT_REDIRECT_ADDR

B.

VAULT_CLUSTER_ADDR

C.

VAULT_ADDR

D.

VAULT_CAPATH

Buy Now
Questions 12

All Vault instances, or clusters, include two built-in policies that are created automatically. Choose the two policies below and the correct information regarding each policy. (Select two)

Options:

A.

The root policy is created automatically. This policy provides superuser privileges and cannot be deleted

B.

The admin policy is created automatically. It provides administrative permissions but can be deleted if needed

C.

The default policy is created automatically. This policy can be modified but not deleted

D.

The default policy is created automatically. This policy cannot be modified but it can be deleted

Buy Now
Questions 13

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 14

You are configuring your application to retrieve a new PKI certificate upon provisioning. The Vault admins have given you an AppRole role-id and secret-id to inject into the CI/CD pipeline job that provisions your app. The application uses the credentials to successfully authenticate to Vault using the API. Which of the following is true about the step next required after authenticating to Vault?

Options:

A.

The client token needs to be retrieved from the API response before requesting the new PKI certificate

B.

The initial API response should include the new PKI certificate and no further action is required

C.

The app still needs to use the role-id and secret-id to request the new PKI certificate via API

D.

Now that the app is authenticated, it can simply make another API request for the PKI certificate

Buy Now
Questions 15

You have successfully authenticated using the Kubernetes auth method, and Vault has provided a token. What HTTP header can be used to specify your token when you request dynamic credentials? (Select two)

Options:

A.

X-Vault-Token: < token >

B.

Token: < token >

C.

Authentication: < token >

D.

Authorization: Bearer < token >

Buy Now
Questions 16

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 17

A Fintech company is using Vault to store its static long-lived credentials so automated processes can quickly retrieve secrets. A user needs to add a new static secret for a new automated job. What CLI commands can be used to store a new static credential? (Select two)

Options:

A.

vault kv put kv/training/certification/vault @secrets.txt

B.

vault kv write kv/training/certification/vault key=username value=bryan

C.

vault kv create kv/training/certification/vault @secrets.txt

D.

vault kv put -mount=secret creds passcode=my-long-passcode

Buy Now
Questions 18

Which of the following best describes the function of the Vault Secrets Operator in a Kubernetes environment?

Options:

A.

It replaces the Kubernetes secrets API entirely and operates purely as a certificate authority for all workloads.

B.

It is a standalone Vault server that automatically applies security policies and rotates root tokens.

C.

It continuously reconciles and synchronizes secrets from Vault to Kubernetes, ensuring secrets are always updated

D.

It provides an interface to dynamically provision Kubernetes clusters through Vault’s infrastructure secrets.

Buy Now
Questions 19

What is the result of the following Vault command?

$ vault auth enable kubernetes

Options:

A.

Allows Vault to access usernames and passwords stored in a Kubernetes cluster

B.

Mounts the Kubernetes auth method to the default path of kubernetes/

C.

Imports Kubernetes secrets to the local KV database

D.

Enables Vault to host an IdP for Kubernetes workloads

Buy Now
Questions 20

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 21

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 22

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 23

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 24

True or False? All Vault policies are deny by default.

Options:

A.

True

B.

False

Buy Now
Questions 25

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 26

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 27

Mike’s Cereal Shack uses Vault to encrypt customer data to ensure it is always stored securely. They are developing a new application integration to send new customer data to be encrypted using the following API request:

text

CollapseWrapCopy

$ curl \

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

--request POST \

--data @data.json \

https://vault.mcshack.com:8200/v1/transit/encrypt/customer-data

What would be contained within the data.json file?

Options:

A.

Transit secrets engine configuration file

B.

Ciphertext to be decrypted

C.

The encryption key to be used for encrypting the data

D.

Cleartext customer data to be encrypted

Buy Now
Questions 28

When generating a dynamic secret, what value is returned that a user can use to renew or revoke the lease?

Options:

A.

renewable

B.

token_ttl

C.

lease_max

D.

lease_id

Buy Now
Questions 29

Beyond encryption and decryption of data, which of the following is not a function of the Transit secrets engine?

Options:

A.

Generate hashes and HMACs of data

B.

Sign and verify data

C.

Store the encrypted data securely in Vault for retrieval

D.

Act as a source of random bytes

Buy Now
Questions 30

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 31

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 32

Which of the following are benefits of using the Vault Secrets Operator (VSO)? (Select three)

Options:

A.

Support for syncing from multiple secret sources

B.

Bi-directional sync between Vault and Kubernetes Secrets

C.

Automatic secret drift and remediation

D.

Automatic secret rotation for multiple Kubernetes resource types

Buy Now
Questions 33

Which of the following features are not available in the Vault Community version?

Options:

A.

Cloud KMS auto-unseal

B.

Single sign-on support

C.

Event notifications and filtering

D.

Multi-factor authentication (auth)

E.

Dynamic secrets engines

F.

HSM auto-unseal

Buy Now
Questions 34

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 35

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 36

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

Options:

A.

Okta

B.

UserPass

C.

GitHub

D.

AppRole

Buy Now
Questions 37

What can be used to limit the scope of a credential breach?

Options:

A.

Storage of secrets in a distributed ledger

B.

Enable audit logging

C.

Use of a short-lived dynamic secrets

D.

Sharing credentials between applications

Buy Now
Questions 38

You can use the token accessor to look up the actual token ID.

Options:

A.

True

B.

False

Buy Now
Questions 39

Which statement best explains the role and usage of storage backends in HashiCorp Vault?

Options:

A.

They store Vault’s persistent data, affecting the scalability and performance of managing Vault.

B.

They handle the encryption of all secrets so that Vault remains completely stateless.

C.

They store only ephemeral tokens, ensuring no persistent data is ever saved.

D.

They store only unseal keys, while all secret data remains in Vault’s memory.

Buy Now
Questions 40

An authentication method should be selected for a use case based on:

Options:

A.

The auth method that best establishes the identity of the client

B.

The cloud provider for which the client is located on

C.

The strongest available cryptographic hash for the use case

D.

Compatibility with the secret engine which is to be used

Buy Now
Questions 41

Two screenshots are shown in the exhibit.

You expect the ACL Policies menu to be shown as seen in Image 1. Instead, the ACL Policies menu is not displayed, as in Image 2.

Why would this menu not be displayed?

Options:

A.

Your token’s policies do not allow access to manage policies.

B.

The policy engine is not enabled.

C.

You need to be in the policy namespace.

D.

None of these explain this scenario.

Buy Now
Questions 42

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 43

A user issues the following cURL command to encrypt data using the transit engine and the Vault AP:

HCVA0-003 Question 43

Which payload.json file has the correct contents?

Options:

A.

HCVA0-003 Question 43 Option 1

B.

43

C.

43

D.

43

Buy Now
Questions 44

What information do you need to collect to use an entity alias in an ACL policy?

Options:

A.

Auth method path

B.

Group name

C.

Auth method mount accessor

D.

Metadata key

Buy Now
Questions 45

You would like to provision virtual machines (VMs) using infrastructure as code (IaC). The VMs require an OAuth token to access GCP services during provisioning. You are required to use tokens that can be generated and revoked automatically.

Which secrets engine would meet this need?

Options:

A.

Identity secrets engine

B.

Key/Value secrets engine version 2

C.

Google Cloud secrets engine

D.

SSH secrets engine

Buy Now
Questions 46

Which of the following statements describe the secrets engine in Vault? Choose three correct answers.

Options:

A.

Some secrets engines simply store and read data

B.

Once enabled, you cannot disable the secrets engine

C.

You can build your own custom secrets engine

D.

Each secrets engine is isolated to its path

E.

A secrets engine cannot be enabled at multiple paths

Buy Now
Questions 47

When an auth method is disabled all users authenticated via that method lose access.

Options:

A.

True

B.

False

Buy Now
Questions 48

You can only create orphan tokens using the root token.

Options:

A.

True

B.

False

Buy Now
Questions 49

Security requirements demand that no secrets appear in the shell history. Which command does not meet this requirement?

Options:

A.

generate-password | vault kv put secret/password value

B.

vault kv put secret/password value-itsasecret

C.

vault kv put secret/password value=@data.txt

D.

vault kv put secret/password value-SSECRET_VALUE

Buy Now
Questions 50

Examine the command below. Output has been trimmed.

HCVA0-003 Question 50

Which of the following statements describe the command and its output?

Options:

A.

Missing a default token policy

B.

Generated token ' s TTL is 60 hours

C.

Generated token is an orphan token which can be renewed indefinitely

D.

Configures the AppRole auth method with user specified role ID and secret ID

Buy Now
Questions 51

You have enabled the database secrets engine at the database/ path and created the readonly role. You run vault read, and the output shown in the exhibit is returned.

Which command renews the given lease?

Exhibit:

$ vault read database/creds/readonly

lease_id database/creds/readonly/fyF5xDomnKeCHNZNQgStwBKD

lease_duration 1h

lease_renewable true

password Ala-ckirtymYaXACplHn

username v-token-readonly-6iRIcGv8tLpu816oblPY-1556567086

Options:

A.

vault lease renew database/creds/readonly/fyF5xDomnKeCHNZNQgStwBKD

B.

Leases with the parameter lease_renewable set to true are renewed automatically.

C.

vault lease renew database/creds/readonly/

D.

vault lease renew

Buy Now
Questions 52

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 53

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 54

What command creates a secret with the key " my-password " and the value " 53cr3t " at path " my-secrets " within the KV secrets engine mounted at " secret " ?

Options:

A.

vault kv put secret/my-secrets/my-password 53cr3t

B.

vault kv write secret/my-secrets/my-password 53cr3t

C.

vault kv write 53cr3t my-secrets/my-password

D.

vault kv put secret/my-secrets »y-password-53cr3t

Buy Now
Questions 55

A system starts up 1000+ containers, all requiring connection to Vault upon its initial setup.

Which strategy will reduce I/O traffic to the storage backend?

Options:

A.

Use Kubernetes auth method.

B.

Use batch tokens.

C.

Use AppRole auth method.

D.

Use service tokens with short TTL.

E.

Use single-use tokens.

Buy Now
Questions 56

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 57

How many Shamir ' s key shares are required to unseal a Vault instance?

Options:

A.

All key shares

B.

A quorum of key shares

C.

One or more keys

D.

The threshold number of key shares

Buy Now
Questions 58

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 59

Suzy is a Vault user that needs to create and replace values at the path secrets/automation/apps/chef. Does the following policy permit her the permissions to do so?

text

CollapseWrapCopy

path " secrets/automation/apps/chef " {

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

}

Options:

A.

No, the policy would deny Suzy from performing certain actions

B.

Yes, the policy has appropriate permissions

Buy Now
Questions 60

Which of the following storage backends support high availability? (Select four)

Options:

A.

Consul

B.

etcd

C.

DynamoDB

D.

Integrated Storage (raft)

E.

Amazon S3

F.

In-Memory

Buy Now
Questions 61

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 62

You have multiple Kubernetes pods that need frequent access to Vault to retrieve credentials for establishing connectivity to a backend database. You enable the Kubernetes auth method in Vault. What resource do you need to create within Kubernetes to complete this configuration?

Options:

A.

Username and password for kubectl

B.

k8s service account token

C.

A Vault token for authentication

D.

An AppRole role_id and secret_id

Buy Now
Questions 63

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 64

Which of the following tokens are representative of a batch token? (Select two)

Options:

A.

hvr.AAAAAQL_tyer_gNuQqvQYPVQgsNxjap_YW1NB2m4CDHHadQo7rF2XLFGdwNJplAZNKbfloOvifrbpRCGdgG1taTqmC7Da_qftN64zeL10SmNwEoDTiPzC_1aS1KExbtVftU3Sx16cBVqaynwsYRDfVnfTAffE

B.

hvb.CAESIKOOSODDNGUJQe3EmsS8EQthulLjxRDhan_Axte2OrmPGiAKHGh2cy5KVnNhM25JdG82cDB0a1ZDbWhPTlAyekMQHg

C.

hvb.AAAAAQJnAGuRT_z8FD_jOwP26zYaNzJ456_SVqse0oXtaqrpaLUC3LlHrUoJhQPylGX7A6K_dcS0shiql6g5-BVpz0QIkCm7ePFQVjDT2HcIf8C6FNgkW313vYgBGP8lzQHebtspC0pqK64cfyU_qPKIka2u4ng-jsoy

D.

hvs.493n55sZp2lX2zyQfpkHTkL4

Buy Now
Questions 65

Hanna is working with Vault and has been assigned a namespace called integration, where she stores all her secrets. Hanna configured her application to use the following API request, but the request is failing. What changes below will help Hanna correctly retrieve the secret? (Select two)

$ curl \

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

--request GET \

https://vault.example.com:8200/v1/secret/data/my-secret

Options:

A.

$ curl --header " X-Vault-Token:hvs.lzrmRe5Y3LMcDRmOttEjWoag " --request GET\integration https://vault.example.com:8200/v1/secret/data/my-secret

B.

$ curl --header " X-Vault-Token:hvs.lzrmRe5Y3LMcDRmOttEjWoag " --request GET --namespace " integration " https://vault.example.com:8200/v1/secret/data/my-secret

C.

$ curl --header " X-Vault-Token:hvs.lzrmRe5Y3LMcDRmOttEjWoag " --request GET https://vault.example.com:8200/v1/integration/secret/data/my-secret

D.

$ curl --header " X-Vault-Token:hvs.lzrmRe5Y3LMcDRmOttEjWoag " --header " X-Vault-Namespace:integration " --request GET https://vault.example.com:8200/v1/secret/data/my-secret

Buy Now
Questions 66

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 67

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 68

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 69

You have TBs of data encrypted by Vault stored in a database and are worried about Vault becoming unavailable and not being able to decrypt the data. Is it possible to export the encryption key to store it somewhere else in the event Vault becomes unavailable?

Options:

A.

Yes, as long as the key was configured to be exportable when it was created

B.

No, you cannot export the encryption key from Vault

Buy Now
Questions 70

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 71

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 72

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

Options:

A.

Auditing

B.

Templating

C.

Auto-auth

D.

Secret caching

Buy Now
Questions 73

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 74

You are enabling a secrets engine in Vault using the CLI. What subcommands are available when using the vault secrets command? (Select five)

Options:

A.

update

B.

migrate

C.

tune

D.

enable

E.

move

F.

disable

G.

list

Buy Now
Questions 75

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 76

Which of the following are valid types of tokens available in Vault? (Select five)

Options:

A.

Primary token

B.

Batch token

C.

Orphan service token

D.

Service token

E.

Root token

F.

Periodic service token

Buy Now
Questions 77

By default, what TCP port does Vault replication use?

Options:

A.

tcp/8200

B.

tcp/8300

C.

tcp/8201

D.

tcp/8301

Buy Now
Questions 78

Vault operators can create two types of groups in Vault. What are the two types?

Options:

A.

External groups

B.

Security groups

C.

Policy groups

D.

Internal groups

Buy Now
Questions 79

When configuring Vault replication and monitoring its status, you keep seeing something called ' WALs ' . What are WALs?

Options:

A.

Warning of allocated logs

B.

Write along logging

C.

Write-ahead logs

D.

Wake after LAN

Buy Now
Questions 80

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 81

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 81

(Error: Permission denied in UI)

HCVA0-003 Question 81

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 82

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 83

Which scenario most strongly indicates a need to run a self-hosted Vault cluster instead of using HCP Vault Dedicated?

Options:

A.

Your organization doesn’t require any custom security policies or intricate network topologies

B.

You want to offload all operational tasks and rely on HashiCorp to manage patching, upgrades, and infrastructure

C.

You prefer a fully managed environment that is readily scalable with minimal configuration overhead

D.

You must maintain specific compliance or custom integration requirements that demand full control over the Vault environment, including infrastructure provisioning and plugin development

Buy Now
Questions 84

Which of the following are accurate statements regarding the use of a KV v2 secrets engine (select three)?

Options:

A.

Issuing a vault kv destroy command permanently deletes the current version of the secret

B.

Issuing a vault kv destroy command deletes all versions of a secret

C.

Issuing a vault kv delete command performs a soft delete of the current version

D.

Issuing a vault kv metadata delete command permanently deletes the secret

Buy Now
Questions 85

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 86

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

HCVA0-003 Question 86

Options:

A.

2

B.

3

C.

4

D.

5

Buy Now
Questions 87

What is the difference between the TTL and the Max TTL (select two)?

Options:

A.

The TTL defines when the token will expire and be revoked

B.

The TTL defines when another token will be generated

C.

The Max TTL defines the timeframe for which a token cannot be used

D.

The Max TTL defines the maximum timeframe for which a token can be renewed

Buy Now
Questions 88

You want to encrypt a credit card number using the Transit secrets engine. You enter the following command and receive an error. What can you do to ensure that the credit card number is properly encrypted and the ciphertext is returned?

$ vault write -format=json transit/encrypt/creditcards plaintext= " 1234 5678 9101 1121 "

Error: * illegal base64 data at input byte 4

Options:

A.

The plain text data needs to be encoded to base64

B.

The token used to issue the encryption request does not have the appropriate permissions

C.

Credit card numbers are not supported using the Transit secrets engine since it is considered sensitive data

D.

The credit card number should not include spaces

Buy Now
Questions 89

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 90

After decrypting data using the Transit secrets engine, the plaintext output does not match the plaintext credit card number that you encrypted. Which of the following answers provides a solution?

$ vault write transit/decrypt/creditcard ciphertext= " vault:v1:cZNHVx+sxdMEr....... "

Key: plaintext Value: Y3JlZGl0LWNhcmQtbnVtYmVyCg==

Options:

A.

Vault is sealed, therefore the data cannot be decrypted. Unseal Vault to properly decrypt the data

B.

The user doesn’t have permission to decrypt the data, therefore Vault returns false data

C.

The resulting plaintext data is base64-encoded. To reveal the original plaintext, use the base64 --decode command

D.

The data is corrupted. Execute the encryption command again using a different data key

Buy Now
Questions 91

True or False? When encrypting data with the Transit secrets engine, Vault always stores the ciphertext in a dedicated KV store along with the associated encryption key.

Options:

A.

True

B.

False

Buy Now
Questions 92

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 93

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 94

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 94

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 95

According to the screenshot below, what auth method did this client use to log in to Vault?

(Screenshot shows a lease path: auth/userpass/login/student01)

Options:

A.

Userpass

B.

Auth

C.

Root token

D.

Child token

Buy Now
Questions 96

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 97

What could you do with the feature found in the screenshot below (select two)?

HCVA0-003 Question 97

Options:

A.

Using a short TTL, you could encrypt data in order to place only the encrypted data in Vault

B.

Encrypt the Vault master key that is stored in memory

C.

Encrypt sensitive data to send to a colleague over email

D.

Use response-wrapping to protect data

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

PDF + Testing Engine

$134.99

Testing Engine

$99.99

PDF (Q&A)

$84.99