Exam Details

  • Exam Code
    :VA-002-P
  • Exam Name
    :HashiCorp Certified: Vault Associate
  • Certification
    :HashiCorp Certifications
  • Vendor
    :HashiCorp
  • Total Questions
    :200 Q&As
  • Last Updated
    :May 09, 2024

HashiCorp HashiCorp Certifications VA-002-P Questions & Answers

  • Question 31:

    Provider dependencies are created in several different ways. Select the valid provider dependencies from the following list: (select three)

    A. Use of any resource belonging to a particular provider in a resource or data block in the configuration.

    B. Existence of any provider plugins found locally in the working directory.

    C. Explicit use of a provider block in configuration, optionally including a version constraint.

    D. Existence of any resource instance belonging to a particular provider in the current state.

  • Question 32:

    Complete the following sentence:

    For the local state, the workspaces are stored directly in a...

    A. a file called terraform.tfstate

    B. directory called terraform.workspaces.tfstate

    C. directory called terraform.tfstate.d

    D. a file called terraform.tfstate.backup

  • Question 33:

    Terraform Cloud is more powerful when you integrate it with your version control system (VCS) provider. Select all the supported VCS providers from the answers below. (select four)

    A. CVS Version Control

    B. GitHub Enterprise

    C. Bitbucket Cloud

    D. Azure DevOps Server

    E. GitHub

  • Question 34:

    When writing the Terraform code, HashiCorp recommends that you use how many spaces between each nesting level?

    A. 2

    B. 5

    C. 4

    D. 1

  • Question 35:

    A "backend" in Terraform determines how the state is loaded and how an operation such as apply is executed. Which of the following is not a supported backend type?

    A. terraform enterprise

    B. s3

    C. github

    D. consul

    E. artifactory

  • Question 36:

    Choose the correct answer which fixes the syntax of the following Terraform code:

    A. resource "aws_security_group" "vault_elb" { name = "${var.name_prefix}-vault-elb" description = var_Vault ELB vpc_id = var.vpc_id }

    B. resource "aws_security_group" "vault_elb" { name = "${var.name_prefix}-vault-elb" description = Vault ELB vpc_id = var.vpc_id }

    C. resource "aws_security_group" "vault_elb" { name = "${var.name_prefix}-vault-elb" description = "${Vault ELB}" vpc_id = var.vpc_id }

    D. resource "aws_security_group" "vault_elb" { name = "${var.name_prefix}-vault-elb"

    description = [Vault ELB]

    vpc_id = var.vpc_id

    }

    E. resource "aws_security_group" "vault_elb" { name = "${var.name_prefix}-vault-elb" description = "Vault ELB" vpc_id = var.vpc_id }

  • Question 37:

    In the following code snippet, the block type is identified by which string?

    1.

    resource "aws_instance" "db" {

    2.

    ami = "ami-123456"

    3.

    instance_type = "t2.micro"

    4.

    }

    A. "db"

    B. resource

    C. "aws_instance"

    D. instance_type

  • Question 38:

    Terraform has detailed logs which can be enabled by setting the _________ environmental variable.

    A. TF_LOG

    B. TF_TRACE

    C. TF_DEBUG

    D. TF_INFO

  • Question 39:

    Why might a user opt to include the following snippet in their configuration file?

    1.

    terraform {

    2.

    required_version = ">= 0.12"

    3.

    }

    A. this ensures that all Terraform providers are above a certain version to match the application being deployed

    B. the user wants to ensure that the application being deployed is a minimum version of 0.12

    C. versions before Terraform 0.12 were not approved by HashiCorp to be used in production

    D. Terraform 0.12 introduced substantial changes to the syntax used to write Terraform configuration

  • Question 40:

    In the example below, the depends_on argument creates what type of dependency?

    1.

    esource "aws_instance" "example" {

    2.

    ami = "ami-2757f631"

    3.

    instance_type = "t2.micro"

    4.

    depends_on = [aws_s3_bucket.company_data]

    5.

    }

    A. non-dependency resource

    B. implicit dependency

    C. explicit dependency

    D. internal dependency

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only HashiCorp exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your VA-002-P exam preparations and HashiCorp certification application, do not hesitate to visit our Vcedump.com to find your solutions here.