ExamGecko
Home Home / HashiCorp / Terraform Associate 003
Ask QuestionAsk Question

Terraform Associate 003: HashiCorp Certified: Terraform Associate (003)

HashiCorp Certified: Terraform Associate (003) Vendor:
HashiCorp Certified: Terraform Associate (003) Exam Questions:
195
HashiCorp Certified: Terraform Associate (003)  Learners
  2.370
HashiCorp Certified: Terraform Associate (003) Last Updated
January - 2025
HashiCorp Certified: Terraform Associate (003) Language
English
5 Quizzes
PDF | VPLUS
This study guide should help you understand what to expect on the exam and includes a summary of the topics the exam might cover and links to additional resources. The information and materials in this document should help you focus your studies as you prepare for the exam.

Related questions

You have a list of numbers that represents the number of free CPU cores on each virtual cluster:

What Terraform function could you use to select the largest number from the list?

Become a Premium Member for full access
Unlock Premium Member  Unlock Premium Member

How is terraform import run?

A.
As a part of terraform init
A.
As a part of terraform init
Answers
B.
As a part of terraform plan
B.
As a part of terraform plan
Answers
C.
As a part of terraform refresh
C.
As a part of terraform refresh
Answers
D.
By an explicit call
D.
By an explicit call
Answers
E.
All of the above
E.
All of the above
Answers
Suggested answer: D

Explanation:

The terraform import command is not part of any other Terraform workflow. It must be explicitly invoked by the user with the appropriate arguments, such as the resource address and the ID of the existing infrastructure to import.Reference= [Importing Infrastructure]

asked 18/09/2024
Ahmed Emad
30 questions

If a module declares a variable with a default, that variable must also be defined within the module.

A.
True
A.
True
Answers
B.
False
B.
False
Answers
Suggested answer: B

Explanation:

A module can declare a variable with a default value without requiring the caller to define it. This allows the module to provide a sensible default behavior that can be customized by the caller if needed.Reference= [Module Variables]

asked 18/09/2024
bebo here
42 questions

If a DevOps team adopts AWS CloudFormation as their standardized method for provisioning public cloud resoruces, which of the following scenarios poses a challenge for this team?

A.
The team is asked to manage a new application stack built on AWS-native services
A.
The team is asked to manage a new application stack built on AWS-native services
Answers
B.
The organization decides to expand into Azure wishes to deploy new infrastructure
B.
The organization decides to expand into Azure wishes to deploy new infrastructure
Answers
C.
The team is asked to build a reusable code based that can deploy resources into any AWS region
C.
The team is asked to build a reusable code based that can deploy resources into any AWS region
Answers
D.
The DevOps team is tasked with automating a manual, web console-based provisioning.
D.
The DevOps team is tasked with automating a manual, web console-based provisioning.
Answers
Suggested answer: B

Explanation:

This is the scenario that poses a challenge for this team, if they adopt AWS CloudFormation as their standardized method for provisioning public cloud resources, as CloudFormation only supports AWS services and resources, and cannot be used to provision infrastructure on other cloud platforms such as Azure.

asked 18/09/2024
Phil Horikawa
38 questions

Which are examples of infrastructure as code? Choose two correct answers.

A.
Cloned virtual machine images
A.
Cloned virtual machine images
Answers
B.
Versioned configuration files
B.
Versioned configuration files
Answers
C.
Change management database records
C.
Change management database records
Answers
D.
Doctor files
D.
Doctor files
Answers
Suggested answer: B

Explanation:

These are examples of infrastructure as code (IaC), which is a practice of managing and provisioning infrastructure through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools.

asked 18/09/2024
Ida Aasvistad
35 questions

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

A.
Self-describing infrastructure
A.
Self-describing infrastructure
Answers
B.
Idempotence
B.
Idempotence
Answers
C.
Versioned infrastructure
C.
Versioned infrastructure
Answers
D.
Golden images
D.
Golden images
Answers
Suggested answer: D

Explanation:

The key principle of infrastructure as code that is not listed among the options isgolden images. Golden images are pre-configured, ready-to-use virtual machine images that contain a specific set of software and configuration. They are often used to create multiple identical instances of the same environment, such as for testing or production. However, golden images are not a principle of infrastructure as code, but rather a technique that can be used with or without infrastructure as code. The other options are all key principles of infrastructure as code, as explained below:

Self-describing infrastructure: This means that the infrastructure is defined in code that describes its desired state, rather than in scripts that describe the steps to create it. This makes the infrastructure easier to understand, maintain, and reproduce.

Idempotence: This means that applying the same infrastructure code multiple times will always result in the same state, regardless of the initial state. This makes the infrastructure consistent and predictable, and avoids errors or conflicts caused by repeated actions.

asked 18/09/2024
Christian Weber
33 questions

How do you specify a module's version when publishing it to the public terraform Module Registry?

A.
Configuration it in the module's Terraform code
A.
Configuration it in the module's Terraform code
Answers
B.
Mention it on the module's configuration page on the Terraform Module Registry
B.
Mention it on the module's configuration page on the Terraform Module Registry
Answers
C.
The Terraform Module Registry does not support versioning modules
C.
The Terraform Module Registry does not support versioning modules
Answers
D.
Tag a release in the associated repo
D.
Tag a release in the associated repo
Answers
Suggested answer: D

Explanation:

This is how you specify a module's version when publishing it to the public Terraform Module Registry, as it uses the tags from your version control system (such as GitHub or GitLab) to identify module versions. You need to use semantic versioning for your tags, such asv1.0.0.

asked 18/09/2024
C/1094 WOLOGUEDE COTONOU – BENIN NDENDE
36 questions

How does the Terraform cloud integration differ from other state backends such as S3, Consul,etc?

A.
It can execute Terraform runs on dedicated infrastructure in Terraform Cloud
A.
It can execute Terraform runs on dedicated infrastructure in Terraform Cloud
Answers
B.
It doesn't show the output of a terraform apply locally
B.
It doesn't show the output of a terraform apply locally
Answers
C.
It is only arable lo paying customers
C.
It is only arable lo paying customers
Answers
D.
All of the above
D.
All of the above
Answers
Suggested answer: A

Explanation:

This is how the Terraform Cloud integration differs from other state backends such as S3, Consul, etc., as it allows you to perform remote operations on Terraform Cloud's servers instead of your local machine. The other options are either incorrect or irrelevant.

asked 18/09/2024
BurtAnderson Carter
35 questions

Only the user that generated a plan may apply it.

A.
True
A.
True
Answers
B.
False
B.
False
Answers
Suggested answer: B

Explanation:

Any user with permission to apply a plan can apply it, not only the user that generated it. This allows for collaboration and delegation of tasks among team members.

asked 18/09/2024
B M
32 questions

What does this code do?

A.
Requires any version of the AWS provider > = 3.0 and <4.0
A.
Requires any version of the AWS provider > = 3.0 and <4.0
Answers
B.
Requires any version of the AWS provider >= 3.0
B.
Requires any version of the AWS provider >= 3.0
Answers
C.
Requires any version of the AWS provider > = 3.0 major release. like 4.1
C.
Requires any version of the AWS provider > = 3.0 major release. like 4.1
Answers
D.
Requires any version of the AWS provider > 3.0
D.
Requires any version of the AWS provider > 3.0
Answers
Suggested answer: A

Explanation:

This is what this code does, by using the pessimistic constraint operator (~>), which specifies an acceptable range of versions for a provider or module.

asked 18/09/2024
Rui Afonso
29 questions