Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

You need to connect to and manage a new HCP Vault cluster using the Vault CLI on your laptop. What environment variables should you set to establish connectivity?

A.

VAULT_CLIENT_KEY=, VAULT_TOKEN=

B.

VAULT_NAMESPACE=root, VAULT_REDIRECT_ADDR=

C.

VAULT_ADDR=https:// :8200, VAULT_NAMESPACE=admin

D.

VAULT_TOKEN=, VAULT_CLUSTER_ADDR=https:// :8200

After creating a dynamic credential on a database, the DBA accidentally deletes the credentials on the database itself. When attempting to remove the lease, Vault returns an error stating that the credential cannot be found. What command can be run to make Vault remove the secret?

A.

vault lease revoke -force -prefix

B.

vault lease -renew

C.

vault lease revoke -enforce

D.

vault revoke -apply

Which statement most accurately describes how the response wrapping feature functions in Vault?

A.

Vault takes the response it would have sent to an HTTP client and instead inserts it into the cubbyhole of a single-use token, returning that single-use token instead.

B.

Vault encrypts the response with a dedicated key and sends it directly to the client, never storing it on the server or using single-use tokens for additional security.

C.

Vault divides the response into separate parts and stores each part in different tokens, requiring all tokens to be combined before disclosing the secret to the requesting client.

D.

Vault duplicates the response within a persistent token and allows multiple unwraps, ensuring that any user with the correct token can retrieve the secret repeatedly without time restrictions.

Using the Vault CLI, there are several ways to create a new policy. Select the valid commands (Select three)

A.

vault policy write my-policy - << EOF

path "secret/data/*" {

capabilities = ["create", "update"]

}

EOF

B.

vault policy create my-policy /tmp/policy.hcl

C.

vault policy write my-policy /tmp/policy.hcl

D.

$ cat user.hcl | vault policy write my-policy -

True or False? The following policy permits a user to read secrets contained in the path secrets/cloud/apps/jenkins?

text

CollapseWrapCopy

path "secrets/cloud/apps/jenkins/*" {

capabilities = ["create", "read", "update", "delete", "list"]

}

A.

True

B.

False

Select the two paths below that would be permitted for read access based on the following Vault policy:

path "secret/+/training/*" {

capabilities = ["create", "read"]

}

A.

secret/business/training

B.

secret/cloud/training/test/exam

C.

secret/departments/certification/api

D.

secret/departments/training/vault

Vault operators can create two types of groups in Vault. What are the two types?

A.

External groups

B.

Security groups

C.

Policy groups

D.

Internal groups

Which of the following tokens are representative of a batch token? (Select two)

A.

hvr.AAAAAQL_tyer_gNuQqvQYPVQgsNxjap_YW1NB2m4CDHHadQo7rF2XLFGdwNJplAZNKbfloOvifrbpRCGdgG1taTqmC7Da_qftN64zeL10SmNwEoDTiPzC_1aS1KExbtVftU3Sx16cBVqaynwsYRDfVnfTAffE

B.

hvb.CAESIKOOSODDNGUJQe3EmsS8EQthulLjxRDhan_Axte2OrmPGiAKHGh2cy5KVnNhM25JdG82cDB0a1ZDbWhPTlAyekMQHg

C.

hvb.AAAAAQJnAGuRT_z8FD_jOwP26zYaNzJ456_SVqse0oXtaqrpaLUC3LlHrUoJhQPylGX7A6K_dcS0shiql6g5-BVpz0QIkCm7ePFQVjDT2HcIf8C6FNgkW313vYgBGP8lzQHebtspC0pqK64cfyU_qPKIka2u4ng-jsoy

D.

hvs.493n55sZp2lX2zyQfpkHTkL4

Which of the following best describes response wrapping?

A.

The response is Base64 encoded, and the user must decode the response to retrieve the cleartext data

B.

Rather than provide a direct response, Vault returns a token and an accessor

C.

Vault responds with an encrypted version of the response, decrypted via transit

D.

Vault inserts the response into a single-use token’s cubbyhole

What header must be included in an API request in order to provide authentication validation?

A.

X-Token-Vault

B.

X-Vault-Token

C.

X-Token-Creds

D.

X-Vault-Creds