0
0
HLDsystem_design~20 mins

HTTP and HTTPS in HLD - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
HTTP and HTTPS Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding HTTP Request Methods

Which HTTP method is designed specifically to retrieve data from a server without causing any side effects?

APUT
BPOST
CGET
DDELETE
Attempts:
2 left
💡 Hint

Think about the method that only asks for information without changing anything.

Architecture
intermediate
1:30remaining
Choosing Between HTTP and HTTPS for a Web Application

You are designing a web application that handles user login and sensitive data. Which protocol should you choose to ensure data security during transmission?

AHTTPS because it encrypts data between client and server
BHTTP because it uses fewer resources on the server
CHTTP because it is faster and simpler
DEither HTTP or HTTPS since both transmit data the same way
Attempts:
2 left
💡 Hint

Consider which protocol protects data from being read by others during transmission.

scaling
advanced
2:00remaining
Scaling HTTPS Traffic for a High-Traffic Website

Your website uses HTTPS and experiences a sudden increase in traffic. Which approach best helps maintain performance while keeping secure connections?

AUse HTTP only on backend servers and HTTPS only on clients
BTerminate SSL/TLS at a load balancer and forward unencrypted traffic to backend servers
CDisable HTTPS to reduce encryption overhead during high traffic
DUse HTTP/2 without TLS to improve speed
Attempts:
2 left
💡 Hint

Think about offloading encryption work to a dedicated component to reduce load on backend servers.

tradeoff
advanced
2:00remaining
Tradeoffs Between HTTP and HTTPS for Static Content Delivery

For delivering static images and videos on a public website, what is a key tradeoff when choosing HTTPS over HTTP?

AHTTPS increases security but may add slight latency due to encryption
BHTTP is more secure because it uses less CPU
CHTTPS reduces bandwidth usage compared to HTTP
DHTTP supports caching while HTTPS does not
Attempts:
2 left
💡 Hint

Consider the impact of encryption on speed and security.

estimation
expert
2:30remaining
Estimating TLS Handshake Overhead in HTTPS Connections

When a client establishes an HTTPS connection, the TLS handshake adds extra time before data transfer begins. Approximately how many round-trip times (RTTs) does a full TLS 1.3 handshake require before encrypted data can be sent?

AZero RTTs
BTwo RTTs
CThree RTTs
DOne RTT
Attempts:
2 left
💡 Hint

TLS 1.3 improved handshake speed compared to previous versions.