Courseiva
Compare authentication methodshardMultiple ChoiceObjective-mapped

VA-003 Compare authentication methods Practice Question

A company uses Vault for secrets management. They want to authenticate using GitHub tokens, but only for users who are members of a specific GitHub team. What must be configured?

⚠ Common exam trap

HashiCorp often tests the misconception that Vault validates token scopes or that GitHub tokens have a 'team' scope, when in reality Vault relies on GitHub API team membership lookups and the token must have the appropriate OAuth scope (read:org) to retrieve that information.

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

Map the GitHub team to a Vault policy in the auth method configuration.

Vault's GitHub auth method requires mapping GitHub teams to Vault policies. When a user authenticates with a GitHub personal access token, Vault checks the token's associated teams against the configured team-to-policy mappings. Only users belonging to a mapped team receive the corresponding Vault policy, enabling access control based on team membership.

Answer analysis

Option-by-option breakdown

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

  • Vault validates the token's scope.

    Why it's wrong here

    Vault does not validate token scope.

  • Users must generate a personal access token with repo scope.

    Why it's wrong here

    No specific scope is required beyond the ability to read team membership.

  • The GitHub token must include the team scope.

    Why it's wrong here

    The token does not need a team scope; Vault uses the API to check membership.

  • Map the GitHub team to a Vault policy in the auth method configuration.

    Why this is correct

    Mapping teams to policies is required to enforce membership.

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.