UPDATED ACTUAL Exam Questions and
CORRECT Answers
Django Auth Framework - CORRECT ANSWER - Built-in framework for user
authentication, sessions, permissions, and user groups.
Authentication - CORRECT ANSWER - Process of verifying the identity of a user.
Sessions - CORRECT ANSWER - Mechanism to store user-specific information across
multiple requests.
AuthenticationMiddleware - CORRECT ANSWER - Associates users with requests using
sessions.
SessionMiddleware - CORRECT ANSWER - Handles the current session across requests.
Permissions - CORRECT ANSWER - Flags for users or groups to perform certain actions.
Log in - CORRECT ANSWER - Handles login form and logs in a user.
Log out - CORRECT ANSWER - Logs out a user.
Password change - CORRECT ANSWER - Handles a form to change the user's password.
PasswordChangeDoneView - CORRECT ANSWER - The success view after successful
password change.
,Password reset - CORRECT ANSWER - Allows users to reset their password.
PasswordResetDoneView - CORRECT ANSWER - Informs users that an email with a
password reset link has been sent.
PasswordResetConfirmView - CORRECT ANSWER - Allows users to set a new
password.
PasswordResetCompleteView - CORRECT ANSWER - The success view after
successfully resetting the password.
Generic User - CORRECT ANSWER - A user model with fields like username, password,
email, first_name, last_name, and is_active.
Login view - CORRECT ANSWER - Presents the user with a login form, authenticates the
user, and starts an authenticated session.
Action views - CORRECT ANSWER - Views that perform an action, such as changing a
password.
Action_done/Action_complete views - CORRECT ANSWER - Views that provide
feedback after completing an action.
Directories in templates subdirectory - CORRECT ANSWER - account: user account-
related templates, registration: user registration templates.
@login_required decorator - CORRECT ANSWER - Checks if the current user is
authenticated.
Password change flow - CORRECT ANSWER - User initiates password change, server
processes the change, and the user is notified.
, Extending generic User model - CORRECT ANSWER - Creating a custom user model by
subclassing AbstractUser or AbstractBaseUser.
Custom clean method - CORRECT ANSWER - A method in a form that cleans the value
or raises form validation errors for a specific field.
on_delete=CASCADE - CORRECT ANSWER - Deletes related objects when the
referenced object is deleted.
Messages framework - CORRECT ANSWER - Displays one-time notifications to users.
Levels/types of messages - CORRECT ANSWER - success(), info(), warning(), error(),
debug()
Custom auth backend - CORRECT ANSWER - Defines authenticate() and get_user()
methods for custom authentication.
Developer Tools - CORRECT ANSWER - Browser tools for debugging and developing
web applications.
ALLOWED_HOSTS - CORRECT ANSWER - List of domain names or IP addresses from
which the Django application allows incoming requests.
HTTPS - CORRECT ANSWER - Secure version of HTTP for transmitting data between a
user's web browser and a website.
SSL/TLS - CORRECT ANSWER - Protocols for secure communication over a computer
network.