AWS Certified SysOps Administrator – Associate (legacy) — Question 590
You have set up an IAM policy for your users to access Elastic Load Balancers and you know that an IAM policy is a JSON document that consists of one or more statements. Which of the following elements is not a part of the statement in an IAM policy document?
Answer options
- A. Action
- B. Resource
- C. Effect
- D. Key
Correct answer: D
Explanation
A standard IAM policy statement consists of elements such as Effect, Action, Resource, and Condition. While keys are used within Condition blocks as condition keys, 'Key' itself is not a primary element of an IAM policy statement. Therefore, Key is the correct answer as it is not a standalone statement element.