QuizLander
← جميع الاختبارات العامة

Certified Kubernetes Application Developer (CKAD-style) — Practice

بواسطة Jude · 14/05/2026 · 211 مشاهدة · 0 مشاركة

Practice questions on Kubernetes objects, kubectl, pods, services, deployments, ConfigMaps, and probes — CKAD-style. Original wording.
12
الأسئلة
🇬🇧 English
اللغة
صعب
الصعوبة
ابدأ الاختبار (كضيف أو بحساب)
مشاركة كصورة

أسئلة الاختبار

  1. 1. Which kubectl command imperatively creates a Deployment named web from image nginx:1.27?
    1. kubectl run web --image=nginx:1.27
    2. kubectl create deployment web --image=nginx:1.27
    3. kubectl apply deployment web nginx:1.27
    4. kubectl deploy web nginx:1.27
  2. 2. Which probe determines whether a container should receive traffic from a Service?
    1. livenessProbe
    2. readinessProbe
    3. startupProbe
    4. shutdownProbe
  3. 3. What does a ClusterIP Service expose?
    1. A pod on a NodePort
    2. An internal cluster-only virtual IP that load-balances across Pod replicas
    3. A public load balancer in the cloud
    4. An ingress hostname
  4. 4. How do you mount a ConfigMap named app-config as files at /etc/config in a Pod?
    1. Use an env block referencing the ConfigMap
    2. Add a volumes: entry with configMap: name: app-config and mount it via volumeMounts
    3. Add it to the image
    4. It's not possible
  5. 5. Which field on a Pod ensures a container restarts if its main process exits with a non-zero status?
    1. restartPolicy: Always (the default for Deployments/ReplicaSets)
    2. shutdownGracePeriod
    3. preStop hook
    4. imagePullPolicy: Always
  6. 6. Which kubectl command shows logs from a previously crashed container in a Pod?
    1. kubectl logs
    2. kubectl logs --previous
    3. kubectl describe pod
    4. kubectl get events
  7. 7. How do you scale a Deployment named api to 5 replicas?
    1. kubectl scale deployment api --replicas=5
    2. kubectl expand api 5
    3. kubectl edit deploy api
    4. kubectl rollout 5
  8. 8. What is the role of a Kubernetes Job resource?
    1. Schedule a CronJob
    2. Run one or more Pods to completion, retrying on failure
    3. Manage stateful workloads
    4. Expose a service to the internet
  9. 9. Which field limits the maximum CPU a container may use?
    1. resources.requests.cpu
    2. resources.limits.cpu
    3. spec.cpu
    4. containers.cpu.max
  10. 10. Which kubectl command shows the rollout history of a Deployment?
    1. kubectl rollout history deployment/
    2. kubectl history
    3. kubectl describe rollout
    4. kubectl get rollouts
  11. 11. Which secret type is intended for storing TLS certificates and private keys?
    1. Opaque
    2. kubernetes.io/tls
    3. kubernetes.io/dockerconfigjson
    4. kubernetes.io/service-account-token
  12. 12. What does kubectl apply -f manifest.yaml do that kubectl create -f manifest.yaml does not?
    1. Validates YAML
    2. Performs a declarative update, computing a 3-way merge against the live state
    3. Creates a new namespace
    4. Restarts pods
أجب عن الأسئلة واعرف نتيجتك

التعليقات

سجّل الدخول للتعليق.

جارٍ التحميل…