0
0
GCPcloud~20 mins

HTTP(S) Load Balancer (Layer 7) in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
GCP HTTP(S) Load Balancer Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
Architecture
intermediate
2:00remaining
Identify the correct architecture for a global HTTP(S) Load Balancer on GCP
Which of the following diagrams correctly represents the architecture of a global HTTP(S) Load Balancer on Google Cloud Platform that distributes traffic across multiple regions with automatic failover?
AClient requests are sent directly to backend instances without any load balancer, relying on DNS round robin for distribution.
BClient requests are routed to a global anycast IP address, then distributed by the HTTP(S) Load Balancer to backend services in multiple regions with health checks and failover.
CClient requests go to a single regional load balancer which then forwards to backend instances only in that region.
DClient requests are routed through a TCP load balancer that forwards traffic to backend instances based on IP address only.
Attempts:
2 left
💡 Hint
Think about how global traffic distribution and failover are handled in GCP HTTP(S) Load Balancer.
scaling
intermediate
1:30remaining
Estimating capacity for HTTP(S) Load Balancer under high traffic
You expect 1 million requests per second to your HTTP(S) Load Balancer on GCP. Which factor is NOT relevant when estimating the load balancer's capacity requirements?
ANumber of backend instances and their capacity
BSize and complexity of HTTP headers in requests
CGeographical distribution of clients
DThe color scheme of the load balancer's management console
Attempts:
2 left
💡 Hint
Consider what affects load balancer performance and what is irrelevant.
tradeoff
advanced
2:00remaining
Choosing between HTTP(S) Load Balancer and TCP Load Balancer for a web app
Your web application requires SSL termination, URL-based routing, and global load balancing. Which load balancer type on GCP best fits these needs and why?
ATCP Load Balancer, because it handles SSL termination and URL routing efficiently.
BNetwork Load Balancer, because it provides global load balancing and URL routing.
CHTTP(S) Load Balancer, because it supports SSL termination, URL-based routing, and global anycast IP for global load balancing.
DInternal Load Balancer, because it supports SSL termination and global routing.
Attempts:
2 left
💡 Hint
Match features needed with load balancer capabilities.
🧠 Conceptual
advanced
1:30remaining
Understanding health checks in HTTP(S) Load Balancer
What is the primary purpose of health checks in a GCP HTTP(S) Load Balancer setup?
ATo verify backend service availability and route traffic only to healthy instances.
BTo encrypt traffic between the load balancer and backend instances.
CTo monitor backend instance CPU usage and automatically scale instances.
DTo cache HTTP responses at the load balancer for faster delivery.
Attempts:
2 left
💡 Hint
Think about how load balancers decide where to send traffic.
component
expert
2:30remaining
Request flow through GCP HTTP(S) Load Balancer components
Arrange the components in the correct order that a client HTTP request passes through when using a GCP HTTP(S) Load Balancer with backend services.
A1,2,3,4
B1,3,2,4
C2,1,3,4
D1,2,4,3
Attempts:
2 left
💡 Hint
Think about the natural flow from client to backend through the load balancer.