Pass the HashiCorp HashiCorp Security Automation Certification VA-002-P Questions and answers with CertsForce

Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions
Questions # 21:

True or False?

terraform init cannot automatically download Community providers.

Options:

A.

False


B.

True


Expert Solution
Questions # 22:

True or False: When encrypting data with the transit secrets engine, Vault always stores the ciphertext in a dedicated KV store along with the associated encryption key.

Options:

A.

False


B.

True


Expert Solution
Questions # 23:

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


Expert Solution
Questions # 24:

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


Expert Solution
Questions # 25:

When configuring Vault replication and monitoring its status, you keep seeing something called 'WALs'. What are WALs?

Options:

A.

wake after lan


B.

warning of allocated logs


C.

write-ahead log


D.

write along logging


Expert Solution
Questions # 26:

Which Terraform command will check and report errors within modules, attribute names, and value types to make sure they are syntactically valid and internally consistent?

Options:

A.

terraform format


B.

terraform validate


C.

terraform fmt


D.

terraform show


Expert Solution
Questions # 27:

Permissions for Vault backend functions are available at which path?

Options:

A.

security/


B.

admin/


C.

backend/


D.

system/


E.

vault/


F.

sys/


Expert Solution
Questions # 28:

True or False:

When using the transit secrets engine, setting the min_decryption_version will determine the minimum key length of the data key (i.e., 2048, 4096, etc.)

Options:

A.

False


B.

True


Expert Solution
Questions # 29:

What does the following API request return?

1. $ curl \

2. --header "X-Vault-Token: ..." \

3. --request POST \

4. --data @payload.json \

5. http://127.0.0.1:8200/v1/sys/tools/random/164

Options:

A.

a random string of 164 characters


B.

a random token valid for 164 uses


C.

None


D.

a secured secret based on 164 bytes of data


Expert Solution
Questions # 30:

Which of the following commands will launch the Interactive console for Terraform interpolations?

Options:

A.

terraform


B.

terraform console


C.

terraform cmdline


D.

terraform cli


Expert Solution
Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions