Skip to content
codinganthem

Kubernetes skill check

Test your Kubernetes: pods, deployments, services, ingress, configuration and secrets, scaling, storage, and troubleshooting failing workloads.

15

Questions

11 min

Timer can't pause

Multiple choice

Kubernetes 1.30

Choose a level

Topics

  • Pods
  • Deployments
  • Services
  • Ingress
  • ConfigMaps and Secrets
  • Scaling
  • Storage
  • Troubleshooting

Do

Use scratch paper or a notepad to work things out. Skip a question and come back to it later.

Don't

Look up answers during the check. Open the check in more than one tab or window.

Easy · 15 questions · 11 min

By starting, you agree to the Terms and Privacy Policy.

Start practice

Practice checks each answer as you go, with an explanation. The exam is checked when you submit; 9 of 15 passes and earns a certificate.

Checking your levels…

Certificates come from the certified exam: pass with 9 of 15 while signed in. View a sample certificate.

Sample Kubernetes questions with answers

These are never used in a check, so seeing their answers here won't give anything away.

  1. Question 1 · Easy · Pods

    Which statement accurately describes the lifecycle behavior of init containers in a Kubernetes Pod?
    1. A.Init containers run sequentially and must each run to successful completion before app containers start.
    2. B.Init containers automatically restart whenever an app container crashes.
    3. C.Init containers only execute if a liveness probe on the app container fails.
    4. D.Init containers run concurrently alongside app containers to initialize shared volumes.
    Show answer

    A. Init containers run sequentially and must each run to successful completion before app containers start.

    Init containers run sequentially in the order defined in the Pod spec. Each init container must exit with status 0 before the next one starts and before any regular app containers are launched.
  2. Question 2 · Easy · Deployments

    A developer updates a Deployment image using kubectl set image. By default, what strategy does Kubernetes use to minimize downtime during this rollout?
    1. A.Recreate, terminating all existing Pods before creating new ones
    2. B.RollingUpdate, progressively creating new Pods while terminating old Pods
    3. C.Canary, routing 10% of cluster traffic to a single newly deployed Pod
    4. D.BlueGreen, spinning up an identical replica Deployment alongside the existing one
    Show answer

    B. RollingUpdate, progressively creating new Pods while terminating old Pods

    The default deployment strategy in Kubernetes is RollingUpdate. It updates Pods incrementally according to maxSurge and maxUnavailable settings so that the application remains available.
  3. Question 3 · Moderate · Services

    What is the primary operational effect of setting 'clusterIP: None' on a Service spec?
    1. A.kube-proxy load-balances incoming TCP packets randomly across Pods without creating iptables chains.
    2. B.The Service cannot be reached via CoreDNS and requires explicit Endpoints resource configuration.
    3. C.The Service creates an external cloud load balancer directly mapped to node host ports.
    4. D.DNS queries for the Service return the IP addresses of the backing Pods directly rather than a virtual IP.
    Show answer

    D. DNS queries for the Service return the IP addresses of the backing Pods directly rather than a virtual IP.

    Setting clusterIP to None creates a Headless Service; CoreDNS responds to queries with A/AAAA records for the individual ready Pod IPs instead of a single virtual ClusterIP.
  4. Question 4 · Advanced · Ingress

    In Ingress path matching with pathType: ImplementationSpecific, how does Kubernetes guarantee path matching precedence across different Ingress controllers?
    1. A.Exact matches always take precedence over Prefix matches across all conformant controllers.
    2. B.Precedence and evaluation semantics are entirely determined by the specific Ingress controller implementation.
    3. C.The longest string match always wins, as mandated by the Kubernetes core API specification.
    4. D.Rules are strictly evaluated in lexicographical order of the Ingress resource name.
    Show answer

    B. Precedence and evaluation semantics are entirely determined by the specific Ingress controller implementation.

    With ImplementationSpecific, the core API does not enforce matching requirements; the underlying Ingress controller determines how matching and precedence are handled.

How scoring and certificates work

  • Each check has 15 multiple-choice questions with one correct answer, and one timer for the whole check. A question you leave unanswered scores nothing.
  • Practice is free without an account and shows whether each answer is right as you go, with an explanation.
  • The certified exam is scored when you submit. 60% passes, which is 9 of 15. Easy unlocks Moderate, and Moderate unlocks Advanced.
  • Passing the exam while signed in earns a free certificate, valid for one year, with its own verification page. See a sample certificate.

Free tools for Kubernetes: YAML to JSON, JSON to YAML, CIDR Calculator