Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 44 discussion

Actual exam question from HashiCorp's Terraform Associate
Question #: 44
Topic #: 1
[All Terraform Associate Questions]

What is one disadvantage of using dynamic blocks in Terraform?

  • A. They cannot be used to loop through a list of values
  • B. Dynamic blocks can construct repeatable nested blocks
  • C. They make configuration harder to read and understand
  • D. Terraform will run more slowly
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ItaloVinodi
Highly Voted 2 years, 6 months ago
Selected Answer: C
Looking at documentation "Overuse of dynamic blocks can make configuration hard to read and maintain"
upvoted 13 times
...
Bere
Highly Voted 1 year, 3 months ago
Selected Answer: 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.
upvoted 6 times
...
anand0310
Most Recent 2 months, 3 weeks ago
Selected Answer: C
C is correct answer
upvoted 1 times
...
cafl7787
9 months ago
For sure C.
upvoted 1 times
...
syam22587
1 year, 3 months ago
Selected Answer: C
C is correct
upvoted 2 times
...
Mehkay
1 year, 3 months ago
Correct answer C
upvoted 1 times
...
srajvanshi
1 year, 4 months ago
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.
upvoted 4 times
...
Power123
1 year, 7 months ago
Answer is C
upvoted 1 times
...
alexsandroe
1 year, 9 months ago
Selected Answer: C
correct answer
upvoted 1 times
...
sahara99
1 year, 9 months ago
Selected Answer: C
reading dynamic blocks doc. --> C is the correct answer
upvoted 1 times
...
zaz_
1 year, 10 months ago
C is the correct Option.
upvoted 1 times
...
InformationOverload
1 year, 10 months ago
Selected Answer: 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.
upvoted 3 times
...
Atta33
1 year, 12 months ago
They make configuration hard to read and understand.
upvoted 1 times
...
legendary7
2 years, 1 month ago
C- is the correct answer Ref: https://www.terraform.io/language/expressions/dynamic-blocks#best-practices-for-dynamic-blocks
upvoted 2 times
...
dnscloud02
2 years, 1 month ago
Selected Answer: C
C is correct answer.
upvoted 1 times
...
yuvifose
2 years, 4 months ago
Selected Answer: C
C is the correct answer. It's not recommended to abuse them because it hurts readability
upvoted 1 times
...
Ahmad_Terraform
2 years, 4 months ago
They make configuration harder to read and understand
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...