GIAC
GSSP-NET · Question #429
GSSP-NET Question #429: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-NET to reveal the answer and full explanation for question #429. The question stem and answer options stay visible for context.
Question
You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create an ASP.NET Web application using .NET Framework 3.5. The application is a library application that catalogs Classes and books. The application contains a DataContext object named Classes and a related line of business object named Books. The Classes DataContext object is queried by using the following LINQ query: var query = from class in Classes where class.Books.All(b => b.Price <= 50) select class; You have to find out the result that will be returned from the query. What will be the result of the query?
Options
- AAll books that have a price greater than or equal to 50.
- BAll books that have a price less than or equal to 50.
- CAll Classes that have the price of the related book greater than or equal to 50.
- DAll Classes that have the price of the related book less than or equal to 50.
Unlock GSSP-NET to see the answer
You've previewed enough free GSSP-NET questions. Unlock GSSP-NET 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.