You create an egress firewall rule that allows TCP connections from your VM to external hosts. Do you also need to create an ingress rule to permit the response packets from those external hosts?
Choose an answer
Tap an option to check your answer.
Correct answer: No — Google Cloud firewall is stateful and return traffic for established connections is automatically allowed.
Why this is the answer
Google Cloud's firewall is stateful, meaning it tracks the state of connections. When an egress rule permits an outbound TCP connection, the firewall automatically allows the corresponding inbound return traffic for that established connection. This eliminates the need to create a separate ingress rule for response packets, simplifying firewall management. Creating a separate ingress rule for established/related traffic is unnecessary because the stateful nature handles it. VPC route entries are for packet forwarding paths, not firewall permissions for return traffic. IP forwarding on a VM is for routing packets between network interfaces on the VM itself, not for allowing external responses through the firewall.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed