Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 44

What is one disadvantage of using dynamic blocks in Terraform?

    Correct Answer: C

    One disadvantage of using dynamic blocks in Terraform is that they make configuration harder to read and understand. While they are powerful and allow for the creation of repeatable and complex structures, their overuse can lead to configurations that are less straightforward and more difficult to maintain. It is generally recommended to write nested blocks literally when possible to maintain clarity and ease of understanding.

Discussion
ItaloVinodiOption: C

Looking at documentation "Overuse of dynamic blocks can make configuration hard to read and maintain"

BereOption: C

Answer is C They make configuration harder to read and understand. While dynamic blocks in Terraform are powerful tools that can create multiple blocks based on complex input structures, their usage can also lead to configurations that are harder to read and understand. This is because the logic for creating the dynamic blocks is usually more complex and less straightforward than static block configurations.

srajvanshiOption: C

https://developer.hashicorp.com/terraform/language/expressions/dynamic-blocks Overuse of dynamic blocks can make configuration hard to read and maintain, so we recommend using them only when you need to hide details in order to build a clean user interface for a re-usable module. Always write nested blocks out literally where possible.

trongod05Option: C

C "Overuse of dynamic blocks can make configuration hard to read and maintain, so we recommend using them only when you need to hide details in order to build a clean user interface for a re-usable module. Always write nested blocks out literally where possible."

InformationOverloadOption: C

C is correct! Dynamic blocks allow you to define infrastructure resources using variables, which can make it harder to see exactly what resources are being created. This can make it more difficult to troubleshoot issues and understand the overall architecture of your infrastructure.

syam22587Option: C

C is correct

legendary7Option: C

C- is the correct answer Ref: https://www.terraform.io/language/expressions/dynamic-blocks#best-practices-for-dynamic-blocks

cafl7787Option: C

For sure C.

MehkayOption: C

Correct answer C

Power123Option: C

Answer is C

alexsandroeOption: C

correct answer

sahara99Option: C

reading dynamic blocks doc. --> C is the correct answer

zaz_Option: C

C is the correct Option.

Atta33Option: C

They make configuration hard to read and understand.

dnscloud02Option: C

C is correct answer.

yuvifoseOption: C

C is the correct answer. It's not recommended to abuse them because it hurts readability

Ahmad_TerraformOption: C

They make configuration harder to read and understand