PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

You need to ensure that the following requirements are met: Customer data is retrieved only once

You are designing an application by using Windows Presentation Foundation (WPF) and
Microsoft .NET Framework 4. The application retrieves customer data from an enterprise
resource planning (ERP) system. You need to ensure that the following requirements are
met: Customer data is retrieved only once. Customer data is available on multiple forms
within the application. Forms can implement Two-Way binding to the customer data. What
should you do?

Which approach should you recommend?

You are designing an ASP.NET Web application. The Web application uses a Menu control
to display either a menu of public and private pages to authorized users or a menu of only
public pages to visitors. You need to ensure that the menu options and URLs of the private
pages are not available to unauthorized users. Which approach should you recommend?

Which code segment should you add at line 04?

You need to create a Web Part that displays all content created by a specific user. You write the
following code segment. (Line numbers are included for reference only.) 01 privace void
keywordQueryExecute (string searchAuthor ) 02 { 03 KeywordQuery kRequest = new
KeywordQuery ( ServerContexc.Current ) ; 04 05 kPequest.QueryText = strQuery ; 06
ResultTableCollection resultTbls = kRequest.Execute () ; 07 } Which code segment should you
add at line 04?

How should you design the validation?

You are designing an application by using Windows Presentation Foundation (WPF),
Microsoft .NET Framework 4, and Microsoft SQL Server 2008. The application will contain
several forms that include custom data validators. You need to ensure that data is validated
before the database updates occur. You also need to ensure that the validation logic can be
reused. How should you design the validation?