Google Professional Cloud Network Engineer exam dumps

Google Professional Cloud Network Engineer practice question 264 of 790

Professional Cloud Network Engineer. Professional level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud Network Engineer Question 264

Select 3Google Cloud Platform

Your company has two VPC networks, 'VPC-A' and 'VPC-B', connected using VPC Network Peering. VPC-A hosts a private application that requires access to a private database in VPC-B. Both the application and database use custom routes to reach additional resources in different networks. You need to configure route sharing so the application in VPC-A can access the database in VPC-B through the peering connection. Which actions should you take to achieve this?

  1. A

    Enable custom route export on VPC-A.

  2. B

    Enable custom route import on VPC-B.

  3. C

    Enable custom route export on VPC-B.

  4. D

    Enable custom route import on VPC-A.

  5. E

    Configure firewall rules in VPC-B to allow traffic from VPC-A.

Show answer and explanation

Correct answers: A, C, D

Explanation

To enable custom route sharing over VPC Network Peering, you must configure the export and import settings appropriately. In this scenario, VPC-A needs to import custom routes from VPC-B to access the database, and VPC-B must export its custom routes. Similarly, VPC-A must export its custom routes so that the application can send traffic through the peering. Configuring firewall rules is important for permitting traffic flow but is outside the scope of route sharing configuration.

  • A. Correct.

    Correct. Enabling custom route export on VPC-A allows the routes from VPC-A to be shared with VPC-B through the peering connection.

  • B. Incorrect.

    Incorrect. Enabling custom route import on VPC-B is not required for VPC-A to access the database in VPC-B. This would be needed if VPC-B needed to use routes from VPC-A.

  • C. Correct.

    Correct. Enabling custom route export on VPC-B allows the database routes to be shared with VPC-A.

  • D. Correct.

    Correct. Enabling custom route import on VPC-A allows VPC-A to receive the routes exported from VPC-B.

  • E. Incorrect.

    Incorrect. While firewall rules are important for allowing traffic, the question specifically focuses on route sharing via VPC Network Peering.

Timed practice exam

Take a Google Professional Cloud Network Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam