
MNYF BE Quiz 1
Authored by Mina Moawad
Other
KG
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which dependency injection framework is used by default in ASP.NET Core?
Autofac
Ninject
Castle Windsor
Microsoft.Extensions.DependencyInjection
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the best way to improve the performance of N+1 queries?
Using include() method
Using projection
Using explicit joins
Using AsNoTracking()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between tracking and non-tracking queries in EF Core?
Tracking queries are faster than non-tracking queries.
Non-Tracking queries are used for read-only operations.
Non-tracking queries are used for update and delete operations.
All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the benefits of using DbContext pooling?
Improved scalability
Increased application performance
Reduced database connection overhead
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you optimize entity framework migrations?
By using the Snapshot Migration strategy
By using the Scripting Migration strategy
By using the IgnoreChanges method
By using the EnsureCreated method
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are some best practices for improving the performance of EF Core applications?
Use appropriate data types
Minimize unnecessary queries
Utilize caching mechanisms
All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main principle behind clean code?
What is the main principle behind clean code?
Readability
Efficiency
Reusability
Maintainability
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?