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

HashiCorp HCVA0-003 HashiCorp Certified: Vault Associate (003) Exam Exam Practice Test

Demo: 97 questions
Total 324 questions

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

Question 1

What is the proper command to enable the AWS secrets engine at the default path?

Options:

A.

vault enable aws secrets engine

B.

vault secrets enable aws

C.

vault secrets aws enable

D.

vault enable secrets aws

Question 2

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

Options:

A.

True

B.

False

Question 3

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

Options:

A.

Cubbyhole

B.

The random byte generator

C.

TOTP secrets engine

D.

The identity secrets engine

Question 4

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

Options:

A.

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

B.

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

C.

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

D.

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

Question 5

Given the following policy, which command below would not result in a permission denied error (select two)?

path " secret/* " { capabilities = [ " create " , " update " ] allowed_parameters = { " student " = [ " steve " , " frank " , " jamie " , " susan " , " gerry " , " damien " ] } }

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

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

Options:

A.

vault kv put secret/apps/results student03=practice

B.

vault kv put secret/apps/app01 student=bryan

C.

vault kv put secret/common/results student=frank

D.

vault kv get secret/apps/api_key

Question 6

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

(Error: Permission denied in UI)

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

Question 7

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

Question 8

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

Question 9

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

Question 10

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

Options:

A.

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

B.

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

C.

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

D.

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

Question 11

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

Question 12

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

Question 13

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

Question 14

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

Question 15

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

Options:

A.

Faster deployment

B.

Persistent storage

C.

Ability to enable auth methods

D.

Encryption via TLS

Question 16

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

Question 17

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

Question 18

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

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

Options:

A.

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

B.

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

C.

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

D.

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

Question 19

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

Options:

A.

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

B.

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

C.

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

D.

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

E.

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

Question 20

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

Options:

A.

32 days (768 hours)

B.

7 days (168 hours)

C.

14 days (336 hours)

D.

31 days (744 hours)

Question 21

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

Question 22

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

Question 23

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

Question 24

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 >

Question 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

Question 26

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

Options:

A.

Token renewal

B.

Authentication to Vault

C.

Client-side caching of responses

D.

Automatically creates secrets in the desired storage backend

Question 27

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

Options:

A.

write privileges on the path auth/token

B.

write privileges on the path sys/mounts

C.

sudo privileges on the path auth/token/create

D.

sudo privileges on the path sys/mounts/token

Question 28

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

Options:

A.

root key -- > encryption key -- > data

B.

unseal keys -- > root key -- > data

C.

root key -- > data

D.

encryption key -- > root key -- > data

Question 29

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

Options:

A.

Child tokens

B.

Parent tokens

C.

Service tokens

D.

Root tokens

E.

Batch tokens

Question 30

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

Question 31

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

Options:

A.

True

B.

False

Question 32

By default, what happens to child tokens when a parent token is revoked?

Options:

A.

The child tokens are revoked

B.

The child tokens are renewed

C.

The child tokens are converted to parent tokens

D.

The child tokens create their own child tokens to be used

Question 33

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

Question 34

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

Question 35

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

Options:

A.

True

B.

False

Question 36

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

Options:

A.

encrypt

B.

decrypt

C.

rewrap

D.

update

Question 37

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

Options:

A.

root

B.

user

C.

admin

D.

default

E.

base

F.

vault

Question 38

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

Question 39

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

$ curl \

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

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

Options:

A.

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

B.

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

$ curl \

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

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

C.

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

D.

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

$ curl \

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

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

Question 40

You are using Azure Key Vault for the auto-unseal configuration on your cluster. After the Vault service restarts, what command must you run to unseal Vault?

Options:

A.

You don’t need to run a command when using auto-unseal

B.

vault operator members

C.

vault operator unseal

D.

vault operator init

Question 41

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.

Question 42

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

Question 43

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

Options:

A.

Okta

B.

AppRole

C.

Transit

D.

GitHub

Question 44

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

Question 45

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?

Options:

A.

PKI

B.

Key/Value secrets engine version 2, with TTL defined

C.

Cloud KMS

D.

Transit

Question 46

The key/value v2 secrets engine is enabled at secret/ See the following policy:

Which of the following operations are permitted by this policy? Choose two correct answers.

Options:

A.

vault kv get secret/webapp1

B.

vault kv put secret/webapp1 apikey- " ABCDEFGHI] K123M "

C.

vault kv metadata get secret/webapp1

D.

