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?
A) Create an Inline IAM user policy that allows for Amazon EC2 access for the contractor's IAM user.
B) Create an IAM permissions boundary policy that allows Amazon EC2 access. Associate the contractor's IAM account with the IAM permissions boundary policy.
C) Create an IAM group with an attached policy that allows for Amazon EC2 access. Associate the contractor's IAM account with the IAM group.
D) Create an IAM role that allows for EC2 and explicitly denies all other services. Instruct the contractor to always assume this role.
Correct Answer:
Verified
Q156: A company's Developers plan to migrate their
Q157: AWS CloudTrail is being used to monitor
Q158: A company is developing a highly resilient
Q159: A Security Engineer discovers that developers have
Q160: A company had one of its Amazon
Q162: A company has an application hosted in
Q163: An organization wants to log all AWS
Q164: A company recently performed an annual security
Q165: After multiple compromises of its Amazon EC2
Q166: A company uses Microsoft Active Directory for
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents