Vault Associate 002 Practice Test

Vault Associate 002 Practice Test practice questions, page 2 of 4, with answer review and explanations.

Question 6

What is the Vault CLI command to query information about the token the client is currently using?

  1. vault lookup token
  2. vault token lookup
  3. vault lookup self
  4. vault self lookup

Question 7

Which of the following is a machine-oriented Vault authentication backend?

  1. Okta
  2. AppRole
  3. Transit
  4. GitHub

Question 8

Security requirements demand that no secrets appear in the shell history. Which command does not meet this requirement?

  1. generate-password | vault kv put secret/password value=-
  2. vault kv put secret/password value=itsasecret
  3. vault kv put secret/password value=@data.txt
  4. vault kv put secret/password value=$SECRET_VALUE

Question 9

You can build a high availability Vault cluster with any storage backend.

  1. True
  2. False

Question 10

What command creates a secret with the key "my-password" and the value "53cr3t" at path "my-secrets" within the KV secrets engine mounted at "secret"?

  1. vault kv put secret/my-secrets/my-password 53cr3t
  2. vault kv write secret/my-secrets/my-password 53cr3t
  3. vault kv write 53cr3t my-secrets/my-password
  4. vault kv put secret/my-secrets my-password-53cr3t