Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Vault Associate 002 topic 1 question 10 discussion

Actual exam question from HashiCorp's Vault Associate 002
Question #: 10
Topic #: 1
[All Vault Associate 002 Questions]

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"?

  • A. vault kv put secret/my-secrets/my-password 53cr3t
  • B. vault kv write secret/my-secrets/my-password 53cr3t
  • C. vault kv write 53cr3t my-secrets/my-password
  • D. vault kv put secret/my-secrets my-password-53cr3t
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
bunnyjoel
1 month, 3 weeks ago
Answer is A wrong. vault kv put secret/my-secret/my-password test Failed to parse K=V data: invalid key/value pair "test": format must be key=value vault kv put secret/my-secret/my-password user=test I have tested on my local machine. Thanks
upvoted 1 times
bunnyjoel
1 month, 3 weeks ago
The answer is D with modification vault kv put secret/my-secret password=53cr3t
upvoted 1 times
...
...
daz_rekka
4 months ago
Selected Answer: A
The right command to create a key is 'vault kv put', the path to our new key is "secret/my-secrets/my-password" and it's value is "53cr3t". A has the correct syntax per https://developer.hashicorp.com/vault/docs/commands/kv#examples in the documentation.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...