Free quiz · random questions each time

CKS: Cluster Setup Quiz

Questions on objective 1 of the CKS exam, "Cluster Setup". Every attempt draws a new set, with an explanation and an official docs link for every answer. Written by our team from the official objectives; not real exam questions.

Loading the exam settings…

Sample questions

  1. Namespace payments has no NetworkPolicies. You apply this policy. What changes? yaml apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: default-deny namespace: payments spec: podSelector: {} policyTypes: - Ingress
  2. Pods labelled app=api in namespace shop must accept connections only from Pods labelled app=web in the same namespace, on TCP 8080. Which ingress rule does this?
  3. What is the difference between these two from entries? yaml # A - namespaceSelector: {matchLabels: {team: ops}} podSelector: {matchLabels: {role: scraper}} # B - namespaceSelector: {matchLabels: {team: ops}} - podSelector: {matchLabels: {role: scraper}}
  4. After applying a default-deny egress policy in namespace app, Pods can't resolve any DNS names. What is the smallest fix?
  5. True or false: NetworkPolicies are enforced by the API server, so they work on every cluster.

Exam study guide · Course

All quizzes · Sign in to save your scores and get the questions you miss back in Daily Review.

Was this page helpful?

Report a mistake