nerdexam
Amazon

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

Submitted by lucia.co· Mar 30, 2026Security and Compliance

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)
  • A
    77% (37)
  • B
    4% (2)
  • C
    13% (6)
  • D
    6% (3)

Explanation

https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html

Topics

#Systems Manager Session Manager#IAM permissions#private subnet access#ssm:StartSession

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice