Question 1 of 25
Select 2A SysOps administrator needs to control access to groups of Amazon EC2 instances using AWS Systems Manager Session Manager. Specific tags on the EC2 instances have already been added. Which additional actions should the administrator take to control access? (Choose two.)
Show answer
How others answered
- AE57%
- BE40%
Only 57% agreed on this answer — treat it as contested rather than settled.
Explanation
A. Attach an IAM policy to the users or groups that require access to the EC2 instances: IAM policies can be used to control access to resources in AWS. The policy can specify which actions are allowed or denied and which resources the user or group can access. In this case, the policy should include permissions to use the Session Manager service. E. Create an IAM policy that grants access to any EC2 instances with a tag specified in the Condition element: This policy can specify that access is granted only to instances with specific tags. For example, a policy could specify that users or groups can only access instances that have a specific tag, such as "Environment=Prod". This helps to ensure that only the appropriate instances are accessed.
Adapted from community discussion by Vivec · 2023-09-09 · 7 community upvotes. Third-party contribution; reviewed by our quality filter, not independently verified.
Supporting references