1Z0-1072-25 Question 105
Select 2Your company has created two Virtual Cloud Networks (VCNs), named 'NetworkA' and 'NetworkB', in the same Oracle Cloud Infrastructure region. They need private communication between the instances in these VCNs without traversing the public internet or involving a Dynamic Routing Gateway. Which two steps must you take to achieve local peering between these VCNs? (Choose two correct answers)
- A
Create a Local Peering Gateway (LPG) in each VCN and establish the peering connection between them.
- B
Create a Remote Peering Gateway (RPG) in each VCN and assign a Remote Peering Connection (RPC).
- C
Update the route table in each VCN to direct traffic to the Local Peering Gateway for the subnets you want to communicate.
- D
Attach each VCN to a Dynamic Routing Gateway (DRG) and configure an IPSec tunnel.
Show answer and explanation
Correct answers: A, C
Explanation
To enable private communication between two VCNs in the same region, you must create Local Peering Gateways (LPGs) in both VCNs and connect them (one VCN initiates the peering, and the other accepts). You also need to update the relevant route tables in both VCNs to ensure traffic is routed to the newly created LPG rather than going out to the internet. Refer to the Oracle Cloud Infrastructure Networking documentation for step-by-step instructions and best practices on configuring Local Peering Gateways and associated route table rules.
- A. Correct.
Option 1 is correct. For VCNs in the same region, you create a Local Peering Gateway in each VCN and connect them (one side requests, the other accepts). This enables local peering.
- B. Incorrect.
Option 2 is incorrect. Remote Peering Gateways are used for cross-region peering, not for VCNs in the same region.
- C. Correct.
Option 3 is correct. You must update the VCNs' route tables so that traffic for the peered VCN's CIDR blocks is sent via the Local Peering Gateway instead of the internet or a DRG.
- D. Incorrect.
Option 4 is incorrect. A Dynamic Routing Gateway is not required for local peering within the same region and would be used for scenarios like on-premises connectivity or remote peering across regions.