Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam CKA Topic 4 Question 5 Discussion

Actual exam question for Linux Foundation's CKA exam
Question #: 5
Topic #: 4
You have two Kubernetes deployments running in different namespaces, 'namespace-A' and 'namespace-B'. You need to allow communication from pods in 'namespace-A' to a specific pod in namespace-B'. How can you achieve this using NetworkPolicies?

Suggested Answer:

See the solution below with Step by Step Explanation.
Explanation:
Solution (Step by Step) :
1 . Create a NetworkPolicy in namespace-R:
- Create a NetworkPolicy in 'namespace-R that allows traffic to the specific pod in 'namespace-B'.
- Code:

2. Ensure the Target Pod has the Correct Label: - Ensure that the specific pod in 'namespace-B' has the label 'app: target-pod'. 3. Apply the NetworkPolicy: - Apply the NetworkPolicy using 'kubectl apply -f networkpolicy.yaml' .,

by Moses at Jun 16, 2026, 10:41 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.