70-488 Premium Bundle

70-488 Premium Bundle

Developing Microsoft SharePoint Server 2013 Core Solutions Certification Exam

4.5 
(20805 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 21, 2024Last update

Microsoft 70-488 Free Practice Questions

Q1. - (Topic 5) 

A company uses SharePoint team sites for their projects, which last for a month. 

At the end of every month the project site must be archived and moved to a backup web application. The company plans to create a timer job. 

You need to write custom code that will move the site from the production web application to the archived web application. 

Which method of the timer job should you override? 

A. RunNow 

B. Execute 

C. Update 

D. Provision 

Answer:

Explanation: 

Execute Executes the job definition on the local machine and is intended to be used only by the timer service. 

Note: After you create the constructors, you must override the Execute method of the SPJobDefinition class and replace the code in that method with the code that your job requires. 

Incorrect: 

A: RunNow 

Schedules the job for immediate execution. 

C: SPJobDefinition.Update method 

Causes the job definition to save its state and propagate changes to all machines in the 

farm. 

D: Provision 

Makes the changes to the local server that are needed before the object can be used. 

Reference: Creating Timer Jobs in SharePoint 2010 that Target Specific Services 

Q2. DRAG DROP - (Topic 3) 

You need to add code at line UA09 to create the custom role. 

How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.) 

Answer:  

Q3. DRAG DROP - (Topic 4) 

You need to create a collaboration template. 

Which code segment should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 to complete the code? (To answer, drag the appropriate code segments to the correct targets in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.) 

Answer:  

Q4. HOTSPOT - (Topic 5) 

A company uses SharePoint for project organization and collaboration with contractors. Contractors can download each of the following SharePoint apps: 

The apps have the following requirements: 

. The purchase request app must approve all purchases without user authentication. 

. The contractor information app must display only information the current user is authorized to view. 

You need to configure authorization for the apps. 

Which authorization types should you use? To answer, select the appropriate authorization type in each list in the answer area. 

Answer:  

Q5. - (Topic 4) 

You implement the dependency changes based on the requirements for the Litware web artifacts feature. 

When you deploy the Litware.Intranet.Templates.wsp package, you receive an error message. 

You need to ensure that the package deploys successfully. 

What should you do? 

A. Set the scope of the Litware web artifacts feature to SPSite. 

B. Set the scope of the Litware web artifacts feature to SPFarm. 

C. Set the Is Hidden option of the Litware web artifacts feature to False. 

D. Set the Auto Activate in Central Admin parameter of the Litware web artifacts feature to True. 

Answer:

Explanation: 

Scenario: Litware.Intranet.Templates contains the LitwareWebArtifacts hidden feature which contains code required to run after the provisioning is completed. 

Q6. DRAG DROP - (Topic 5) 

A company uses SharePoint and Microsoft Dynamics CRM for collaboration and customer relationship management. The company uses Active Directory Domain Services (AD DS) for identity management. SharePoint and Microsoft Dynamics CRM are configured to use claims-based authentication. The company wants to authorize user access to SharePoint sites by using roles defined in Microsoft Dynamics CRM. 

You create a custom claims provider. The provider adds a claim to the claim token for each role a user has in Microsoft Dynamics CRM. The provider also allows a site administrator to find and select roles from Microsoft Dynamics CRM to authorize user access. The custom claims provider must be created as a class library project to meet the unit testing requirements of the company. The custom claims provider project is complete and ready to be packaged for deployment. 

You need to package and deploy the custom claims provider. 

What should you do? (To answer, drag the appropriate actions to the correct location or locations in the answer area. Each action may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.) 

Answer:  

Q7. DRAG DROP - (Topic 5) 

You troubleshoot the sandbox solutions that your team builds. 

You need to redeploy a sandbox solution. You also need to identify which process must be debugged. 

Where should you redeploy the solution, and which process should you debug? (To answer, drag the appropriate statements to the correct location or locations in the answer area. Each statement may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.) 

Answer:  

Q8. DRAG DROP - (Topic 5) 

You work on a SharePoint Enterprise Content Management (ECM) project. 

You develop the Litware Document Approval workflow that enables a group of people to review, approve, or reject documents and document changes. 

You need to assign the Litware Document Approval workflow to the Document content type. 

How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.) 

Answer:  

Q9. - (Topic 5) 

You are developing a site-provisioning engine for a company. You create a site request page that employees use to specify the site template, title, and URL for a site. The site request page stores site requests in a list named Site Requests that is at the root of the site collection. You configure an approval workflow for the list. 

Site creation must start at 3:00 AM each day. You must create sites in batches of no more than 10 sites. You must not create sites until they are approved. 

You need to create the site-provisioning engine. 

Which two actions would you perform? Each correct answer presents part of the solution. 

A. Create an ItemUpdated event receiver for the Site Requests list. Initiate site provisioning if the value of the ModerationInformation property is set to the value SPModerationStatusType.Approved. 

B. Create a new timer job that derives from SPWorkItemJobDefinition. Schedule the timer job to run at 3:00 AM. 

C. Create a new timer job that derives from SPJobDefinition. Schedule the timer job to run at 3:00 AM. 

D. Create an ItemAdded event receiver for the Site Requests list. Initiate site provisioning if the value of the ModerationInformation property is set to the value SPModerationStatusType.Approved. 

E. Create an ItemUpdated event receiver for the Site Requests list. Create a new work item if the value of the ModerationInformnation property is set to the value SPModerationStatusType.Approved. 

Answer: A,B 

Explanation: A: Site provivison only initiated if it is approved. 

