Online Access Free 70-573 Practice Test
| Exam Code: | 70-573 |
| Exam Name: | TS: Office SharePoint Server, Application Development (available in 2010) |
| Certification Provider: | Microsoft |
| Free Question Number: | 150 |
| Posted: | Oct 16, 2026 |
You need to create a Web Part that displays all of the content created by a specific user. You write the following code segment. (Line numbers are included for reference only.)
01 private void keywordQueryExecute(string searchAuthor)
02 {
03 KeywordQuery kRequest = new KeywordQuery(ServerContext.Current);
04
05 kRequest.QueryText = strQuery;
06 ResultTableCollection resultTbls = kRequest.Execute();
07 }
Which code segment should you add at line 04?
You plan to create one provider Web Part and two consumer Web Parts.
You need to ensure that the consumer Web Parts can receive data from the provider Web Part.
You create an interface that contains the following code segment.
public interface Interface1{
string Parameter1 { get; set; }}
What should you do next?
You have a SharePoint list named Assets that contains 1,000,000 items. The list contains a column named Urgent. Approximately 100 items have a value of True in their Urgent column.
You use the following line of code to retrieve the Assets list.
SPList assetsList = currentWeb.Lists["assets"];
You need to retrieve all of the items in the list that have a value of True in their Urgent column. You must retrieve the items in the minimum amount of time.
What should you do?
You are creating two Web Parts named WPMaster and WPDetails.
You need to ensure that when an item is selected from WPMaster, the details of the item are displayed in
WPDetails.
What should you implement in WPMaster?