70-488 Premium Bundle

70-488 Premium Bundle

Developing Microsoft SharePoint Server 2013 Core Solutions Certification Exam

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

Microsoft 70-488 Free Practice Questions

Q1. - (Topic 3) 

After deploying a solution, a code-based hotfix becomes available. You need to deploy the hotfix. 

What should you do? (Each correct answer presents part of the solution. Choose all that apply.) 

A. Use assembly binding redirection in the web application configuration file. 

B. Increment the assembly file version of the assembly. 

C. Increment the product version of the assembly. 

D. Increment the assembly version of the assembly. 

E. Use assembly binding redirection in the assembly policy file. 

Answer: A,C 

Explanation: A:Assembly versions are everywhere in SharePoint – web.config files, web 

part definitions, workflow definitions, event receiver bindings – the list goes on. In each 

case, the version number is absolutely required so that SharePoint can load the code to 

run at that time. If you update an assembly’s version, you have two choices to ensure your 

code can still be loaded: 

/ Find and update every reference to the previous assembly version. 

/ Use a binding redirect in the relevant .config file (e.g. web.config) to point to the new 

version of the assembly. 

C: Assembly Version : This is the version number used by framework during build and at runtime to locate, link and load the assemblies. When you add reference to any assembly in your project, it is this version number which gets embedded. At runtime, CLR looks for assembly with this version number to load. But remember this version is used along with name, public key token and culture information only if the assemblies are strong-named signed. If assemblies are not strong-named signed, only file names are used for loading. 

Incorrect: 

not B: Assembly File Version : This is the version number given to file as in file system. It is 

displayed by Windows Explorer. It’s never used by .NET framework or runtime for 

referencing. 

From scenario: 

* solution artifacts must adhere to industry best practices. 

* Code based hot fixes must be deployed directly to the Global Assembly Cache on all SharePoint servers. 

* Only one version of an assembly must be available at runtime. 

Q2. DRAG DROP - (Topic 5) 

You create an Enterprise Content Management (ECM) project. You write .NET client-side object model (CSOM) code to create a navigation term set in an existing term store to use in a taxonomy-based navigation. 

You need to complete the code to get a reference to the term store. 

