VA-003 Compare authentication methods Practice Question
Which THREE are best practices when selecting authentication methods for different use cases?
⚠ Common exam trap
HashiCorp often tests the misconception that a single authentication method can be universally applied, or that a method designed for a specific platform (like Kubernetes auth) can be used in any environment, leading candidates to select overly broad or insecure options like B or D.
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
✓
Use AppRole for automated CI/CD pipelines.
AppRole is designed for machine-to-machine authentication, making it ideal for automated CI/CD pipelines. It provides a secure way for applications to obtain a Vault token using a RoleID and SecretID, without requiring a human user. This avoids the security risks of long-lived tokens and allows for dynamic, short-lived credentials.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use AppRole for automated CI/CD pipelines.
Why this is correct
AppRole is designed for machine authentication.
- ✗
Use token auth as the sole method for all users and machines.
Why it's wrong here
Token auth is not scalable and lacks identity integration.
- ✓
Use AWS IAM auth for EC2 instances running in AWS.
Why this is correct
Leverages AWS IAM roles for authentication.
- ✗
Use Kubernetes auth for pods in any environment.
Why it's wrong here
Kubernetes auth is specific to Kubernetes clusters.
- ✓
Use LDAP auth for human users with Active Directory.
Why this is correct
Integrates with existing directory services.
Go deeper
Related to this question
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 →
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.