PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which approach should you choose?

You create Web-based client applications. You are creating an application to display the local weather details at the bottom of the home page. You include a third-party software component for this purpose. On testing, you find that the home page fails to load and throws a cryptic error message. The error message displays line numbers that represent the lines that call the third-party software component. You need to ensure that the home page loads even if the local weather details fail to display. You also need to ensure that the home page displays a message if the local weather report fails to display. You need to implement the solution in the shortest possible time. Which approach should you choose?

Which code segment should you use?

You are creating a browser-based Web application by using Virtual Earth 6.0 map control. A Web page of the application has a map and a list of locations.

When a user selects a location from the list, the application must meet the following requirements:

A default view of the selected location is loaded.
The selected location is centered.
The selected location appears in the three-dimensional mode, at an oblique pitch, and heads due north.

You need to program Virtual Earth map control to ensure that the requirements are met.

Which code segment should you use?

What should you do?

You create a Microsoft Office SharePoint Server 2007 Search Center site. The site has a custom tab that restricts users to a Business Data Connector for a Product tracking system.

You need to restrict the data displayed to items from the custom columns named ProductName, ProductNumber, and ProductColor.

What should you do?

What should you do?

You create a new site definition from an existing site definition. You copy the directory of the existing site definition to a new directory in the correct folder. You use a different name for the new directory.

You need to ensure that the new site definition is available on a Microsoft Windows SharePoint Services site.

What should you do?

Which action should you perform to achieve this goal?

You create Microsoft Windows-based applications. You are designing a reusable composite control for a customer service application. The composite control contains three TextBox controls. The first TextBox control is used for the customers account number. The second TextBox control is used for the customers phone number. The third TextBox control is used to hold the last four digits of the customers social security number. The composite control is used to retrieve a customers insurance data. You need to ensure that data is entered in the valid format for all the three TextBox controls. Which action should you perform to achieve this goal?

What should you do?

You create Web-based client applications. You create a public function for your application that must connect to a data source. The public function must also perform a series of updates to the data. Some of the operations will result in exceptions if there are errors.

Your exception handling mechanism must meet the following requirements:

Callers of the function must be able to ascertain whether the function succeeded or failed. If the function failed, callers of the function must be able to find where and why it failed. If there is any error, the function must immediately stop processing.

You need to identify the best exception handling mechanism. What should you do?

Which method of the UserProfileService object should you use?

Your company uses a Microsoft Office SharePoint Server 2007 site that has user profiles enabled. Your company also uses a Web-based human resources (HR) application that runs on a different server. The HR department wants to display the user profile data from the SharePoint site in the Web-based application.

You need to retrieve the user profile information from within the Web-based application.

Which method of the UserProfileService object should you use?