Big Halloween Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

Free HashiCorp Terraform-Associate-003 Practice Exam with Questions & Answers

Questions 1

Which of the following statements about Terraform modules is not true?

Options:
A.

Modules can call other modules

B.

A module is a container for one or more resources

C.

Modules must be publicly accessible

D.

You can call the same module multiple times

HashiCorp Terraform-Associate-003 Premium Access
Questions 2

Which of the following is not a valid source path for specifying a module?

Options:
A.

source - "github.com/hashicorp/examplePref-ul.0.8M

B.

source = "./module?version=vl.6.0"

C.

source - "hashicorp/consul/aws"

D.

source - "./module"

Questions 3

Before you can use a remote backend, you must first execute terra-form init.

Options:
A.

True

B.

False

Questions 4

A module can always refer to all variables declared in its parent module.

Options:
A.

True

B.

False

Questions 5

Which of the following is not a key principle of infrastructure as code?

Options:
A.

Self-describing infrastructure

B.

Idempotence

C.

Versioned infrastructure

D.

Golden images

Questions 6

What is the provider for the resource shown in the Exhibit?

resource "aws_vpc" "main" {

name = "test"

}

Options:
A.

VPC

B.

test

C.

main

D.

aws

Questions 7

How would you output returned values from a child module in the Terraform CLI output?

Options:
A.

Declare the output in the root configuration

B.

Declare the output in the child module

C.

Declare the output in both the root and child module

D.

None of the above

Questions 8

Which of these are benefits of using Sentinel with HCP Terraform/Terraform Cloud? (Pick the 3 correct responses)

Options:
A.

You can enforce a list of approved AWS AMIs.

B.

Sentinel Policies can be written in HashiCorp Configuration Language (HCL).

C.

You can check out and check in cloud access keys.

D.

Policy-as-code can enforce security best practices.

Questions 9

A Terraform provider is NOT responsible for:

Options:
A.

Exposing resources and data sources based on an APUI

B.

Managing actions to take based on resources differences

C.

Understanding API interactions with some service

D.

Provisioning infrastructure in multiple

Questions 10

Which of the following is not a valid Terraform collection type?

Options:
A.

Tree

B.

Map

C.

List

D.

set