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

Viewing page 4 out of 9 pages
Viewing questions 31-40 out of questions
Questions # 31:

Christy has created a token and needs to use that token to access Vault. What command can she use to authenticate and access secrets stored in Vault?

$ vault token create -policy=christy

Key Value

--- -----

token hvs.hxDIPd8RPVtxu4AzSGS1lArP

token_accessor AxwxpDs6LbdFQbWGmBDnwIK3

token_duration 24h

token_renewable true

token_policies ["christy" "default"]

identity_policies []

policies ["christy" "default"]

Options:

A.

vault login hvs.hxDIPd8RPVtxu4AzSGS1lArP


B.

vault login -method=password


C.

vault login -method=token christy


D.

vault login -accessor=AxwxpDs6LbdFQbWGmBDnwIK3


Expert Solution
Questions # 32:

True or False? Once the minimum decryption version is set on an encryption key, older versions of the key are removed from Vault and are no longer available for decryption operations.

Options:

A.

True


B.

False


Expert Solution
Questions # 33:

True or False? All Vault policies are deny by default.

Options:

A.

True


B.

False


Expert Solution
Questions # 34:

Without logging into another interface, what feature can Chad use to execute a simple CLI command to enable a new secrets engine?

Question # 34

Options:

A.

CLI emulation in the Vault UI (Feature 1)


B.

User information button (Feature 2)


C.

Client count details (Feature 3)


D.

Access management link (Feature 4)


Expert Solution
Questions # 35:

Given the following policy, which command below would not result in a permission denied error (select two)?

path "secret/*" { capabilities = ["create", "update"] allowed_parameters = { "student" = ["steve", "frank", "jamie", "susan", "gerry", "damien"] } }

path "secret/apps/*" { capabilities = ["read"] }

path "secret/apps/results" { capabilities = ["deny"] }

Options:

A.

vault kv put secret/apps/results student03=practice


B.

vault kv put secret/apps/app01 student=bryan


C.

vault kv put secret/common/results student=frank


D.

vault kv get secret/apps/api_key


Expert Solution
Questions # 36:

Which of the following is NOT a valid way in which a lease can be revoked in Vault?

Options:

A.

Using the user interface (UI)


B.

Automatically when the TTL or Max-TTL expires


C.

Using the API to call the /v1/sys/leases endpoint


D.

Via the CLI using the vault token command


Expert Solution
Questions # 37:

Given the following screenshot, how many secrets engines have been enabled by a Vault user?

Question # 37

Options:

A.

2


B.

3


C.

4


D.

5


Expert Solution
Questions # 38:

Select the policies below that permit you to create a new entry of environment=prod at the path /secrets/apps/my_secret (select three).

Options:

A.

path "secrets/+/my_secret" { capabilities = ["create"] allowed_parameters = { "*" = [] } }


B.

path "secrets/apps/my_secret" { capabilities = ["update"] }


C.

path "secrets/apps/my_secret" { capabilities = ["create"] allowed_parameters = { "environment" = [] } }


D.

path "secrets/apps/*" { capabilities = ["create"] allowed_parameters = { "environment" = ["dev", "test", "qa", "prod"] } }


Expert Solution
Questions # 39:

How can Vault be used to programmatically obtain a generated code for MFA, somewhat similar to Google Authenticator?

Options:

A.

Cubbyhole


B.

The random byte generator


C.

TOTP secrets engine


D.

The identity secrets engine


Expert Solution
Questions # 40:

Which of the following statements best describes the difference in cluster strategies between self-managed Vault and HashiCorp-managed Vault?

Options:

A.

Self-managed clusters require users to handle setup, maintenance, and scaling, whereas HCP Vault Dedicated is fully managed by HashiCorp and offloads most operational tasks


B.

Neither self-managed clusters nor HCP Vault Dedicated include enterprise security features such as replication or disaster recovery


C.

Both self-managed clusters and HCP Vault Dedicated require manual patching and upgrades, but only self-managed clusters are hosted in the user’s cloud


D.

In self-managed clusters, HashiCorp is responsible for scaling, upgrades, and patching, while HCP Vault Dedicated requires the user to handle all operational overhead


Expert Solution
Viewing page 4 out of 9 pages
Viewing questions 31-40 out of questions