QuizzesKubernetes for Microservices — Concept Check
intermediate
microservices

Kubernetes for Microservices — Concept Check

Questions on Kubernetes for Microservices. Kubernetes orchestrates containers across nodes; Deployments, Services, ConfigMaps, and HorizontalPodAutoscalers provide self-healing, scaling, and traffic routing.

8 minutes 8 questions Pass at 70%
Time Limit
8 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

8 questions on Kubernetes for Microservices — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A Kubernetes Deployment is set up with a rolling update strategy. During an update, what happens if a pod fails to start?

    • AThe update pauses until the pod issue is resolved
    • BThe update stops and all pods are terminated
    • CThe update continues, ignoring the failed pod
    • DThe update rolls back to the previous version
  2. 2.You notice that your microservice is not scaling as expected despite high CPU usage. What could be the issue?

    • AConfigMap is missing necessary configurations
    • BService is not exposing the correct port
    • CDeployment has insufficient replicas
    • DHorizontalPodAutoscaler is not configured correctly
  3. 3.A service is experiencing downtime during updates. What might be missing from the configuration?

    • ALiveness probe
    • BHorizontalPodAutoscaler
    • CReadiness probe
    • DConfigMap
  4. 4.Which Kubernetes object provides stable DNS and load balancing for pods?

    • AHorizontalPodAutoscaler
    • BConfigMap
    • CDeployment
    • DService
  5. 5.A microservice in Kubernetes is configured with a liveness probe but keeps restarting. What could be the cause?

    • AThe readiness probe is failing, causing restarts
    • BThe HorizontalPodAutoscaler is misconfigured
    • CThe ConfigMap is not applied correctly
    • DThe liveness probe is failing, causing restarts
  6. 6.What happens if a Kubernetes pod does not shut down gracefully within the terminationGracePeriodSeconds?

    • AKubernetes sends a SIGKILL to force termination
    • BKubernetes retries the shutdown process
    • CThe pod is removed from the deployment but not terminated
    • DThe pod continues running until it finishes
  7. 7.A microservice has a ConfigMap and a Secret for configuration. How are these typically injected into a pod?

    • AVia a separate configuration service
    • BDirectly into the application code
    • CAs environment variables or mounted files
    • DThrough manual updates to the pod
  8. 8.You configured a HorizontalPodAutoscaler based on CPU utilization, but the pods are not scaling. What might be wrong?

    • AThe Deployment replicas are set to a fixed number
    • BThe ConfigMap is missing required keys
    • CThe target CPU utilization is set too high
    • DThe Service is misconfigured