AWS Certified Solutions Architect – Professional — Question 873

You want to define permissions for a role in an IAM policy. Which of the following configuration formats should you use?

Answer options

Correct answer: C

Explanation

AWS IAM policies must be created as JSON documents that strictly adhere to the rules and syntax of the IAM Policy Language. XML is not a supported format for IAM policies, and you cannot use custom, non-standard languages or schemas. Thus, option C is the only correct configuration format.