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

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.
C) Option C
A) Option A
B) Option B
D) Option D

HashiCorp HCVA0-003 Exam - Topic 9 Question 19 Discussion

Actual exam question for HashiCorp's HCVA0-003 exam
Question #: 19
Topic #: 9
[All HCVA0-003 Questions]

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.

Show Suggested Answer Hide Answer
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

Contribute your Thoughts:

0/2000 characters
Kassandra
11 hours ago
Not so sure about B. What about Option A?
upvoted 0 times
...
Bobbie
6 days ago
I agree, B seems to match the cURL command.
upvoted 0 times
...
Rosenda
11 days ago
I think Option B looks correct.
upvoted 0 times
...
Una
16 days ago
D just doesn’t fit the command requirements.
upvoted 0 times
...
Franchesca
21 days ago
C is a close second, but lacks clarity.
upvoted 0 times
...
Lang
26 days ago
A includes all necessary fields for the API.
upvoted 0 times
...
Providencia
1 month ago
B has the right structure for encryption.
upvoted 0 times
...
Una
1 month ago
I feel like Option D is missing key elements.
upvoted 0 times
...
Franchesca
1 month ago
Option C has some good points too.
upvoted 0 times
...
Lang
2 months ago
I’m leaning towards Option A. It seems more complete.
upvoted 0 times
...
Providencia
2 months ago
I think Option B looks correct.
upvoted 0 times
...
Carissa
2 months ago
Definitely Option A, no doubt about it!
upvoted 0 times
...
Gregoria
2 months ago
Wait, is it really that simple?
upvoted 0 times
...
Michal
2 months ago
I’m not so sure about that, Option D seems off.
upvoted 0 times
...
Hildegarde
2 months ago
I think Option C has the correct structure.
upvoted 0 times
...
Reiko
3 months ago
Option B looks like the right choice.
upvoted 0 times
...
Yasuko
3 months ago
I think I saw something about the "data" field in one of the practice tests. It could help narrow down the choices.
upvoted 0 times
...
Angelyn
4 months ago
I feel like Option C might be right, but I can't recall the exact structure of the JSON needed.
upvoted 0 times
...
Shantell
5 months ago
I remember practicing a similar question where the key was crucial. I wonder if it's the same here.
upvoted 0 times
...
Vince
5 months ago
I think the payload needs to include the correct encryption method, but I'm not sure which option specifies that clearly.
upvoted 0 times
...

Save Cancel