Summer Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

ExamsBrite Dumps

HashiCorp Certified: Vault Associate (003) Exam Question and Answers

HashiCorp Certified: Vault Associate (003) Exam

Last Update Jul 26, 2026
Total Questions : 324

We are offering FREE HCVA0-003 HashiCorp exam questions. All you do is to just go and sign up. Give your details, prepare HCVA0-003 free exam questions and then go for complete pool of HashiCorp Certified: Vault Associate (003) Exam test questions that will help you more.

HCVA0-003 pdf

HCVA0-003 PDF

$36.75  $104.99
HCVA0-003 Engine

HCVA0-003 Testing Engine

$43.75  $124.99
HCVA0-003 PDF + Engine

HCVA0-003 PDF + Testing Engine

$57.75  $164.99
Questions 1

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?

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

Discussion 0
Questions 2

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

Discussion 0
Questions 3

Which of the following are true about Vault policies?

Pick the 2 correct responses below.

Options:

A.  

A Vault policy must be created for every secret that will be accessed.

B.  

Vault supports an extensible permission structure that allows new permission types to be added as plugins.

C.  

Vault policies support wildcards anywhere in the path.

D.  

Vault policies support regular expressions.

E.  

Vault policies support globbing wildcards using the * symbol only at the end of the path.

F.  

Vault policies are path-based.

Discussion 0
Questions 4

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

Discussion 0
Questions 5

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

Discussion 0
Questions 6

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

Discussion 0
Questions 7

Data protected by the Vault cryptographic barrier is encrypted with:

Options:

A.  

A PGP key.

B.  

PKI certificates.

C.  

The encryption key.

D.  

A long-lived token.

Discussion 0
Questions 8

A large organization uses Vault for various use cases with multiple auth methods enabled. A user can authenticate via LDAP, OIDC, or a local userpass account, but they receive different policies for each method and often need to log out and back in for different actions. What can be configured in Vault to ensure users have consistent policies regardless of their authentication method?

Options:

A.  

Enable the SSH secrets engine and instruct the user to obtain credentials using the new secrets engine

B.  

Create a new entity and map the aliases from each of the available auth methods

C.  

Assign the default policy to the user ' s policy used by each auth method

D.  

Provide the user with an AppRole role-id and secret-id for authentication

Discussion 0
Questions 9

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

Options:

A.  

True

B.  

False

Discussion 0
Questions 10

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

Options:

A.  

True

B.  

False

Discussion 0
Questions 11

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 " ] }

Discussion 0
Questions 12

Select the policies below that permit you to create a new entry of environment=prod at the path /secrets/apps/my_secret (select three).

Options:

A.  

path " secrets/+/my_secret " { capabilities = [ " create " ] allowed_parameters = { " * " = [] } }

B.  

path " secrets/apps/my_secret " { capabilities = [ " update " ] }

C.  

path " secrets/apps/my_secret " { capabilities = [ " create " ] allowed_parameters = { " environment " = [] } }

D.  

path " secrets/apps/* " { capabilities = [ " create " ] allowed_parameters = { " environment " = [ " dev " , " test " , " qa " , " prod " ] } }

Discussion 0
Questions 13

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

Discussion 0
Questions 14

What is true about the output of the following command (select three)?

Options:

A.  

The admin never sees all the unseal keys and cannot unseal Vault by themselves

B.  

All three users, Jane/John/Student01, will receive all unseal keys and can unseal Vault

C.  

The admin will receive the unseal keys and be able to unseal Vault themselves

D.  

The keys will be returned encrypted

E.  

Each individual can only decrypt their own unseal key using their private PGP key

Discussion 0
Questions 15

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

Discussion 0
Questions 16

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

Discussion 0
Questions 17

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

Discussion 0
Questions 18

Jason has enabled the userpass auth method at the path users/. What path would Jason and other Vault operators use to interact with this new auth method?

Options:

A.  

users/auth/

B.  

authentication/users

