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 6: Secrets Management Quiz
Answer all questions to test your understanding
1
What are secrets in application development?
Sensitive data like passwords and API keys
Public data
Log files
Cache data
2
What is User Secrets in ASP.NET Core?
A development-only secret storage
A production secret storage
A database storage
A file storage
3
What is Azure Key Vault?
A cloud service for storing secrets securely
A web framework
A database system
A file storage system
4
Which command sets a User Secret in .NET?
dotnet user-secrets set 'key' 'value'
dotnet secret set 'key' 'value'
dotnet add secret 'key' 'value'
dotnet config secret 'key' 'value'
5
What is a best practice for managing secrets?
Never store secrets in code or configuration files
Store secrets in appsettings.json
Store secrets in comments
Store secrets in logs
Submit Quiz