nerdexam
Linux_FoundationLinux_Foundation

CKA · Question #38

CKA Question #38: Real Exam Question with Answer & Explanation

Sign in or unlock CKA to reveal the answer and full explanation for question #38. The question stem and answer options stay visible for context.

Submitted by lucia.co· May 4, 2026Services & Networking

Question

Create a new NetworkPolicy named allow-port-from-namespace in the existing namespace echo. Ensure that the new NetworkPolicy allows Pods in namespace my-app to connect to port 9000 of Pods in namespace echo. Further ensure that the new NetworkPolicy: • does not allow access to Pods, which don't listen on port 9000 • does not allow access from Pods, which are not in namespace my-app

Unlock CKA to see the answer

You've previewed enough free CKA questions. Unlock CKA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#NetworkPolicy#Networking#Kubernetes Security#Namespaces
Full CKA PracticeBrowse All CKA Questions