Free HCVA0-003 Exam Braindumps
HashiCorp Certified: Vault Associate (003) Questions 76–80 (page: 17)

Updated On: 10-Feb-2026

True or False? After initializing Vault or restarting the Vault service, each individual node in the cluster needs to be unsealed.

  1. True
  2. False

Answer(s): A

Explanation:

Comprehensive and Detailed in Depth
The statement is True. In a Vault cluster, each node must be individually unsealed after initialization or a restart unless auto-unseal is configured. The HashiCorp Vault documentation states: "Since the encryption key is stored in memory, Vault nodes do not share or replicate the encryption key to other nodes. Therefore, each node needs to individually unseal itself upon Vault initialization or anytime the Vault service is restarted on that node." This is due to Vault's design, where the master key (root key) is held in memory and lost on restart, requiring the unseal process to reconstruct it. The documentation elaborates: "When a Vault server is started, it starts in a sealed state. In this state, Vault is configured to know where and how to access the physical storage, but doesn't know how to decrypt any of it. Unsealing is the process of obtaining the plaintext root key necessary to read the decryption key to decrypt the data." Without auto-unseal, this process is manual for each node, making A (True) correct in the default scenario.


Reference:

HashiCorp Vault Documentation - Seal and Unseal: Unsealing HashiCorp Vault Documentation - Vault Concepts: Seal



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

  1. TLS certificates
  2. GitHub
  3. Admin account
  4. Tokens
  5. AppRole
  6. Userpass

Answer(s): D

Explanation:

Comprehensive and Detailed in Depth
After initializing Vault, the default authentication method is Tokens, specifically the root token. The HashiCorp Vault documentation states: "After initializing, Vault provides the user the root token, which is the only way to log in to Vault in order to configure additional auth methods." This root token is generated during initialization and serves as the initial means of authentication until other methods are configured.
The documentation further explains under the "Token Authentication" section: "Tokens are the core method for authentication within Vault. Upon initialization, a root token is created which can be used to configure Vault further." TLS certificates, GitHub, AppRole, and Userpass require additional setup, and there's no default Admin account method. Thus, D (Tokens) is correct.


Reference:

HashiCorp Vault Documentation - Token Authentication



Which auth method is ideal for machine-to-machine authentication?

  1. Okta
  2. UserPass
  3. GitHub
  4. AppRole

Answer(s): D

Explanation:

Comprehensive and Detailed in Depth
For machine-to-machine authentication, AppRole is the ideal method. The HashiCorp Vault documentation states: "Although it's not the only method for applications, the ideal method for machine-to-machine authentication is AppRole. The other options are frequently reserved for human access." AppRole allows machines or services to authenticate using a role ID and secret ID, providing a secure, automated approach without human intervention. The documentation elaborates: "The AppRole auth method provides a workflow tailored to machine- to-machine authentication. It allows applications to authenticate with Vault-defined roles and retrieve a token." Okta, UserPass, and GitHub are better suited for human users, not automated systems. Thus, D (AppRole) is correct.


Reference:

HashiCorp Vault Documentation - AppRole Auth Method



By default, what happens to child tokens when a parent token is revoked?

  1. The child tokens are revoked
  2. The child tokens are renewed
  3. The child tokens are converted to parent tokens
  4. The child tokens create their own child tokens to be used

Answer(s): A

Explanation:

Comprehensive and Detailed in Depth
By default, when a parent token is revoked, all child tokens are also revoked. The HashiCorp Vault documentation (via support article) states: "When a parent token is revoked, all of its child tokens-- and all of their leases--are revoked as well. This ensures that a user cannot escape revocation by simply generating a never-ending tree of child tokens." This hierarchical revocation ensures security by terminating all derived access when the parent is invalidated. The documentation on tokens adds: "Tokens in Vault are part of a hierarchy. Child tokens inherit properties from their parents, and revoking a parent token cascades to its children." Options like renewal, conversion to parent tokens, or creating new child tokens do not occur by default. Thus, A is correct.


Reference:

HashiCorp Support - Parent-Child Token Hierarchy
HashiCorp Vault Documentation - Tokens



Using the Vault CLI, there are several ways to create a new policy. Select the valid commands (Select three)

  1. vault policy write my-policy - << EOF
    path "secret/data/*" {
    capabilities = ["create", "update"]
    }
    EOF
  2. vault policy create my-policy /tmp/policy.hcl
  3. vault policy write my-policy /tmp/policy.hcl
  4. $ cat user.hcl | vault policy write my-policy -

Answer(s): A,C,D

Explanation:

Comprehensive and Detailed in Depth
Vault provides multiple valid ways to create a policy via the CLI using the vault policy write command. The HashiCorp Vault documentation states: "To write a policy, use the vault policy write command." The valid methods are:
A: "vault policy write my-policy - << EOF ... EOF uses heredoc syntax to inline policy content, which Vault accepts directly."
C: "vault policy write my-policy /tmp/policy.hcl writes a policy from a file, a standard method per the docs: 'The policy can be read from a file or piped from stdin.'"
D: "cat user.hcl | vault policy write my-policy - pipes policy content from a file via stdin, another documented approach: 'You can pipe the policy content to the command using -.'" Option B, vault policy create, is invalid as no such command exists--only vault policy write is used.
Thus, A, C, and D are correct.


Reference:

HashiCorp Vault Documentation - Policies: Write a Policy



Viewing page 17 of 58
Viewing questions 81 - 85 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!