002 Exam QuestionsBrowse all questions from this exam

002 Exam - Question 1


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.

Show Answer
Correct Answer: D

To create a new user named 'sally' with the password 'h0wN0wB4r0wnC0w' and assign the 'power-users' policy using the Vault userpass auth method, you need to use the appropriate command for creating a user and setting the policy. The correct option clearly depicts this command with proper syntax, ensuring that the user 'sally' is created and the 'power-users' policy is applied.

Discussion

1 comment
Sign in to comment
daz_rekkaOption: D
Jul 15, 2024

D is correct, https://developer.hashicorp.com/vault/docs/auth/userpass#configuration.