Back-End Developer Capstone - Starting the Project

Back-End Developer Capstone - Starting the Project

  1. What is the setting defined in settings.py file to indicate where static files should be loaded from?

    • FILES_STATIC

    • STATIC_URL

    • STATIC_FILES

    • RESOURCES_STATIC

  2. Which of the following should be placed in the folder for static assets?

    • Template files

    • Javascript files

    • View files

    • Model files

  3. Once a commit has been made on a local repository, what command is used to sync those changes to the remote repository?

    • git sync

    • git push

    • git pull

    • git status

  4. Which property, defined in urls.py, defines the valid routes in a Django application or project that can respond to requests?

    • urlpatterns

    • urls

    • url_paths

    • page_urls

  5. Which of the following statements is true? Select all that apply.

    • The git push command sends files from the local repository to the remote repository.

    • The git commit command sends files from the working repository to the local repository.

    • The git add command sends files from the working area to the staging area

    • The git add command sends files from the staging area to the local repository

  6. Which of the following are known as version control tools? Select all that apply.

    • SVN

    • Mercurial

    • Git

    • GitHub

  7. When a file has been edited in a Git repository, after saving, the command git status will show us that the file has been changed. After staging the file, what command do we use to make the change in our Git repository?

    • git commit

    • git add

    • git clone

    • git rebase

  8. What are the three states in a Git workflow? Select all that apply.

    • staged

    • finalized

    • modified

    • committed

  9. Which of the following requirements must be fulfilled to access Django's admin interface? Select all that apply.

    • You must include django.contrib.admin in the INSTALLED_APPS list in the settings.py file.

    • You must run the migrations.

    • You must The Django project to have at least one app.

    • You must create at least one superuser.

  10. True or false: Django automatically creates permissions that can be assigned to users in Django Admin as models are created within the app.

    • True

    • False