Bird
0
0

What is the primary role of Flask-Migrate during deployment?

easy📝 Conceptual Q1 of 15
Flask - Deployment
What is the primary role of Flask-Migrate during deployment?
ATo serve static files faster
BTo manage database schema changes safely
CTo handle user authentication
DTo optimize Flask routing
Step-by-Step Solution
Solution:
  1. Step 1: Understand Flask-Migrate's purpose

    Flask-Migrate is a tool that helps manage changes to the database schema over time.
  2. Step 2: Identify deployment needs

    During deployment, safely applying schema changes without data loss is critical.
  3. Final Answer:

    To manage database schema changes safely -> Option B
  4. Quick Check:

    Flask-Migrate role = Manage schema changes safely [OK]
Quick Trick: Flask-Migrate handles schema updates, not app logic [OK]
Common Mistakes:
MISTAKES
  • Confusing Flask-Migrate with static file serving
  • Thinking it manages user authentication
  • Assuming it optimizes routing

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Flask Quizzes