Free Terraform-Associate-003 Actual Exam Questions - Question 13 Discussion
What is one disadvantage of using dynamic blocks in Terraform?
B seems off since performance hit is usually minor. D feels more real.
D for sure, they add an extra layer of complexity compared to static blocks.
D/C? Dynamic blocks do make configs harder to read, so D fits. C is wrong because dynamic blocks actually are designed to loop through lists. B seems minimal in impact.
Dynamic blocks do make things a bit more complex to read, so D sounds right from that angle. Another reason to doubt B is that any slowdown from dynamic blocks is usually negligible unless you’re dealing with massive configurations. Plus, C is definitely wrong because looping through lists is exactly what dynamic blocks help with. So, yeah, D makes the most sense since it’s about readability and maintenance headaches rather than performance hits.
Maybe B, because using dynamic blocks adds extra processing during plan and apply, which could slow things down compared to static blocks.
Probably D, dynamic blocks can get messy and harder to follow sometimes.