B: A Work Item Job can be scheduled to run operations in SharePoint. A Work Item Timer Job is essentially a queue where you add list items that need to be processed. When the Work Item Timer Job runs, it pulls items from the queue and process the item. 

Incorrect: 

Not C: An SP Job would not be able to process items from a queue. 

Reference: All About Sharepoint Work Item Timer Jobs 

http://www.ericgregorich.com/blog/2014/1/25/using-work-item-timer-jobs-in-sharepoint 

Q10. - (Topic 1) 

You need to create a custom sign-in page to allow the users of the FranchiseMonitor app to authenticate against SharePoint and Margie's Travel API. 

What should you do? 

A. Create an app for SharePoint. Set the trust level to Sandbox solution. Create an application page that writes a cookie named FedAuth. Deploy the app and configure the Sign In Page URL in Central Administration Authentication Provider for the zone. 

B. Create an app for SharePoint. Set the trust level to Farm solution. Create an application page that writes a cookie named FedAuth. Deploy the app and configure the Sign In Page URL in Central Administration Authentication Provider for the zone. 

C. Create an app for SharePoint. Set the trust level to Farm solution. Create an application page that writes a cookie named ASPXAUTH. Deploy the app and configure the Sign In Page URL in Central Administration Authentication Provider for the zone. 

D. Create an app for SharePoint. Set the trust level to Sandbox solution. Create an application page that writes a cookie named ASPXAUTH. Deploy the app and configure the Sign In Page URL in Central Administration Authentication Provider for the zone. 

Answer:

Explanation: 

The new claims-based authentication in SharePoint 2010 does not use the ASPXAUTH 

cookie, instead it uses the FedAuth cookie. 

SharePoint 2013 tracks FedAuth cookies in the new distributed cache service using 

Windows Server AppFabric Caching. 

Scenario: The FranchiseMonitor app must use claims-based authentication, once 

launched, to authenticate the franchisee against an API provided by Margie's Travel. 

Q11. - (Topic 2) 

You receive an error when you deploy the app. 

You need to resolve the error. 

What should you do? 

A. Create a deployment package and upload the app to the app catalog in SharePoint. 

B. Enable side-loading of apps in the app manifest. 

C. Deploy the app to https://contoso-my.sharepoint.com. 

D. Enable side-loading of apps in the Visual Studio project properties. 

Answer:

Explanation: We should deploy the app to the Development site, that is https://contoso.sharepoint.com/tasks (see Existing Site Configuration in scenario). 

Note: 

* Loading Apps directly from Visual Studio only works if the destination is a Developer site. That form of distribution, called side loading, is only used when testing and debugging an App. To load an App in a regular site you need to add the .App package produced in Visual to the App Catalog site that is associated with your Web Application. From there you will be able to load the app using the Site Contents link in your site. 

* Issue: While we try creating a SharePoint 2013 App in a SharePoint hosted model and when we try to deploy the solution, we get an “Error occurred in deployment step ‘Install app for SharePoint’: Side loading of apps is not enabled on this site. 

Solution: 

1. That is, while creating a site collection/site where you want to deploy the app, create it using the “Developer Site” template under the Collaboration tab. 

2. Always the app should be published/deployed to the developer site (A site collection with the Developer Site Template). And from this developer site you can add the App to your SharePoint site 

Scenario: Pending Issues 

When you deploy the app from Visual Studio 2012, you receive the error: "Error occurred in de-ployment step 'Install app for SharePoint': Sideloading of apps is not enabled on this site." 

Reference: Side Loading of apps is not enabled on this site error while installing app in SharePoint 2013 

Q12. DRAG DROP - (Topic 1) 

Some franchisees want to launch the FranchiseMonitor app from a link named Launch Franchise Monitor that is displayed next to the name of the user who is currently logged in. Other franchisees do not want to have the link present. The link must be contained within the same out-of-the-box control, as shown in the screenshot below: 

You need to configure support for the Launch Franchise Monitor link. 

Which four actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.) 

Answer:  

Q13. DRAG DROP - (Topic 5) 

You create a new Enterprise Content Management (ECM) project. 

You add a content type to the Visual Studio Project by using the Content Type Designer in Visual Studio 2012. 

What will the designer-generated XML look like? (To answer, drag the appropriate XML elements to the correct location or locations in the answer area. Each XML element may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.) 

Answer:  

Q14. DRAG DROP - (Topic 5) 

You need to create workflows for your business processes by using the least amount of development effort. 

Which four actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.) 

Answer:  

Q15. - (Topic 1) 

You need to set the appropriate permissions for the franchise employees' customer list and customer subsite access. 

What should you do? 

A. Add franchise employees to the Members group in the CorporateSiteCollection site collection. Break inheritance at the franchisee subsite level. Create a custom role definition at the franchisee subsite level. Add franchise employees to the custom role. 

B. Create a custom role definition in the CorporateSiteCollection site collection with Limited Access to the Customers list. Add franchise employees to the custom role at the CorporateSiteCollection site collection. Break inheritance at the subsite level. Add franchise owners to the Owners group at the subsite level. 

C. Create a custom role definition in the CorporateSiteCollection site collection with Limited Access to the Customer list. Add franchise employees to the custom role. Allow full inheritance of the role definition and permissions at the site level. 

D. Add franchise employees to the Visitors group in the CorporateSiteCollection site collection. Break inheritance at the franchisee subsite level. Create a custom role definition at the subsite level with Full Control permissions. Add franchise employees to the custom role. 

Answer:

START 70-488 EXAM