Home / Oracle Cloud Infrastructure 2025 Networking Professional / Mock exam
Oracle Cloud Infrastructure 2025 Networking Professional Exam-style mock test

OCI 2025 Networking Professional Practice Exams|Practice test

Full explanations Exam format Pass line 65%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · OCI Networking Fundamentals & VCN
A B2B SaaS company is provisioning its first VCN to host a customer-facing billing platform. The lead architect wants to confirm the correct boundary of a VCN in Oracle Cloud Infrastructure before allocating subnets. Which statement best describes the scope of a VCN?
✓A VCN is a regional resource that can span all availability domains within the single region where it is created
Correct. A VCN is a regional construct, so its subnets and address space are available across all availability domains in that region.
・A VCN is a tenancy-wide resource that automatically stretches across every subscribed OCI region in the tenancy
Incorrect. A VCN does not span multiple regions; connecting VCNs across regions requires remote peering, not automatic stretching.
・A VCN is tied to one availability domain and cannot be reached by instances placed in another availability domain
Incorrect. A VCN is not confined to a single availability domain; regional subnets explicitly span all ADs in the region.
・A VCN is a fault-domain-scoped resource that is limited to a single physical rack inside one data center
Incorrect. A VCN is not scoped to a fault domain or a rack; fault domains apply to compute placement, not network boundaries.
Explanation
A VCN is defined at the region level, letting resources in any availability domain of that region use its address space and subnets, while cross-region connectivity needs explicit peering.
Example2 · Connectivity: Gateways, Peering & DNS
A B2B SaaS company runs its application servers in a private subnet so they have no public IP addresses. These servers must pull OS patches and container images from public internet repositories, but nothing on the internet should be able to initiate a connection to them. Which gateway should the network engineer attach to the VCN and route the private subnet's 0.0.0.0/0 traffic through?
✓A NAT gateway, which permits instances without public IPs to initiate outbound connections to the internet while blocking inbound connections
Correct. A NAT gateway lets instances with only private IPs reach the public internet for outbound-initiated connections while denying any inbound-initiated traffic, exactly matching the patch-pull requirement.
・An internet gateway, which provides bidirectional public internet connectivity for instances that have public IP addresses assigned
Incorrect. An internet gateway allows both inbound and outbound traffic and requires public IPs, which violates the rule that the internet must not initiate connections to the servers.
・A service gateway, which gives private access to Oracle services within the region over the Oracle backbone network
Incorrect. A service gateway reaches only Oracle services such as Object Storage, not general public internet repositories, so it cannot pull arbitrary OS patches.
・A dynamic routing gateway, which serves as a virtual router for private traffic to on-premises networks
Incorrect. A dynamic routing gateway handles private connectivity to on-premises or other VCNs, not internet egress for patch downloads.
Explanation
The NAT gateway is the purpose-built construct for outbound-only internet access from private subnets, satisfying both the patch-access and no-inbound requirements.
Example3 · Load Balancing & Traffic Management
A B2B SaaS company runs a multi-tenant web portal where incoming requests must be routed to different backend sets based on the URL path (/api, /app, /admin). The team needs TLS termination and content-based routing at the application layer. Which OCI load balancer should they deploy for this requirement?
✓The OCI Flexible Load Balancer, which operates at Layer 7 and supports path-based routing rules, TLS termination, and HTTP header manipulation across backend sets
Correct. The Flexible (application) Load Balancer operates at Layer 7, enabling URL path-based routing, TLS termination, and HTTP header handling, which exactly matches the content-based routing need.
・The OCI Network Load Balancer, which forwards packets at Layer 4 for low latency
Incorrect. The Network Load Balancer works at Layer 4 and cannot inspect URL paths, so it cannot perform content-based HTTP routing.
・The OCI Network Load Balancer configured with a TCP listener and health checks
Incorrect. A TCP listener on the Network Load Balancer forwards flows without decoding HTTP, so path-based routing to different backend sets is not possible.
・The OCI DNS Traffic Management steering policy with weighted answer records
Incorrect. DNS steering policies resolve names to IP answers and do not inspect HTTP request paths, so they cannot route by URL within a single listener.
Explanation
Content-based routing by URL path plus TLS termination is a Layer 7 capability provided by the OCI Flexible (application) Load Balancer, not the Layer 4 Network Load Balancer or DNS steering.
Example4 · Hybrid & Multicloud Connectivity (FastConnect/VPN)
A healthcare services firm runs an electronic health record (EHR) platform in its own colocation data center and needs a dedicated, private, high-bandwidth link into an OCI VCN that never traverses the public internet. The firm already has a cross-connect into an Oracle FastConnect location. Which FastConnect connectivity model should the architect choose?
・A FastConnect partner connection, because partner virtual circuits are mandatory whenever traffic must avoid the public internet between the data center and OCI
Incorrect. Partner connections are for customers who cannot reach a FastConnect location directly; a firm already cross-connected at the location does not require a partner.
✓A FastConnect colocation (direct) connection, because the firm can cross-connect its own equipment at the FastConnect location into OCI
Correct. With equipment present at a FastConnect location the firm uses a colocation (direct) model and cross-connects straight into OCI with private virtual circuits.
・An IPSec Site-to-Site VPN over the public internet, since it provides equivalent dedicated bandwidth and private routing to FastConnect direct links
Incorrect. Site-to-Site VPN runs over the public internet and does not deliver the dedicated, consistent bandwidth or non-internet path that FastConnect provides.
・A public peering FastConnect virtual circuit, which privately reaches the VCN while also exposing Oracle public service endpoints to the data center
Incorrect. Public peering reaches Oracle public services, not a private VCN, so it does not satisfy the private VCN connectivity requirement.
Explanation
Because the firm already cross-connects its own gear at a FastConnect location, the colocation (direct) model with private virtual circuits is the correct fit.
Example5 · Network Security, Monitoring & Troubleshooting
A healthcare services firm runs a patient-portal web tier and a records database tier in the same VCN subnet. The security team wants the database to accept connections only from the web tier instances, without relying on specific IP addresses that change as instances scale. Which approach best achieves this isolation?
✓Place both tiers in Network Security Groups and reference the web tier's NSG as the source in the database NSG ingress rule
Correct. NSGs let you reference another NSG as the source, so the database rule automatically covers whatever instances belong to the web tier NSG regardless of IP changes.
・Add a security list ingress rule on the subnet permitting the entire subnet CIDR block to reach the database port
Incorrect. Permitting the whole subnet CIDR would also allow non-web-tier hosts in the subnet to reach the database, failing the isolation requirement.
・Configure a route table rule that forwards database-bound traffic only through the web tier instances
Incorrect. Route tables determine next-hop forwarding and do not enforce which sources may open connections to a port.
・Assign a reserved public IP to each web instance and allowlist those addresses in the database security list
Incorrect. Reserved public IPs still require static allowlisting that breaks when instances scale, which is exactly what the firm wants to avoid.
Explanation
NSGs support NSG-as-source references, providing stable, membership-based segmentation that survives autoscaling, unlike CIDR-wide security lists, route tables, or static IP allowlists.
Example6 · OCI Networking Fundamentals & VCN
A healthcare services firm is designing its first OCI deployment for a patient-records platform in a single region. The lead architect asks how a VCN relates to the region and its availability domains. Which statement correctly describes the VCN's scope?
✓The VCN is a regional resource that spans all availability domains within that single region
Correct. A VCN is a regional construct, so it covers all availability domains inside that region and resources in any AD can reside in its subnets.
・The VCN is scoped to one availability domain and must be recreated separately in each additional domain
Incorrect. A VCN is not limited to a single availability domain; that limitation would prevent AD-redundant architectures entirely.
・The VCN is a global resource shared across every region in the firm's tenancy automatically
Incorrect. A VCN does not span regions; separate regions require their own VCNs, and connectivity between them uses remote peering.
・The VCN is a fault-domain-level resource confined to one fault domain within an availability domain
Incorrect. Fault domains are a placement concept for instances, not a boundary that confines a VCN to one fault domain.
Explanation
A VCN is regional in scope, covering all availability domains within its region, which is why subnets can be regional and span ADs.
Example7 · OCI Networking Fundamentals & VCN
The retailer UrbanThread is designing a new VCN for its loyalty platform and expects to peer it later with two other VCNs hosting inventory and analytics workloads. The network architect wants the primary CIDR block large enough for growth but non-overlapping with the future peers. Which approach best satisfies these requirements when creating the VCN?
・Assign a single large CIDR that spans the ranges planned for all three VCNs so routing is simplified
Incorrect. A single CIDR spanning all three VCN ranges guarantees overlap, which blocks local peering between them.
✓Choose a private RFC 1918 CIDR block that does not overlap with the inventory and analytics VCN ranges
Correct. A private RFC 1918 range that avoids the planned peer ranges allows future peering, since peered VCNs must have non-overlapping CIDRs.
・Use a public CIDR block so the loyalty workloads can reach the internet without a NAT gateway later on
Incorrect. Public CIDRs are discouraged for VCNs, and internet access depends on gateways and routing, not on using a public range.
・Leave the CIDR field blank and let OCI automatically allocate a non-overlapping private range for the VCN
Incorrect. OCI requires you to specify the VCN CIDR; it does not auto-allocate a range to avoid overlaps on your behalf.
Explanation
Peered VCNs must have non-overlapping CIDR blocks, so planning a private RFC 1918 range that avoids the future peer ranges is the correct design.
Example8 · OCI Networking Fundamentals & VCN
UrbanThread runs its checkout microservices in a region with three availability domains and wants a subnet whose resources can be distributed across all ADs for resilience while simplifying subnet management. Which subnet configuration should the architect choose?
✓A regional subnet, because its address space spans the entire region and can host resources in any availability domain
Correct. A regional subnet spans all availability domains in the region, so resources can be placed in any AD for resilience and simpler management.
・Three AD-specific subnets bound to each availability domain and joined together through an internal dynamic routing gateway
Incorrect. Three AD-specific subnets add management overhead, and a DRG is for VCN/on-prem connectivity, not for joining subnets within one VCN.
・An AD-specific subnet in the first availability domain, relying on cross-AD routing rules to reach the other two domains
Incorrect. An AD-specific subnet is confined to its own availability domain; there is no cross-AD routing that extends it to the other domains.
・A regional subnet per availability domain, each scoped to one AD so failover between domains stays fully isolated
Incorrect. A regional subnet is not scoped to a single AD, so 'a regional subnet per AD' is a contradiction that does not provide region-wide placement.
Explanation
Regional subnets are not tied to a single availability domain, letting resources span all ADs in the region with simpler management than AD-specific subnets.
Example9 · OCI Networking Fundamentals & VCN
UrbanThread's web subnet needs outbound internet access through an internet gateway, while its database subnet must have no internet route at all. The network engineer is deciding how to apply route tables. What is the correct way route tables operate in a VCN here?
✓Associate a custom route table with a rule to the internet gateway on the web subnet, and a route table with no internet route on the database subnet
Correct. Each subnet can be associated with its own route table, so the web subnet gets an internet gateway route while the database subnet gets none.
・Add an internet gateway rule to the VCN default route table so every subnet inherits the same outbound internet path by default
Incorrect. Putting the internet route in a shared default table would give every associated subnet internet access, including the database subnet.
・Apply one route table to the whole VCN and use security list egress rules to selectively block internet traffic from the database subnet
Incorrect. Route tables, not security lists, determine reachable paths; security lists filter traffic but do not remove a route to the gateway.
・Create a single route table shared by both subnets and rely on NSG membership to decide which subnet actually reaches the gateway
Incorrect. NSGs apply stateful rules to VNICs but do not control routing, so they cannot decide which subnet reaches the internet gateway.
Explanation
Route tables are associated per subnet and define reachable paths, so distinct route tables isolate the database subnet from the internet gateway route.
Example10 · OCI Networking Fundamentals & VCN
A financial services company plans a new VCN that will later connect to its on-premises data center via FastConnect. The on-premises network already uses 10.0.0.0/16 and 172.16.0.0/16. The cloud team wants a /16 VCN that leaves ample room for subnets but will not conflict with existing corporate routes. Which VCN CIDR block should the architect choose?
・10.0.0.0/16, because reusing an existing enterprise range keeps the IP addressing scheme consistent across the cloud and the data center estate
Incorrect. 10.0.0.0/16 is already in use on-premises, so overlapping CIDRs would break routing once FastConnect is established.
・172.16.0.0/16, since this block is already reserved by the company and extending it into OCI simplifies the firewall rules that are maintained
Incorrect. 172.16.0.0/16 is also already deployed on-premises; reusing it creates an overlapping address space that cannot be routed across the connection.
・192.168.0.0/16, as this well-known private range is the recommended default and is always safe to deploy for any cloud workload
Incorrect. 192.168.0.0/16 is a valid private range, but it is not an always-safe default and could still overlap with branch or VPN networks; non-overlap must be verified, not assumed.
✓10.50.0.0/16, a private RFC 1918 range that does not overlap either on-premises block and provides room for many subnets
Correct. 10.50.0.0/16 is a private RFC 1918 block that does not overlap either on-premises range and offers ample subnet capacity for future growth.
Explanation
When a VCN will be connected to on-premises networks, its CIDR must be a non-overlapping private range. The two existing blocks are excluded, and 10.50.0.0/16 is a conflict-free choice.
Example11 · OCI Networking Fundamentals & VCN
An architect at a bank is designing a VCN in a region with three availability domains and wants the subnet for a stateless web tier to survive the loss of any single availability domain without reconfiguration. Which characteristic of a regional subnet makes it the right choice for this requirement?
・A regional subnet is pinned to one availability domain, so its resources must be manually recreated in another domain if that domain becomes unavailable during an outage
Incorrect. That description applies to an AD-specific subnet, not a regional subnet; regional subnets are not pinned to a single availability domain.
✓A regional subnet spans all availability domains in the region, letting resources be placed in any domain and tolerate the loss of one domain
Correct. A regional subnet spans every availability domain in the region, so resources can be spread across domains and survive the loss of one.
・A regional subnet automatically replicates each compute instance it contains into every availability domain to guarantee that no running workload is ever lost
Incorrect. Regional subnets do not replicate instances; high availability is achieved by distributing separate instances across domains, not by automatic copying.
・A regional subnet can only host load balancers and gateways, so the stateless web tier instances would have to be moved into a separate AD subnet
Incorrect. Regional subnets can host compute instances as well as other resources; they are not restricted to load balancers and gateways.
Explanation
A regional subnet covers all availability domains, enabling resources to be distributed for resilience, which is why it is preferred for availability-sensitive tiers.
Example12 · OCI Networking Fundamentals & VCN
A manufacturing distributor is building its first OCI VCN to later peer with an on-premises ERP network that already uses 10.0.0.0/16. The cloud team needs a private VCN CIDR that avoids address conflicts while leaving room for several subnets. Which VCN CIDR block best meets this requirement?
・10.0.0.0/16, because reusing the same well-known block keeps addressing consistent across the cloud and on-premises ERP sites
Incorrect. Reusing 10.0.0.0/16 exactly overlaps the on-premises ERP network, which breaks routing once the VCN is peered or connected over VPN.
✓172.16.0.0/16, an RFC 1918 range that does not overlap the on-premises 10.0.0.0/16 and supports many subnets
Correct. 172.16.0.0/16 is a private RFC 1918 range that does not overlap the on-premises 10.0.0.0/16 and is large enough to carve out many subnets.
・192.168.1.0/30, a small private range that is easy for the networking team to document and remember
Incorrect. A /30 provides only two usable host addresses, far too small for a VCN that must host several subnets of application and database tiers.
・203.0.113.0/24, a routable range that lets manufacturing partners reach the VCN resources directly over the internet
Incorrect. 203.0.113.0/24 is public documentation space, not a private VCN range, and VCN resources are not meant to use public IPs as their primary CIDR.
Explanation
A VCN CIDR must stay within RFC 1918 private ranges and must not overlap any network it will connect to, so 172.16.0.0/16 avoids the on-premises 10.0.0.0/16 conflict while remaining large.
Example13 · OCI Networking Fundamentals & VCN
The distributor hosts a public order-tracking web tier and a private inventory database in the same VCN. The architect wants the database instances to never receive public IP addresses regardless of how they are launched. What is the correct way to enforce this?
✓Place the database instances in a private subnet, since public IP assignment is prohibited for resources launched in a private subnet
Correct. In a private subnet, instances cannot be assigned public IP addresses at all, enforcing the no-public-IP rule by subnet design.
・Place the database instances in a public subnet but ask administrators to remember not to assign any public IP addresses at launch time
Incorrect. Relying on administrators to remember not to assign public IPs is error-prone, since a public subnet still permits that assignment.
・Place the database instances in a public subnet and rely on the internet gateway being detached to prevent any public IP assignment
Incorrect. Detaching the internet gateway affects routing, but a public subnet still allows public IP assignment on the instance itself.
・Place the database instances in a private subnet and additionally attach a dedicated internet gateway reserved only for the database tier
Incorrect. Attaching an internet gateway to a private subnet contradicts its purpose, and private subnets already block public IP assignment.
Explanation
A subnet's public or private designation controls whether instances can receive public IPs; private subnets prohibit public IP assignment entirely, which is the enforceable control.
Example14 · OCI Networking Fundamentals & VCN
A telecom operator's cloud team is provisioning a VCN in the Frankfurt region to host its subscriber billing platform. The lead architect asks how the VCN relates to the region and its availability domains so the team sizes address space correctly. Which statement accurately describes the scope of an OCI VCN?
✓A VCN is a regional resource that spans all availability domains within a single region, while individual subnets can be either regional or AD-specific
Correct. A VCN is a regional construct that covers all ADs in the region, and subnets may be defined as regional (spanning ADs) or AD-specific, giving the billing platform flexible placement.
・A VCN is pinned to one availability domain and must be recreated in each additional AD the operator wants to use
Incorrect. VCNs are not confined to a single availability domain; that restriction would force needless duplication the operator does not have to perform.
・A VCN is a global resource that automatically extends across every region in the tenancy without peering
Incorrect. A VCN does not stretch across regions on its own; connecting VCNs in different regions requires remote VCN peering through a DRG.
・A VCN exists only inside a single fault domain and cannot host resources placed in other fault domains
Incorrect. Fault domains are a within-AD placement feature for compute, not the boundary that defines a VCN's reach across the region.
Explanation
A VCN is a regional resource spanning all availability domains in its region; subnets can be regional or AD-specific, but the VCN itself is never AD-, fault-domain-, or globally scoped.
Example15 · OCI Networking Fundamentals & VCN
The telecom operator plans to peer its new VCN with an on-premises OSS network that already uses 10.50.0.0/16 and with a partner VCN using 172.16.0.0/16. The network engineer must choose a CIDR for the new production VCN that avoids overlap so routing to both environments works. Which VCN CIDR block best satisfies this requirement?
・10.50.128.0/18, because taking a subset of the existing on-premises range keeps everything inside one summarized prefix
Incorrect. 10.50.128.0/18 falls inside the on-premises 10.50.0.0/16 and therefore overlaps, which breaks deterministic routing across the connection.
・172.16.0.0/20, since a smaller mask carved from the partner block still leaves room for both sides to route cleanly
Incorrect. 172.16.0.0/20 is a subset of the partner's 172.16.0.0/16, so the two networks collide and traffic cannot be routed unambiguously.
✓10.120.0.0/16, which sits in RFC 1918 space and does not intersect the on-premises or partner ranges
Correct. 10.120.0.0/16 is private RFC 1918 space that does not overlap either 10.50.0.0/16 or 172.16.0.0/16, enabling clean routing to both.
・0.0.0.0/0, allowing the VCN to accept any address and letting route tables sort out the conflicts later
Incorrect. 0.0.0.0/0 is not a valid VCN CIDR assignment and would guarantee overlap rather than avoid it.
Explanation
Peered networks must use non-overlapping CIDRs. 10.120.0.0/16 avoids both the 10.50.0.0/16 on-premises range and the 172.16.0.0/16 partner range, while the other choices overlap or are invalid.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)