All quizzes
Free quiz · 20 questions in the bank

Uvicorn quiz

Test your Uvicorn knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What does ASGI stand for, and what problem does it solve?

Questions in this quiz
  1. What does ASGI stand for, and what problem does it solve?
  2. How does Uvicorn typically fit into a production deployment stack alongside a reverse proxy like Nginx?
  3. What role does Python's `asyncio` play underneath Uvicorn's request handling?
  4. What is Hypercorn, and how does it relate to Uvicorn?
  5. What does the `--workers` flag do when running Uvicorn directly (without a separate process manager like Gunicorn)?
  6. What is the common pattern of running Uvicorn workers managed by Gunicorn (`gunicorn -k uvicorn.workers.UvicornWorker`)?
  7. What does it mean that Uvicorn is described in its own documentation as a "server," not a full web framework?
  8. What does Uvicorn's support for HTTP/1.1 and WebSockets specifically enable that a plain WSGI server generally cannot handle natively?
  9. Why would enabling Uvicorn's access logging be useful in production, and what is a common reason to disable or reduce it under very high load?
  10. What are uvloop and httptools, and how do they relate to Uvicorn's performance?
  11. Why might a production deployment run multiple Uvicorn worker processes rather than a single one?
  12. What is a common command to run a FastAPI app in development using Uvicorn?
Gaps to close?
Read the curated Uvicorn notes — core concepts, patterns, interview prep.
Uvicorn notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web