Microsoft 70-573 Online Practice
Questions and Exam Preparation
70-573 Exam Details
Exam Code
:70-573
Exam Name
:TS: Office SharePoint Server, Application Development (available in 2010)
Certification
:Microsoft Certifications
Vendor
:Microsoft
Total Questions
:280 Q&As
Last Updated
:Feb 06, 2022
Microsoft 70-573 Online Questions &
Answers
Question 81:
You create a SharePoint site by using the Document Center site template. You need to ensure that all documents added to the site have a document ID. The document ID must include the date that the document was added to the site. What should you do?
A. Modify the DocIdRedir.aspx page. B. Modify the Onet.xml file of the site. C. Register a class that derives from DocumentId. D. Register a class that derives from DocumentIdProvider.
D. Register a class that derives from DocumentIdProvider.
MNEMONIC RULE: "provide Document ID for added documents" Represents the base abstract class for implementing a Document ID generator. DocumentIdProvider Class http://msdn.microsoft.com/enus/library/microsoft.office.documentmanagement.documentidprovider.aspx
Question 82:
You are creating a Business Connectivity Services (BCS) entity. You need to ensure that all data returned by the entity is available in search results. Which type of method instance should you implement?
A. Finder and GenericInvoker B. Finder and IDEnumerator C. SpecificFinder and GenericInvoker D. SpecificFinder and IDEnumerator
D. SpecificFinder and IDEnumerator
MNEMONIC RULE: "BCS data available = SpecifcFinder and IdEnumerator" A SpecificFinder returns exactly one external item. This stereotype is used to read an item, given its identifier. Implementing a SpecificFinder http://msdn.microsoft.com/en-us/library/ff464399.aspx An IdEnumerator method instance on the external system enables you to return the field values that representthe identity of Entity instances of a specific Entity. Implementing an IdEnumerator http://msdn.microsoft.com/en-us/library/ff464401.aspx
Question 83:
You need to convert a user control named Control.ascx to a SharePoint Web Part. The Web Part must be packaged as a user solution. What should you do?
A. Modify the SafeControls section of the web.config file. B. Copy the Control.ascx file to the ControlTemplates folder. C. Create a new Visual Web Part and use the existing MyControl.ascx file. D. Create a new Web Part and reuse the code from the MyControl.ascx file.
D. Create a new Web Part and reuse the code from the MyControl.ascx file.
MNEMONIC RULE: "Create a new Web Part"
Since you already have a user control, you don't need to create a Visual Web Part (by dragging-and-droppinguser controls from the Toolbox).
Question 84:
You plan to create a custom Web Part that displays items from a custom SharePoint list named Project.
You need to ensure that you can access the list by using strongly-typed objects in Microsoft Visual Studio 2010.
What should you do first?
A. Edit the web.config file. B. Run spmetal.exe. C. Run ecmangen.exe. D. Edit the Manifest.xml file.
B. Run spmetal.exe.
MNEMONIC RULE: "strongly-typed = spmetal.exe"
The LINQ to SharePoint provider is a new feature in SharePoint 2010 that allows you to use a strongly-typedentity model and the language integrated query (LINQ) query syntax to query list data. Essentially, LINQ toSharePoint hides the
complexity of developing CAML queries from developers, which can reduce developmenttime and make code more readable. The LINQ to SharePoint provider converts the LINQ expressions into CAML queries at run time.
Although you can manually develop your entity classes, in most cases, you will want to use the SPMetalcommand line tool.
You create a SharePoint solution. You deploy the SharePoint solution by using Microsoft Visual Studio 2010. You need to prevent the Feature that is contained in the solution from being automatically activated when you deploy the solution. What should you configure in Visual Studio 2010?
A. the active deployment configuration B. the build configuration C. the pre-deployment command line D. the startup item
A. the active deployment configuration
MNEMONIC RULE: "deploy the solution = active deployment configuration" How to: Edit a SharePoint Deployment Configuration http://msdn.microsoft.com/en-us/library/ee231587.aspx Walkthrough: Creating a Custom Deployment Step for SharePoint Projects http://msdn.microsoft.com/en-us/library/ee256698.aspx
Question 86:
You add a delegate control to the
section of a custom master page.
You reference a default script file by using the delegate control.
You need to ensure that the delegate control meets the following requirements:
Which property should you use?
A. Template_Controls B. Scope C. BindingContainer D. AllowMultipleControls
You are creating a Web Part. The Web Part will be used in a SharePoint subsite that has the URL http://www.contoso.com/hr.
You need to ensure that the Web Part activates a Feature in the subsite without causing a memory leak.
Which code segment should you use?
A. SPFeatureCollection featuresCollect = SPContext.Current.SiteFeatures; featuresCollect.Add(new Guid("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"), true); B. SPFeatureCollection featuresCollect = SPContext.Current.WebFeatures; featuresCollect.Add(new Guid("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"), true); C. SPSite web = new SPSite("http://www.contoso.com/hr"); SPFeatureCollection featureCollect = web.Features; featureCollect.Add(new Guid("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"), true); D. SPWeb web = new SPSite("http://www.contoso.com/hr").OpenWeb(); SPFeatureCollection featureCollect = web.Features; featureCollect.Add(new Guid("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"), true);
B. SPFeatureCollection featuresCollect = SPContext.Current.WebFeatures; featuresCollect.Add(new Guid("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"), true);
MNEMONIC RULE: "no memory leak = SPContext; subsite = WebFeatures" Gets the activated site features of the Microsoft SharePoint Foundation context. SPContext.WebFeatures Property http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spcontext.webfeatures.aspx
Question 88:
You have a custom theme named MyTheme . The theme is defined in a file named MyTheme.thmx .
You have a console application that contains the following code segment. (Line numbers are included for reference only.)
101 using ( SPSite sice = new SPSite ( "http://intranet" }}
02 {
03 SPWeb web - site.OpenWeb (); 01
05 }
You need to programmatically apply the theme to a SharePoint site.
Which code segment should you add to the console application?
A. ThmxTheme.SetThemeUrlForWeb(web, "/_catalogs/theme/MyTheme.thmx", False); B. web.AlternateCssUrl = "/_themes/MyTheme"; C. web.ApplyWebTemplate("MyTheme.thmx"); D. web.ThemedCssFolderUrl = "/_themes/MyTheme";
A. ThmxTheme.SetThemeUrlForWeb(web, "/_catalogs/theme/MyTheme.thmx", False);
You create a Microsoft .NET Framework console application that uses a Representational State Transfer (REST) API to query a custom list named Products.
The application contains the following code segment.
AdventureWorksDataContext codc = new AdventureWorksDataContext(new Uri("http://
You need to read all items in Products into an object.
Which method should you use?
A. code.Products.ToList B. code.Products.All C. code.Products.AsQueryable D. code.Products.ElementAt
A. code.Products.ToList
MNEMONIC RULE: "read all items ToList" Interacting with SharePoint 2010 lists using REST, ASP.NET and ADO.NET Data Services http://extendtheenterprise.com/2010/11/03/using-sharepoint-2010-rest-apis-in-asp-net/ Enumerable.ToList Method http://msdn.microsoft.com/en-us/library/bb342261.aspx
Question 90:
You create a class that inherits the SPPersistedObject class. The class has a field named Field1. You need to ensure that Field1 can be serialized and stored in the SharePoint configuration database. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two)
A. Add the default empty constructor. B. Mark Field1 with the [Persisted] attribute. C. Mark Field1 with the [Serializable] attribute. D. Set the value of the SPWeb.AllowUnsafeUpdate property.
A. Add the default empty constructor. B. Mark Field1 with the [Persisted] attribute.
MNEMONIC RULE: "[Persisted] + empty constructor" SPPersistedObject Class http://msdn.microsoft.com/enus/library/microsoft.sharepoint.administration.sppersistedobject.aspx The skinny on SPPersistedObject and the Hierarchical Object Store in SharePoint 2010 http://www.chaholl.com/archive/2011/01/30/the-skinny-on-sppersistedobject-andthe- hierarchical-object-storein.aspx
Nowadays, the certification exams become more and more important and required by more and more
enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare
for the exam in a short time with less efforts? How to get a ideal result and how to find the
most reliable resources? Here on Vcedump.com, you will find all the answers.
Vcedump.com provide not only Microsoft exam questions,
answers and explanations but also complete assistance on your exam preparation and certification
application. If you are confused on your 70-573 exam preparations
and Microsoft certification application, do not hesitate to visit our
Vcedump.com to find your solutions here.