Linux Foundation Related Exams
CKA Exam

CertsTopics offers a range of study materials, including comprehensive CKA PDFs, a practice testing engine, and study guides specifically tailored for the Kubernetes Administrator Certification Exam. Our CKA study guide material allow you to familiarize yourself with CKA exam questions and answers, significantly improving your chances of success.
Score: 7%
Task
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
Create 2 nginx image pods in which one of them is labelled with env=prod and another one labelled with env=dev and verify the same.
For this item, you will have to ssh to the nodes ik8s-master-0 and ik8s-node-0 and complete all tasks on these nodes. Ensure that you return to the base node (hostname: node-1) when you have completed this item.
Context
As an administrator of a small development team, you have been asked to set up a Kubernetes cluster to test the viability of a new application.
Task
You must use kubeadm to perform this task. Any kubeadm invocations will require the use of the --ignore-preflight-errors=all option.