Search Header Logo

MNYF BE Quiz 1

Authored by Mina Moawad

Other

KG

Used 3+ times

MNYF BE Quiz 1
AI

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

  1. What is the main principle behind clean code?

  1. Readability

  1. Efficiency

  1. Reusability

  1. Maintainability

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?