The Vault Agent provides which of the following benefits? (Select three)
What type of Vault token does not have a TTL (Time to Live)?
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 " ]
Without logging into another interface, what feature can Chad use to execute a simple CLI command to enable a new secrets engine?

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?
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?
An application has authenticated to Vault and has obtained dynamic database credentials with a lease of 4 hours. Four hours later, the credentials expire, and the application can no longer communicate with the backend database, so the application goes down. What should the developers instruct the application to do to prevent this from happening again while maintaining the same level of security?
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 " \
Which of the following best describes a token accessor?
When generating a dynamic secret, what value is returned that a user can use to renew or revoke the lease?
Which of the following unseal options can automatically unseal Vault upon the start of the Vault service? (Select four)
You need to write a Vault operator policy and give the users access to perform administrative actions in Vault. What path is used for Vault backend functions?
True or False? The command vault lease revoke -prefix aws/ will revoke all leases associated with the secret engine mounted at /aws.
Which statement most accurately describes how the response wrapping feature functions in Vault?
After creating a dynamic credential on a database, the DBA accidentally deletes the credentials on the database itself. When attempting to remove the lease, Vault returns an error stating that the credential cannot be found. What command can be run to make Vault remove the secret?
What is the result of the following Vault command?
$ vault auth enable kubernetes
What is the correct order that Vault uses to protect data?
Using the Vault CLI, there are several ways to create a new policy. Select the valid commands (Select three)
Your application cannot manage authentication with Vault, but it can communicate with a local service to retrieve secrets. What solution can enable your app to generate dynamic credentials from Vault?
Hanna is working with Vault and has been assigned a namespace called integration, where she stores all her secrets. Hanna configured her application to use the following API request, but the request is failing. What changes below will help Hanna correctly retrieve the secret? (Select two)
$ curl \
--header " X-Vault-Token:hvs.lzrmRe5Y3LMcDRmOttEjWoag " \
--request GET \
Jarrad is an AWS engineer and has provisioned a new EC2 instance running MySQL since his application requires a specific MySQL version. He wants to integrate Vault into his workflow but is new to Vault. What secrets engine should Jarrad use to integrate this new database running in AWS?
Select the two paths below that would be permitted for read access based on the following Vault policy:
path " secret/+/training/* " {
capabilities = [ " create " , " read " ]
}
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?
Based on the output below, how many policies have been added to Vault?
$ vault policy list
base
default
root
web-app-1
automation-team
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?
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?
True or False? A token can be renewed up until the max TTL, even if the TTL has been reached.
What header must be included in an API request in order to provide authentication validation?
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)
Which of the following tokens are representative of a batch token? (Select two)
Which of the following features in Vault will replicate service tokens between clusters?
Vault operators can create two types of groups in Vault. What are the two types?
What is the default TTL for tokens in Vault if one is not specified?
You are enabling a secrets engine in Vault using the CLI. What subcommands are available when using the vault secrets command? (Select five)
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 " ]
}
You need to create a limited-privileged token that isn’t impacted by the TTL of its parent. What type of token should you create?
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?
Which of the following are valid types of tokens available in Vault? (Select five)
After setting up a new HashiCorp Vault server with the default configurations, which method can be used to unseal Vault?
The Vault encryption key is stored in Vault ' s backend storage.
When an auth method is disabled all users authenticated via that method lose access.
When unsealing Vault, each Shamir unseal key should be entered:
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?
Which of the following describes usage of an identity group?
HCP Vault Dedicated automatically enables cross-region disaster recovery replication.
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?
The Vault CLI can output to formats such as JSON, YAML, and Table.
An organization would like to use a scheduler to track & revoke access granted to a job (by Vault) at completion. What auth-associated Vault object should be tracked to enable this behavior?
Use this screenshot to answer the question below:

