AWS Certified Solutions Architect – Professional — Question 191
Within an IAM policy, can you add an IfExists condition at the end of a Null condition?
Answer options
- A. Yes, you can add an IfExists condition at the end of a Null condition but not in all Regions.
- B. Yes, you can add an IfExists condition at the end of a Null condition depending on the condition.
- C. No, you cannot add an IfExists condition at the end of a Null condition.
- D. Yes, you can add an IfExists condition at the end of a Null condition.
Correct answer: C
Explanation
The correct answer is C because IAM policies do not permit the addition of an IfExists condition after a Null condition. Options A, B, and D suggest that this is allowed, which is incorrect according to IAM policy rules.