Courseiva
Compare and configure secrets engineseasyMultiple ChoiceObjective-mapped

Transit Secrets Engine: Encryption Without Key Exposure

A developer wants to use Vault to encrypt sensitive data before storing it in a database. They need to perform encryption and decryption operations without ever exposing the encryption key. Which secrets engine should they use?

Quick Answer

The answer is the Transit secrets engine. This is the correct choice because Transit is purpose-built for encryption-as-a-service, allowing you to encrypt data without exposing key material—the encryption key never leaves Vault, and all cryptographic operations happen server-side. On the HashiCorp Vault Associate VA-003 exam, this scenario tests your understanding of when to use Transit versus other engines like KV v2, which stores raw secrets but cannot perform encryption without exposing the key. A common trap is confusing Transit with KV v2, but remember: Transit handles data in motion, KV handles data at rest. For a quick memory tip, think “Transit = encrypt without transit of the key.”

⚠ Common exam trap

HashiCorp often tests the misconception that KV v2 can perform encryption operations because it stores encrypted data, but KV v2 does not provide server-side encryption/decryption APIs—it only stores and retrieves secrets as-is.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Transit

The Transit secrets engine is designed specifically for encryption-as-a-service workflows, allowing applications to encrypt and decrypt data using keys managed entirely within Vault. The encryption key never leaves Vault, satisfying the requirement to avoid exposing the key. In contrast, other engines like KV v2 store raw secrets but do not perform cryptographic operations without exposing the key material.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • PKI

    Why it's wrong here

    PKI issues certificates, not encryption of arbitrary data.

  • KV v2

    Why it's wrong here

    KV v2 is for storing secrets, not encryption operations.

  • Transit

    Why this is correct

    Transit provides encryption as a service without exposing keys.

  • Database

    Why it's wrong here

    Database engine manages database credentials.

About these practice questions

Courseiva writes every VA-003 question from scratch — 498 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on VA-003

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which TWO of the following are valid use cases for the Transit secrets engine? (Select exactly 2.)

medium
  • A.Signing and verifying data
  • B.Encrypting data in transit without exposing the encryption key
  • C.Storing encryption keys
  • D.Storing encrypted data at rest
  • E.Managing X.509 certificates

Why A: The Transit secrets engine is designed to perform cryptographic operations on data without exposing the encryption keys to the client. Option A is correct because the engine supports signing and verifying data using HMAC or asymmetric keys, allowing clients to verify integrity and authenticity without handling the private key. Option B is correct because the engine can encrypt data in transit (e.g., via API calls) while the encryption key remains securely stored within Vault, never leaving the server.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This VA-003 practice question is part of Courseiva's free HashiCorp certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the VA-003 exam.