LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
AWS Certified Developer - Associate

AWS Certified Developer - Associate

Get started today

Ultimate access to all questions.


An IAM user has two different policies attached. Policy 1 explicitly denies the user all access to EC2 instances. Policy 2 explicitly grants the user permission to perform the EC2:Describe action.

Given these two conflicting policies, what will be the outcome when the user attempts to execute the 'Describe' action on an EC2 instance using the AWS CLI?

Exam-Like



Explanation:

The user will be denied access because the policy has an explicit deny on it - User will be denied access because any explicit deny overrides the allow.

Powered ByGPT-5