RFC 2818 Quiz

HTTP Over TLS (HTTPS)

0 / 0

References (URLs)

Goal: map https URLs to connection behavior and security expectations.

Q1: A URL with scheme https implies

Multiple Choice
**Explanation:** **Correct (B):** HTTPS means HTTP over TLS, with the usual TLS server identity checks **Options:** - A (incorrect): A host can serve both http and https - C (incorrect): Base64 is not the security mechanism

Q2: The default port for https URLs is

Multiple Choice
**Explanation:** **Correct (A):** If no port is specified, https maps to 443

Q3: TLS provides which properties for HTTP messages (select all)

Multi-Select
**Explanation:** **Correct (A,B,C):** TLS protects the channel, but it does not decide who is authorized **Options:** - D (incorrect): Authorization is an application concern

Q4: Your app builds an absolute URL from user input. Which check helps prevent mixed scheme confusion

Multiple Choice
**Explanation:** **Correct (C):** Security sensitive flows should enforce https and avoid downgrade paths

Q5: A correct statement about the https scheme is

Multiple Choice
**Explanation:** **Correct (A):** http and https are different schemes, which matters for origin and default port

Q6: What is the default port number for https

Short Text
**Explanation:** **Correct:** 443