nerdexam
Microsoft

70-516 · Question #213

70-516 Question #213: Real Exam Question with Answer & Explanation

Sign in or unlock 70-516 to reveal the answer and full explanation for question #213. The question stem and answer options stay visible for context.

Question

A performance issue exists in the application. The following code segment is causing a performance bottleneck: var colors = context.Parts.GetColors(); You need to improve application performance by reducing the number of database calls. Which code segment should you use?

Options

  • Avar colors = context.Parts.OfType<Product>().
  • Bvar colors = context.Parts.OfType<Product>().
  • Cvar colors = context.Parts.OfType<Product>().
  • Dvar colors = context.Parts.OfType<Product>().

Unlock 70-516 to see the answer

You've previewed enough free 70-516 questions. Unlock 70-516 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-516 Practice