CKS · Question #71
CKS Question #71: Real Exam Question with Answer & Explanation
Sign in or unlock CKS to reveal the answer and full explanation for question #71. The question stem and answer options stay visible for context.
Question
You must connect to the correct host. Failure to do so may result in a zero score. Context You must implement NetworkPolicies controlling the traffic flow of existing Deployments across namespaces. Task First, create a NetworkPolicy named deny-policy in the prod namespace to block all ingress traffic. The prod namespace is labeled env:prod Next, create a NetworkPolicy named allow-from-prod in the data namespace to allow ingress traffic only from Pods in the prod namespace. Use the label of the prod namespace & Click to copy traffic. The data namespace is labeled env:data Do not modify or delete any namespaces or Pods. Only create the required NetworkPolicies.
Unlock CKS to see the answer
You've previewed enough free CKS questions. Unlock CKS 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.