LyraLearn AI Learning Platform
Exams
← Back to the lesson
Module 5 Β· Quiz

Performance and Troubleshooting

1. What is the first step to diagnosing slow performance with Entity Framework (EF)?
2. Which anti-pattern involves calling '.ToList()' before applying a filter in a query?
3. What is a common remedy for the N+1 query problem in EF?
4. In which scenario is it advisable to use raw SQL or stored procedures instead of EF?