SOA-C02 · Question #291
A team of on-call engineers frequently needs to connect to Amazon EC2 instances in a private subnet to troubleshoot and run commands. The instances use either the latest AWS-provided Windows Amazon…
The correct answer is A. Add a statement to the IAM role policy to allow the ssm:StartSession action on the instances. https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html
Question
A team of on-call engineers frequently needs to connect to Amazon EC2 instances in a private subnet to troubleshoot and run commands. The instances use either the latest AWS-provided Windows Amazon Machine Images (AMIs) or Amazon Linux AMIs. The team has an existing IAM role for authorization. A SysOps administrator must provide the team with access to the instances by granting IAM permissions to this role. Which solution will meet this requirement?
Options
- AAdd a statement to the IAM role policy to allow the ssm:StartSession action on the instances.
- BAssociate an Elastic IP address and a security group with each instance.
- CCreate a bastion host with an EC2 instance, and associate the bastion host with the VPC.
- DCreate an internet-facing Network Load Balancer.
How the community answered
(48 responses)- A77% (37)
- B4% (2)
- C13% (6)
- D6% (3)
Explanation
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html
Topics
Community Discussion
No community discussion yet for this question.