Free Masterclass on Mar 21
Beginner AI Workshop: Build an AI Agent & Start Your AI Career
1. Which web server is commonly used to deploy Django applications?
a) Apache
b) Nginx
c) IIS
d) Tomcat
Answer: b) Nginx
2. Which protocol is commonly used to serve Django applications over the internet?
a) HTTP
b) FTP
c) SMTP
d) SSH
Answer: a) HTTP
3. Which database management system is commonly used with Django?
a) MySQL
b) PostgreSQL
c) SQLite
d) All of the above
Answer: d) All of the above
4. Which command is used to collect static files in Django?
a) python manage.py collectstatic
b) python manage.py staticfiles
c) python manage.py compilestatic
d) python manage.py staticcollect
Answer: a) python manage.py collectstatic
5. Which file is used to configure the deployment settings in Django?
a) settings.py
b) urls.py
c) wsgi.py
d) deploy.py
Answer: c) wsgi.py
6. Which cloud platform can be used to deploy Django applications?
a) Amazon Web Services (AWS)
b) Google Cloud Platform (GCP)
c) Microsoft Azure
d) All of the above
Answer: d) All of the above
7. What is the purpose of a virtual environment in Django deployment?
a) To isolate project dependencies
b) To improve performance
c) To ensure compatibility with different operating systems
d) To enable automatic scaling
Answer: a) To isolate project dependencies
8. Which command is used to install project dependencies from a requirements.txt file?
a) pip install -r requirements.txt
b) pip install requirements.txt
c) pip install requirements
d) pip install -requirements.txt
Answer: a) pip install -r requirements.txt
9. Which file is used to specify the URL mappings in Django?
a) settings.py
b) urls.py
c) views.py
d) routes.py
Answer: b) urls.py
10. Which command is used to run database migrations in Django?
a) python manage.py migrate
b) python manage.py runmigrations
c) python manage.py dbmigrate
d) python manage.py syncdb
Answer: a) python manage.py migrate
11. Which configuration file is used to specify environment variables in Django deployment?
a) .env
b) config.ini
c) settings.py
d) env.txt
Answer: a) .env
12. Which command is used to start a Django application in production mode?
a) python manage.py runserver
b) python manage.py startapp
c) python manage.py runprod
d) python manage.py startprod
Answer: c) python manage.py runprod
Top Tutorials

Javascript
JavaScript Fundamentals is a beginner-level course that covers the basics of the JavaScript programming language. It covers topics on basic syntax, variables, data types and various operators in JavaScript. It also includes quiz challenges to test your skills.

NodeJS
In this comprehensive Node JS tutorial, the fundamentals are thoroughly covered, preparing learners to create scalable and high-performance web applications. The development environment setup, module usage, asynchronous programming implementation, and integration with databases and external services are all explored. By harnessing the capabilities of server-side JavaScript, web development proficiency can be significantly enhanced.

HTML
In this HTML5 tutorial, the learner explores the latest features and enhancements of the markup language. They are guided through semantic elements, multimedia integration, and form improvements. The tutorial emphasizes practical examples to build a solid foundation in HTML5.
All Courses (6)
Master's Degree (2)
Fellowship (2)
Certifications (2)