EF,ASP.NET,MVC, Microservices For YP

EF,ASP.NET,MVC, Microservices For YP

Professional Development

50 Qs

quiz-placeholder

Similar activities

AWS CP Exam 04

AWS CP Exam 04

Professional Development

55 Qs

Preliminary Assessment - Digital Analytics Quiz - iQuanti

Preliminary Assessment - Digital Analytics Quiz - iQuanti

Professional Development

45 Qs

MCQsPDE Personal 1st 50

MCQsPDE Personal 1st 50

Professional Development

50 Qs

Odoo 15 Cert - CRM - Test Sample + Exam

Odoo 15 Cert - CRM - Test Sample + Exam

Professional Development

47 Qs

PCA-1

PCA-1

Professional Development

50 Qs

AWS Database & Networking

AWS Database & Networking

Professional Development

45 Qs

ISEC Screening Exam - 2025

ISEC Screening Exam - 2025

Professional Development

50 Qs

Basics of GIS and RS

Basics of GIS and RS

Professional Development

50 Qs

EF,ASP.NET,MVC, Microservices For YP

EF,ASP.NET,MVC, Microservices For YP

Assessment

Quiz

Professional Development

Professional Development

Easy

Created by

Dotnet Quiz

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Entity Framework?
A database management system
An Object-Relational Mapping (ORM) framework
A web development framework
A testing framework
None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which approach is used when you start with an existing database in Entity Framework?
Code First
Model First
Database First
Schema First
None of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is DbContext in Entity Framework?
A database connection string
A class that represents a session with the database
A data annotation attribute
A LINQ query provider
None of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which LINQ method is used to retrieve a single entity by its primary key?
Single()
First()
Find()
Where()
None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the [Required] attribute do in Entity Framework?
Makes a property optional
Makes a property mandatory/not null
Sets default value for a property
Creates an index on the property
None of these

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to save changes to the database in Entity Framework?
Commit()
Save()
SaveChanges()
Update()
None of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is lazy loading in Entity Framework?
Loading data slowly
Loading related data automatically when accessed
Loading data in background
Loading data without queries
None of these

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?