HashiCorp Certified: Vault Associate (002) — Question 74

Which command will generate a new transit key?

Answer options

Correct answer: C

Explanation

The correct option, C, uses 'vault write' with the '-f' flag to generate a new transit key, which is the proper syntax for this action. Options A and D do not include the necessary flags for creating a key, while B incorrectly uses 'create' instead of 'write'.