| Exam Code | Vault-Associate |
| Exam Name | HashiCorp Certified: Vault Associate (002) |
| Vendor | HashiCorp |
| Total Questions | 57 |
| Last Updated | 26-Oct, 2026 |
- Latest & Verified Questions
- Detailed Explanations
- Regular Updates
- Full-Length Practice Tests
- Boost Your Exam Confidence
PDF Study Materials
Downloadable guides and resources
Practice Tests
Full-length tests with real exam experience
Progress Tracking
Monitor your performance and improvement
Study Anywhere
Access on desktop, tablet, and mobile
Free Vault-Associate Practice Questions
Explore 6 free practice questions for the HashiCorp Vault-Associate exam and review the answers and explanations to support your preparation.
-
Question 1
Single answerVault supports which type of configuration for source limited token?
-
Option A:Correct
Cloud-bound tokens
-
Option B:Correct
Domain-bound tokens
-
Option C:Correct
CIDR-bound tokens
-
Option D:Correct
Certificate-bound tokens
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: C
Explanation
Vault supports CIDR-bound tokens, which are tokens that can only be used from a specific set of IP addresses or network ranges. This is a way to limit the scope and exposure of a token in case it is compromised or leaked. CIDR-bound tokens can be created by specifying the bound_cidr_list parameter when creating or updating a token role, or by using the -bound-cidr option when creating a token using the vault token create command. CIDR-bound tokens can also be created by some auth methods, such as AWS or Kubernetes, that can automatically bind the tokens to the source IP or network of the client. References : Token - Auth Methods | Vault | HashiCorp Developer , vault token create - Command | Vault | HashiCorp Developer
-
-
Question 2
True / FalseAn organization wants to authenticate an AWS EC2 virtual machine with Vault to access a dynamic database secret.
The only authentication method which they can use in this case is AWS.
-
Option A: TrueCorrect
-
Option B: FalseCorrect
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
The statement is false. An organization can authenticate an AWS EC2 virtual machine with Vault to access a dynamic database secret using more than one authentication method. The AWS auth method is one of the options, but not the only one. The AWS auth method supports two types of authentication: ec2 and iam. The ec2 type uses the signed EC2 instance identity document to authenticate the EC2 instance. The iam type uses the AWS Signature v4 algorithm to sign a request to the sts:GetCallerIdentity API and authenticate the IAM principal. However, the organization can also use other auth methods that are compatible with EC2 instances, such as AppRole, JWT/OIDC, or Kubernetes. These methods require the EC2 instance to have some sort of identity material, such as a role ID, a secret ID, a JWT token, or a service account token, that can be used to authenticate to Vault. The identity material can be provisioned to the EC2 instance using various mechanisms, such as user data, metadata service, or cloud-init scripts. The choice of the auth method depends on the use case, the security requirements, and the trade-offs between convenience and control. References : AWS - Auth Methods | Vault | HashiCorp Developer , AppRole - Auth Methods | Vault | HashiCorp Developer , JWT/OIDC - Auth Methods | Vault | HashiCorp Developer , Kubernetes - Auth Methods | Vault | HashiCorp Developer
-
-
Question 3
True / FalseAn organization wants to authenticate an AWS EC2 virtual machine with Vault to access a dynamic database secret.
The only authentication method which they can use in this case is AWS.
-
Option A: TrueCorrect
-
Option B: FalseCorrect
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
The statement is false. An organization can authenticate an AWS EC2 virtual machine with Vault to access a dynamic database secret using more than one authentication method. The AWS auth method is one of the options, but not the only one. The AWS auth method supports two types of authentication: ec2 and iam. The ec2 type uses the signed EC2 instance identity document to authenticate the EC2 instance. The iam type uses the AWS Signature v4 algorithm to sign a request to the sts:GetCallerIdentity API and authenticate the IAM principal. However, the organization can also use other auth methods that are compatible with EC2 instances, such as AppRole, JWT/OIDC, or Kubernetes. These methods require the EC2 instance to have some sort of identity material, such as a role ID, a secret ID, a JWT token, or a service account token, that can be used to authenticate to Vault. The identity material can be provisioned to the EC2 instance using various mechanisms, such as user data, metadata service, or cloud-init scripts. The choice of the auth method depends on the use case, the security requirements, and the trade-offs between convenience and control. References : AWS - Auth Methods | Vault | HashiCorp Developer , AppRole - Auth Methods | Vault | HashiCorp Developer , JWT/OIDC - Auth Methods | Vault | HashiCorp Developer , Kubernetes - Auth Methods | Vault | HashiCorp Developer
-
-
Question 4
Single answerWhat can be used to limit the scope of a credential breach?
-
Option A:Correct
Storage of secrets in a distributed ledger
-
Option B:Correct
Enable audit logging
-
Option C:Correct
Use of a short-lived dynamic secrets
-
Option D:Correct
Sharing credentials between applications
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: C
Explanation
Using a short-lived dynamic secrets can help limit the scope of a credential breach by reducing the exposure time of the secrets. Dynamic secrets are generated on-demand by Vault and automatically revoked when they are no longer needed. This way, the credentials are not stored in plain text or in a static database, and they can be rotated frequently to prevent unauthorized access. Dynamic secrets also provide encryption as a service, which means that they perform cryptographic operations on data in-transit without storing any data. This adds an extra layer of security and reduces the risk of data leakage or tampering. References : Dynamic secrets | Vault | HashiCorp Developer , What are dynamic secrets and why do I need them? - HashiCorp
-
-
Question 5
Single answerHow would you describe the value of using the Vault transit secrets engine?
-
Option A:Correct
Vault has an API that can be programmatically consumed by applications
-
Option B:Correct
The transit secrets engine ensures encryption in-transit and at-rest is enforced enterprise wide
-
Option C:Correct
Encryption for application data is best handled by a storage system or database engine,
while storing encryption keys in Vault
-
Option D:Correct
The transit secrets engine relieves the burden of proper encryption/decryption from application developers and
pushes the burden onto the operators of Vault
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: D
Explanation
The transit secrets engine relieves the burden of proper encryption/decryption from application developers and pushes the burden onto the operators of Vault. The transit secrets engine provides encryption as a service, which means that it performs cryptographic operations on data in-transit without storing any data. This allows developers to delegate the responsibility of managing encryption keys and algorithms to Vault operators, who can define and enforce policies on the transit secrets engine. This way, developers can focus on their application logic and data, while Vault handles the encryption and decryption of data in a secure and scalable manner. References : Transit - Secrets Engines | Vault | HashiCorp Developer , Encryption as a service: transit secrets engine | Vault | HashiCorp Developer
-
-
Question 6
Single answerWhich of the following statements describe the CLI command below?
S vault login -method-1dap username-mitche11h
-
Option A:Correct
Generates a token which is response wrapped
-
Option B:Correct
You will be prompted to enter the password
-
Option C:Correct
By default the generated token is valid for 24 hours
-
Option D:Correct
Fails because the password is not provided
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
The CLI command vault login -method ldap username=mitchellh generates a token that is response wrapped. This means that the token contains a base64-encoded response wrapper, which is a JSON object that contains information about the token, such as its policies, metadata, and expiration time. The response wrapper is used to verify the authenticity and integrity of the token, and to prevent replay attacks. The response wrapper also allows Vault to automatically renew the token when it expires, or to revoke it if it is compromised. The -method ldap option specifies that the authentication method is LDAP, which requires a username and password to be provided. The username mitchellh is an example of an LDAP user name, and the password will be hidden when entered. References : Vault CLI Reference | Vault | HashiCorp Developer , Vault CLI Reference | Vault | HashiCorp Developer
-