Pre-Summer Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > HashiCorp > HashiCorp Security Automation Certification > HCVA0-003

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

Question # 4

Data protected by the Vault cryptographic barrier is encrypted with:

A.

A PGP key.

B.

PKI certificates.

C.

The encryption key.

D.

A long-lived token.

Full Access
Question # 5

You have a 2GB Base64 binary large object (blob) that needs to be encrypted. Which of the following best describes the transit secrets engine?

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 6

Examine the command below. Output has been trimmed.

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

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

Full Access
Question # 7

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?

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.

Full Access
Question # 8

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?

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

Full Access
Question # 9

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

A.

Cloud Provider KMS

B.

Vault CLI

C.

Vault configuration file

D.

Environment variables

E.

Vault API

Full Access
Question # 10

Your organization has an initiative to reduce and ultimately remove the use of long lived X.509 certificates. Which secrets engine will best support this use case?

A.

PKI

B.

Key/Value secrets engine version 2, with TTL defined

C.

Cloud KMS

D.

Transit

Full Access
Question # 11

To make an authenticated request via the Vault HTTP API, which header would you use?

A.

The X-Vault-Token HTTP Header

B.

The x-Vault-Request HTTP Header

C.

The Content-Type HTTP Header

D.

The X-Vault-Namespace HTTP Header

Full Access
Question # 12

There are three Vault policies displayed in the exhibit.

What do these policies allow the organization to do?

Exhibit:

app.hcl

path " transit/encrypt/my_app_key " { capabilities = [ " update " ] }

callcenter.hcl

path " transit/decrypt/my_app_key " { capabilities = [ " update " ] }

rewrap.hcl

path " transit/keys/my_app_key " { capabilities = [ " read " ] }

path " transit/rewrap/my_app_key " { capabilities = [ " update " ] }

A.

Encrypts, decrypts, and rewraps data using the Transit engine all in one policy.

B.

Creates a Transit encryption key for encrypting, decrypting, and rewrapping encrypted data.

C.

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

D.

Separates permissions allowed on actions associated with the Transit secrets engine.

Full Access
Question # 13

The vault lease renew command increments the lease time from:

A.

The current time

B.

The end of the lease

Full Access
Question # 14

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

A.

True

B.

False

Full Access
Question # 15

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

A.

True

B.

False

Full Access
Question # 16

What information is required to revoke a Vault lease?

A.

Secret ID

B.

User ID

C.

Lease ID

D.

Token ID

Full Access
Question # 17

If a role is able to read a secret from Vault, but unable to change the values, what capability is missing in the policy?

A.

sudo

B.

list

C.

delete

D.

update

E.

read

Full Access
Question # 18

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?

A.

Identity secrets engine

B.

Key/Value secrets engine version 2

C.

Google Cloud secrets engine

D.

SSH secrets engine

Full Access
Question # 19

When using Integrated Storage, which of the following should you do to recover from possible data loss?

A.

Failover to a standby node

B.

Use snapshot

C.

Use audit logs

D.

Use server logs

Full Access
Question # 20

What environment variable overrides the CLI ' s default Vault server address?

A.

VAULT_ADDR

B.

VAULT_HTTP_ADORESS

C.

VAULT_ADDRESS

D.

VAULT _HTTPS_ ADDRESS

Full Access
Question # 21

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

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

Full Access
Question # 22

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

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

Full Access
Question # 23

You’ve hit the URL for the Vault UI, but you’re presented with this screen. Why doesn’t Vault present you with a way to log in?

A.

The Consul storage backend was not configured correctly

B.

Vault needs to be initialized before it can be used

C.

A Vault policy is preventing you from logging in

D.

The Vault configuration file has an incorrect configuration

Full Access
Question # 24

When generating dynamic credentials, Vault also creates associated metadata, including information like time duration, renewability, and more, and links it to the credentials. What is this referred to as?

A.

Secret

B.

Token

C.

Lease

D.

Secrets engine

Full Access
Question # 25

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

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

