PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which code segment would you put a line 3?

You have a custom windows form application. You plan to create a feature that will perform a key word search of a SharePoint site. You create a feature that contains the following code:

01: Dim keyWordString as String = “Microsoft”
02: dim queryXMLString as String = (“<QueryPacket xmlns =
‘urn:Microsoft.Certs.Query’>”&
03: …
04: QuerySearch
05: Dim queryService as New QueryWebServiceProxy.QueryService()
06: queryService.Credentials = System.Net.CredentialsClass.DefaultCredentials
07: Dim queryResults as System.Data.DataSet =
queryService.QueryEx(queryXMLString)
08 ResultsGridView.DataSource = queryResults.Tables(0)

You need to ensure that the search returns valid results.

Which code segment would you put a line 3?

Which two aspects should you consider modifying?

You create Microsoft Windows-based applications. You are creating a sales management application for your company. The application will be used by 250 users on the companys
network. In the future, the company will be expanding the user base to include at least 1,000 more users. The application will be stored locally on every computer. The application uses a set of assemblies that are installed in the global assembly cache for business rules. The application retrieves data from a Microsoft SQL Server 2005 database by using a set of methods from a Web service. The SQL Server 2005 database is hosted on a local server. The Web service is maintained at a local IIS 6.0 Server. You need to evaluate which aspects of the physical design can be modified to accommodate more users. Which two aspects should you consider modifying? (Each answer presents part of the solution. Choose two.)

What should you recommend?

You create Web-based client applications. You deploy an application on the company extranet. The sales team requires notification when an order total exceeds the companys approval levels.

The application requires you to send an e-mail to the sales manager to receive approval for any order over $100,000. You must meet the following constraints to achieve this requirement:

Modifications can be done only to the Web.config file
Limited programmer resources
System can be configured as needed at multiple sites

The design team plans to use the SimpleMailWebEventProvider class of the health monitoring APIs to send the e-mail. You need to evaluate whether the design meets the requirement. What should you recommend?

What should you do?

You are managing Microsoft MapPoint Web Service (MWS) data in an application by using the Customer Services site. The application uses the DS_ONE data source stored on the Customer Services site. The application displays several records in the wrong locations on the map. You need to display these records correctly on the map. What should you do?

What should you conclude?

You create Microsoft Windows-based applications. You are creating a sales management application. This application will permit sales personnel to search for customer information in a Microsoft SQL Server 2005 database. All communication with the database server is done by using an SSL channel.

When a user needs to search for customer information based on a name, the following sequence of actions occurs:

1.The user types a name into a text box.
2.The user clicks a button to initiate the search.
3.The component validates that the value the user types is less than 200 characters. 4.The value that is typed is passed as a string to a component. 5.The component concatenates the typed value to a Select statement in the Where clause of the component.
6.The statement is executed to generate a DataTable object. 7.The DataTable object is used to display the results to the user. You need to identify the risk factor in this application design. What should you conclude?