Courseiva

Vault Enterprise · domain

Hsm Integration

This domain covers configuring Vault Enterprise to use Hardware Security Modules for auto-unseal and seal wrapping via the PKCS#11 interface. You must understand the seal stanza, the HSM daemon/communication path, required token permissions, and how Vault behaves when the HSM becomes unavailable or fails over.

22 questions7 easy8 medium7 hard

Focused practice

Practice Hsm Integration questions

Scored sessions drawing only from this domain — pick a length below.

What this domain covers

What to know about Hsm Integration

Be able to write and validate a seal "pkcs11" stanza and explain that Vault reaches the HSM through its PKCS#11 library. The single most important thing: the HSM token must grant permission to use the unseal key, and Vault retries the configured HSM rather than auto-switching to a secondary.

The seal "pkcs11" stanza configuration including lib, slot, key_label, and mechanism settings

That Vault communicates with the HSM through the PKCS#11 library, not directly over the network

Required HSM user/token permission level needed to access keys for unseal operations

How Vault retries and behaves when the primary HSM is unreachable and a secondary is configured

Watch out for

Common Hsm Integration exam traps

  • ▸Assuming Vault talks to the HSM natively over TCP; it actually loads a PKCS#11 shared library and uses that interface.
  • ▸Believing any HSM user can unseal; the token needs sufficient permission to use the key, not just log in.
  • ▸Expecting automatic seamless failover to a secondary HSM; Vault retries the configured slot rather than switching devices on its own.

Question index

All Hsm Integration questions (22)

Click any question to see the full explanation, or start a practice session above.

1

You are implementing Seal Wrap to protect transit engine keys using an HSM. You have enabled the 'seal_wrap' configuration. After restarting, how does Vault handle existing data keys in the transit engine?

Medium
2

You are deploying a new Vault Enterprise cluster that will use a PKCS#11 HSM for auto-unseal. The HSM is a network-attached appliance reachable over TCP. Which TWO configuration elements must be present in the seal stanza to allow Vault to communicate with this HSM? (Choose two.)

Medium
3

An operator needs to verify that a Vault Enterprise cluster is currently using a PKCS#11 HSM for its seal and that the seal is healthy. Which command provides the seal type and status without requiring unseal keys?

Easy
4

A Vault Enterprise operator enables Seal Wrap on a cluster backed by a PKCS#11 HSM. After enabling Seal Wrap, the operator notices that some existing secrets still appear in plaintext within the storage backend. Which statement explains this behavior?

Hard
5

An administrator has configured a Vault Enterprise server to use a PKCS#11 HSM for auto-unseal. After a reboot, Vault fails to start and logs show that the PKCS#11 library could not be loaded. Which action should the administrator take first to resolve the issue?

Easy
6

What is the primary benefit of using HSM Auto-Unseal for a Vault cluster?

Easy
7

When configuring the PKCS#11 library, how does Vault find the library on the host OS?

Medium
8

During an HSM failover event, your Vault nodes lose access to the primary HSM. You have configured a secondary HSM. How does Vault handle this?

Hard
9

A Vault Enterprise cluster is configured with PKCS#11 auto-unseal. After a scheduled HSM firmware upgrade, Vault nodes fail to unseal and log 'PKCS#11 error: CKR_SLOT_ID_INVALID'. The HSM administrator confirms the partition is online and the PIN is unchanged. Which action should you take first to restore auto-unseal?

Medium
10

What permission level is required for the user account used to authenticate with the HSM?

Medium
11

Which of the following is a requirement for the PKCS#11 library used with Vault Auto-Unseal?

Easy
12

A Vault Enterprise operator enables Seal Wrap on a cluster backed by a PKCS#11 HSM. After enabling, they notice that the storage backend contains wrapped values for the barrier key and some data encryption keys, but not for all keys. Which statement explains why only some keys are wrapped?

Hard
13

Which THREE of the following are common troubleshooting steps when Vault fails to unseal via HSM?

Medium
14

You are deploying Vault Enterprise 1.15 on three nodes and want auto-unseal backed by a PKCS#11 HSM. The HSM vendor provides a shared library at /usr/lib64/libpkcs11.so, and each node must authenticate using an HSM partition PIN. Which seal configuration key holds the PIN so Vault can open the HSM session?

Medium
15

Which Vault command is used to check the status of the seal configuration and verify if it is using an HSM?

Easy
16

Which component of Vault is responsible for communicating with the HSM?

Easy
17

When testing a new HSM configuration in a development environment, why is it recommended to use a separate partition?

Medium
18

Which TWO of the following are potential causes for a 'PKCS#11 error' during Vault operation?

Hard
19

A Vault Enterprise administrator is preparing a new cluster that will use a PKCS#11 HSM for auto-unseal. Before starting Vault, they need to confirm the HSM library is discoverable. Which environment variable or configuration field should they set to point Vault to the PKCS#11 library?

Easy
20

A Vault Enterprise administrator is designing an HSM integration that must survive the loss of a single HSM appliance. The design uses PKCS#11 auto-unseal and Seal Wrap. Which TWO considerations are critical to ensure availability and data recoverability? (Choose two.)

Hard
21

Your Vault Enterprise cluster is configured with a PKCS#11 HSM for auto-unseal. During a disaster recovery test, you restore a snapshot to a new cluster that also has the same HSM seal configuration. After starting the new cluster, Vault remains sealed and logs indicate a PKCS#11 error. What is the most likely cause?

Hard
22

A Vault Enterprise cluster uses a PKCS#11 HSM for seal wrap and auto-unseal. The security team rotates the HSM partition PIN. Vault nodes are still running with the old PIN in their configuration files. What is the most likely operational impact?

Hard

Frequently asked questions

What does the Hsm Integration domain cover on the Vault Enterprise exam?
Be able to write and validate a seal "pkcs11" stanza and explain that Vault reaches the HSM through its PKCS#11 library. The single most important thing: the HSM token must grant permission to use the unseal key, and Vault retries the configured HSM rather than auto-switching to a secondary.
How many questions are in this domain?
This page lists all 22 Hsm Integration questions in the Vault Enterprise question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Hsm Integration questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
HashiCorp Certified: Vault Operations Professional (Vault Enterprise) (Vault Enterprise) Hsm Integration Practice Questions