Courseiva

EX280 · topic practice

Networking And Network Policies practice questions

This domain covers OpenShift Container Platform 4.14 networking: ClusterIP and NodePort Services, Routes (edge, re-encrypt, passthrough), Ingress, DNS via the cluster DNS Operator, and NetworkPolicy objects enforced by OVN-Kubernetes. You are tested by diagnosing broken name resolution or connectivity and by writing YAML that permits only the intended pod-to-pod traffic.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Networking And Network Policies

What the exam tests

What to know about Networking And Network Policies

You must be able to expose an application with a Service and Route, and to write a NetworkPolicy that allows only specified pods on a given port while denying the rest. The critical detail is matching the correct podSelector and namespaceSelector labels so the policy actually selects the intended pods.

Creating and editing Services, Routes, and Ingress with oc expose and oc create route

Configuring NetworkPolicy ingress and egress rules with podSelector, namespaceSelector, and ipBlock

Diagnosing cluster DNS resolution using oc exec, dig, and the dns-default pods

Choosing edge, re-encrypt, or passthrough Route termination and supplying the required certificates

Watch out for

Common Networking And Network Policies exam traps

  • ▸Writing a NetworkPolicy that selects the wrong namespace: namespaceSelector matches namespace labels, not namespace names, unless you use kubernetes.io/metadata.name.
  • ▸Assuming a NetworkPolicy denies traffic by default: with no policy selecting a pod, all ingress and egress is allowed.
  • ▸Forgetting that passthrough Routes cannot use the default router certificate and require the backend to terminate TLS itself.

Practice set

Networking And Network Policies questions

20 questions · select your answer, then reveal the explanation

An OVN-Kubernetes clustered environment requires configuring egress IP functionality for a specific namespace so that all outgoing traffic from pods in that namespace appears to originate from a designated external IP address. Which custom resource must be configured?

An administrator needs to create a Service of type ClusterIP that exposes an application running on port 8080 inside the container, mapping it to port 80 on the Service. Which command should the administrator use?

Question 3mediummultiple choice
Review the full routing breakdown →

An OpenShift administrator needs to expose an internal web application securely using a Route that terminates TLS at the router. Which Route type and configuration requires the administrator to provide the certificate, private key, and CA certificate?

An OpenShift administrator needs to restrict access so that pods in namespace 'dev' cannot initiate any outbound connections to pods in namespace 'secure-db'. Which resource should be created in namespace 'secure-db' to achieve this?

Question 5mediummultiple choice
Review the full routing breakdown →

A cluster uses OVN-Kubernetes as its CNI network provider. An administrator needs to inspect the logical switches and routers created by OVN within a node. Which command-line tool inside the ovn-node pod should be used?

An administrator notices that Ingress controller logs show frequent health check failures for backend pods. Where can the administrator check or configure the liveness and readiness probes that dictate pod health for service endpoints?

Question 7hardmultiple choice
Review the full subnetting walkthrough →

An OpenShift cluster is configured with a custom Cluster Network CIDR. An administrator needs to verify the cluster network subnet settings and host subnet assignments. Which operator status or configuration resource contains this cluster-wide network configuration?

Question 8mediummultiple choice
Review the full routing breakdown →

An administrator creates a Route with a specific hostname, but multiple Ingress controllers exist in the cluster. How does the Route know which Ingress controller should serve it?

Which TWO fields are mandatory when defining a standard Kubernetes NetworkPolicy object? (Choose TWO)

Question 10easymulti select
Review the full routing breakdown →

Which THREE commands can an administrator use to inspect existing routes in an OpenShift cluster? (Choose THREE)

Question 11hardmulti select
Read the full DNS explanation →

Which THREE parameters can be configured within the cluster DNS operator resource (dns.operator/default)? (Choose THREE)

Question 12hardmultiple choice
Review the full routing breakdown →

An administrator configures an Ingress resource in the 'web-apps' namespace to route traffic using the default OpenShift Ingress controller. The Ingress creation succeeds, but traffic to the hostname returns a 404 error. What is a common reason for this behavior in OpenShift?

An OVN-Kubernetes clustered OpenShift environment requires troubleshooting packet flows between namespaces. Which tool is installed on the cluster nodes that allows administrators to inspect OVN database contents and flow tables?

Question 14mediummultiple choice
Read the full DNS explanation →

An administrator needs to configure cluster-wide DNS forwarding for a specific custom domain (e.g., 'corp.local') to point to internal corporate DNS servers. Where is this configured in OpenShift 4.14?

An administrator needs to configure an egress IP for a specific namespace in an OVN-Kubernetes enabled OpenShift cluster so that all egress traffic originating from that namespace appears to come from a specific dedicated external IP. How is this configured?

Question 16mediummultiple choice
Read the full DNS explanation →

An administrator needs to test internal cluster DNS resolution from a temporary troubleshooting pod. Which command creates a temporary pod with the 'dig' utility installed for DNS debugging?

When troubleshooting network policies or container connectivity in an OVN-Kubernetes environment, which THREE tools or logs are useful for diagnosing packet drops and flow issues? (Choose THREE)

Question 18hardmultiple choice
Review the full routing breakdown →

An administrator is configuring an egress router pod in redirect mode to send traffic from a specific namespace to an external legacy system with a fixed source IP. The egress router pod must be deployed on a node with a specific label, and the external system expects traffic on TCP port 8443. Which configuration is required?

An administrator must ensure that only Pods labeled `role: db` in the `backend` namespace can receive ingress traffic on TCP port 5432, while all other ingress traffic to Pods in that namespace is denied. Which NetworkPolicy configuration accomplishes this?

Question 20easymultiple choice
Review the full routing breakdown →

An administrator needs to expose an application running in the 'web' namespace to external clients using a hostname 'www.example.com'. The application listens on port 8080 and expects HTTP traffic. The administrator wants to use the default Ingress controller and ensure the Route uses the correct service. Which command creates the Route correctly?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Networking And Network Policies sessions

Start a Networking And Network Policies only practice session

Every question in these sessions is drawn from the Networking And Network Policies domain — nothing else.

Related practice questions

Related EX280 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the EX280 exam test about Networking And Network Policies?
You must be able to expose an application with a Service and Route, and to write a NetworkPolicy that allows only specified pods on a given port while denying the rest. The critical detail is matching the correct podSelector and namespaceSelector labels so the policy actually selects the intended pods.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Networking And Network Policies questions in a focused session?
Yes — the session launcher on this page draws every question from the Networking And Network Policies domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other EX280 topics?
Use the topic links above to move to related areas, or go back to the EX280 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the EX280 exam covers. They are not copied from any real exam or dump site.