AWS Certified Solutions Architect – Professional SAP-C01 – Question159

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

A.
An XML document written in the IAM Policy Language
B. An XML document written in a language of your choice
C. A JSON document written in the IAM Policy Language
D. JSON document written in a language of your choice

Correct Answer: C

Explanation:

Explanation: You define the permissions for a role in an IAM policy. An IAM policy is a JSON document written in the IAM Policy Language.
Reference:
http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-…