AWS Certified Solutions Architect – Professional — Question 187
In the context of policies and permissions in AWS IAM, the Condition element is ____________.
Answer options
- A. crucial while writing the IAM policies
- B. an optional element
- C. always set to null
- D. a mandatory element
Correct answer: B
Explanation
The Condition element in AWS IAM policies is optional, meaning it is not required for every policy to function properly, which makes option B the correct choice. Options A and D incorrectly suggest that it is essential or mandatory, while option C misrepresents its existence by suggesting it is always null.