Skip to main content

Vault-Associate HashiCorp Certified: Vault Associate (002)

  • HashiCorp
  • 6 free sample questions

About this exam

Vault-Associate is the HashiCorp exam HashiCorp Certified: Vault Associate (002). Paid practice material for this exam is not available yet, but you can try its free sample questions.

Exam code
Vault-Associate
Vendor
HashiCorp
Practice questions
Not available yet
Free sample questions
6
Question bank last updated
Not available yet

Try 2 sample questions

Taken from the free sample set for Vault-Associate.

Question 1

Vault supports which type of configuration for source limited token?

  1. Option A:

    Cloud-bound tokens

  2. Option B:

    Domain-bound tokens

  3. Option C:

    CIDR-bound tokens

  4. Option D:

    Certificate-bound tokens

Show answer and explanation

Correct answer: C

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

An 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.

  1. Option A:
    True
  2. Option B:
    False
Show answer and explanation

Correct answer: B

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

See all 6 free sample questions