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?
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?
What of the following features are true about batch tokens in Vault? (Select two)
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?
A Fintech company is using Vault to store its static long-lived credentials so automated processes can quickly retrieve secrets. A user needs to add a new static secret for a new automated job. What CLI commands can be used to store a new static credential? (Select two)
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 \
https://vault.krausen.com:8200/v1/auth/userpass/login/bryan.krausen | 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
}
}
A developer team requests integration of their legacy application with Vault to encrypt and decrypt data for a backend database. They cannot modify the application for Vault authentication. What is the best way to achieve this integration?
How does the instance updates feature work when using the Vault Secrets Operator?
You are using Vault CLI and enable the database secrets engine on the default path of database/. However, the DevOps team wants to enable another database secrets engine for testing but receives an error stating the path is already in use. How can you enable a second database secrets engine using the CLI?
Which core component of Vault can store, generate, or encrypt data for organizations?
You have logged into the Vault UI and see this screen. What Vault component is being enabled in the screenshot below?

Your supervisor has requested that you log into Vault and update a policy for one of the development teams. You successfully authenticated to Vault via OIDC but do not see a way to manage the Vault policies. Why are you unable to manage policies in the Vault UI?

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.
Your Azure Subscription ID is stored in Vault and you need to retrieve it via Vault API for an automated job. The Subscription ID is stored at secret/cloud/azure/subscription. The secret is stored on a KV Version 2 secrets engine. What curl command below would successfully retrieve the latest version of the secret?
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?
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?

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?
Which of the following tokens are representative of a batch token? (Select two)
After setting up a new HashiCorp Vault server with the default configurations, which method can be used to unseal Vault?
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?
Which of the following auth methods are intended for machine-to-machine authentication, and not necessarily human (operator) authentication? (Select four)
Elijah manages a legacy application that requires strict control over when its service account credentials change. Which type of credential should be used for this legacy application?
Which of the following secrets engines can store static secrets in Vault for future retrieval?
What command would you use to enable the Kubernetes secrets engine at the path of /k8s-cluster?
In Vault, there are two main types of tokens, batch and service. Which of the following is true about the renewable capabilities of each?
Select the two paths below that would be permitted for read access based on the following Vault policy:
path " secret/+/training/* " {
capabilities = [ " create " , " read " ]
}
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 " ]
}
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?
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... "
What header must be included in an API request in order to provide authentication validation?
Which of the following secrets engines does NOT issue a lease upon a read request?
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 " ] }
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?
True or False? The Vault Secrets Operator does NOT encrypt client cache, such as Vault tokens and leases, by default in Kubernetes Secrets.
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.
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
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 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
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?
What are the primary benefits of running Vault in a production deployment over dev server mode (select two)?
How does the Vault Secrets Operator (VSO) assist in integrating Kubernetes-based workloads with Vault?
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?
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
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)

Select the policies below that permit you to create a new entry of environment=prod at the path /secrets/apps/my_secret (select three).
From the options below, select the benefits of using a batch token over a service token (select four).
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 user logs into Vault through a configured LDAP auth method and notices that re-authentication is needed after every 8 hours.
Why would the user be required to log in again every 8 hours?
Which statement describes the results of this command: $ vault secrets enable transit
Which of the following vault lease operations uses a lease _ id as an argument? Choose two correct answers.
Which of the following statements are true about Vault policies? Choose two correct answers.
You have enabled the database secrets engine at the database/ path and created the readonly role. You run vault read, and the output shown in the exhibit is returned.
Which command renews the given lease?
Exhibit:
$ vault read database/creds/readonly
lease_id database/creds/readonly/fyF5xDomnKeCHNZNQgStwBKD
lease_duration 1h
lease_renewable true
password Ala-ckirtymYaXACplHn
username v-token-readonly-6iRIcGv8tLpu816oblPY-1556567086
Which of the following statements describe the secrets engine in Vault? Choose three correct answers.
Which of the following are benefits of Vault Agent Caching?
Pick the 2 correct responses below.
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?
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.
The following three policies exist in Vault. What do these policies allow an organization to do?

When creating a policy, an error was thrown:

Which statement describes the fix for this issue?
What artifacts allow you to regenerate a root token after you have revoked it?
Pick the 2 correct responses below.
Using the Vault CLI, there are several ways to create a new policy. Select the valid commands (Select three)
Which of the following auth methods is the best choice for human interaction with Vault (as opposed to machine/system authentication)?
Which of the following is not an action associated with the Transit secrets engine when interacting with data?
Which two characters can be used when writing a policy to reflect a wildcard or path segment? (Select two)
Your organization wants to set up human-based authentication for AzureAD. What authentication method should you enable and configure for Vault?
You have deployed an application that needs to encrypt data before writing to a database. What secrets engine should you use?
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.
True or False? The userpass auth method has the ability to access external services in order to provide authentication to Vault.
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?
Which of the following unseal options can automatically unseal Vault upon the start of the Vault service? (Select four)
Mike’s Cereal Shack uses Vault to encrypt customer data to ensure it is always stored securely. They are developing a new application integration to send new customer data to be encrypted using the following API request:
text
CollapseWrapCopy
$ curl \
--header " X-Vault-Token: hvs.sf4vj1rFV5PvQSV3M9dcv832brxQFsfbXA " \
--request POST \
--data @data.json \
https://vault.mcshack.com:8200/v1/transit/encrypt/customer-data
What would be contained within the data.json file?