All quizzes
Free quiz · 20 questions in the bank

Gunicorn quiz

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

Question 1/5Score 0

What is the key limitation of Gunicorn's default "sync" worker class regarding concurrent requests within a single worker?

Questions in this quiz
  1. What is the key limitation of Gunicorn's default "sync" worker class regarding concurrent requests within a single worker?
  2. Why might a team switch from Gunicorn's sync workers to an async worker class like `gevent` or `eventlet`?
  3. For a Python application built on ASGI (async, e.g. FastAPI) rather than WSGI, what is the relevant consideration regarding Gunicorn?
  4. What does Gunicorn's `--max-requests` setting do, and why might a team configure it?
  5. Why can't Python's built-in development server (e.g. Flask's `app.run()`) typically be used directly in production?
  6. How does Gunicorn typically pick up code changes after a deployment, in terms of worker restarts?
  7. What is a common alternative WSGI server to Gunicorn in the Python ecosystem, and how do they broadly compare?
  8. What is Gunicorn?
  9. How does Gunicorn typically fit into a common production deployment stack alongside Nginx?
  10. What does it mean for Gunicorn to be described as "unopinionated" about the choice of web framework it runs?
  11. What role does Gunicorn's master process play in this architecture?
  12. What is the purpose of Gunicorn's worker timeout setting (`--timeout`)?
Gaps to close?
Read the curated Gunicorn notes — core concepts, patterns, interview prep.
Gunicorn notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web