AWS Certified Solutions Architect – Professional — Question 525
When using string conditions within IAM, short versions of the available comparators can be used instead of the more verbose ones. streqi is the short version of the _______ string condition.
Answer options
- A. StringEqualsIgnoreCase
- B. StringNotEqualsIgnoreCase
- C. StringLikeStringEquals
- D. StringNotEquals
Correct answer: A
Explanation
In AWS IAM policies, 'streqi' is the documented shorthand version of the 'StringEqualsIgnoreCase' condition operator. This operator compares a key to a string value without regard to case sensitivity. Other options like 'StringNotEqualsIgnoreCase' or 'StringNotEquals' map to different abbreviations, such as 'strneqi' and 'strneq' respectively.