AWS Certified Security - Specialty SCS-C02 Exam QuestionsBrowse all questions from this exam

AWS Certified Security - Specialty SCS-C02 Exam - Question 38


A company's security engineer has been tasked with restricting a contractor's IAM account access to the company’s Amazon EC2 console without providing access to any other AWS services. The contractor's IAM account must not be able to gain access to any other AWS service, even if the IAM account is assigned additional permissions based on IAM group membership.

What should the security engineer do to meet these requirements?

Show Answer
Correct Answer: B

To ensure that the contractor's IAM account has access only to Amazon EC2 and is restricted from accessing any other AWS services, including those that might be granted through IAM group memberships, an IAM permissions boundary policy should be created. This boundary policy will allow Amazon EC2 access while defining the maximum permissions possible for the account, thereby effectively preventing access to any other services. This approach provides a robust mechanism to restrict the scope of access and adheres to the principle of least privilege, meeting the security requirements outlined.

Discussion

13 comments
Sign in to comment
WeepingMaplteOption: B
Jun 11, 2024

IAM permissions boundary policy is a managed policy that defines the maximum permissions that an identity-based policy can grant to an IAM entity (user or role). It essentially acts as a safety net to prevent users and roles from exceeding their intended permissions.

kejam
May 10, 2024

Answer B https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_bound

kk2000
Apr 7, 2024

B is the correct answer

100foldOption: B
Apr 19, 2024

Answer B

YR4591Option: B
May 16, 2024

B is right

Daniel76Option: B
Jun 2, 2024

Only B talks about restricting the access, by using permission boundary. D - if you assign more than one role to the vendor, there's always risk that the instruction is not followed. A, C- regardless of feasibility, by creating allow doesn't block the vendor from accessing services other than EC2 instance.

trashbox
Jun 19, 2024

Exam on 2023-12-18

Raphaello
Aug 9, 2024

What do you mean?

awssecuritynewbieOption: C
May 27, 2024

he Answer should be C, creating a inline does not deny him access to everything else and it also makes it harder to manager and scale.

awssecuritynewbie
May 27, 2024

the Answer should be C, creating a inline does not deny him access to everything else and it also makes it harder to manager and scale.

AameeOption: B
May 30, 2024

B makes more sense to me as it would explicitly define the specific service based IAM permissions policy which then can be associated with the contractor's IAM account which then help in restricting down his access to only at that service level in question.

RaphaelloOption: B
Aug 9, 2024

IAM permissions boundary definition use.

navid1365Option: B
Nov 14, 2024

A permissions boundary defines the maximum level of access that an IAM identity can have.

c6ed25aOption: B
Mar 23, 2025

B Boundary defines limitation