Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: geek65

VA-002-P HashiCorp Certified: Vault Associate Questions and Answers

Questions 4

What is the proper command to enable the AWS secrets engine at the default path?

Options:

A.

vault enable secrets aws

B.

vault secrets aws enable

C.

vault secrets enable aws

D.

vault enable aws secrets engine

Buy Now
Questions 5

You want to encrypt a credit card number using the transit secrets engine. You enter the following command and receive an error. What can you do to ensure that the credit card number is properly encrypted and the ciphertext is returned?

1. $ vault write -format=json transit/encrypt/creditcards plaintext="1234 5678 9101 1121"

2. Error writing data to transit/encrypt/orders: Error making API request.

3.

4. URL: PUT http://10.25.16.165:8200/v1/transit/encrypt/creditcards

5. Code: 400. Errors:

6.

7. * illegal base64 data at input byte 4

Options:

A.

credit card numbers are not supported using the transit secrets engine since it is considered sensitive data

B.

the token used to issue the encryption request does not have the appropriate permissions

C.

the plain text data needs to be encoded to base64

D.

the credit card number should not include spaces

Buy Now
Questions 6

A user has logged into the Vault user interface but cannot browse to a secret located at kv/applications/app3, however, the policy the user is bound by permits read permission to the secret.

Because of the read permission, the user should be able to read the secret in the Vault UI.

Options:

A.

False

B.

True

Buy Now
Questions 7

True or False:

Multiple providers can be declared within a single Terraform configuration file.

Options:

A.

False

B.

True

Buy Now
Questions 8

Which of the following settings are configured using the configuration file? (select three)

Options:

A.

Cluster Name

B.

Replication

C.

Seal Type

D.

Auth Methods

E.

Namespaces

F.

Storage Backend

G.

Audit Devices

Buy Now
Questions 9

Which type of Vault replication copies all data from Vault, including K/V data, policies, and client tokens?

Options:

A.

DR replication

B.

performance replication

C.

failover replication

D.

online replication

Buy Now
Questions 10

Vault does not trust the storage backend.

Options:

A.

False

B.

True

Buy Now
Questions 11

When creating a dynamic secret in Vault, Vault returns what value that can be used to renew or revoke the lease?

Options:

A.

lease_id

B.

vault_accessor

C.

revocation_access

D.

token_revocation_id

Buy Now
Questions 12

What is the result of the following terraform function call?

zipmap(["a", "b"], [1, 2])

Options:

A.

{

"a",

"b",

"1",

"2",

}

B.

[

"a",

"b",

"1",

"2",

]

C.

{

"a" = 1

"b" = 2

}

D.

[

"a" = 1

"b" = 2

]

Buy Now
Questions 13

Vault secrets engines are used to do what with data? (select three)

Options:

A.

copy

B.

generate

C.

store

D.

transmit

E.

encrypt

Buy Now
Questions 14

Which of the following cloud providers are not supported by Vault secrets engines?

Options:

A.

Oracle

B.

Azure

C.

AWS

D.

GCP

E.

AliCloud

Buy Now
Questions 15

What happens when a terraform plan is executed?

Options:

A.

the backend is initialized and the working directory is prepped

B.

creates an execution plan and determines what changes are required to achieve the desired state in the configuration files.

C.

applies the changes required in the target infrastructure in order to reach the desired configuration

D.

reconciles the state Terraform knows about with the real-world infrastructure

Buy Now
Questions 16

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

Options:

A.

"db"

B.

resource

C.

"aws_instance"

D.

instance_type

Buy Now
Questions 17

Which of the following variable declarations is going to result in an error?

Options:

A.

variable "example" {

type = object({})

}

B.

variable "example" {}

C.

variable "example" {

description = "This is a test"

type = map

default = {"one" = 1, "two" = 2, "Three" = "3"}

}

D.

variable "example" {

description = "This is a variable description"

type = list(string)

default = {}

}

