0
0
HLDsystem_design~20 mins

Reverse proxy concept in HLD - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Reverse Proxy Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Role of a Reverse Proxy in Web Architecture

Which of the following best describes the primary role of a reverse proxy in a web system?

AIt directly serves static files without contacting backend servers.
BIt forwards client requests to backend servers and can provide load balancing and caching.
CIt acts as a client to fetch data from the internet on behalf of the server.
DIt stores user credentials and manages authentication tokens.
Attempts:
2 left
💡 Hint

Think about what a reverse proxy does between clients and servers.

Architecture
intermediate
2:00remaining
Reverse Proxy Placement in System Architecture

Where is a reverse proxy typically placed in a web application architecture?

ADirectly inside the backend database to optimize queries.
BBetween the backend servers and the database to manage data flow.
COn the client device to cache server responses locally.
DBetween the client and the backend servers, acting as an intermediary.
Attempts:
2 left
💡 Hint

Consider the flow of requests from users to servers.

scaling
advanced
2:30remaining
Scaling Backend Servers with Reverse Proxy

How does a reverse proxy help scale backend servers in a high-traffic web application?

ABy distributing incoming requests evenly across multiple backend servers to prevent overload.
BBy storing all user sessions locally to reduce backend load.
CBy encrypting all data between backend servers and clients to improve security.
DBy replacing backend servers with a single powerful server to handle all requests.
Attempts:
2 left
💡 Hint

Think about how load balancing works in web systems.

tradeoff
advanced
2:30remaining
Tradeoffs of Using a Reverse Proxy

Which is a common tradeoff when introducing a reverse proxy into a system?

ADirectly exposes backend servers to the internet, increasing risk.
BEliminates the need for backend servers, reducing complexity.
CAdds an extra network hop which can increase latency but improves security and scalability.
DRemoves all caching capabilities from the system, reducing performance.
Attempts:
2 left
💡 Hint

Consider both benefits and costs of adding components in a network path.

estimation
expert
3:00remaining
Estimating Reverse Proxy Capacity for Traffic Load

A reverse proxy handles 10,000 requests per second. Each request averages 500KB response size. What is the approximate outgoing bandwidth needed for the reverse proxy?

AAbout 50 Gbps
BAbout 5 Gbps
CAbout 500 Mbps
DAbout 50 Mbps
Attempts:
2 left
💡 Hint

Calculate bandwidth = requests per second × response size in bits.