Vault Enterprise Vault Security Model Practice Question
When using the 'vault login -method=kubernetes' command from a pod, which value is automatically sent to the Vault server as the JWT?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The contents of the mounted service account token file.
The Vault client automatically reads the JWT from /var/run/secrets/kubernetes.io/serviceaccount/token in the pod.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The pod's hostname.
Why it's wrong here
Hostname is not used for authentication.
- ✓
The contents of the mounted service account token file.
Why this is correct
This is the standard location for the K8s service account token.
- ✗
The Vault server's Root CA certificate.
Why it's wrong here
This is used for TLS verification, not authentication.
- ✗
The Kubernetes API server public key.
Why it's wrong here
This is used to verify the token, not provided as the token itself.
About these practice questions
This Vault Enterprise question is part of Courseiva's 184-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official HashiCorp exam blueprint
This Vault Enterprise practice question is part of Courseiva's free HashiCorp certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Vault Enterprise exam.