What is the proper command to enable the AWS secrets engine at the default path?
True or False? All dynamic secrets in Vault are required to have a lease.
How can Vault be used to programmatically obtain a generated code for MFA, somewhat similar to Google Authenticator?
Which of the following statements are true regarding Vault seal and unseal (select three)?
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 " ] }
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)

Which of the following statements best describes the difference in cluster strategies between self-managed Vault and HashiCorp-managed Vault?
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?

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.).
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?
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.
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?
Select the policies below that permit you to create a new entry of environment=prod at the path /secrets/apps/my_secret (select three).
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 are the primary benefits of running Vault in a production deployment over dev server mode (select two)?
Which scenario most strongly indicates a need to run a self-hosted Vault cluster instead of using HCP Vault Dedicated?
What is true about the output of the following command (select three)?
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 " ] }
Below is a list of parent and child tokens and their associated TTL. Which token(s) will be revoked first?
What is the default maximum time-to-live (TTL) for a token, measured in days?
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 " ]
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?
Beyond encryption and decryption of data, which of the following is not a function of the Transit secrets engine?
What command is used to extend the TTL of a token, if permitted?
Which is not a capability that can be used when writing a Vault policy?
The Vault Agent provides which of the following benefits? (Select three)
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?
What is the correct order that Vault uses to protect data?
What type of Vault token does not have a TTL (Time to Live)?
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?
True or False? The userpass auth method has the ability to access external services in order to provide authentication to Vault.
By default, what happens to child tokens when a parent token is revoked?
Which of the following statements are true about HCP Vault Dedicated? (Select three)
When Vault is sealed, which are the only two operations available to a Vault administrator? (Select two)
True or False? All Vault policies are deny by default.
Which of the following is not an action associated with the Transit secrets engine when interacting with data?
Select the two default policies created in Vault. (Select two)
Which of the following are benefits of using the Vault Secrets Operator (VSO)? (Select three)
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
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?
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?
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?
Which of the following is a machine-oriented Vault authentication backend?
Security requirements demand that no secrets appear in the shell history. Which command does not meet this requirement?
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?
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.
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?
Which Vault secret engine may be used to build your own internal certificate authority?
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 can only create orphan tokens using the root token.
Which of these is not a benefit of dynamic secrets?
The following three policies exist in Vault. What do these policies allow an organization to do?

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.

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?
When using Integrated Storage, which of the following should you do to recover from possible data loss?
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.
Which of the following vault lease operations uses a lease _ id as an argument? Choose two correct answers.
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?
What can be used to limit the scope of a credential breach?
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?
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?
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?
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?
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?
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)
To protect the sensitive data stored in Vault, what key is used to encrypt the data before it is written to the storage backend?
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?
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 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)
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?
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?
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 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?
Vault enables the generation of dynamic credentials against many different platforms. When generating these credentials, what Vault feature is used to track the credentials?
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?
Before data is written to the storage backend, the data is encrypted by which Vault feature?
Why are short-lived, dynamic secrets in Vault more secure than long-lived, static credentials?
How does the instance updates feature work when using the Vault Secrets Operator?
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)
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.
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)
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?
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?
In Vault, there are two main types of tokens, batch and service. Which of the following is true about the renewable capabilities of each?
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?
Select the two paths below that would be permitted for read access based on the following Vault policy:
path " secret/+/training/* " {
capabilities = [ " create " , " read " ]
}
Which of the following tokens are representative of a batch token? (Select two)
True or False? You can create and update Vault policies using the UI.
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?
Which of the following best describes response wrapping?
Which of the following features in Vault will replicate service tokens between clusters?
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?
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... "
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
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 " ]
}
What API endpoint is used to enable and configure a secrets engine?
Which of the following are valid types of tokens available in Vault? (Select five)