Free HCVA0-003 Exam Braindumps
HashiCorp Certified: Vault Associate (003) Questions 106–110 (page: 23)

Updated On: 10-Feb-2026

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

  1. HSM
  2. Azure KMS
  3. AWS KMS
  4. Transit
  5. Key Shards

Answer(s): A,B,C,D

Explanation:

Comprehensive and Detailed in Depth
Vault supports auto-unseal to simplify operations. The HashiCorp Vault documentation states: "Vault supports opt-in automatic unsealing via cloud technologies: AliCloud KMS, AWS KMS, Azure Key Vault, Google Cloud KMS, and OCI KMS," and includes HSM and Transit as additional options. It explains: "Auto unseal is used to automatically unseal Vault using an HSM or cloud HSM service." The valid options are:
A (HSM): "HSM (Hardware Security Module) can automatically unseal Vault by securely storing and managing the master key used for encryption and decryption operations." B (Azure KMS): "Azure KMS can automatically unseal Vault by utilizing Azure Key Management Service to manage the master key."
C (AWS KMS): "AWS KMS can automatically unseal Vault upon the start of the service by using AWS Key Management Service to manage the master key."
D (Transit): "Transit can automatically unseal Vault by using a pre-configured encryption key stored in Vault itself to encrypt the unseal key."
The documentation clarifies: "Key Shards require the user to provide unseal keys to reconstruct the master key," making E (Key Shards) a manual process, not auto-unseal. Thus, A, B, C, and D are correct.


Reference:

HashiCorp Vault Documentation - Seal Configuration
HashiCorp Vault Documentation - Auto Unseal Tutorial
HashiCorp Vault Documentation - Seal Concepts: Auto Unseal



What type of Vault token does not have a TTL (Time to Live)?

  1. Child tokens
  2. Parent tokens
  3. Service tokens
  4. Root tokens
  5. Batch tokens

Answer(s): D

Explanation:

Comprehensive and Detailed in Depth
Root tokens in Vault are unique in lacking a TTL. The HashiCorp Vault documentation states: "Non-

root tokens are associated with a TTL, which determines for how long a token is valid. Root tokens are not associated with a TTL, and therefore, do not expire." It provides an example: "For example, notice that the value for token_duration is the infinity symbol, meaning it lives forever," as seen in a vault login output for a root token.
The docs elaborate: "Root tokens are tokens with an infinite TTL that have the `root' policy attached to them. Because of their power, it is strongly recommended that they be used only as necessary and then immediately revoked when no longer needed." In contrast:
Child tokens (A) inherit TTLs from parents.
Parent tokens (B) typically have TTLs unless they are root. Service tokens (C) have configurable TTLs for ongoing use.
Batch tokens (E) have fixed TTLs for ephemeral tasks.
Thus, D (Root tokens) is correct.


Reference:

HashiCorp Vault Documentation - Tokens: Token Time to Live



Before the following command can be run to encrypt data, what (three) commands must be run to enable and configure the transit secrets engine in Vault? (Select three) text
CollapseWrapCopy
$ vault write transit/encrypt/vendor \
plaintext="aGFzaGljb3JwIGNlcnRpZmllZA=="

  1. base64 <<< "hashicorp certified"
  2. vault write transit/encrypt/vendor
  3. vault secrets list
  4. vault secrets enable transit
  5. vault write -f transit/keys/vendor

Answer(s): A,D,E

Explanation:

Comprehensive and Detailed in Depth
To encrypt data using the Transit secrets engine, it must be enabled and configured. The HashiCorp

Vault documentation states: "Enable the Transit secrets engine at the default path of `transit' using the command vault secrets enable transit. Create an encryption key called `vendor' using the command vault write -f transit/keys/vendor. Encode the string using base-64 encoding by using the command base64 <<< `hashicorp certified'." These steps are prerequisites for the given vault write transit/encrypt/vendor command:
A (base64 <<< "hashicorp certified"): The docs note, "All plaintext data must be base64-encoded. The reason for this requirement is that Vault does not require that the plaintext is `text'. It could be a binary file such as a PDF or image. The easiest safe transport mechanism for this data as part of a JSON payload is to base64-encode it." The provided plaintext aGFzaGljb3JwIGNlcnRpZmllZA== is the base64 encoding of "hashicorp certified."
D (vault secrets enable transit): "Before you can use the transit secrets engine, it must be enabled with vault secrets enable transit at the default path `transit/'."

