Microsoft TS: Office SharePoint Server, Application Development (available in 2010) - 070-573 Exam Practice Test
You have a SharePoint site that uses a master page named Master1.master.
You create a custom user control named MySearch.ascx.
You need to change the default search box to MySearch.ascx.
What should you do?
You create a custom user control named MySearch.ascx.
You need to change the default search box to MySearch.ascx.
What should you do?
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You create a SharePoint solution by using Microsoft Visual Studio 2010. The SharePoint solution contains
a third-party assembly.
You need to deploy the third-party assembly to the Global Assembly Cache (GAC).
What should you use?
a third-party assembly.
You need to deploy the third-party assembly to the Global Assembly Cache (GAC).
What should you use?
Correct Answer: B
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
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?
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?
Correct Answer: D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You need to create a Web Part that adds a term set to the current SharePoint site collection's term store.
You write the following code segment. (Line numbers are included for reference only.)
01 System.Web.UI.WebControls.TextBox txtBoxTermSetToAdd = new
System.Web.UI.WebControls.TextBox();
02 TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
03 TermSet addedTerm = session.TermStores[0].Groups
["MyNewTermStore"].CreateTermSet(txtBoxTermSetToAdd.Text);
04
Which code segment should you add at line 04?
You write the following code segment. (Line numbers are included for reference only.)
01 System.Web.UI.WebControls.TextBox txtBoxTermSetToAdd = new
System.Web.UI.WebControls.TextBox();
02 TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
03 TermSet addedTerm = session.TermStores[0].Groups
["MyNewTermStore"].CreateTermSet(txtBoxTermSetToAdd.Text);
04
Which code segment should you add at line 04?
Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You have a document library named MyDocs. MyDocs has a column named Column1. Column1 is a required column.
You discover that many documents are checked out because users fail to enter a value for Column1.
You need to create a Web Part to delete the documents.
Which code segment should you include in the Web Part?
You discover that many documents are checked out because users fail to enter a value for Column1.
You need to create a Web Part to delete the documents.
Which code segment should you include in the Web Part?
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You create a custom page layout that has a field control named Field1.
You need to ensure that Field1 is only visible when users modify the contents of the page.
Which parent control should you use for Field1?
You need to ensure that Field1 is only visible when users modify the contents of the page.
Which parent control should you use for Field1?
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You use a third-party site definition to create SharePoint sites.
You need to add a Web Part to the home page of the site definition.
Which file should you modify?
You need to add a Web Part to the home page of the site definition.
Which file should you modify?
Correct Answer: D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You have a SharePoint site collection. The default master page for the site collection displays a navigation
bar on the left side of the page.
You create a custom content page.
You need to hide the navigation bar on only the custom content page.
What should you do?
bar on the left side of the page.
You create a custom content page.
You need to hide the navigation bar on only the custom content page.
What should you do?
Correct Answer: D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).