A SysOps Administrator is setting up administrative access to a Windows-based bastion host running on an Amazon EC2 instance. The instance is deployed in a public subnet associated with a custom Network Access Control List (NACL). Administrators need to establish Remote Desktop Protocol (RDP) sessions from the corporate office network (). The instance's security group already allows inbound TCP port traffic from the corporate network, but connections are still timing out.
Which of the following rules must be added to the custom NACL to resolve this connectivity issue? (Select TWO.)
- An inbound rule that allows incoming TCP traffic on port from the corporate network range of Answer
- An outbound rule that allows outgoing TCP traffic on port range to the corporate network range of Answer
- CAn outbound rule that allows outgoing TCP traffic on port to the corporate network range of
- DAn inbound rule that allows incoming TCP traffic on port range from the corporate network range of
- EAn outbound rule that allows outgoing TCP traffic on port range to the security group of the corporate network
Answer
To resolve the RDP connectivity issue, the custom NACL must be configured with an inbound rule allowing TCP port traffic from the corporate IP range, and an outbound rule allowing TCP port range traffic back to the corporate IP range.
Because Network Access Control Lists (NACLs) are stateless, they evaluate inbound and outbound traffic independently. To allow administrators to establish RDP sessions, the NACL must allow inbound RDP traffic on TCP port from the corporate IP range, and it must also allow outbound response traffic to the corporate IP range on ephemeral ports () where the client expects the return packets.
Step-by-Step Solution
Key Concept
NACLs are stateless network firewalls that require both inbound rules for request traffic and outbound rules for return traffic using client ephemeral ports.