Courseiva
Vault Security ModelhardMultiple ChoiceObjective-mapped

Vault Enterprise Vault Security Model Practice Question

When integrating Vault with Kubernetes, you are configuring the Vault Kubernetes Auth Method. You need to ensure that the service account token presented by the pod is verified against the Kubernetes TokenReview API. Which configuration is required in Vault to enable this?

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

Configure the 'kubernetes_host' and 'kubernetes_ca_cert' in the auth method configuration.

The 'kubernetes_host' and the 'kubernetes_ca_cert' must be correctly configured in the auth/kubernetes/config endpoint for Vault to communicate securely with the API server.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Enable the 'kubernetes_allow_any_token' flag in the global configuration.

    Why it's wrong here

    This flag is insecure and does not perform the necessary TokenReview verification.

  • Create a static secret in Vault that matches the Kubernetes service account name.

    Why it's wrong here

    Vault auth methods rely on dynamic token validation, not static mapping.

  • Configure the 'kubernetes_host' and 'kubernetes_ca_cert' in the auth method configuration.

    Why this is correct

    Vault must be able to talk to the K8s API to validate tokens.

  • Manually copy the pod's service account token into the Vault server's local keyring.

    Why it's wrong here

    Vault performs runtime verification via the API, not manual keyring injection.

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 →

How Courseiva writes practice questions · Editorial policy

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.