Modern HTTP Knowledge Check 5
Modern HTTP Knowledge Check 5
animation
http
protocols
InlineKnowledgeCheck({
containerId: "kc-http-modern-5",
question: "A company's enterprise network blocks UDP traffic at the firewall. What should the IoT architect recommend for their smart building gateway that needs to use HTTP-based APIs?",
options: [
{"text": "Use HTTP/3 and request the firewall be reconfigured", "feedback": "HTTP/3 requires a permitted UDP path. A policy change might be possible, but it is not the available path under the stated UDP-blocking constraint."},
{"text": "Use HTTP/2 over TCP - it provides multiplexing benefits without requiring UDP", "feedback": "Correct. HTTP/2 normally runs over TCP and can multiplex requests on a reused connection through an allowed HTTPS path. Verify the actual firewall and server settings; no firewall universally allows a particular protocol."},
{"text": "Use HTTP/1.1 with multiple parallel connections", "feedback": "HTTP/1.1 is a possible fallback over allowed TCP, but HTTP/2 offers multiplexing on one connection when both ends support it."},
{"text": "Switch to CoAP instead of HTTP", "feedback": "CoAP over UDP would meet the same UDP block, and the question requires an HTTP API. A different transport or proxy would need a separate deployment design."}
],
correctIndex: 1,
explanation: "When UDP is blocked and an HTTP API is required, HTTP/2 over an allowed TCP/TLS path is the fitting option. Verify both endpoints and the firewall policy.",
difficulty: "intermediate"
})