C.  

auth/users

D.  

users/

Discussion 0
Questions 19

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

Options:

A.  

/secret-engines/

B.  

/sys/mounts

C.  

/sys/capabilities

D.  

/sys/kv

Discussion 0
Questions 20

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

Discussion 0
Questions 21

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

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

Discussion 0
Questions 22

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

Discussion 0
Questions 23

Based on the screenshot below, how many auth methods have been enabled on this Vault instance?

Options:

A.  

1

B.  

2

C.  

4

D.  

3

Discussion 0
Questions 24

From the options below, select the benefits of using a batch token over a service token (select four).

Options:

A.  

Often used for ephemeral, high-performance workloads

B.  

Can be a root token

C.  

Can be used on performance replication clusters (if orphan)

D.  

Has accessors

E.  

Lightweight and scalable

F.  

No storage cost for token creation

Discussion 0
Questions 25

Which of the following secrets engines does NOT issue a lease upon a read request?

Options:

A.  

KV

B.  

Consul

C.  

Database

D.  

AWS

Discussion 0
Questions 26

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

Discussion 0
Questions 27

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

Discussion 0
Questions 28

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 " ] }

Discussion 0
Questions 29

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

Discussion 0
Questions 30

True or False? Your organization currently runs all of its workloads on Google Cloud Platform (GCP). Recently, Vault has been deployed, and you need to select an auth method to authenticate your workloads with Vault. Based on this information, GCP is the only auth method that can be used in your environment.

Options:

A.  

True

B.  

False

Discussion 0
Questions 31

Your organization recently suffered a security breach on a specific application, and the security response team believes that MySQL database credentials were likely obtained during the event. The application generated the credentials using the database secrets engine in Vault mounted at the path database/. How can you quickly revoke all of the secrets generated by this secrets engine?

Options:

A.  

