HashiCorp VA-002-P Exam
HashiCorp Certified: Vault Associate (Page 6 )

Updated On: 30-Jan-2026

Select the answer below that completes the following statement:
Terraform Cloud can be managed from the CLI but requires __________?

  1. a TOTP token
  2. a username and password
  3. authentication using MFA
  4. an API token

Answer(s): D

Explanation:

API and CLI access are managed with API tokens, which can be generated in the Terraform Cloud UI. Each user can generate any number of personal API tokens, which allow access with their own identity and permissions. Organizations and teams can also generate tokens for automating tasks that aren't tied to an individual user.



Terraform-specific settings and behaviors are declared in which configuration block type?

  1. data
  2. resource
  3. terraform
  4. provider

Answer(s): C

Explanation:

The special terraform configuration block type is used to configure some behaviors of Terraform itself, such as requiring a minimum Terraform version to apply your configuration.



True or False:
State is a requirement for Terraform to function.

  1. True
  2. False

Answer(s): A

Explanation:

Terraform requires some sort of database to map Terraform config to the real world. When you have a resource in your configuration, Terraform uses this map to know how that resource is represented. Therefore, to map configuration to resources in the real world, Terraform uses its own state structure.



Which flag would be used within a Terraform configuration block to identify the specific version of a provider required?

  1. required-provider
  2. required_versions
  3. required_providers
  4. required-version

Answer(s): C

Explanation:

For production use, you should constrain the acceptable provider versions via configuration file to ensure that new versions with breaking changes will not be automatically installed by terraform init in the future. When terraform init is run without provider version constraints, it prints a suggested version constraint string for each provider
For example:
terraform {
required_providers {
aws = ">= 2.7.0"
}
}



HashiCorp offers multiple versions of Terraform, including Terraform open-source, Terraform Cloud, and Terraform Enterprise. Which of the following Terraform features are only available in the Enterprise edition? (select four)

  1. Sentinel
  2. SAML/SSO
  3. Audit Logs
  4. Private Network Connectivity
  5. Private Module Registry
  6. Clustering

Answer(s): B,C,D,F

Explanation:

While there are a ton of features that are available to open source users, many features that are part of the Enterprise offering are geared towards larger teams and enterprise functionality.



Viewing page 6 of 41
Viewing questions 26 - 30 out of 200 questions



Post your Comments and Discuss HashiCorp VA-002-P exam prep with other Community members:

Join the VA-002-P Discussion