Pass the HashiCorp HashiCorp Security Automation Certification HCVA0-003 Questions and answers with CertsForce

Viewing page 9 out of 9 pages
Viewing questions 81-90 out of questions
Questions # 81:

What is the default TTL for tokens in Vault if one is not specified?

Options:

A.

24 hours (1 day)


B.

15 minutes


C.

768 hours (32 days)


D.

60 minutes (1 hour)


Expert Solution
Questions # 82:

What API endpoint is used to enable and configure a secrets engine?

Options:

A.

/v1/sys/init


B.

/v1/sys/mounts


C.

/v1/sys/config


D.

/v1/sys/plugins/catalog


Expert Solution
Questions # 83:

Hanna is working with Vault and has been assigned a namespace called integration, where she stores all her secrets. Hanna configured her application to use the following API request, but the request is failing. What changes below will help Hanna correctly retrieve the secret? (Select two)

$ curl \

--header "X-Vault-Token:hvs.lzrmRe5Y3LMcDRmOttEjWoag" \

--request GET \

https://vault.example.com:8200/v1/secret/data/my-secret

Options:

A.

$ curl --header "X-Vault-Token:hvs.lzrmRe5Y3LMcDRmOttEjWoag" --request GET\integration https://vault.example.com:8200/v1/secret/data/my-secret


B.

$ curl --header "X-Vault-Token:hvs.lzrmRe5Y3LMcDRmOttEjWoag" --request GET --namespace "integration" https://vault.example.com:8200/v1/secret/data/my-secret


C.

$ curl --header "X-Vault-Token:hvs.lzrmRe5Y3LMcDRmOttEjWoag" --request GET https://vault.example.com:8200/v1/integration/secret/data/my-secret


D.

$ curl --header "X-Vault-Token:hvs.lzrmRe5Y3LMcDRmOttEjWoag" --header "X-Vault-Namespace:integration" --request GET https://vault.example.com:8200/v1/secret/data/my-secret


Expert Solution
Questions # 84:

True or False? To encrypt existing encrypted data with the latest version of the encryption key, you need to first decrypt it and then request Vault to re-encrypt it with the latest version of the encryption key.

Options:

A.

True


B.

False


Expert Solution
Questions # 85:

You have ciphertext stored in an Amazon S3 bucket encrypted by the key named prod-customer. Will Vault decrypt this data with the command vault write transit/decrypt/prod-customer ciphertext="vault:v4:Xa1f9FIJtn13em/Wb7QCsXsU/kCOn7..." given this output?

    $ vault read transit/keys/prod-customer

    Key Value

    --- -----

    ...

    keys map[4:1549347108 5:1549347109 6:1549347110]

    latest_version 6

    min_available_version 0

    min_decryption_version 4

    min_encryption_version 0

Will Vault decrypt this data for you by running the following command?

    $ vault write transit/decrypt/prod-customer ciphertext="vault:v4:Xa1f9FIJtn13em/Wb7QCsXsU/kCOn7..."

Options:

A.

Yes, because the minimum decryption key configuration is set to 4


B.

No, since the latest version of the key is 6


Expert Solution
Viewing page 9 out of 9 pages
Viewing questions 81-90 out of questions