ExamGecko
Question list
Search
Search

Question 55 - Vault Associate 002 discussion

Report
Export

You are performing a high number of authentications in a short amount of time. You're experiencing slow throughput for token generation. How would you solve this problem?

A.
Increase the time-to-live on service tokens
Answers
A.
Increase the time-to-live on service tokens
B.
Implement batch tokens
Answers
B.
Implement batch tokens
C.
Establish a rate limit quota
Answers
C.
Establish a rate limit quota
D.
Reduce the number of policies attached to the tokens
Answers
D.
Reduce the number of policies attached to the tokens
Suggested answer: B

Explanation:

Batch tokens are a type of tokens that are not persisted in Vault's storage backend, but are encrypted blobs that carry enough information to perform Vault actions. Batch tokens are extremely lightweight and scalable, and can improve the throughput for token generation. Batch tokens are suitable for high-volume and ephemeral workloads, such as containers or serverless functions, that require short-lived and non-renewable tokens. Batch tokens can be created by using the -type=batch flag in the vault token create command, or by configuring the token_type parameter in the auth method's role or mount options. Batch tokens have some limitations compared to service tokens, such as the lack of renewal, revocation, listing, accessor, and cubbyhole features.Therefore, batch tokens should be used with caution and only when the trade-offs are acceptable.Reference: https://developer.hashicorp.com/vault/tutorials/tokens/batch-tokens1, https://developer.hashicorp.com/vault/docs/commands/token/create2, https://developer.hashicorp.com/vault/docs/concepts/tokens#token-types3

asked 18/09/2024
Sandeep Ramakrishnan
49 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first