Google Cloud Professional Cloud Network Engineer — Question 3

In order to provide subnet level isolation, you want to force instance-A in one subnet to route through a security appliance, called instance-B, in another subnet.
What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because creating a more specific route that points to instance-B with a tag applied to instance-A allows for the necessary routing of traffic through the security appliance while maintaining control over traffic flow. Option A does not apply a tag, which is essential for proper routing. Option C suggests deleting the system-generated route, which could disrupt other traffic. Option D involves unnecessary complexity by moving instance-B to another VPC and using multi-NIC, which is not required for this scenario.