When are you shown these options in the GUI?
Data protected by the Vault cryptographic barrier is encrypted with:
Security requirements demand that no secrets appear in the shell history. Which command does not meet this requirement?
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?
What information do you need to collect to use an entity alias in an ACL policy?
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.
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?
You are using Vault ' s Transit secrets engine to encrypt your data. You want to reduce the amount of content encrypted with a single key in case the key gets compromised. How would you do this?
To make an authenticated request via the Vault HTTP API, which header would you use?
Which of the following are benefits of Vault Agent Caching?
Pick the 2 correct responses below.
Which of these is not a benefit of dynamic secrets?
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?
Which scenario most strongly indicates a need to run a self-hosted Vault cluster instead of using HCP Vault Dedicated?
What command would have created the token displayed below?
$ vault token lookup hvs.nNeZ2I64ALCxuO7dqQEJGPrO
Key: policies Value: [default dev], num_uses: 5, ttl: 767h59m49s
Key Value
--- -----
accessor mfvaVMFgOcXHIeqlRasroSOn
creation_time 1604610457
creation_ttl 768h
display_name token
entity_id n/a
expire_time 2024-12-07T16:07:37.7540672-05:00
explicit_max_ttl 0s
id hvs.nNeZ2I64ALCxuO7dqQEJGPrO
issue_time 2024-11-05T16:07:37.7540672-05:00
meta < nil >
num_uses 5
orphan false
path auth/token/create
policies [default dev]
renewable true
ttl 767h59m49s
type service
Given the following screenshot, how many secrets engines have been enabled by a Vault user?

Which of the following secrets engines does NOT issue a lease upon a read request?
True or False? All dynamic secrets in Vault are required to have a lease.
Select the policies below that permit you to create a new entry of environment=prod at the path /secrets/apps/my_secret (select three).
You want to integrate a third-party application to retrieve credentials from the HashiCorp Vault API. How can you accomplish this without having direct access to the source code?
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)
What is the difference between the TTL and the Max TTL (select two)?
What is true about the output of the following command (select three)?
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?
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.).
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?
What is the proper command to enable the AWS secrets engine at the default path?
From the unseal options listed below, select the options you can use if you ' re deploying Vault on-premises (select four).
From the options below, select the benefits of using a batch token over a service token (select four).
What could you do with the feature found in the screenshot below (select two)?

After encrypting data using the Transit secrets engine, you’ve received the following output. Which of the following is true based on the output displayed below?
Key: ciphertext Value: vault:v2:45f9zW6cglbrzCjI0yCyC6DBYtSBSxnMgUn9B5aHcGEit71xefPEmmjMbrk3
What API endpoint is used to manage secrets engines in Vault?
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?
Which of the following capabilities can be used when writing a Vault policy? (Select four)
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)
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=
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?
Your organization runs workloads on both AWS and Azure for production applications. The security team has requested that a single Vault authentication mechanism be enabled to support applications on both public cloud platforms. Which of the following would be a valid auth method you can use?
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?
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?
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?
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?
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)
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?
Which of the following is true about the token authentication method in Vault? (Select three)
You are using the Vault API to test authentication before modifying your CI/CD pipeline to properly authenticate to Vault. You manually authenticate to Vault and receive the response below. Based on the provided options, which of the following are true? (Select four)
$ curl \
--request POST \
--data @payload.json \
| jq
*******************************************************************************
******* RESPONSE BELOW ********************************************************
*******************************************************************************
{
" request_id " : " f758e8da-11b6-8341-d404-56f0c370a7fa " ,
" lease_id " : " " ,
" renewable " : false,
" lease_duration " : 0,
" data " : null,
" wrap_info " : null,
" warnings " : null,
" auth " : {
" client_token " : " hvs.CbzCNJCVWt63jyzyaJakgDwz " ,
" accessor " : " rffwXzKFcxvaQi6Vgo8tY4Lt " ,
" policies " : [
" training " ,
" default "
],
" token_policies " : [
" training " ,
" default "
],
" metadata " : {
" username " : " bryan.krausen "
},
" lease_duration " : 84600,
" renewable " : true,
" entity_id " : " f1795f6a-c576-d619-b2d5-74c0aee08edb " ,
" token_type " : " service " ,
" orphan " : true
}
}
By default, what methods of authentication does Vault support? (Select four)
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?
You have logged into the Vault UI and see this screen. What Vault component is being enabled in the screenshot below?