Buy Now
Questions 18

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

1. terraform {

2. required_version = ">= 0.12"

3. }

Options:

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

Buy Now
Questions 19

What is the best and easiest way for Terraform to read and write secrets from HashiCorp Vault?

Options:

A.

CLI access from the same machine running Terraform

B.

API access using the AppRole auth method

C.

Vault provider

D.

Integration with a tool like Jenkins

Buy Now
Questions 20

Given the Terraform configuration below, in which order will the resources be created?

1. resource "aws_instance" "web_server" {

2. ami = "i-abdce12345"

3. instance_type = "t2.micro"

4. }

5. resource "aws_eip" "web_server_ip" {

6. vpc = true

7. instance = aws_instance.web_server.id

8. }

Options:

A.

aws_eip will be created first

aws_instance will be created second

B.

no resources will be created

C.

aws_instance will be created first

aws_eip will be created second

D.

resources will be created simultaneously

Buy Now
Questions 21

What feature of Terraform Cloud and/or Terraform Enterprise can you publish and maintain a set of custom modules which can be used within your organization?

Options:

A.

custom VCS integration

B.

remote runs

C.

private module registry

D.

Terraform registry

Buy Now
Questions 22

Vault's User Interface (UI) needs to be enabled in the command line before it can be used.

Options:

A.

FALSE

B.

TRUE

Buy Now
Questions 23

What is the default method of authentication after first initializing Vault?

Options:

A.

GitHub

B.

AppRole

C.

Admin account

D.

Tokens

E.

Userpass

F.

TLS certificates

Buy Now
Questions 24

Which of the following Vault features is available only in the Enterprise version? (select three)

Options:

A.

MFA

B.

dynamic credentials

C.

cloud auto unseal

D.

replication

E.

auto unseal with HSM

Buy Now
Questions 25

What feature of Vault would allow you to architect a "Vault within a Vault"?

Options:

A.

sentinel

B.

secrets engines

C.

control groups

D.

namespaces

Buy Now
Questions 26

What are the primary benefits of running Vault in a production deployment over dev server mode? (select two)

Options:

A.

ability to enable auth methods

B.

persistent storage

C.

encryption via TLS

D.

faster deployment

E.

access to all of the secret engines

Buy Now
Questions 27

When multiple arguments with single-line values appear on consecutive lines at the same nesting level, HashiCorp recommends that you:

Options:

A.

place a space in between each line

type = "A"

ttl = "300"

zone_id = aws_route53_zone.primary.zone_id

B.

align their equals signs

ami = "abc123"

instance_type = "t2.micro"

C.

place all arguments using a variable at the top

ami = var.aws_ami

instance_type = var.instance_size

subnet_id = "subnet-0bb1c79de3EXAMPLE"

tags = {

Name = "HelloWorld"

}

D.

put arguments in alphabetical order

name = "www.pythonfanclub.com "

records = [aws_eip.lb.public_ip]

type = "A"

ttl = "300"

zone_id = aws_route53_zone.primary.zone_id

Buy Now
Questions 28

True or False: Provisioners should only be used as a last resort.

Options:

A.

true

B.

false

Buy Now
Questions 29

Terraform Enterprise (also referred to as pTFE) requires what type of backend database for a clustered deployment?

Options:

A.

Cassandra

B.

MSSQL

C.

PostgreSQL

D.

MySQL

Buy Now
Questions 30

When a primary Vault cluster fails, Vault will automatically promote a secondary cluster to ensure maximum uptime.

Options:

A.

False

B.

True

Buy Now
Exam Code: VA-002-P
Exam Name: HashiCorp Certified: Vault Associate
Last Update: Dec 4, 2024
Questions: 200
VA-002-P pdf

VA-002-P PDF

$29.75  $84.99
VA-002-P Engine

VA-002-P Testing Engine

$35  $99.99
VA-002-P PDF + Engine

VA-002-P PDF + Testing Engine

$47.25  $134.99