An enterprise monitoring system runs on an Amazon EC2 instance in Subnet Management (). It needs to scrape metrics from a Node Exporter service running on EC2 instances in Subnet Production () on custom TCP port . Subnet Production is associated with a custom Network Access Control List (NACL) that currently blocks all inbound and outbound traffic by default.
Which combination of rules must be added to the Subnet Production NACL to allow the monitoring server to scrape metrics? (Select TWO.)
- An inbound rule allowing TCP traffic from on destination port Cevap
- An outbound rule allowing TCP traffic to on destination ports Cevap
- CAn outbound rule allowing TCP traffic to on destination port
- DAn inbound rule allowing TCP traffic from on destination ports
- ENo outbound rules are required because Network Access Control Lists (NACLs) are stateful and automatically allow return traffic
Cevap
The correct combination of rules requires an inbound rule allowing TCP traffic from the Management subnet on destination port , and an outbound rule allowing TCP traffic to the Management subnet on destination ports .
The correct combination consists of an inbound rule allowing TCP traffic from on destination port and an outbound rule allowing TCP traffic to on destination ports . The inbound rule is necessary because the monitoring client initiates a request to the Node Exporter on port . The outbound rule is necessary because NACLs are stateless, meaning return traffic must be explicitly permitted. Response packets are sent back to the client's ephemeral port range ().
Adım Adım Çözüm
Anahtar Kavram
Network Access Control Lists (NACLs) are stateless packet filters that require explicit rules for both inbound and outbound traffic directions, including ephemeral ports for response traffic.