Exam Vault Associate 002 All QuestionsBrowse all questions from this 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?

    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
gvyecvlcOption: D

D -ttl=30m

Mark1000Option: A

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

daz_rekkaOption: A

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