Weekend Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: netbudy65

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

Questions 4

By default, where does Terraform store its state file?

Options:

A.

shared directory

B.

current working directory

C.

Amazon S3 bucket

D.

remotely using Terraform Cloud

Buy Now
Questions 5

In regards to using a K/V v2 secrets engine, select the three correct statements below: (select three)

Options:

A.

issuing a vault kv destroy statement permanently deletes a single version of a secret

B.

issuing a vault kv destroy statement deletes all versions of a secret

C.

issuing a vault kv delete statement permanently deletes the secret

D.

issuing a vault kv metadata delete statement permanently deletes the secret

E.

issuing a vault kv delete statement performs a soft delete

Buy Now
Questions 6

The security barrier protects all of the following Vault components except ___.

Options:

A.

secret engine

B.

auth method

C.

storage backend

D.

audit devices

E.

token store

Buy Now
Questions 7

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 8

From the answers below, select the advantages of using Infrastructure as Code. (select four)

Options:

A.

Easily integrate with application workflows (GitLab Actions, Azure DevOps, CI/CD tools)

B.

Safely test modifications using a "dry run" before applying any actual changes

C.

Provide reusable modules for easy sharing and collaboration

D.

Easily change and update existing infrastructure

E.

Provide a codified workflow to develop customer-facing applications

Buy Now
Questions 9

True or False? By default, Terraform destroy will prompt for confirmation before proceeding.

Options:

A.

True

B.

False

Buy Now
Questions 10

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 11

From the unseal options listed below, select the options you can use if you're deploying Vault on-premises. (select four)

Options:

A.

transit

B.

AWS KMS

C.

certificates

D.

key shards

E.

HSM PKCS11

Buy Now
Questions 12

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 13

What Terraform feature is shown in the example below?

1. resource "aws_security_group" "example" {

2. name = "sg-app-web-01"

3. dynamic "ingress" {

4. for_each = var.service_ports

5. content {

6. from_port = ingress.value

7. to_port = ingress.value

8. protocol = "tcp"

9. }

10. }

11. }

Options:

A.

data source

B.

dynamic block

C.

local values

D.

conditional expression

Buy Now
Questions 14

Which auth method is ideal for machine to machine authentication?

Options:

A.

GitHub

B.

UserPass

C.

AppRole

D.

Okta

Buy Now
Questions 15

Which three interfaces can be used to access Vault? (select three)

Options:

A.

JSON

B.

CLI

C.

RPC

D.

UI

E.

API

F.

Consul

Buy Now
Questions 16

You've deployed Vault in your production environment and are curious to understand metrics on your Vault cluster, such as the number of writes to the backend, the status of WALs, and the seal status. What feature would you configure in order to view these metrics?

Options:

A.

audit device

B.

telemetry

C.

nothing to configure, these are available in the Vault log found on the OS

D.

enable logs for each individual secrets engines

Buy Now
Questions 17

Vault has failed to start. You inspect the log and find the error below. What needs to be changed in order to successfully start Vault?

"Error parsing config.hcl: At 1:12: illegal char"

Options:

A.

the " character cannot be used in the config file

B.

fix the syntax error in the Vault configuration file

C.

you must use single quotes vs double quotes in the config file

D.

line 1 on the config file is blank

Buy Now
Questions 18

True or False:

Once you create a KV v1 secrets engine and place data in it, there is no way to modify the mount to include the features of a KV v2 secrets engine.

Options:

A.

True

B.

False

Buy Now
Questions 19

In order to extend a Consul storage backend, Consul nodes should be provisioned across multiple data centers or cloud regions.

Options:

A.

True

B.

False

Buy Now
Questions 20

What type of token does not have a TTL (time to live)?

Options:

A.

default tokens

B.

parent tokens

C.

user tokens

D.

root tokens

E.

expired tokens

F.

child tokens

Buy Now
Questions 21

True or False:

Workspaces provide identical functionality in the open-source, Terraform Cloud, and Enterprise versions of Terraform.

Options:

A.

True

B.

False

Buy Now
Questions 22

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 23

When using parent/child modules to deploy infrastructure, how would you export value from one module to import into another module?

For example, a module dynamically deploys an application instance or virtual machine, and you need the IP address in another module to configure a related DNS record in order to reach the newly deployed application.

Options:

A.

configure an output value in the application module in order to use that value for the DNS module

B.

preconfigure the IP address as a parameter in the DNS module

C.

configure the pertinent provider's configuration with a list of possible IP addresses to use

D.

export the value using terraform export and input the value using terraform input

Buy Now
Questions 24

Select the operating systems which are supported for a clustered Terraform Enterprise: (select four)

Options:

A.

Unix

B.

Amazon Linux

C.

Red Hat

D.

Ubuntu

E.

CentOS

Buy Now
Questions 25

Which TCP port does Vault replication use?

Options:

A.

8200

B.

8201

C.

8300

D.

8301

Buy Now
Questions 26

Environment variables can be used to set variables. The environment variables must be in the format "____"_. Select the correct prefix string from the following list.

Options:

A.

TF_VAR

B.

TF_VAR_NAME

C.

TF_ENV

D.

TF_ENV_VAR

Buy Now
Questions 27

Which commands are available only after Vault has been unsealed? (select two)

Options:

A.

vault login -method=ldap -username=vault

B.

vault operator unseal

C.

vault kv get kv/apps/app01

D.

vault status

Buy Now
Questions 28

Which of the following represents a feature of Terraform Cloud that is NOT free to customers?

Options:

A.

private module registry

B.

VCS integration

C.

roles and team management

D.

workspace management

Buy Now
Questions 29

What are some of the features of Terraform state? (select three)

Options:

A.

inspection of cloud resources

B.

increased performance

C.

mapping configuration to real-world resources

D.

determining the correct order to destroy resources

Buy Now
Questions 30

Beyond encryption and decryption of data, which of the following is not a function of the Vault transit secrets engine?

Options:

A.

generate hashes and HMACs of data

B.

sign and verify data

C.

act as a source of random bytes

D.

store the encrypted data securely in Vault for retrieval

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

PDF + Testing Engine

$130

Testing Engine

$95

PDF (Q&A)

$80