Full Access
Question # 26

    A Jenkins server is using the following token to access Vault. Based on the lookup shown below, what type of token is this? $ vault token lookup hvs.FGP1A77Hxa1Sp6Pkp1yURcZB

     

    Key Value

    --- -----

    accessor RnH8jtgrxBrYanizlyJ7Y8R

    creation_time 1604604512

    creation_ttl 24h

    display_name token

    entity_id n/a

    expire_time 2025-11-06T14:28:32.8891566-05:00

    explicit_max_ttl 0s

    id hvs.FGP1A77Hxa1Sp6KRau5eNB

    issue_time 2025-11-06T14:28:32.8891566-05:00

    meta < nil >

    num_uses 0

    orphan false

    path auth/token/create

    period 24h

    policies [admin default]

    renewable true

    ttl 23h59m50s

    type service

A.

Periodic token

B.

Batch token

C.

Orphaned token

D.

Secondary token

Full Access
Question # 27

By default, what TCP port does Vault replication use?

A.

tcp/8200

B.

tcp/8300

C.

tcp/8201

D.

tcp/8301

Full Access
Question # 28

In regards to the Transit secrets engine, which of the following is true given the following command and output (select three):

$ vault write encryption/encrypt/creditcard plaintext=$(base64 < < < " 1234 5678 9101 1121 " )

Key: ciphertext Value: vault:v3:cZNHVx+sxdMErXRSuDa1q/pz49fXTn1PScKfhf+PIZPvy8xKfkytpwKcbC0fF2U=

A.

The Transit secrets engine is mounted at the encryption path

B.

The name of the keyring used to encrypt the data is creditcard

C.

There are at least three data keys associated with this keyring

D.

The data was written to the encryption path, which is provided by default when enabling the Transit secrets engine

Full Access
Question # 29

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.).

A.

True

B.

False

Full Access
Question # 30

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

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

Full Access
Question # 31

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

A.

24 hours

B.

30 days

C.

32 days

D.

Transit does not store data

Full Access
Question # 32

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

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

Full Access
Question # 33

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?

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

Full Access
Question # 34

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

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

Full Access
Question # 35

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

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

Full Access
Question # 36

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

A.

True

B.

False

Full Access
Question # 37

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?

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 >

Full Access
Question # 38

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)

A.

Userpass

B.

Auth

C.

Root token

D.

Child token

Full Access
Question # 39

During a service outage, you must ensure all current tokens and leases are copied to another Vault cluster for failover so applications don’t need to authenticate. How can you accomplish this?

A.

Have Vault write all the tokens and leases to a file so you have a second copy of them

B.

Configure all applications to use the auto-auth feature of the Vault Agent

C.

Configure Disaster Recovery replication and promote the secondary cluster during an outage

D.

Replicate to another cluster using Performance Replication and promote the secondary cluster during an outage

Full Access
Question # 40

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

A.

/secret-engines/

B.

/sys/mounts

C.

/sys/capabilities

D.

/sys/kv

Full Access
Question # 41

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?

A.

Identity secrets engine

B.

PKI secrets engine

C.

SSH secrets engine

D.

Transit secrets engine

Full Access
Question # 42

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?

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

Full Access
Question # 43

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

A.

Performance Replication

B.

Integrated Storage

C.

Disaster Recovery Replication

D.

Vault Secrets Operator

Full Access
Question # 44

Your organization uses a CI/CD pipeline to deploy its applications on Azure. During testing, you generate new credentials to validate Vault can create new credentials. The result of this command is below:

text

CollapseWrapCopy

$ vault read azure/creds/bryan-krausen

Key Value

--- -----

lease_id azure/creds/bryan-krausen/9eed0373-ca92-99b6-b914-779b7bb0e1d9

lease_duration 60m

lease_renewable true

client_id 532bf678-ee4e-6be1-116b-4e4221e445dd

client_secret be60395b-4e6b-2b7e-a4b3-c449a5c00973

What commands can be used to revoke this secret after you have finished testing? (Select three)

A.

vault lease revoke azure/

B.

vault lease revoke -prefix azure/

C.

vault lease revoke azure/creds/bryan-krausen/9eed0373-ca92-99b6-b914-779b7bb0e1d9

D.

vault lease revoke azure/creds/bryan-krausen

E.

vault lease revoke -prefix azure/creds/bryan-krausen

Full Access
Question # 45

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

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

    Key Value

    --- -----

    plaintext Zml2ZSBzdGFyIHByYWN0aWNlIGV4YW1zIGJ5IGJyeWFuIGtyYXVzZW4=

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 46

