100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
HASHICORP TERRAFORM ASSOCIATE EXAM $11.99   Add to cart

Exam (elaborations)

HASHICORP TERRAFORM ASSOCIATE EXAM

 4 views  0 purchase
  • Course
  • HASHICORP TERRAFORM ASSOCIATE
  • Institution
  • HASHICORP TERRAFORM ASSOCIATE

HASHICORP TERRAFORM ASSOCIATE EXAM

Preview 2 out of 8  pages

  • September 22, 2024
  • 8
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • HASHICORP TERRAFORM ASSOCIATE
  • HASHICORP TERRAFORM ASSOCIATE
avatar-seller
GEEKA
HASHICORP TERRAFORM ASSOCIATE EXAM
What are the Terraform language functions? - Answers -1. Numeric
2. String
3. Collection
4. Encoding
5. Filesystem
6. Date and Time
7. Hash and Crypto
8. IP Network
9. Type Conversion

True/False: Terraform only supports built in functions, not user defined - Answers -
TRUE

What is the structure of the LOOKUP function? - Answers -{map, key, default}

What does the element function do? - Answers -Retrieves a singe element from a list

What is the structure of the element function? - Answers -(list, index)
example: (["a", "b", "c"], 1)
ANSWER = B (because it is place 1 in the list)

TRUE/FALSE: If given index is longer than the list length, the index is wrapped around
back to the beginning - Answers -TRUE
example: (["a", "b", "c"], 3)
ANSWER = A

What does the FILE function do? - Answers -READS the content of a file at the given
path and RETURNS them as a string

What is the structure of the FILE function? - Answers -file ("${path.module}/hello.txt)

What are Data Sources? - Answers -Allow data to be fetched or computer for use
elsewhere in the Terraform configuration

What is the Dynamic Block in Terraform? - Answers -Allows us to dynamically construct
repeatable nested blocks which is supported inside resource, data, provider, and
provisioner blocks

When would tainting resources become applicable? - Answers -When recreating a
resource to fix

Describe the Terraform TAINT command: - Answers -Informs Terraform that a particular
object has become degraded or damaged.

, What are splat expressions? - Answers -It provides a more concise way to express a
common operation

* symbol iterates over all of the elements of the list`

var.list[*].id

What is Terraform Graph? - Answers -A way to generate a visual representation of
either a configuration or execution plan

What is the format of terraform graph? - Answers -DOT Format that gets converted into
an image

TRUE/FALSE: A generated terraform plan can NOT be saved to a specific path -
Answers -FALSE

What is the Terraform OUTPUT command? - Answers -The terraform output command
is used to extract the value of an output variable from the state file.

example: terraform output iam_arn

TRUE/FALSE: If the running version does not match the specified constraints, then an
error will persist - Answers -TRUE

What is Terraform Settings? - Answers -The special terraform configuration block type
is used to configure some behaviors of Terraform itself, such as requiring a minimum
Terraform version to apply your configuration.

What are examples of terraform settings? - Answers -Terraform version and Provider
version

Describe required_versions: - Answers -Accepts a version constraint string

Where is data source defined within the Terraform code? - Answers -Under the data
block

How do you DEBUG Terraform? - Answers -Terraform has detailed logs which are
enabled by setting the TF_LOG environment variable to any value.

What are the log levels that TF_LOG can be set to? - Answers -TRACE, DEBUG, INFO,
WARN, ERROR

What does Terraform Format (terraform fmt) do? - Answers -Rewrites configuration
(i.e. removes indentation and aligns commands)

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller GEEKA. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $11.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79223 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$11.99
  • (0)
  Add to cart