0
0
GCPcloud~20 mins

Why load balancing matters in GCP - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Load Balancing Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Why use load balancing in cloud infrastructure?

Imagine you have a website that many people visit at the same time. What is the main reason to use load balancing?

ATo store user data securely in a single server for faster access.
BTo distribute user traffic evenly across multiple servers to prevent any single server from being overwhelmed.
CTo increase the size of a single server's hard drive automatically.
DTo reduce the number of servers needed by combining their power into one.
Attempts:
2 left
💡 Hint

Think about what happens when too many people try to use one server at once.

service_behavior
intermediate
2:00remaining
What happens if a server behind a load balancer fails?

In a cloud setup with a load balancer, if one server stops working, what does the load balancer do?

AIt automatically stops sending traffic to the failed server and routes requests to healthy servers.
BIt keeps sending traffic to the failed server until it is manually removed.
CIt shuts down all servers to prevent errors.
DIt duplicates the failed server to create a new one instantly.
Attempts:
2 left
💡 Hint

Think about how to keep the website working smoothly even if one server has a problem.

Architecture
advanced
2:00remaining
Designing a scalable web application with load balancing

You want to design a web app that can handle sudden spikes in user traffic without slowing down. Which architecture best supports this?

AUse a single powerful server with a large CPU and memory to handle all traffic.
BUse multiple databases without load balancing to store user data.
CUse a load balancer to distribute traffic across multiple auto-scaled instances of the app servers.
DUse a load balancer but keep only one app server running at all times.
Attempts:
2 left
💡 Hint

Think about how to add or remove servers automatically based on traffic.

security
advanced
2:00remaining
How does load balancing improve security in cloud services?

Which security benefit does a load balancer provide in a cloud environment?

AIt replaces firewalls by blocking all incoming traffic by default.
BIt encrypts all data stored on the servers automatically.
CIt stores user passwords securely in the load balancer itself.
DIt can help protect against denial-of-service (DoS) attacks by spreading traffic and filtering bad requests.
Attempts:
2 left
💡 Hint

Think about how spreading traffic can help handle attacks that flood servers.

Best Practice
expert
2:00remaining
Choosing the right load balancing method for global users

Your app has users worldwide. Which load balancing method best reduces latency by sending users to the closest server?

AUse geo-based load balancing that routes users to the nearest regional server.
BUse round-robin load balancing that sends requests in order to each server regardless of location.
CUse a single global server with a load balancer to handle all traffic.
DUse random load balancing that sends requests to any server randomly.
Attempts:
2 left
💡 Hint

Think about how to make the website faster for users far away from the main server.