How should you complete the relevant code? (To answer, drag the appropriate code segment 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:  

Q3. DRAG DROP - (Topic 5) 

You administer the SharePoint environment for a company. You create a SharePoint application to manage budgets and expenses. The application requires access to all site collections and resources. 

You need to package and publish the budget and expenses app. 

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:  

Q4. - (Topic 5) 

You create a cloud-hosted SharePoint app. 

You must make the app available in the SharePoint Store for customers to install on their host webs. 

You need to keep the style and navigation of the app the same as the host web of the app after it is installed by any customer. 

What should you do? 

A. Use an app template and an app.master master file for branding. 

B. Add a reference to SP.UI.Controls.js on the host web. Pass the AppUrl parameter to the host web. Apply branding to the host web. 

C. Copy the CSS file from the app to the host web. Run the Chrome control to convert the CSS file to the host web format. Apply the styles contained in the CSS file to the host web. 

D. Add a reference to the SP.UI.Controls.js file located in the new /_layouts/15 directory. Pass the HostUrl parameter to the start page of the app. Use the Chrome control in the HTML page in a declarative manner. 

Answer:

Explanation: Microsoft allows developers to import a very basic version of the SharePoint 2013 chrome into their apps without having to manually create matching HTML controls. The functionality for this can be found in the SP.UI.Controls.js file located in the new /_layouts/15 directory. To use the chrome control, first add a reference to SP.UI.Controls.js (make sure you've already loaded the requisite JQuery files and other dependencies), then add an empty <div> to your page markup at or near the top of the page. 

Reference: Using the Chrome Control in SharePoint 2013 Apps 

Q5. - (Topic 5) 

The Contoso SharePoint on-premise intranet portal stores content in 50 site collections. Contoso wants to display all content tagged with a metadata term on the main page of the portal. 

You need to display all documents with the metadata term without using any custom code. 

Which technology should you use? 

A. SPQuery with Site Collection set to the portal's main page site collection 

B. Content Query Web Part (CQWP) 

C. Content Search Web Part (CSWP) 

D. SPSiteDataQuery 

Answer:

Explanation: CSWP can be configured to “see” items anywhere in SharePoint. 

Incorrect: 

Not B, not D: CQWP and related SPSiteDataQuery can only search within the current site 

collection. 

The Content Query Web Part has the following limitations: 

/You can only aggregate data within a single site collection. 

/You can only aggregate list information. 

Reference: Using the Content Search web part (and understanding SP2013 search) 

Q6. - (Topic 5) 

A user deploys a sandbox solution. 

The user cannot activate the solution. 

You need to ensure that the user can activate the solution. 

What should you do? (Each correct answer presents a complete solution. Choose all that 

apply.) 

A. Grant permission to the user to execute the solution. 

B. Grant permission to the user to activate the solution. 

C. Start the Microsoft SharePoint Foundation Sandboxed Code Service. 

D. Start the PerformancePoint Services. 

Answer: B,C 

Explanation: By default, sandboxed solutions are disabled. Enable sandboxed solutions on every application server on which you want to run sandboxed solutions. 

Note: 

To enable sandboxed solutions by using Central Administration . Verify that you have the following administrative credentials: . On the home page of the Central Administration Web site, in the System Settings section, click Manage services on server. . On the Services on Server page, in the Server box, select the server on which you want to enable sandboxed solutions. . In the Microsoft SharePoint Foundation Sandboxed Code Service row, in the Action column, clickStart. . Repeat steps 3 and 4 for each server on which you want to enable sandboxed solutions. 

Reference: Enable sandboxed solutions on the farm (SharePoint Server 2010) 

Q7. DRAG DROP - (Topic 2) 

You need add to code at line IL22 to implement the task list design. 

You have the following code: 

Which code segment should you include in Target 1, Target 2 and Target 3 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:  

Q8. - (Topic 5) 

Adventure Works uses a SharePoint publishing site for an external website at www.adventureworks.com. The user interface is implemented by using HTML5, CSS 3, and JavaScript. 

You need to ensure that the site designers have an efficient way to create and modify the JavaScript files. 

What should you do? 

A. Open the site in SharePoint Designer. From All Files, double-click the _cts folder and then select the MasterPages folder. Create a folder. Modify the JavaScript files by using Microsoft Notepad. 

B. Copy all the JavaScript files to a document library and modify them directly by using Microsoft Notepad. 

C. Open the site in SharePoint Designer. From Master Pages select the JavaScript files to modify them. 

D. Set up a mapped network drive in Design Manager. Open the mapped drive and create a folder. Modify the JavaScript files by using Microsoft Notepad. 

Answer:

Explanation: Master Page - Use SharePoint Designer to add code to a master page when you want to code to be available on every page in a site. You can add the JavaScript inside of <SCRIPT> tags or link to a file that contains the JavaScript. Typically add your CSS just before the </HEAD> section and your JavaScript just before the </BODY> tag. 

Reference: Adding JavaScript and CSS to SharePoint 

Q9. DRAG DROP - (Topic 4) 

You need to apply the Design Package to all of the required sites. 

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:  

Q10. DRAG DROP - (Topic 5) 

You create a solution to access data contained in SharePoint by using a client-side object model (CSOM). 

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:  

Q11. - (Topic 4) 

You create a document reporting Web Part for the Marketing team auditors. You need to configure throttling for the Web Part. 

Which code segment should you insert at line MA08? 

A. spQuery.QueryThrottleMode=SPQueryThrottleOption.Strict; 

B. spQuery.QueryThrottleMode=SPQueryThrottleOption.Override; 

C. spQuery.QueryThrottleMode=SPQueryThrottleOption.Disable; 

D. spQuery.QueryThrottleMode=SPQueryThrottleOption.Default; 

Answer:

Explanation: The SPQueryThrottleOption enumeration has three values: Default, Override, and Strict. If you use the default value, the standard list view threshold applies to all users except local server administrators, who are not bound by either threshold. If you set the query throttle mode to Override, users who have the required permissions in the Web application user policy can query at the higher "auditors and administrators" threshold. Local server administrators remain unbound by either threshold. Finally, if you set the query throttle mode to Strict, this closes down the local server administrator loophole and the standard list view threshold applies to all users. 

Scenario: Auditors have access to the page that provides statistics on Marketing documents. This page con-tains a report on document distribution over projects and information about the most active doc-uments, the top inactive documents, and the most active users. Processing the queries can result in working with huge result sets. You must ensure that the information on this page is always available and that the queries are not throttled. The relevant code segment is available in the code sections area (MarketingAudit.ascx.es). 

Reference: Retrieve data more than the threshold limit 

Q12. - (Topic 5) 

Adventure Works uses a SharePoint publishing site to host their public-facing website at http://www.adventureworks.com. The website gives external users the ability to register and sign in to the site to buy Adventure Works products. 

You notice that publicly registered users see the SharePoint ribbon. 

You need to ensure that the SharePoint ribbon is available only to content authors and administrators. 

What should you do? 

A. Open the current site master page in SharePoint Designer, place the SharePoint:SPSecurityTrimmedControl control around the div tag with the s4-ribbonrow ID. Set the PermissionsString to ManageSubWeb. 

B. Open the current site master page in SharePoint Designer, find a div tag with the s4-ribbonrow ID, and then remove all of the contents of the div. 

C. Open the current site master page in SharePoint Designer and then place the SharePoint:SPSecurityTrimmedControl control around the div tag with the s4-ribbonrow ID. Set the PermissionsString to AddAndCustomizePages. 

D. In the SharePoint project, add an Empty Element and then use the <HideCustomAction> tag to hide the ribbon. 

Answer:

Explanation: If you designed a custom master page for your SharePoint 2010 and the 

ribbon is in your way, SharePoint has a built-in control that lets you hide it from anonymous 

users in few easy steps. Open and check-out your master page, find where your ribbon 

control starts or look for <WebPartPages:SPWebPartManager id=”m” runat=”Server”/>. 

Place this control below <Sharepoint:SPSecurityTrimmedControl runat=”server” 

Permissions=”AddAndCustomizePages”>. Find where your ribbon control ends or look for 

<div id=s4-workspace> and place the closing control above it 

</SharePoint:SPSecurityTrimmedControl>. Save, check-in the master page and publish it 

to see the changes. From now on, only logged in users with the right permissions will be 

able to see the ribbon on the top. 

Incorrect: 

Not A: Permission should be set to AddAndCustomizePages not ManageSubWeb. 

Reference: SharePoint, Hide the Ribbon from Anonymous Users 

Q13. - (Topic 3) 

You must upgrade the existing version of the application to a newer version. 

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

Choose all that apply.) 

A. Add the following code segment at line CX11: 

<VersionRangeBeginVersion="1.0" EndVersion="2.e"> 

B. Add the following code segment at CX13: 

<VersionRange BeginVersion-"1.0.0.0"EndVersion-"2.0.0.0"> 

C. Use Microsoft Visual Studio to change the feature version to 1.5.0.0. 

D. Use Microsoft Visual Studio to change the feature version to 1.5. 

E. Add the following code segment at line CX11: 

<VersionRange BeginVersion-"1.0.0.0"EndVersion-"2.0.0.0"> 

Answer: B,C 

Explanation: B: VersionRange Element specifies a range of previous versions of the 

Feature to which the upgrade actions should apply. 

/ BeginVersion: Specifies the earliest version number to which the child upgrade elements 

will apply, in the format n.n.n.n, where each n can be up to four digits. 

/ EndVersion: Specifies the earliest version number to which the upgrade will not apply. 

The format is n.n.n.n, where each n can be up to four digits. 

C: Feature versions in Microsoft SharePoint Foundation are used to trigger Feature upgrade. If you update your Feature version but do not specify any Feature upgrade logic in the Feature.xml file, when the Feature upgrade runs, it simply updates the version number of your Feature. However, if you specify Feature upgrade logic, the upgrade code is executed and the version number is automatically updated as well. 

Scenario: New Features The first version (1.0.0.0) of the feature must support the addition of newer functionality when the feature is upgraded to version 1.5.0.0. 

Reference: VersionRange Element (Feature); Best Practices for Using Feature Versions 

Q14. - (Topic 5) 

Adventure Works uses a SharePoint publishing site to host their public-facing website at http://www.adventureworks.com. The website gives external users the ability to register and sign in to the site to buy Adventure Works products. 

You notice that publicly registered users see the SharePoint ribbon. 

You need to ensure that the SharePoint ribbon is available only to content authors and administrators. 

What should you do? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: The property CommandUIVisible shows or hides the ribbon section at the top 

of the application page. 

Incorrect: 

Not B: Permission should be set to AddAndCustomizePages not ManageSubWeb. 

Reference: SharePoint, Hide the Ribbon from Anonymous Users 

http://www.topsharepoint.com/hide-the-ribbon-from-anonymous-users 

Q15. - (Topic 5) 

You prepare an on-premise farm to support the creation of SharePoint apps. You need to create an instance of a service application before building apps. Which service application should you create? 

A. Secure Store service 

B. App Management service 

C. Machine Translation service 

D. SharePoint-hosted service 

Answer:

Explanation: 

SharePoint-hosted apps Start with the simplest option: SharePoint-hosted apps, or apps where all components are hosted on either an on-premises or Office 365 SharePoint farm. SharePoint-hosted apps are installed on a SharePoint 2013 website, called the host web. They have their resources hosted on an isolated subsite of a host web, called the app web. 

Incorrect: Not A: Secure Store Service is a shared service that provides storage and mapping of credentials such as account names and passwords. It enables you to securely store data that provides credentials required for connecting to external systems and associating those credentials to a specific identity or group of identities. Not B: The App Management Service is responsible for storing and providing information concerning SP App licenses and permissions All licenses for apps downloaded from Marketplace will be stored in Apps service application The App Management Service is accessed each time app is requested or used in SharePoint to verify validity of the request Not C: Machine Translation Service is a new service application in SharePoint 2013 that provides automatic machine translation of files and sites. 

Reference: Choose patterns for developing and hosting your app for SharePoint 

START 70-488 EXAM