Frapps, Inc. is a coffee startup specializing in frozen caffeinated beverages. Their new customer loyalty web app uses Vault to store sensitive information, choosing Integrated Storage for its benefits. Select the benefits the organization would see by using Integrated Storage over other storage backends (Select four)

A.

Eliminates network communication between hosts, requiring no open ports between hosts

B.

Uses the SERF gossip protocol to enable communication between cluster nodes

C.

Eliminates the requirement to deploy and manage a separate platform for storing encrypted data

D.

Simplified troubleshooting since Integrated Storage is a built-in solution

E.

Reduces operational overhead since all configuration is within Vault itself

F.

Immediate access to storage since the data is stored locally on disk

Full Access
Question # 47

To protect the sensitive data stored in Vault, what key is used to encrypt the data before it is written to the storage backend?

A.

Recovery key

B.

Encryption key

C.

Unseal key

D.

Root key

Full Access
Question # 48

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?

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

Full Access
Question # 49

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?

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

Full Access
Question # 50

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

A.

True

B.

False

Full Access
Question # 51

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?

A.

The KV secrets engine

B.

The LDAP secrets engine

C.

The Identity secrets engine

D.

The KV v2 secrets engine

Full Access
Question # 52

Sara uses the Vault CLI for administrative tasks on the production cluster. However, she encounters permission-denied errors when making changes and needs to check which policies are attached to her token to view and adjust permissions. What command can she run on the Vault node to see the attached policies?

A.

vault operator diagnose

B.

vault policy list

C.

vault token capabilities

D.

vault token lookup

Full Access
Question # 53

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

A.

Storage Backends

B.

Secrets Engine

C.

Auth Methods

D.

Audit Devices

Full Access
Question # 54

You are planning to deploy a new Vault cluster for your organization and notice that Vault supports a wide variety of storage backends. You need high availability since you will have multiple applications relying on the Vault service. When building your cluster, can you choose any of the available storage backends?

A.

Yes, because all backends provide similar functionality

B.

No, because not all storage backends provide similar functionality

Full Access
Question # 55

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

A.

PKI secrets engine

B.

SSH secrets engine

C.

Transit secrets engine

D.

Cubbyhole secrets engine

Full Access
Question # 56

You have a CI/CD pipeline using Terraform to provision AWS resources with static privileged credentials. Your security team requests that you use Vault to limit AWS access when needed. How can you enhance this process and increase pipeline security?

A.

Enable the SSH secrets engine and have Terraform generate dynamic credentials when deploying resources in AWS

B.

Enable the Transit secrets engine to encrypt the AWS credentials and have Terraform retrieve these credentials when needed

C.

Store the AWS credentials in the Vault KV store and use the Vault provider to obtain these credentials on each terraform apply

D.

Enable the aws secrets engine and configure Terraform to dynamically generate a short-lived AWS credential on each terraform apply

Full Access
Question # 57

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

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

Full Access
Question # 58

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)

A.

X-Vault-Token: < token >

B.

Token: < token >

C.

Authentication: < token >

D.

Authorization: Bearer < token >

Full Access
Question # 59

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?

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

Full Access
Question # 60

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

A.

Kubernetes

B.

AppRole

C.

TLS

D.

OIDC

Full Access
Question # 61

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

A.

CLI

B.

API

C.

UI

Full Access
Question # 62

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

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 -

Full Access
Question # 63

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

A.

True

B.

False

Full Access
Question # 64

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

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

Full Access
Question # 65

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

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

Full Access
Question # 66

An application requires a specific key/value pair to be updated in order to process a batch job. The value should be either " true " or " false. " However, when developers have been updating the value, sometimes they mistype the value or capitalize the value, causing the batch job not to run. What feature of a Vault policy can be used to restrict entry to the required values?

A.

Add a deny statement for all possible misspellings of the value

B.

Add an allowed_parameters value to the policy

C.

Change the policy to include the list capability

D.

Use a * wildcard at the end of the policy

Full Access
Question # 67

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

A.

root

B.

user

C.

admin

D.

default

E.

base

F.

vault

Full Access
Question # 68

What is the default method of authentication after first initializing Vault?

A.

TLS certificates

B.

GitHub

C.

Admin account

D.

Tokens

E.

AppRole

F.

Userpass

Full Access
Question # 69

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

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

Full Access
Question # 70

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.

A.

True

B.

False

Full Access
Question # 71

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

