Courseiva
Explain Vault architecturemediumMultiple ChoiceObjective-mapped

VA-003 Explain Vault architecture Practice Question

A team wants to use Vault's AWS auth method to authenticate EC2 instances. Which architectural requirement must be met?

⚠ Common exam trap

HashiCorp often tests the misconception that Vault requires AWS API credentials or an IAM role for the AWS auth method, when in fact it only needs network access to the EC2 metadata endpoint to perform identity verification.

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

Vault must be able to reach the AWS metadata endpoint

The AWS auth method in Vault authenticates EC2 instances by verifying the instance's identity via the AWS metadata endpoint (http://169.254.169.254/latest/meta-data/). Vault must be able to reach this endpoint to retrieve the instance's PKCS7 signature, instance ID, and account ID, which are used to validate the instance's IAM role and ensure it matches the configured auth role. Without network access to the metadata endpoint, Vault cannot perform the cryptographic verification required for authentication.

Answer analysis

Option-by-option breakdown

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

  • Each EC2 instance must have an IAM role attached

    Why it's wrong here

    Optional, not required for auth method.

  • Vault must have AWS API credentials configured

    Why it's wrong here

    Vault uses instance metadata, not credentials.

  • Vault must be deployed on an EC2 instance in the same region

    Why it's wrong here

    Can be in any region with network access.

  • Vault must be able to reach the AWS metadata endpoint

    Why this is correct

    Vault verifies instance identity via metadata.

About these practice questions

One of 498 original VA-003 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.