How do you create a new user named "sally" with password "h0wN0wB4r0wnC0w"?

You are using the Vault userpass auth method mounted at auth/userpass.

How do you create a new user named "sally" with password "h0wN0wB4r0wnC0w"? This new user will need the power-users policy.

A)

B)

C)

D)

A. Option A

B. Option B

C. Option C

D. Option D

Answer: A

Explanation:

When using Vault’s userpass authentication method, you need to use the correct path and command to create a new user. In this case, the path is.auth/userpass/users/<username>

Option A uses this path correctly, and also correctly sets the username to "sally", the password to "h0wN0wB4r0wnC0w", and gives the "power-users" policy.

Option B uses the wrong path, which is not the correct command format to create the user.userpass/sally

Option C tries to use the key-value store command, which is incorrect because we’re creating a user, not a key-value pair.kv write

The path for option D is also wrong, and it is missing the start command.vault put

So, to create a new user named "sally" with a password of "h0wN0wB4r0wnC0w" and a "power-users" policy, you should use the command of option A.

Latest VA-002-P Dumps Valid Version with 200 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments