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

Viewing page 5 out of 9 pages
Viewing questions 41-50 out of questions
Questions # 41:

Below is a list of parent and child tokens and their associated TTL. Which token(s) will be revoked first?

Options:

A.

├───hvs.y4fUERqCtUV0xsQjWLJar5qX - TTL: 4 hours


B.

├───hvs.FNiIFU14RUxxUYAl4ErLfPVR - TTL: 6 hours


C.

├───hvs.Jw9LMpu7oCQgxiKbjfyzyg75 - TTL: 4 hours (child of B)


D.

├───hvs.3IrlhEvcerEGbae11YQf9FvI - TTL: 3 hours


E.

├───hvs.hOpweMVFvqfvoVnNgvZq8jLS - TTL: 5 hours (child of D)


Expert Solution
Questions # 42:

True or False? All dynamic secrets in Vault are required to have a lease.

Options:

A.

True


B.

False


Expert Solution
Questions # 43:

True or False? When encrypting data with the Transit secrets engine, Vault always stores the ciphertext in a dedicated KV store along with the associated encryption key.

Options:

A.

True


B.

False


Expert Solution
Questions # 44:

What is the default maximum time-to-live (TTL) for a token, measured in days?

Options:

A.

32 days (768 hours)


B.

7 days (168 hours)


C.

14 days (336 hours)


D.

31 days (744 hours)


Expert Solution
Questions # 45:

What are the primary benefits of running Vault in a production deployment over dev server mode (select two)?

Options:

A.

Faster deployment


B.

Persistent storage


C.

Ability to enable auth methods


D.

Encryption via TLS


Expert Solution
Questions # 46:

Your company's security policies require that all encryption keys must be rotated at least once per year. After using the Transit secrets engine for a year, the Vault admin issues the proper command to rotate the key named ecommerce that was used to encrypt your data. What command can be used to easily re-encrypt the original data with the new version of the key?

Options:

A.

vault write -f transit/keys/ecommerce/rotate


B.

vault write -f transit/keys/ecommerce/update


C.

vault write transit/encrypt/ecommerce v1:v2


D.

vault write transit/rewrap/ecommerce ciphertext=


Expert Solution
Questions # 47:

Which of the following token attributes can be used to renew a token in Vault (select two)?

Options:

A.

TTL


B.

Token ID


C.

Identity policy


D.

Token accessor


Expert Solution
Questions # 48:

You are using an orchestrator to deploy a new application. Even though the orchestrator creates anew AppRole secret ID, security requires that only the new application has the combination of the role ID and secret ID. What feature can you use to meet these requirements?

Options:

A.

Have the application authenticate with the role ID to retrieve the secret ID


B.

Use response wrapping and provide the application server with the unwrapping token instead


C.

Use a batch token instead of a traditional service token


D.

Secure the communication between the orchestrator and Vault using TLS


Expert Solution
Questions # 49:

From the options below, select the benefits of using the PKI (x.509 certificates) secrets engine (select three):

Options:

A.

TTLs on Vault certs are longer to ensure certificates are valid for a longer period of time


B.

Reducing, or eliminating certificate revocations


C.

Reduces time to get a certificate by eliminating the need to generate a private key and CSR


D.

Vault can act as an intermediate CA


Expert Solution
Questions # 50:

Tommy has written an AWS Lambda function that will perform certain tasks for the organization when data has been uploaded to an S3 bucket. Security policies for the organization do not allow Tommy to hardcode any type of credential within the Lambda code or environment variables. However, Tommy needs to retrieve a credential from Vault to write data to an on-premises database. What auth method should Tommy use in Vault to meet the requirements while not violating security policies?

Options:

A.

AWS


B.

Userpass


C.

Token


D.

AppRole


Expert Solution
Viewing page 5 out of 9 pages
Viewing questions 41-50 out of questions