
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A newly created IAM user has no IAM policy attached. What will happen when the user logs in and attempts to view the AWS resources in the account?
A
All AWS services will be read-only access by default.
B
Access to all AWS resources will be denied.
C
Access to the AWS billing services will be allowed.
D
Access to AWS resources will be allowed through the AWS CLI.
E
Access to all AWS resources will be denied.
Explanation:
When a newly created IAM user has no IAM policy attached, they have no permissions to access any AWS resources. AWS follows the principle of least privilege by default, meaning:
No explicit permissions = No access
Without any attached policies, the user cannot perform any actions
This applies to both the AWS Management Console and AWS CLI
The user will receive "Access Denied" errors when trying to view or interact with AWS resources
Key Points:
IAM policies must be explicitly attached to grant permissions
By default, new IAM users start with no permissions
This security measure prevents unauthorized access to AWS resources
The user must have appropriate policies (either directly attached or through groups) to access AWS services
Note: Option E is identical to Option B, so both would be correct, but the correct answer is B as it's the first occurrence.