Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

After decrypting data using the Transit secrets engine, the plaintext output does not match the plaintext credit card number that you encrypted. Which of the following answers provides a solution?

$ vault write transit/decrypt/creditcard ciphertext="vault:v1:cZNHVx+sxdMEr......."

Key: plaintext Value: Y3JlZGl0LWNhcmQtbnVtYmVyCg==

A.

Vault is sealed, therefore the data cannot be decrypted. Unseal Vault to properly decrypt the data

B.

The user doesn’t have permission to decrypt the data, therefore Vault returns false data

C.

The resulting plaintext data is base64-encoded. To reveal the original plaintext, use the base64 --decode command

D.

The data is corrupted. Execute the encryption command again using a different data key

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

A.

32 days (768 hours)

B.

7 days (168 hours)

C.

14 days (336 hours)

D.

31 days (744 hours)

During a service outage, you must ensure all current tokens and leases are copied to another Vault cluster for failover so applications don’t need to authenticate. How can you accomplish this?

A.

Have Vault write all the tokens and leases to a file so you have a second copy of them

B.

Configure all applications to use the auto-auth feature of the Vault Agent

C.

Configure Disaster Recovery replication and promote the secondary cluster during an outage

D.

Replicate to another cluster using Performance Replication and promote the secondary cluster during an outage

Which scenario most strongly indicates a need to run a self-hosted Vault cluster instead of using HCP Vault Dedicated?

A.

Your organization doesn’t require any custom security policies or intricate network topologies

B.

You want to offload all operational tasks and rely on HashiCorp to manage patching, upgrades, and infrastructure

C.

You prefer a fully managed environment that is readily scalable with minimal configuration overhead

D.

You must maintain specific compliance or custom integration requirements that demand full control over the Vault environment, including infrastructure provisioning and plugin development

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?

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

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?

A.

AWS

B.

Userpass

C.

Token

D.

AppRole

How long does the Transit secrets engine store the resulting ciphertext by default?

A.

24 hours

B.

30 days

C.

32 days

D.

Transit does not store data

Which of the following unseal options can automatically unseal Vault upon the start of the Vault service? (Select four)

A.

HSM

B.

Azure KMS

C.

AWS KMS

D.

Transit

E.

Key Shards

Which of the following statements best describes the difference between static and dynamic credentials in a secrets management system?

A.

They are functionally identical—the only difference is what secrets engine creates them.

B.

Static credentials only apply to specific use cases, while dynamic credentials can be used everywhere.

C.

Static credentials often remain persistent for long periods of time, while dynamic are short-lived and auto-rotated.

D.

Static credentials are ephemeral and rotated frequently, while dynamic credentials remain unchanged indefinitely.

What is the default method of authentication after first initializing Vault?

A.

TLS certificates

B.

GitHub

C.

Admin account

D.

Tokens

E.

AppRole

F.

Userpass