Flashcardsfor IT Certifications

D3: Kubernetes Health Checks (Probes)

Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards

Question
What is a liveness probe?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Kubernetes Health Checks (Probes) practice questions and answers
  1. What is a liveness probe?
    Checks if the container is alive; restarts it if it fails.
  2. What is a readiness probe?
    Checks if the Pod can serve traffic; removes it from Service endpoints if not.
  3. What is a startup probe?
    Gives slow-starting apps time before liveness/readiness checks begin.
  4. Probe types?
    HTTP GET, TCP socket, exec command and gRPC.
  5. Key probe settings?
    initialDelaySeconds, periodSeconds, timeoutSeconds, failureThreshold.
  6. App takes 2 minutes to start and gets killed. Fix?
    Add a startup probe.
  7. App temporarily overloaded; shouldn't receive traffic. Which probe?
    Readiness.
  8. App deadlocked; needs restart. Which probe?
    Liveness.
  9. Why keep liveness checks lightweight?
    Heavy checks or dependency checks can cause unnecessary restarts.
  10. How do GKE load balancer health checks relate?
    They can use the readiness probe path.