vault token revoke database/*

B.  

vault secrets disable mysql

C.  

vault lease renew database/creds/mysql

D.  

vault lease revoke -prefix database/

Discussion 0
Questions 32

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

Discussion 0
Questions 33

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

Discussion 0
Questions 34

Which core component of Vault can store, generate, or encrypt data for organizations?

Options:

A.  

auth method

B.  

storage backend

C.  

secrets engine

D.  

audit device

Discussion 0
Questions 35

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

Discussion 0
Questions 36

Which of the following are considered benefits of using policies in Vault? (Select three)

Options:

A.  

Policies are assigned to a token on a 1:1 basis to eliminate conflicting policies

B.  

Provides granular access control to paths within Vault

C.  

Policies have an implicit deny, meaning that policies are deny by default

D.  

Policies provide Vault operators with role-based access control

Discussion 0
Questions 37

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

Discussion 0
Questions 38

How does the instance updates feature work when using the Vault Secrets Operator?

Options:

A.  

By monitoring the Vault audit logs to watch for changes to the target path

B.  

By constantly validating the current secret stored in Vault

C.  

By continuously launching an init container to check for updates

D.  

By subscribing to event notifications from Vault

Discussion 0
Questions 39

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

Discussion 0
Questions 40

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

Discussion 0
Questions 41

Vault is configured with the oidc auth method and you need to log in using the CLI. What command would you use to authenticate so you can make configuration changes to Vault?

Options:

A.  

vault login -method=oidc username=bryan

B.  

vault auth oidc

C.  

vault login auth/oidc/users/bryan

D.  

vault login username=bryan

Discussion 0
Questions 42

True or False? After rotating a transit encryption key, all data encrypted with the previous version must be rewrapped or re-encrypted with the new key.

Options:

A.  

True

B.  

False

Discussion 0
Questions 43

An Active Directory admin created a service account for an internal application. You want to store these credentials in Vault, allowing a CI/CD pipeline to read and configure the application with them during provisioning. Vault should maintain the last 3 versions of this secret. Which Vault secrets engine should you use?

Options:

A.  

The KV secrets engine

B.  

The LDAP secrets engine

C.  

The Identity secrets engine

D.  

The KV v2 secrets engine

Discussion 0
Questions 44

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

Options:

A.  

CLI

B.  

API

C.  

UI

Discussion 0
Questions 45

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

Discussion 0
Questions 46

Which statement best explains how Vault handles data encryption?

Options:

A.  

Vault uses encryption to secure data at rest and in transit, using an encryption key protected by the root key.

B.  

Vault encrypts data using a root key stored in plain text on the server’s filesystem.

C.  

Vault stores data in plaintext on disk but encrypts it only when transmitting it over the network.

D.  

Vault offloads all encryption to third-party services, so no secret data is ever processed by Vault.

Discussion 0
Questions 47

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

Discussion 0
Questions 48

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

Discussion 0
Questions 49

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

Discussion 0
Questions 50

Using the Vault CLI, there are several ways to create a new policy. Select the valid commands (Select three)

Options:

A.  

vault policy write my-policy - < < EOF

path " secret/data/* " {

capabilities = [ " create " , " update " ]

}

EOF

B.  

vault policy create my-policy /tmp/policy.hcl

C.  

vault policy write my-policy /tmp/policy.hcl

D.  

$ cat user.hcl | vault policy write my-policy -

Discussion 0
Questions 51

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

Discussion 0
Questions 52

Which two characters can be used when writing a policy to reflect a wildcard or path segment? (Select two)

Options:

A.  

The ampersand &

B.  

The at symbol @

C.  

The splat character *

D.  

A dollar sign $

E.  

The pound symbol #

F.  

The plus symbol +

Discussion 0
Questions 53

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

Discussion 0
Questions 54

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

Discussion 0
Questions 55

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

Discussion 0
Questions 56

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

Discussion 0
Questions 57

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

Discussion 0
Questions 58

You have deployed an application that needs to encrypt data before writing to a database. What secrets engine should you use?

Options:

A.  

Transit

B.  

SSH

C.  

PKI

D.  

TOTP

Discussion 0
Questions 59

Before the following command can be run to encrypt data, what (three) commands must be run to enable and configure the transit secrets engine in Vault? (Select three)

text

CollapseWrapCopy

$ vault write transit/encrypt/vendor \

plaintext= " aGFzaGljb3JwIGNlcnRpZmllZA== "

Options:

A.  

base64 < < < " hashicorp certified "

B.  

vault write transit/encrypt/vendor

C.  

vault secrets list

D.  

vault secrets enable transit

E.  

vault write -f transit/keys/vendor

Discussion 0
Questions 60

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

Options:

A.  

Okta

B.  

UserPass

C.  

GitHub

D.  

AppRole

Discussion 0
Questions 61

True or False? Once the minimum decryption version is set on an encryption key, older versions of the key are removed from Vault and are no longer available for decryption operations.

Options:

A.  

True

B.  

False

Discussion 0
Questions 62

Select the two default policies created in Vault. (Select two)

Options:

A.  

root

B.  

user

C.  

admin

D.  

default

E.  

base

F.  

vault

Discussion 0
Questions 63

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 >

Discussion 0
Questions 64

What is the default TTL for tokens in Vault if one is not specified?

Options:

A.  

24 hours (1 day)

B.  

15 minutes

C.  

768 hours (32 days)

D.  

60 minutes (1 hour)

Discussion 0
Questions 65

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

Discussion 0
Questions 66

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

Discussion 0
Questions 67

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

Discussion 0
Questions 68

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

Discussion 0
Questions 69

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

Discussion 0
Questions 70

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

Discussion 0
Questions 71

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

Discussion 0
Questions 72

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

Discussion 0
Questions 73

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

Discussion 0
Questions 74

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

Discussion 0
Questions 75

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

Discussion 0
Questions 76

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

Discussion 0
Questions 77

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

Discussion 0
Questions 78

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

Discussion 0
Questions 79

Assuming default configurations, which of the following operations require a threshold of key shares to perform? (Select three)

Options:

A.  

Rotating the Vault encryption key to adhere to internal security policies

B.  

Unsealing Vault after a scheduled maintenance to install patches

C.  

Generating a new root token as a break-glass procedure

D.  

Creating a new set of recovery keys due to an employee leaving the organization

Discussion 0
Questions 80

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

Discussion 0
Questions 81

True or False? Once you authenticate to Vault using the API, subsequent requests will automatically be permitted without further interaction.

Options:

A.  

True

B.  

False

Discussion 0
Questions 82

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

Discussion 0
Questions 83

You have a 2GB Base64 binary large object (blob) that needs to be encrypted.

How will the Transit secrets engine manage the encryption lifecycle for a large blob?

Options:

A.  

A data key encrypts the blob locally, and the same key decrypts the blob locally.

B.  

Vault will store the blob permanently. Be sure to run Vault on a compute-optimized machine.

C.  

The Transit engine is not a good solution for binaries of this size.

D.  

To process such a large blob, Vault will temporarily store it in the storage backend.

Discussion 0
Questions 84

The following three policies exist in Vault. What do these policies allow an organization to do?

Options:

A.  

Separates permissions allowed on actions associated with the transit secret engine

B.  

Nothing, as the minimum permissions to perform useful tasks are not present

C.  

Encrypt, decrypt, and rewrap data using the transit engine all in one policy

D.  

Create a transit encryption key for encrypting, decrypting, and rewrapping encrypted data

Discussion 0
Questions 85

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

Discussion 0
Questions 86

Which of the following describes usage of an identity group?

Options:

A.  

Limit the policies that would otherwise apply to an entity in the group

B.  

When they want to revoke the credentials for a whole set of entities simultaneously

C.  

Audit token usage

D.  

Consistently apply the same set of policies to a collection of entities

Discussion 0
Questions 87

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

Discussion 0
Questions 88

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

Which payload.json file has the correct contents?

Options:

A.  

B.  

C.  

D.  

Discussion 0
Questions 89

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

Discussion 0
Questions 90

Which of the following are replication methods available in Vault Enterprise? Choose two correct answers.

Options:

A.  

Cluster sharding

B.  

Namespaces

C.  

Performance Replication

D.  

Disaster Recovery Replication

Discussion 0
Questions 91

Use this screenshot to answer the question below:

Where on this page would you click to view a secret located at secret/my-secret?

Options:

A.  

A

B.  

B

C.  

C

D.  

D

E.  

E

Discussion 0
Questions 92

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

Discussion 0
Questions 93

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.

Discussion 0
Questions 94

The vault lease renew command increments the lease time from:

Options:

A.  

The current time

B.  

The end of the lease

Discussion 0
Questions 95

What is the Vault CLI command to query information about the token the client is currently using?

Options:

A.  

vault lookup token

B.  

vault token lookup

C.  

vault lookup self

D.  

vault self-lookup

Discussion 0
Questions 96

A developer mistakenly committed code that contained AWS S3 credentials into a public repository. You have been tasked with revoking the AWS S3 credential that was in the code. This credential was created using Vault ' s AWS secrets engine and the developer received the following output when requesting a credential from Vault.

Which Vault command will revoke the lease and remove the credential from AWS?

Options:

A.  

vault lease revoke aws/creds/s3-access/f3e92392-7d9c-99c8-c921-57Sd62fe89d8

B.  

vault lease revoke AKIAI0WQXTLW36DV7IEA

C.  

vault lease revoke f3e92392-7d9c-O9c8-c921-575d62fe80d8

D.  

vault lease revoke access_key-AKIAI0WQXTLW36DV7IEA

Discussion 0
Questions 97

What is Vault’s default REST API port?

Options:

A.  

443

B.  

8200

C.  

8201

D.  

8500

E.  

None of these are Vault’s default REST API port.

Discussion 0