Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp HCVA0-003 Exam - Topic 9 Question 19 Discussion

Posted by Ceola on May 02, 2026 at 09:04 PM

A user issues the following cURL command to encrypt data using the transit engine and the Vault AP:

Which payload.json file has the correct contents?

A.

B.

C.

D.

Suggested Answer: C

The payload.json file that has the correct contents is C. This file contains a JSON object with a single key, ''plaintext'', and a value that is the base64-encoded string of the data to be encrypted.This is the format that the Vault API expects for the transit encrypt endpoint1. The other files are not correct because they either have the wrong key name, the wrong value format, or the wrong JSON syntax.


Encrypt Data - Transit Secrets Engine | Vault | HashiCorp Developer

Get Premium HCVA0-003 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
28 comments · newest first
JO
Josphine 4 days ago
I think Option B looks right.
BO
Bobbie 9 days ago
Yes, B is the best choice!
RO
Rosenda 15 days ago
So, we're leaning towards B then?
KE
Kenia 20 days ago
Yeah, D doesn't fit the command at all.
DE
Delmy 25 days ago
D is definitely wrong. Too many missing fields.
SO
Sonia 1 month ago
C is too vague, B is more specific.
DE
Derrick 1 month ago
I feel like C has the right structure.
MI
Mike 1 month ago
A has some good points, but B is clearer.
KA
Kassandra 2 months ago
Not so sure about B. What about Option A?
BO
Bobbie 2 months ago
I agree, B seems to match the cURL command.
RO
Rosenda 2 months ago
I think Option B looks correct.
UN
Una 2 months ago
D just doesn’t fit the command requirements.
FR
Franchesca 2 months ago
C is a close second, but lacks clarity.
LA
Lang 2 months ago
A includes all necessary fields for the API.
PR
Providencia 3 months ago
B has the right structure for encryption.
UN
Una 3 months ago
I feel like Option D is missing key elements.
FR
Franchesca 3 months ago
Option C has some good points too.
LA
Lang 3 months ago
I’m leaning towards Option A. It seems more complete.
PR
Providencia 3 months ago
I think Option B looks correct.
CA
Carissa 3 months ago
Definitely Option A, no doubt about it!
GR
Gregoria 4 months ago
Wait, is it really that simple?
MI
Michal 4 months ago
I’m not so sure about that, Option D seems off.
HI
Hildegarde 4 months ago
I think Option C has the correct structure.
RE
Reiko 4 months ago
Option B looks like the right choice.
YA
Yasuko 4 months ago
I think I saw something about the "data" field in one of the practice tests. It could help narrow down the choices.
AN
Angelyn 6 months ago
I feel like Option C might be right, but I can't recall the exact structure of the JSON needed.
SH
Shantell 6 months ago
I remember practicing a similar question where the key was crucial. I wonder if it's the same here.
VI
Vince 6 months ago
I think the payload needs to include the correct encryption method, but I'm not sure which option specifies that clearly.
0/2000 characters

Save Cancel