ExamGecko
Home / HashiCorp / Terraform Associate 003
Ask Question

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

Vendor:
Exam Questions:
195
 Learners
  2.370
Last Updated
March - 2025
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:

HashiCorp Terraform Associate 003 image Question 167 30605 09182024192049000000

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

Become a Premium Member for full access
  Unlock Premium Member

How is terraform import run?

Become a Premium Member for full access
  Unlock Premium Member

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

Become a Premium Member for full access
  Unlock Premium Member

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?

Become a Premium Member for full access
  Unlock Premium Member

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

Cloned virtual machine images
Cloned virtual machine images
Versioned configuration files
Versioned configuration files
Change management database records
Change management database records
Doctor files
Doctor files
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
38 questions

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

Self-describing infrastructure
Self-describing infrastructure
Idempotence
Idempotence
Versioned infrastructure
Versioned infrastructure
Golden images
Golden images
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
42 questions

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

Configuration it in the module's Terraform code
Configuration it in the module's Terraform code
Mention it on the module's configuration page on the Terraform Module Registry
Mention it on the module's configuration page on the Terraform Module Registry
The Terraform Module Registry does not support versioning modules
The Terraform Module Registry does not support versioning modules
Tag a release in the associated repo
Tag a release in the associated repo
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
39 questions

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

It can execute Terraform runs on dedicated infrastructure in Terraform Cloud
It can execute Terraform runs on dedicated infrastructure in Terraform Cloud
It doesn't show the output of a terraform apply locally
It doesn't show the output of a terraform apply locally
It is only arable lo paying customers
It is only arable lo paying customers
All of the above
All of the above
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
37 questions

Only the user that generated a plan may apply it.

True
True
False
False
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
34 questions

What does this code do?

HashiCorp Terraform Associate 003 image Question 55 30493 09182024192049000000

Requires any version of the AWS provider > = 3.0 and <4.0
Requires any version of the AWS provider > = 3.0 and <4.0
Requires any version of the AWS provider >= 3.0
Requires any version of the AWS provider >= 3.0
Requires any version of the AWS provider > = 3.0 major release. like 4.1
Requires any version of the AWS provider > = 3.0 major release. like 4.1
Requires any version of the AWS provider > 3.0
Requires any version of the AWS provider > 3.0
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
38 questions