U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp HCVA0-003 Exam - Topic 7 Question 23 Discussion

You are using Vault CLI and enable the database secrets engine on the default path of database/. However, the DevOps team wants to enable another database secrets engine for testing but receives an error stating the path is already in use. How can you enable a second database secrets engine using the CLI?
C) vault secrets enable -path=database2 database
A) vault secrets enable database database2/
B) vault secrets enable -force database
D) vault secrets enable database2/

HashiCorp HCVA0-003 Exam - Topic 7 Question 23 Discussion

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

You are using Vault CLI and enable the database secrets engine on the default path of database/. However, the DevOps team wants to enable another database secrets engine for testing but receives an error stating the path is already in use. How can you enable a second database secrets engine using the CLI?

Show Suggested Answer Hide Answer
Suggested Answer: C

Comprehensive and Detailed In-Depth

Vault mounts secrets engines at unique paths, and only one engine can occupy a given path (e.g., database/). To enable a second database secrets engine, you must specify a different path using the -path flag: vault secrets enable -path=database2 database mounts a new instance at database2/. The type (database) defines the engine, and -path customizes its location, avoiding conflicts.

A: Incorrect syntax; lacks -path and misplaces database2/.

B: -force doesn't create a new path; it overwrites an existing engine, which isn't the goal.

D: Omits -path and engine type, making it invalid.

The secrets engine tutorial confirms -path is required for multiple instances of the same engine type.


Secrets Engines Tutorial

Secrets Enable Command

Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel