Vault Associate 002 Exam QuestionsBrowse all questions from this exam

Vault Associate 002 Exam - Question 78


To create a non-root token with time-to-live (TTL) set to 30 minutes but with no max TTL which flag would you use?

Show Answer
Correct Answer: D

To create a non-root token with a time-to-live (TTL) set to 30 minutes but with no max TTL, the appropriate flag would be -ttl=30m. None of the provided options (A, B, C) match this exact requirement since A has '30n' which seems incorrect, B deals with maximum TTL directly and C is not related to TTL settings. Therefore, the correct answer is 'None of the above'.

Discussion

3 comments
Sign in to comment
daz_rekkaOption: A
Jan 18, 2024

Assuming the "n" is a typo and should be "m" for minutes A is correct. https://developer.hashicorp.com/vault/docs/concepts/duration-format#m

Mark1000Option: A
Feb 5, 2024

A ( -ttl=30m) The answer B can be misleading, but first we would not define the TTL of 30 minutes, and it should be noted that if the max-ttl flag is specified it automatically defines it as explicit_max_ttl = 0s, therefore it is not necessary to define

gvyecvlcOption: D
Mar 30, 2024

D -ttl=30m