E (vault write -f transit/keys/vendor): "An encryption key must be created before encryption can occur. Use vault write -f transit/keys/vendor to generate a key named `vendor'." B is the target command, not a prerequisite. C (vault secrets list) lists engines but doesn't configure Transit. Thus, A, D, and E are correct.


Reference:

HashiCorp Vault Documentation - Transit Secrets Engine



Mike's Cereal Shack uses Vault to encrypt customer data to ensure it is always stored securely. They are developing a new application integration to send new customer data to be encrypted using the following API request:
text
CollapseWrapCopy
$ curl \
--header "X-Vault-Token: hvs.sf4vj1rFV5PvQSV3M9dcv832brxQFsfbXA" \ --request POST \
--data @data.json \
https://vault.mcshack.com:8200/v1/transit/encrypt/customer-data What would be contained within the data.json file?

  1. Transit secrets engine configuration file
  2. Ciphertext to be decrypted
  3. The encryption key to be used for encrypting the data
  4. Cleartext customer data to be encrypted

Answer(s): D

Explanation:

Comprehensive and Detailed in Depth
The data.json file in this API request contains the data to be encrypted by the Transit secrets engine. The HashiCorp Vault documentation states: "When executing any call to the Vault API, data can be sent using an external file as shown above. In this case, the contents of the file would be cleartext customer data that needs to be encrypted by the transit secrets engine." Specifically, for the /transit/encrypt/ endpoint, it explains: "The API expects a JSON payload with a plaintext field containing the base64-encoded data to encrypt."
The documentation elaborates under "Encrypt Data": "The request body must include the plaintext parameter, which is the base64-encoded version of the data you want to encrypt. For example:
{"plaintext": "base64-encoded-data"}." Here, D (Cleartext customer data to be encrypted) fits this requirement--customer data in cleartext, base64-encoded, sent for encryption. A (Transit config) is managed in Vault, not sent. B (Ciphertext) is the output, not input. C (Encryption key) is stored in Vault, not provided by the client. Thus, D is correct.


Reference:

HashiCorp Vault Documentation - Transit API: Encrypt Data



Which of the following best describes the function of the Vault Secrets Operator in a Kubernetes environment?

  1. It replaces the Kubernetes secrets API entirely and operates purely as a certificate authority for all workloads.
  2. It is a standalone Vault server that automatically applies security policies and rotates root tokens.
  3. It continuously reconciles and synchronizes secrets from Vault to Kubernetes, ensuring secrets are always updated
  4. It provides an interface to dynamically provision Kubernetes clusters through Vault's infrastructure secrets.

Answer(s): C

Explanation:

Comprehensive and Detailed in Depth
The Vault Secrets Operator (VSO) enhances secrets management in Kubernetes. The HashiCorp Vault documentation states: "The Vault Secrets Operator operates by watching for changes to its supported set of Custom Resource Definitions (CRD). Each CRD provides the specification required to allow the operator to synchronize from one of the supported sources for secrets to a Kubernetes Secret. The operator writes the source secret data directly to the destination Kubernetes Secret, ensuring that any changes made to the source are replicated to the destination over its lifetime." It further explains: "In this way, an application only needs to have access to the destination secret in order to make use of the secret data contained within." This aligns with C: "It continuously reconciles and synchronizes secrets from Vault to Kubernetes, ensuring secrets are always updated." Option A is false--it augments, not replaces, the Kubernetes Secrets API and isn't a CA. Option B is incorrect-- it's not a Vault server but an operator. Option D is wrong--it syncs secrets, not provisions clusters.
Thus, C is correct.


Reference:

HashiCorp Vault Documentation - Vault Secrets Operator



Viewing page 23 of 58
Viewing questions 111 - 115 out of 285 questions


Post your Comments and Discuss HashiCorp HCVA0-003 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!