- A
POST /v1/transit/datakey/plaintext/my-key
Returns both plaintext and ciphertext data key.
- B
POST /v1/transit/encrypt/my-key
Why wrong: Encrypts data, not generate a key.
- C
POST /v1/transit/decrypt/my-key
Why wrong: Decrypts data.
- D
POST /v1/transit/datakey/ciphertext/my-key
Why wrong: Returns only ciphertext key.
Quick Answer
The correct endpoint is POST /v1/transit/datakey/plaintext/my-key. This endpoint returns both the plaintext data key for local encryption and its ciphertext version for secure storage alongside the encrypted data, making it ideal for client-side encryption workflows where you need the raw key material to encrypt data at rest in a cloud bucket. On the HashiCorp Vault Associate VA-003 exam, this question tests your understanding of the transit engine’s datakey endpoints, specifically the distinction between the “plaintext” and “wrapped” variants. A common trap is confusing this with the “wrapped” endpoint, which only returns the ciphertext key and requires a separate unwrap step. Remember: if you need the plaintext key to encrypt locally, the path must include “plaintext” — think “plaintext for plain encryption.”
VA-003 Explain encryption as a service Practice Question
This VA-003 practice question tests your understanding of explain encryption as a service. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
An organization wants to encrypt data at rest in a cloud storage bucket. They plan to use Vault's transit engine to generate a data key and then encrypt the data locally. Which transit endpoint should they use to get a data key?
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
POST /v1/transit/datakey/plaintext/my-key
The correct endpoint to retrieve a data key that can be used for local client-side encryption is POST /v1/transit/datakey/plaintext/my-key. This endpoint returns both the plaintext data key (for local encryption) and the ciphertext version of the key (for secure storage alongside the encrypted data). The 'plaintext' in the path indicates that the response includes the key in plaintext form, which is necessary for performing encryption locally.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
POST /v1/transit/datakey/plaintext/my-key
Why this is correct
Returns both plaintext and ciphertext data key.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
POST /v1/transit/encrypt/my-key
Why it's wrong here
Encrypts data, not generate a key.
- ✗
POST /v1/transit/decrypt/my-key
Why it's wrong here
Decrypts data.
- ✗
POST /v1/transit/datakey/ciphertext/my-key
Why it's wrong here
Returns only ciphertext key.
Common exam traps
Common exam trap: answer the scenario, not the keyword
HashiCorp often tests the distinction between 'datakey/plaintext' and 'datakey/ciphertext' endpoints, where candidates mistakenly choose the ciphertext-only endpoint thinking it provides the key for local encryption, but it actually omits the plaintext key required for that purpose.
Detailed technical explanation
How to think about this question
The transit engine's datakey endpoints generate a random data key (typically 256-bit AES) and optionally wrap it using the named key (my-key) stored in Vault. The 'plaintext' variant returns both the raw key and the wrapped key, enabling the client to encrypt data locally and then store the wrapped key alongside the ciphertext for future decryption via Vault. This pattern is commonly used in envelope encryption, where the data key is used for local symmetric encryption and the key encryption key (KEK) in Vault protects the data key.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Explain encryption as a service — study guide chapter
Learn the concepts, then practise the questions
- →
Explain encryption as a service practice questions
Targeted practice on this topic area only
- →
All VA-003 questions
514 questions across all exam domains
- →
HashiCorp Vault Associate VA-003 study guide
Full concept coverage aligned to exam objectives
- →
VA-003 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related VA-003 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Compare authentication methods practice questions
Practise VA-003 questions linked to Compare authentication methods.
Assess Vault tokens practice questions
Practise VA-003 questions linked to Assess Vault tokens.
Create Vault policies practice questions
Practise VA-003 questions linked to Create Vault policies.
Manage Vault leases practice questions
Practise VA-003 questions linked to Manage Vault leases.
Compare and configure secrets engines practice questions
Practise VA-003 questions linked to Compare and configure secrets engines.
Utilize Vault CLI and API practice questions
Practise VA-003 questions linked to Utilize Vault CLI and API.
Explain Vault architecture practice questions
Practise VA-003 questions linked to Explain Vault architecture.
Explain encryption as a service practice questions
Practise VA-003 questions linked to Explain encryption as a service.
VA-003 fundamentals practice questions
Practise VA-003 questions linked to VA-003 fundamentals.
VA-003 scenario practice questions
Practise VA-003 questions linked to VA-003 scenario.
VA-003 troubleshooting practice questions
Practise VA-003 questions linked to VA-003 troubleshooting.
Practice this exam
Start a free VA-003 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this VA-003 question test?
Explain encryption as a service — This question tests Explain encryption as a service — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: POST /v1/transit/datakey/plaintext/my-key — The correct endpoint to retrieve a data key that can be used for local client-side encryption is POST /v1/transit/datakey/plaintext/my-key. This endpoint returns both the plaintext data key (for local encryption) and the ciphertext version of the key (for secure storage alongside the encrypted data). The 'plaintext' in the path indicates that the response includes the key in plaintext form, which is necessary for performing encryption locally.
What should I do if I get this VA-003 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 30, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.