Bird
0
0

Which protocol does Nginx use to communicate with a Flask app running on Gunicorn?

easy📝 Conceptual Q2 of 15
Flask - Deployment
Which protocol does Nginx use to communicate with a Flask app running on Gunicorn?
ASMTP
BHTTP
CFTP
DSSH
Step-by-Step Solution
Solution:
  1. Step 1: Identify communication protocol

    Nginx forwards requests to Flask app servers like Gunicorn using HTTP protocol.
  2. Step 2: Eliminate other protocols

    FTP is for file transfer, SMTP for email, SSH for secure shell access, so they are incorrect here.
  3. Final Answer:

    HTTP -> Option B
  4. Quick Check:

    Nginx to Flask communication = HTTP [OK]
Quick Trick: Nginx uses HTTP to talk to Flask servers like Gunicorn [OK]
Common Mistakes:
MISTAKES
  • Confusing FTP or SSH as communication protocols here
  • Thinking Nginx uses SMTP for app communication

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Flask Quizzes