Courseiva

VA-003 Compare and configure secrets engines Practice Question

A development team wants to encrypt sensitive data before storing it in a database. They don't want to manage encryption keys themselves. Which secrets engine should they use?

⚠ Common exam trap

HashiCorp often tests the distinction between 'storing secrets' (KV v2) and 'encrypting data without managing keys' (Transit), leading candidates to mistakenly choose KV v2 because they associate it with 'secrets' rather than the specific encryption workflow.

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 to encrypt data in transit or at rest without exposing the encryption keys to the client. It performs cryptographic operations (encrypt/decrypt) on data sent to Vault, so the development team never manages or stores the keys themselves. This matches the requirement to avoid key management while encrypting sensitive data before database storage.

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 and renews X.509 certificates; it provides no symmetric encryption or key-wrapping API for arbitrary database fields. It is tempting because it is a secrets engine that removes key management from the team, and would be correct for issuing short-lived TLS certificates to internal services.

  • ✓

    Transit

    Why this is correct

    The transit secrets engine encrypts plaintext supplied by the application and returns ciphertext for database storage, while Vault retains and rotates the keys. This satisfies the requirement that the development team never manages encryption keys themselves.

  • ✗

    AWS

    Why it's wrong here

    AWS is a cloud provider, not a secrets engine; it cannot be mounted in Vault to generate or store keys. The team needs a transit or key-management engine so Vault handles key material. AWS would be the correct answer if the question asked which cloud platform hosts the database.

  • ✗

    KV v2

    Why it's wrong here

    KV v2 only stores and versions static secrets; it performs no cryptographic operations, so it cannot encrypt data or abstract key custody. It is tempting because it is the default general-purpose store for credentials, and would be right for holding an API token or database password the application reads at runtime.

About these practice questions

One of 366 original VA-003 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.