Courseiva
Compare authentication methodsmediumMultiple SelectObjective-mapped

VA-003 Compare authentication methods Practice Question

Which TWO statements correctly describe differences between AppRole and Kubernetes authentication methods?

⚠ Common exam trap

HashiCorp often tests the misconception that Kubernetes auth requires no secret at all, when in fact the JWT token is a secret credential, and that AppRole cannot be used remotely, when both methods can operate across network boundaries if properly configured.

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

Kubernetes auth authenticates using a service account JWT token, whereas AppRole uses a RoleID and SecretID.

Kubernetes authentication works by having Vault validate a Kubernetes service account JWT token against the Kubernetes TokenReview API, while AppRole authentication requires a RoleID (which identifies the role) and a SecretID (which acts as a credential). The SecretID can be a generated value or a wrapped response, but the JWT token in Kubernetes auth is the sole credential presented to Vault.

Answer analysis

Option-by-option breakdown

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

  • AppRole requires a secret ID, while Kubernetes auth does not require any secret.

    Why it's wrong here

    Both require a secret: AppRole uses secret ID, Kubernetes uses the JWT token.

  • Kubernetes auth can only be used within the same cluster as Vault, while AppRole can be used remotely.

    Why it's wrong here

    Kubernetes auth can be used from any cluster as long as Vault can reach its API.

  • Both support response wrapping for secure delivery of credentials.

    Why it's wrong here

    AppRole supports response wrapping for secret IDs; Kubernetes tokens are usually not wrapped.

  • Kubernetes auth authenticates using a service account JWT token, whereas AppRole uses a RoleID and SecretID.

    Why this is correct

    Correct key difference.

  • AppRole supports CIDR restrictions on the secret ID, but Kubernetes auth does not.

    Why this is correct

    AppRole allows CIDR binding; Kubernetes auth can use token review but not CIDR.

About these practice questions

This VA-003 question is part of Courseiva's 498-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 by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This VA-003 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 VA-003 exam.