Free VA-002-P Exam Braindumps

What happens to child tokens when a parent token is revoked?

  1. the child tokens are renewed
  2. the child tokens are converted to parent tokens
  3. the child tokens create their own child tokens to be used
  4. the child tokens are revoked

Answer(s): D

Explanation:

When a parent token is revoked, all of its child tokens and leases are revoked as well. This ensures that a user cannot skip revocation by simply making a timeless tree of child tokens.



A Vault client who has read access to the path secrets/apps/app1 is having trouble viewing the secret in the user interface (UI) but can access via the API. What can be done to resolve this issue?

  1. add read permissions to the path secrets/apps
  2. modify the policy to allow the create permission
  3. remove the deny policy blocking access to the secrets/apps/app1 path
  4. add LIST to the policy so the user can browse the paths leading up to the key/value's path

Answer(s): D

Explanation:

To view the paths leading up to the secrets/apps/app1 path in the user interface, the user must have at least LIST permissions to avoid permission denied error in the UI.



Using the Vault CLI, what command is used to authenticate to Vault?

  1. vault creds
  2. vault user
  3. vault login
  4. vault auth

Answer(s): C

Explanation:

vault login command would be issued to log in to Vault via CLI followed by the type of login. For example, an LDAP login would use vault login method=ldap username=<user>



Which two characters can be used when writing a policy to reflect a wildcard or path segment? (select two)

  1. @
  2. $
  3. &
  4. *
  5. +

Answer(s): D,E

Explanation:

The splat (*) can be used as a wildcard but can only be used at the very end of a path. The plus sign (+) can be used in the middle of a path to denote a path segment.






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