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 Vault-Associate Exam - Topic 5 Question 55 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 Vault-Associate Exam - Topic 5 Question 55 Discussion

Actual exam question for HashiCorp's Vault-Associate exam
Question #: 55
Topic #: 5
[All Vault-Associate 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
Rasheeda
2 days ago
Not so sure about B. What about Option A?
upvoted 0 times
...
Evette
8 days ago
I agree, B seems to have the right structure.
upvoted 0 times
...
Tu
13 days ago
I think Option B looks correct.
upvoted 0 times
...
Lawrence
18 days ago
I agree with Eric, B is the way to go!
upvoted 0 times
...
Art
23 days ago
Wait, are we sure about Option D? It seems off to me.
upvoted 0 times
...
Mammie
28 days ago
Nah, Option A is definitely the best choice here.
upvoted 0 times
...
Kris
1 month ago
I think Option C is the correct one, looks more complete.
upvoted 0 times
...
Eric
1 month ago
Option B has the right structure for the payload.
upvoted 0 times
...
Julio
1 month ago
I feel like option C is the one we discussed in class, but I need to double-check the specifics of the JSON structure.
upvoted 0 times
...
Annelle
2 months ago
I recall that the payload should include the plaintext data and the key name, but I can't remember the exact format.
upvoted 0 times
...
Major
2 months ago
I think it might be option B because it looks like it has the right fields for encryption, but I could be mixing it up with another example.
upvoted 0 times
...
Dion
2 months ago
I remember we practiced a similar question about the payload structure for the transit engine, but I'm not sure which option is correct here.
upvoted 0 times
...

Save Cancel