Exercises

Kubernetes Workload Deployment and Troubleshooting

This quiz evaluates practical knowledge of deploying and troubleshooting Kubernetes applications. Questions cover Deployments, Services, configuration, probes, resource management, rollout recovery, scheduling failures, workload controllers, and traffic routing. You will also interpret architecture diagrams and command output resembling situations encountered when operating applications in a Kubernetes cluster.

Answer the questions below and check the explanation for each answer.

0/17 answered

  1. 1

    In the illustrated workload hierarchy, which Kubernetes object normally manages ReplicaSets to support declarative updates and rollbacks?

    Question 1
  2. 2

    Which Service type exposes an application on a stable virtual IP that is reachable only from within the Kubernetes cluster by default?

  3. 3

    Which Kubernetes resource is best suited for storing a non-sensitive application configuration file separately from a container image?

  4. 4

    Which statement about Kubernetes Secrets is accurate in a default cluster configuration?

  5. 5

    The diagram shows one Pod failing its readiness probe while its container continues running. What should Kubernetes do with that Pod?

    Question 5
  6. 6

    Which probe should detect a container that is running but has become permanently unresponsive and needs to be restarted?

  7. 7

    A legacy application takes several minutes to initialize. Which probe can protect it from premature liveness failures during startup?

  8. 8

    The terminal output shows a Pod in ImagePullBackOff. What is the most useful initial troubleshooting action?

    Question 8
  9. 9

    A Pod is in CrashLoopBackOff and its container restarts before you can inspect the failure. Which command is most helpful for retrieving the prior container instance's logs?

  10. 10

    The illustrated Pod remains Pending, and its events report that no nodes have sufficient memory. What is the direct scheduling cause?

    Question 10
  11. 11

    In the diagram, a Service selects app=store, but the Pods are labeled app=shop. Why does the Service have no endpoints?

    Question 11
  12. 12

    A newly deployed revision is failing, while the rollout history shows that the previous revision was healthy. Which command restores the previous Deployment revision?

    Question 12
  13. 13

    In the resource diagram, which value does the Kubernetes scheduler primarily use when deciding whether a node has capacity for a new Pod?

    Question 13
  14. 14

    What is the primary purpose of a PodDisruptionBudget?

  15. 15

    Which workload controller is most appropriate when each replica requires a stable network identity and persistent storage association?

  16. 16

    Which Kubernetes workload resource is designed to run Pods until a specified number of tasks complete successfully?

  17. 17

    The diagram shows an Ingress resource with host and path rules, but external requests are not being routed. Which cluster component must also be installed and running?

    Question 17

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate