Question 100
During acceptance testing, a networking team needs evidence that object({ name = string, replicas = number }) actually helps it validate a structured service record with named typed fields. Which finding is strongest?
Explanation
Correct Answer
This finding directly verifies object({ name = string, replicas = number }): object constraints specify named members and their types. It establishes the stated outcome rather than merely confirming a resource exists.
Incorrect Answers
That evidence concerns optional object attribute, used to allow callers to omit an infrequently used attribute of a structured object input. It does not verify whether object({ name = string, replicas = number }) meets its acceptance criteria.
That evidence concerns tuple([string, number]) type, used to enforce an ordered two-position pair with different value types. It does not verify whether object({ name = string, replicas = number }) meets its acceptance criteria.
That evidence concerns set(string) type, used to require a collection of unique firewall rule names without relying on ordering. It does not verify whether object({ name = string, replicas = number }) meets its acceptance criteria.






HashiCorp Certified: Terraform Associate (004) (Terraform Associate 004) Practice Tests