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 2 Question 20 Discussion

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

After decrypting data using the Transit secrets engine, the plaintext output does not match the plaintext credit card number that you encrypted. Which of the following answers provides a solution?

$ vault write transit/decrypt/creditcard ciphertext="vault:v1:cZNHVx+sxdMEr......."

Key: plaintext Value: Y3JlZGl0LWNhcmQtbnVtYmVyCg==

Show Suggested Answer Hide Answer
Suggested Answer: C

Comprehensive and Detailed in Depth

A: Sealing would prevent decryption, not return encoded data. Incorrect.

B: Permission issues don't return encoded data. Incorrect.

C: Transit returns base64-encoded plaintext; decoding Y3JlZGl0LWNhcmQtbnVtYmVyCg== yields ''credit-card-number''. Correct.

D: No evidence of corruption; it's a format issue. Incorrect.

Overall Explanation from Vault Docs:

''All plaintext data must be base64-encoded... Decode it to reveal the original value.''


Contribute your Thoughts:

0/2000 characters
Kristine
7 hours ago
I remember something about base64 encoding from our practice sessions. Could it be that the output is just encoded?
upvoted 0 times
...

Save Cancel