AWS Certified SysOps Administrator – Associate — Question 246
A SysOps administrator launches an Amazon EC2 Linux instance in a public subnet. When the instance is running, the SysOps administrator obtains the public IP address and attempts to remotely connect to the Instance multiple times. However, the SysOps administrator always receives a timeout error.
Which action will allow the SysOps administrator to remotely connect to the instance?
Answer options
- A. Add a route table entry in the public subnet for the SysOps administrator's IP address.
- B. Add an outbound network ACL rule to allow TCP port 22 for the SysOps administrator's IP address.
- C. Modify the instance security group to allow inbound SSH traffic from the SysOps administrator's IP address.
- D. Modify the instance security group to allow outbound SSH traffic to the SysOps administrator's IP address.
Correct answer: C
Explanation
The correct answer is C because modifying the instance security group to allow inbound SSH traffic is essential for accepting connections on port 22 from the specified IP address. The other options either incorrectly address routing or network access rules that do not enable the necessary inbound connection for SSH.