Courseiva
NetworkingmediumMultiple ChoiceObjective-mapped

1Z0-1072-26 Networking Practice Question

An Oracle Cloud Infrastructure (OCI) architect needs to configure a Virtual Cloud Network (VCN) with a public subnet and a private subnet. Which configuration is required for resources in the private subnet to reach the public internet through a NAT Gateway?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Add a route in the private subnet route table with a destination of 0.0.0.0/0 and the target as the NAT Gateway.

A NAT Gateway allows instances in a private subnet to initiate connections to the internet, but prevents inbound connections from the internet. The route table associated with the private subnet must have a route pointing 0.0.0.0/0 to the NAT Gateway.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Add a route in the private subnet route table with a destination of 0.0.0.0/0 and the target as the NAT Gateway.

    Why this is correct

    This is the correct configuration to route outbound traffic from the private subnet to the NAT Gateway.

  • Attach an Internet Gateway directly to the private subnet and add a security list rule allowing egress to 0.0.0.0/0.

    Why it's wrong here

    Internet Gateways are attached to VCNs and used by public subnets, not private subnets.

  • Configure a Service Gateway with a route to 0.0.0.0/0.

    Why it's wrong here

    Service Gateways are used to access Oracle services in the Oracle Services Network, not the general public internet.

  • Assign a public IP address to the instances within the private subnet.

    Why it's wrong here

    Private subnets cannot have public IP addresses assigned to their VNICs by design.

Visual reference

Inside (Private) PC-A 10.0.0.1 PC-B 10.0.0.2 NAT Router Outside (Public) 203.0.113.1 Inside Global Server PAT: many private IPs share one public IP via unique port numbers

About these practice questions

One of 524 original 1Z0-1072-26 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official Oracle exam blueprint

This 1Z0-1072-26 practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 1Z0-1072-26 exam.