vault kv delete secret/super-secret

E.

vault kv list secret/super-secret

Question 47

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

Question 48

Which Vault secret engine may be used to build your own internal certificate authority?

Options:

A.

Transit

B.

PKI

C.

PostgreSQL

D.

Generic

Question 49

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

Question 50

You can only create orphan tokens using the root token.

Options:

A.

True

B.

False

Question 51

Which of these is not a benefit of dynamic secrets?

Options:

A.

Supports systems which do not natively provide a method of expiring credentials

B.

Minimizes damage of credentials leaking

C.

Ensures that administrators can see every password used

D.

Replaces cumbersome password rotation tools and practices

Question 52

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

Question 53

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

To answer this question

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

Options:

Question 54

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

Question 55

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

Options:

A.

Failover to a standby node

B.

Use snapshot

C.

Use audit logs

D.

Use server logs

Question 56

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

Options:

A.

B.

C.

D.

Question 57

Which of the following vault lease operations uses a lease _ id as an argument? Choose two correct answers.

Options:

A.

renew

B.

revoke -prefix

C.

create

D.

describe

E.

revoke

Question 58

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.

Question 59

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

Question 60

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

Question 61

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

Options:

A.

True

B.

False

Question 62

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

Question 63

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

Question 64

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/

Question 65

There are a few ways in Vault that can be used to obtain a root token. Select the valid methods from the answers below. (Select three)

Options:

A.

Generating a root token using a quorum of recovery keys when using Vault auto unseal

B.

Initializing Vault when first creating the cluster by using vault operator init

C.

Using a batch DR operation token to create a new root token in the event of an emergency

D.

Running the command vault token create when using a valid root token

Question 66

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

Options:

A.

Recovery key

B.

Encryption key

C.

Unseal key

D.

Root key

Question 67

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

Options:

A.

Identity secrets engine

B.

PKI secrets engine

C.

SSH secrets engine

D.

Transit secrets engine

Question 68

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

Question 69

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

Question 70

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

Question 71

Your organization is integrating its legacy application with Vault to improve its security. However, you have discovered that the application has issues when the token changes for authentication during testing. What type of token could be used to help alleviate this issue without compromising security?

Options:

A.

Periodic Service Token

B.

Root Token

C.

Orphan Service Token

D.

Batch Token

Question 72

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

Options:

A.

PKI secrets engine

B.

SSH secrets engine

C.

Transit secrets engine

D.

Cubbyhole secrets engine

Question 73

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

Question 74

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

Options:

A.

namespace

B.

role

C.

token

D.

lease_id

Question 75

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

Question 76

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

Options:

A.

TLS certificate

B.

Cryptographic barrier

C.

Unseal keys

D.

Transit secrets engine

Question 77

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

Options:

A.

They provide better performance by caching credentials for longer durations

B.

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

C.

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

D.

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

Question 78

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

Question 79

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 >

Question 80

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

Question 81

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)

Options:

A.

transit

B.

KMIP

C.

SSH

D.

transform

Question 82

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

Question 83

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

Options:

A.

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

B.

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

C.

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

D.

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

Question 84

In Vault, there are two main types of tokens, batch and service. Which of the following is true about the renewable capabilities of each?

Options:

A.

Batch tokens cannot be renewed, but service can be renewed up to the max TTL

B.

Tokens cannot be renewed without reauthenticating to Vault

C.

Service tokens cannot be renewed, but batch can be renewed up to the max TTL

D.

Both batch and service tokens can be renewed up to the max TTL

Question 85

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

Question 86

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

path " secret/+/training/* " {

capabilities = [ " create " , " read " ]

}

Options:

A.

secret/business/training

B.

secret/cloud/training/test/exam

C.

secret/departments/certification/api

D.

secret/departments/training/vault

Question 87

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

Question 88

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

Options:

A.

True

B.

False

Question 89

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

Question 90

Which of the following best describes response wrapping?

Options:

A.

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

B.

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

C.

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

D.

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

Question 91

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

Options:

A.

Disaster Recovery Replication

B.

Performance Replication

C.

Vault Agent

D.

Integrated Storage

Question 92

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

Question 93

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

Question 94

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

Question 95

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

Question 96

What API endpoint is used to enable and configure a secrets engine?

Options:

A.

/v1/sys/init

B.

/v1/sys/mounts

C.

/v1/sys/config

D.

/v1/sys/plugins/catalog

Question 97

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

Demo: 97 questions
Total 324 questions