A.

Token renewal

B.

Authentication to Vault

C.

Client-side caching of responses

D.

Automatically creates secrets in the desired storage backend

Full Access
Question # 72

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

A.

root key -- > encryption key -- > data

B.

unseal keys -- > root key -- > data

C.

root key -- > data

D.

encryption key -- > root key -- > data

Full Access
Question # 73

Which statement most accurately describes how the response wrapping feature functions in Vault?

A.

Vault takes the response it would have sent to an HTTP client and instead inserts it into the cubbyhole of a single-use token, returning that single-use token instead.

B.

Vault encrypts the response with a dedicated key and sends it directly to the client, never storing it on the server or using single-use tokens for additional security.

C.

Vault divides the response into separate parts and stores each part in different tokens, requiring all tokens to be combined before disclosing the secret to the requesting client.

D.

Vault duplicates the response within a persistent token and allows multiple unwraps, ensuring that any user with the correct token can retrieve the secret repeatedly without time restrictions.

Full Access
Question # 74

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

A.

True

B.

False

Full Access
Question # 75

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

A.

vault secrets list -all

B.

vault kv get automation

C.

vault secrets list -detailed

D.

vault kv list

Full Access
Question # 76

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

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.

Full Access
Question # 77

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

A.

OIDC/JWT

B.

Okta

C.

Active Directory

D.

UserPass

Full Access
Question # 78

Which of the following best describes a token accessor?

A.

A value that describes which clients have access to the attached token

B.

Describes the value associated with the token’s TTL

C.

A token used for clients to access Vault secrets engines

D.

A value that acts as a reference to a token which can be used to perform limited actions against the token

Full Access
Question # 79

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

A.

Child tokens

B.

Parent tokens

C.

Service tokens

D.

Root tokens

E.

Batch tokens

Full Access
Question # 80

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

A.

AWS

B.

Kubernetes

C.

Token

D.

OIDC/JWT

E.

Userpass

F.

Cubbyhole

G.

AppRole

Full Access
Question # 81

Your organization operates active/active applications across multiple data centers for high availability. Which Vault feature should be used in the secondary data centers to provide local access to secrets?

A.

Performance standby nodes

B.

Customized plugins for the Vault cluster

C.

Disaster recovery cluster

D.

Performance replication cluster

Full Access
Question # 82

Tanner manages a data processing application and needs to be sure the data being processed is encrypted so it is securely stored post-processing. Which secrets engines can encrypt data? (Select three)

A.

transit

B.

KMIP

C.

SSH

D.

transform

Full Access
Question # 83

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

A.

Creating the recovery keys

B.

Exporting the encryption key

C.

Reconstructing the root key

D.

Decrypting the Vault data

Full Access
Question # 84

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

A.

update

B.

migrate

C.

tune

D.

enable

E.

move

F.

disable

G.

list

Full Access
Question # 85

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?

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

Full Access
Question # 86

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

A.

Okta

B.

Tokens

C.

TLS Certificates

D.

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

E.

LDAP

F.

AppRole

Full Access
Question # 87

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

A.

True

B.

False

Full Access
Question # 88

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

A.

Primary token

B.

Batch token

C.

Orphan service token

D.

Service token

E.

Root token

F.

Periodic service token

Full Access
Question # 89

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?

A.

Add additional standby nodes

B.

Enable multiple secrets engines for the applications

C.

Enable control groups

D.

Add performance standby nodes

Full Access
Question # 90

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

}

}

A.

accessor

B.

request_id

C.

client_token

D.

entity_id

Full Access
Question # 91

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?

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

Full Access
Question # 92

True or False? You can create and update Vault policies using the UI.

A.

True

B.

False

Full Access
Question # 93

Which of the following best describes response wrapping?

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

Full Access
Question # 94

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?

A.

Local File Storage Backend

B.

Integrated Storage (raft) Backend

C.

Consul Backend

D.

In-Memory Backend

Full Access
Question # 95

What command would you use to enable the Kubernetes secrets engine at the path of /k8s-cluster?

A.

vault secrets enable -path=k8s-cluster kubernetes

B.

vault kv put k8s-cluster type=kubernetes

C.

vault write sys/mounts/k8s-cluster

D.

vault secrets enable kubernetes -path=k8s-cluster

Full Access
Question # 96

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

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

Full Access