1.
In Flask, which of the following parameters is passed into wsgi_app method:
1. Start_response
2. Environment
3. Stop_response
2.
In Flask, the Python configuration file (*.cfg) can be fetched using ______________________________________.
1. app.config.from_pyfile('config_file.cfg')
2. app.config.from_pyfile('myapplication.default_settings')
3. app.config.from_pyfile()
3.
In Flask, which of the following is used to differentiate between deployment-specific files and version-controlled application?
4.
In Flask, the instance folder acts like a holder bin for ________________________________________.
5.
Which of the following about blueprint in Flask is correct?
6.
In Flask, which of the following parameters is to be passed to the process_response() method?
7.
In Flask, which of the following methods is called, by default, by the process_response() method?
8.
In Flask, which of the following is the correct usage of a filter?
9.
In Flask, which of the following about alembic is correct:
1. It is a Python-based tool to manage database migrations and uses SQLAlchemy as the underlying engine.
2. Alembic largely provides automatic migrations with some limitations.
3. Alembic doesn't provide automatic migrations.
10.
In Flask, preprocess_request() is invoked before the ______________________________ method.