An application is trying to use a secret in which the lease has expired. What can be done in order for the application to successfully request data from Vault?
Answer(s): A
A lease must be renewed before it has expired. Once it has expired, it is permanently revoked and a new secret must be requested.
Vault has failed to start. You inspect the log and find the error below. What needs to be changed in order to successfully start Vault?"Error parsing config.hcl: At 1:12: illegal char"
Answer(s): B
It implies that there is a syntax error in the configuration file. The exact location of the error in the file can be identified in the error message
Which command is used to initialize Vault after first starting the Vault service?
The vault operator init command initializes a Vault server. Initialization is the process by which Vault's storage backend is prepared to receive data.This only happens once when the server is started against a new backend that has never been used with Vault before.
https://www.vaultproject.io/docs/commands/operator/init
What is the result of the following Vault command?vault auth enable userpass
Answer(s): D
The auth enable command enables an auth method at a given path. If an auth method already exists at the given path, an error is returned.Command to enable auth method vault auth <enable/disable> followed by the name of the auth method.Additional parameters can be included to specify the name of the mount.
Post your Comments and Discuss HashiCorp VA-002-P exam with other Community members:
Bruno commented on October 10, 2023 PDF is Vault, EXM is Teraform. UNITED STATES upvote