C# Mastery Hub
Home
Challenges
Discussion
Lessons
Core Topics
C# Fundamentals
Console Applications
Classes & OOP
Windows Forms
ASP.NET Core
SQL Server
VS & SQL Connection
RDLC Reports
.NET MAUI
Getting Started
Getting Started
Website Development
SEO Guide
Security
Project Workflow
Extra Topics
Cloud & Deployment
AWS Cloud
Deployment
About
Contact
Test Your Knowledge
Security - Lesson 2: Authentication & Identity Quiz
Answer all questions to test your understanding
1
What is ASP.NET Core Identity?
A membership system for authentication and authorization
A database system
A web framework
A cloud service
2
What is the purpose of UserManager in ASP.NET Core Identity?
To manage user creation and password operations
To manage database connections
To manage HTTP requests
To manage file uploads
3
What does the SignInManager do?
Handles user sign-in and sign-out
Manages database queries
Handles HTTP responses
Manages file storage
4
Which attribute is used to restrict access based on roles?
[Authorize]
[Authenticate]
[AllowAnonymous]
[Role]
5
What is the purpose of password hashing in Identity?
To securely store passwords
To make passwords shorter
To display passwords in plain text
To delete passwords
Submit Quiz