Recall & Review
beginner
What is chunked transfer encoding in nginx?
Chunked transfer encoding is a way to send data in pieces (chunks) without knowing the total size beforehand. nginx uses it to stream data to clients efficiently.
Click to reveal answer
beginner
How does nginx enable streaming responses to clients?
nginx streams responses by sending data as it is generated, often using chunked transfer encoding, so clients start receiving data immediately without waiting for the full response.
Click to reveal answer
intermediate
Which nginx directive controls chunked transfer encoding for proxied responses?
The directive is
proxy_http_version 1.1; combined with chunked_transfer_encoding on; to enable chunked transfer for proxied HTTP/1.1 responses.Click to reveal answer
beginner
Why is chunked transfer encoding useful for large or dynamic content?
It allows sending data as it is produced without waiting for the entire content size, reducing latency and memory use on the server.
Click to reveal answer
intermediate
What happens if chunked transfer encoding is disabled in nginx for streaming content?
nginx will buffer the entire response before sending it, causing delays and higher memory use, which can slow down client experience.
Click to reveal answer
What HTTP version must nginx use to support chunked transfer encoding?
✗ Incorrect
Chunked transfer encoding is part of the HTTP/1.1 standard, so nginx must use HTTP/1.1 to support it.
Which nginx directive enables chunked transfer encoding for proxy responses?
✗ Incorrect
Setting
proxy_http_version 1.1; is required to enable chunked transfer encoding for proxied responses.What is the main benefit of streaming data with chunked transfer encoding?
✗ Incorrect
Chunked transfer encoding allows sending data in parts immediately, improving responsiveness.
If chunked transfer encoding is off, what does nginx do before sending the response?
✗ Incorrect
Without chunked transfer encoding, nginx buffers the full response before sending it.
Which scenario benefits most from chunked transfer encoding?
✗ Incorrect
Streaming live video benefits from chunked transfer because data is generated continuously and sent immediately.
Explain how nginx uses chunked transfer encoding to improve streaming performance.
Think about how data can be sent piece by piece instead of waiting for everything.
You got /4 concepts.
Describe the nginx configuration needed to enable chunked transfer encoding for proxy responses.
Focus on HTTP version and chunked transfer directives.
You got /3 concepts.