Free VA-002-P Exam Braindumps (page: 7)

Page 7 of 51

Which commands are available only after Vault has been unsealed? (select two)

  1. vault login -method=ldap -username=vault
  2. vault operator unseal
  3. vault kv get kv/apps/app01
  4. vault status

Answer(s): A,C

Explanation:

Once Vault is unsealed, you can run vault login -method=ldap -username=vault and vault kv get kv/apps/app01. The second command assumes that you have authenticated but it cannot be run unless Vault is unsealed. vault status can be run regardless of Vault is sealed or unsealed, and vault
operator unseal can only be run when the vault is sealed.



Which of the following storage backends are supported by HashiCorp technical support? (select four)

  1. Filesystem
  2. Consul
  3. In-Memory
  4. Raft
  5. DynamoDB
  6. MySQL

Answer(s): A,B,C,D

Explanation:

Just to clarify, "HashiCorp supported" means, it is supported by HashiCorp's technical support, it doesn't mean that Vault supports the platform as a storage backend. For example, DynamoDB is a valid storage backend, but it is not officially supported by HashiCorp technical support but it has got the community support.
In-Memory - HashiCorp Supported
MySQL - Community Supported
Raft - HashiCorp Supported
Dynamo DB - Community Supported
Consul - HashiCorp Supported
Filesystem - HashiCorp Supported
Check more details in reference link:


Reference:

https://www.vaultproject.io/docs/configuration/storage/in- memory



Which of the following commands will remove all secrets at a specific path?

  1. vault lease revoke -prefix <path>
  2. vault delete lease -all <path>
  3. vault lease revoke -all <path>
  4. vault revoke -all <path>

Answer(s): A

Explanation:

The -prefix flag treats the ID as a prefix instead of an exact lease ID. This can revoke multiple leases simultaneously.



Which of the following best describes a token accessor?

  1. a value that acts as a reference to a token which can be used to perform limited actions against the token
  2. a token used for Consul to access Vault auth methods
  3. describes the value associated with the tokens TTL
  4. a value that describes which clients have access to the attached token

Answer(s): A

Explanation:

When tokens are created, a token accessor is also created and returned. This accessor is a value that acts as a reference to a token and can only be used to perform limited actions:
- Lookup a token's properties (not including the actual token ID)
- Lookup a token's capabilities on a path
- Renew the token
- Revoke the token


Reference:

https://www.vaultproject.io/docs/concepts/tokens#token-accessors



Page 7 of 51



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