Flashcardsfor IT Certifications

D1: Load Balancers & Session Affinity

Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards

Question
Why use a load balancer?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Load Balancers & Session Affinity practice questions and answers
  1. Why use a load balancer?
    Distribute traffic, provide HA, TLS termination and a single entry point.
  2. Global external Application LB use?
    Global HTTP(S) apps, CDN, Cloud Armor, multi-region backends.
  3. Internal Application LB use?
    Internal HTTP(S) microservices.
  4. Passthrough Network LB use?
    TCP/UDP preserving client IP.
  5. How do you put Cloud Run behind a LB?
    Serverless network endpoint group (NEG).
  6. What is session affinity?
    Routing a client's requests to the same backend.
  7. Session affinity in Cloud Run?
    Enable --session-affinity (best-effort, cookie-based).
  8. Session affinity options on load balancers?
    Client IP, generated cookie, HTTP header/cookie-based.
  9. Downside of session affinity?
    Uneven load; prefer stateless design with external session stores.
  10. Where should session state live?
    Memorystore or a database, not instance memory.