問題文
A short-lived function is invoked tens of thousands of times per minute. Each invocation authenticates, reads one static value, and exits within a second. The operator is worried about the storage write volume that all those logins produce. Which token type fits, and why?
選択肢
- Either type works identically at this scale, because the cost of creating a token is dominated by the policy evaluation that happens on the request path rather than by anything the token type controls.
- Batch tokens, because they are encrypted blobs that require no storage entry to be written when they are created.
- Service tokens, because their storage entry lets Vault deduplicate the identical logins and cut the writes.
- Service tokens, because only they can be issued without a lease, and it is the lease rather than the token that accounts for the storage writes.