Question 510
An autoscaling policy takes a collection of unique role names where ordering must not affect membership. Which action most directly satisfies the requirement in this situation?
Explanation
Correct Answer
A set models unique elements without relying on positional order. Duplicate role names are normalized and list-position assumptions disappear.
Incorrect Answers
Attribute references create implicit dependencies when one resource's result is needed. Duplicate role names are normalized and list-position assumptions disappear.
Data sources expose remote information for use by managed resources without ownership of the source object. Use a set(string) to represent the unique unordered role names.
State may contain secret material and needs independent security controls. A set models unique elements without relying on positional order.