Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Vault-Associate Exam - Topic 5 Question 13 Discussion

Posted by Chau on Apr 09, 2024 at 06:53 PM

What command creates a secret with the key "my-password" and the value "53cr3t" at path "my-secrets" within the KV secrets engine mounted at "secret"?

Get Premium Vault-Associate Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
39 comments · newest first
SA
Sabina 11 months ago
Can someone explain why C is wrong?
LU
Luisa 11 months ago
I don't think D makes any sense at all.
TE
Terrilyn 11 months ago
Wait, is it really that simple?
MI
Minna 12 months ago
I thought it was B, but A looks correct.
AN
Anna 12 months ago
It's definitely A, that's the right syntax!
VA
Valentin 12 months ago
I feel like "vault kv write" is definitely the way to go, but I can't recall if the path needs to be formatted a certain way.
DE
Denna 1 year ago
I'm a bit confused; I thought "put" and "write" were interchangeable, but now I'm not so sure which one to use here.
RE
Reita 1 year ago
I remember practicing a similar question, and I think "vault kv put" is the right command for creating secrets.
DO
Dorthy 1 year ago
I think the command should start with "vault kv write" since we're creating a secret, but I'm not sure about the exact syntax.
SH
Shantell 1 year ago
I'm pretty confident that the answer is B. The "vault kv write" command is the standard way to create or update secrets in the KV secrets engine, and the path and key-value pair match the question.
TO
Tomas 1 year ago
Okay, let me think this through step-by-step. The question says we need to create a secret with the key "my-password" and the value "53cr3t" at the path "my-secrets" within the KV secrets engine mounted at "secret". So I believe the correct answer is B, "vault kv write secret/my-secrets/my-password 53cr3t".
RI
Rima 1 year ago
Hmm, I'm a bit confused. Is it "vault kv put" or "vault kv write"? I can't remember which one is the correct command for creating a new secret.
SO
Solange 1 year ago
I think the answer is B. The "vault kv write" command is used to create a new secret or update an existing one, and the path "secret/my-secrets/my-password" matches the question.
RO
Roselle 1 year ago
I think I've got this. I'll create the YAML file, making sure to use the correct node selector, and then use kubectl to create the pod. Shouldn't be too difficult as long as I pay attention to the details.
ER
Ernestine 1 year ago
Ah, I've seen this type of question before. The key is to focus on the specific information displayed in the exhibit and match that to the command options. I'm confident I can nail this one.
RE
Regenia 1 year ago
This looks like a straightforward IP addressing question. I'll carefully analyze the IP address and subnet mask provided in the exhibit to determine the most likely cause of the configuration error.
RO
Rosamond 1 year ago
Wait, we're supposed to remember the Vault commands? I thought this was a barista certification exam. Can I just make a really strong espresso instead?
KI
Kirk 1 year ago
↳ replying to Rosamond
C) vault kv write 53cr3t my-secrets/my-password
JU
Julene 1 year ago
↳ replying to Rosamond
B) vault kv write secret/my-secrets/my-password 53cr3t
DO
Dorethea 1 year ago
↳ replying to Rosamond
A) vault kv put secret/my-secrets/my-password 53cr3t
RA
Ranee 2 years ago
A! Definitely A. I can already see myself acing this exam and becoming the Vault master of my team.
BO
Bobbye 1 year ago
↳ replying to Ranee
A! Definitely A. I can already see myself acing this exam and becoming the Vault master of my team.
PO
Portia 1 year ago
↳ replying to Ranee
Portia: Yeah, A is the way to go for creating that secret.
SA
Salley 1 year ago
↳ replying to Ranee
B) vault kv write secret/my-secrets/my-password 53cr3t
OS
Osvaldo 1 year ago
↳ replying to Ranee
Osvaldo: I agree, A is the correct command.
PH
Phung 1 year ago
↳ replying to Ranee
A) vault kv put secret/my-secrets/my-password 53cr3t
VA
Valentin 1 year ago
↳ replying to Ranee
A) vault kv put secret/my-secrets/my-password 53cr3t
LE
Leila 2 years ago
Hmm, I'm not sure about this one. Do I really need to remember the exact command syntax for Vault? I thought this was supposed to be a DevOps exam, not a Vault trivia quiz.
GA
Gayla 2 years ago
I'm not sure, but I think C) vault kv write 53cr3t my-secrets/my-password is the correct answer.
WI
Willard 2 years ago
I agree with Onita, A) makes the most sense because it follows the correct syntax for creating a secret in Vault.
HA
Halina 2 years ago
I think option B is correct. The 'vault kv write' command is the standard way to create secrets in Vault.
GA
Gayla 1 year ago
↳ replying to Halina
User2: Yes, 'vault kv write' is the standard way to create secrets in Vault.
SU
Suzi 1 year ago
↳ replying to Halina
User1: I think option B is correct.
ON
Onita 2 years ago
I think the answer is A) vault kv put secret/my-secrets/my-password 53cr3t.
FI
Fidelia 2 years ago
The correct answer is A. The 'vault kv put' command is used to create a secret with the specified key and value at the given path.
IZ
Izetta 1 year ago
↳ replying to Fidelia
Thanks for the info! I'll remember that for next time.
KR
Krystina 1 year ago
↳ replying to Fidelia
B) vault kv write secret/my-secrets/my-password 53cr3t
DE
Denny 1 year ago
↳ replying to Fidelia
That's correct! The 'vault kv put' command is the right one to use in this case.
ER
Ernie 1 year ago
↳ replying to Fidelia
A) vault kv put secret/my-secrets/my-password 53cr3t
0/2000 characters

Save Cancel