A virtual appliance VM in the same VPC will act as a third‑party firewall/router for subnet 10.3.0.0/24. To steer traffic from the subnet to the appliance you plan to create a static route to 10.3.0.0/24. Choose two.
Choose an answer
Tap an option to check your answer.
Correct answer: Create a static route with the nextHopInstance pointing to the firewall VM, Enable IP forwarding on the firewall VM's instance.
Why this is the answer
To direct traffic through a virtual appliance, a static route is necessary. The nextHopInstance parameter specifies the virtual machine (VM) that will act as the next hop for the traffic, ensuring packets destined for 10.3.0.0/24 are sent to the firewall VM. Additionally, for the firewall VM to process and forward traffic not explicitly addressed to itself, IP forwarding must be enabled on its network interface. Without IP forwarding, the VM would drop packets not intended for its own IP address. Peering a VPC with itself is not a valid or useful configuration for this scenario. Setting a route priority to 0 is not a guarantee of winning; lower numbers indicate higher priority, but other factors like prefix length also influence route selection.
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