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.
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
B.a plain CLR class whose instances map to rows of a table in the model
C.the default rules that infer keys, table names, and column types from class and property names without explicit configuration
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
A.shadow property
B.entity
C.OnModelCreating
D.Fluent API
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
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
B.entity — a plain CLR class whose instances map to rows of a table in the model
C.entity — the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
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
A.the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically
B.the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
C.the default rules that infer keys, table names, and column types from class and property names without explicit configuration
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
A.entity
B.data annotations
C.conventions
D.owned entity type
Answer + AI explanation with Pro
6. Which statement is correct?
Mid
A.conventions — the default rules that infer keys, table names, and column types from class and property names without explicit configuration
B.conventions — the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
C.conventions — a plain CLR class whose instances map to rows of a table in the model
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
A.attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline
B.the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
C.a plain CLR class whose instances map to rows of a table in the model
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
A.data annotations
B.OnModelCreating
C.conventions
D.owned entity type
Answer + AI explanation with Pro
9. Which statement is correct?
Junior
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
B.data annotations — a plain CLR class whose instances map to rows of a table in the model
C.data annotations — attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline
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
A.the default rules that infer keys, table names, and column types from class and property names without explicit configuration
B.a plain CLR class whose instances map to rows of a table in the model
C.the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
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
A.Fluent API
B.conventions
C.OnModelCreating
D.owned entity type
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.Fluent API — the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically
B.Fluent API — the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
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
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
A.the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically
B.a plain CLR class whose instances map to rows of a table in the model
C.attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline
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
A.owned entity type
B.OnModelCreating
C.conventions
D.Fluent API
Answer + AI explanation with Pro
15. Which statement is correct?
Mid
A.OnModelCreating — the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically
B.OnModelCreating — the default rules that infer keys, table names, and column types from class and property names without explicit configuration
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
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
A.the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically
B.attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline
C.a field that exists in the model and is stored in the database but has no corresponding CLR property on the entity class
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
A.conventions
B.owned entity type
C.Fluent API
D.shadow property
Answer + AI explanation with Pro
18. Which statement is correct?
Senior
A.shadow property — the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
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
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
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
A.a plain CLR class whose instances map to rows of a table in the model
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
C.attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline
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
A.data annotations
B.owned entity type
C.Fluent API
D.entity
Answer + AI explanation with Pro
21. Which statement is correct?
Senior
A.owned entity type — attributes placed directly on classes and properties, such as Key or Required, that declare mapping rules inline
B.owned entity type — the chained method-based configuration written in OnModelCreating that overrides conventions and annotations with the highest precedence
C.owned entity type — the overridable method receiving a ModelBuilder where the shape of the model is configured programmatically
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.