Modeling interview questions

21 Modeling questions from the EF Core bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is entity?

Junior
  1. A.a type that has no identity of its own and is always persisted as part of its owner, typically mapped into the same table
  2. B.a plain CLR class whose instances map to rows of a table in the model
  3. C.the default rules that infer keys, table names, and column types from class and property names without explicit configuration
  4. D.attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline

Answer + AI explanation with Pro

2. Which term means: "a plain CLR class whose instances map to rows of a table in the model"?

Junior
  1. A.shadow property
  2. B.entity
  3. C.OnModelCreating
  4. D.Fluent API

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.entity — a field that exists in the model and is stored in the database but has no corresponding CLR property on the entity class
  2. B.entity — a plain CLR class whose instances map to rows of a table in the model
  3. C.entity — the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
  4. D.entity — attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline

Answer + AI explanation with Pro

4. What is conventions?

Mid
  1. A.the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically
  2. B.the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
  3. C.the default rules that infer keys, table names, and column types from class and property names without explicit configuration
  4. D.a field that exists in the model and is stored in the database but has no corresponding CLR property on the entity class

Answer + AI explanation with Pro

5. Which term means: "the default rules that infer keys, table names, and column types from class and property names without explicit configuration"?

Mid
  1. A.entity
  2. B.data annotations
  3. C.conventions
  4. D.owned entity type

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. A.conventions — the default rules that infer keys, table names, and column types from class and property names without explicit configuration
  2. B.conventions — the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
  3. C.conventions — a plain CLR class whose instances map to rows of a table in the model
  4. D.conventions — a type that has no identity of its own and is always persisted as part of its owner, typically mapped into the same table

Answer + AI explanation with Pro

7. What is data annotations?

Junior
  1. A.attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline
  2. B.the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
  3. C.a plain CLR class whose instances map to rows of a table in the model
  4. D.the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically

Answer + AI explanation with Pro

8. Which term means: "attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline"?

Junior
  1. A.data annotations
  2. B.OnModelCreating
  3. C.conventions
  4. D.owned entity type

Answer + AI explanation with Pro

9. Which statement is correct?

Junior
  1. A.data annotations — a field that exists in the model and is stored in the database but has no corresponding CLR property on the entity class
  2. B.data annotations — a plain CLR class whose instances map to rows of a table in the model
  3. C.data annotations — attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline
  4. D.data annotations — a type that has no identity of its own and is always persisted as part of its owner, typically mapped into the same table

Answer + AI explanation with Pro

10. What is Fluent API?

Mid
  1. A.the default rules that infer keys, table names, and column types from class and property names without explicit configuration
  2. B.a plain CLR class whose instances map to rows of a table in the model
  3. C.the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
  4. D.the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically

Answer + AI explanation with Pro

11. Which term means: "the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence"?

Mid
  1. A.Fluent API
  2. B.conventions
  3. C.OnModelCreating
  4. D.owned entity type

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.Fluent API — the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically
  2. B.Fluent API — the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
  3. C.Fluent API — a field that exists in the model and is stored in the database but has no corresponding CLR property on the entity class
  4. D.Fluent API — attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline

Answer + AI explanation with Pro

13. What is OnModelCreating?

Mid
  1. A.the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically
  2. B.a plain CLR class whose instances map to rows of a table in the model
  3. C.attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline
  4. D.the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence

Answer + AI explanation with Pro

14. Which term means: "the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically"?

Mid
  1. A.owned entity type
  2. B.OnModelCreating
  3. C.conventions
  4. D.Fluent API

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.OnModelCreating — the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically
  2. B.OnModelCreating — the default rules that infer keys, table names, and column types from class and property names without explicit configuration
  3. C.OnModelCreating — a field that exists in the model and is stored in the database but has no corresponding CLR property on the entity class
  4. D.OnModelCreating — a type that has no identity of its own and is always persisted as part of its owner, typically mapped into the same table

Answer + AI explanation with Pro

16. What is shadow property?

Senior
  1. A.the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically
  2. B.attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline
  3. C.a field that exists in the model and is stored in the database but has no corresponding CLR property on the entity class
  4. D.a plain CLR class whose instances map to rows of a table in the model

Answer + AI explanation with Pro

17. Which term means: "a field that exists in the model and is stored in the database but has no corresponding CLR property on the entity class"?

Senior
  1. A.conventions
  2. B.owned entity type
  3. C.Fluent API
  4. D.shadow property

Answer + AI explanation with Pro

18. Which statement is correct?

Senior
  1. A.shadow property — the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
  2. B.shadow property — a field that exists in the model and is stored in the database but has no corresponding CLR property on the entity class
  3. C.shadow property — a type that has no identity of its own and is always persisted as part of its owner, typically mapped into the same table
  4. D.shadow property — attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline

Answer + AI explanation with Pro

19. What is owned entity type?

Senior
  1. A.a plain CLR class whose instances map to rows of a table in the model
  2. B.a type that has no identity of its own and is always persisted as part of its owner, typically mapped into the same table
  3. C.attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline
  4. D.the default rules that infer keys, table names, and column types from class and property names without explicit configuration

Answer + AI explanation with Pro

20. Which term means: "a type that has no identity of its own and is always persisted as part of its owner, typically mapped into the same table"?

Senior
  1. A.data annotations
  2. B.owned entity type
  3. C.Fluent API
  4. D.entity

Answer + AI explanation with Pro

21. Which statement is correct?

Senior
  1. A.owned entity type — attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline
  2. B.owned entity type — the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
  3. C.owned entity type — the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically
  4. D.owned entity type — a type that has no identity of its own and is always persisted as part of its owner, typically mapped into the same table

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Modeling question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers