Dont waste any moment to research other Exambible. Each of our Microsoft Microsoft exam braindumps are free of charge for you. Microsoft certification exam questions and also answers are nearly all reliable, accurate and logical training materials, that promise you a substantial score to pass the actual Microsoft exam. Take activities right today, and you will become at your career peak very shortly with a Microsoft Microsoft certification.
Q81. - (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: C
Explanation:
Scenario: Litware.Intranet.Templates contains the LitwareWebArtifacts hidden feature which contains code required to run after the provisioning is completed.
Q82. - (Topic 3)
You need to set the appropriate permission levels. A variable named customRole references Wholesale.
Which code segment should you add at line UA11?
A. customRole.BasePermissions = SPBasePermissions.ViewPages;
B. customRole.BasePermissions = _permissions | SPBasePermissions.ViewFormPages;
C. customRole.BasePermissions = SPBasePermissions.EmptyMask | SPBasePermissions.ViewPages;
D. customRole.BasePermissions = _permissions | SPBasePermissions.ViewPages;
Answer: D
Explanation:
* ViewPages, View pages in a Web site.
* Scenario: A custom role named Wholesale must be created. Wholesale customers must be assigned to this role in order to view the promotions page.
Incorrect:
Not A, not C: The previous line, UA10, is: _permissions = this.GetExistingPermissions();
We should add this permission and the ViewPages permission.
Not B: ViewFormPagesView forms, views, and application pages, and enumerate lists.
Reference: SPBasePermissions enumeration
https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx
Q83. - (Topic 5)
A company uses SharePoint for internal collaboration. SharePoint is deployed on a server farm with a single front-end server, a single application server, and a dedicated database server.
You review existing Web Parts that read from and write to SharePoint lists. You find the following code in one of the utility classes and notice memory leaks in the method.
You need to ensure that there are no memory leaks in the method.
What should you do?
A. Add a finally statement and include site.Dispose ().
B. Add site.Dispose() to the catch statement.
C. Add a finally statement and include siteCollection.Dispose ();
D. Add siteCollection.Dispose() to the catch statement.
Answer: C
Explanation: Need to manually dispose of the siteCollection instance. This can be done through a finally statement.
Note:
* Try and finally blocks or a using statement would be required to avoid potential leaks
when you create a disposable object within a foreach block, as shown in the following code
example.
SPWebApplication webApp = siteCollectionOuter.WebApplication;
SPSiteCollection siteCollections = webApp.Sites;
SPSite siteCollectionInner = null;
foreach (siteCollectionInner in siteCollections)
{
try //Should be first statement after foreach.
{
Console.WriteLine(siteCollectionInner.Url);
//Exception occurs here.
}
finally
{
if(siteCollectionInner != null)
siteCollectionInner.Dispose();
}
}
* Why Dispose? Several of the Windows SharePoint Services objects, primarily the SPSite class and SPWeb class objects, are created as managed objects. However, these objects use unmanaged code and memory to perform the majority of their work. The managed part of the object is much smaller than the unmanaged part. Because the smaller managed part does not put memory pressure on the garbage collector, the garbage collector does not release the object from memory in a timely manner. The object's use of a large amount of unmanaged memory can cause some of the unusual behaviors described earlier. Calling applications that work with IDisposable objects in Windows SharePoint Services must dispose of the objects when the applications finish using them. You should not rely on the garbage collector to release them from memory automatically.
Reference: Best Practices: Using Disposable Windows SharePoint Services Objects
Q84. - (Topic 4)
You need to add the search box to the publishing site.
What should you do?
A. Generate a code snippet and paste it into the HTML file.
B. Edit the default.master master page and then add the search box control.
C. Add the Search Web Part to the Welcome page.
D. Edit the page layout.
Answer: A
Explanation:
Scenario: A search box must be available on all publishing sites.
The publishing site design is delivered as a set of HTML files (litwarepublishing.html), CSS
(Litwarepublishing.css), and image files from the marketing company.
Q85. HOTSPOT - (Topic 5)
A company's IT department implements a Help Desk Ticketing system that involves workflow development by using SharePoint Designer and InfoPath. The Help Desk Ticket workflow involves multiple steps and tasks that have serial approvals of multiple users and groups with custom task email messages.
You need to manage task approvals.
Which activity should you use? (To answer, select the appropriate action from the list of actions in the answer area.)
Answer:
Q86. - (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
Q87. HOTSPOT - (Topic 4)
You create a document reporting Web Part for Marketing auditors.
You need to configure throttling for the Web Part. You insert the following code in line MA08
spQuery.QuerythrottleMode = Target 1
Which code segment should you include in Target1 to complete the code? (To answer, select the appropriate option from the drop-down list in the answer area.)
Answer:
Q88. - (Topic 3)
You need to automate the backup of a site collection.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Back up to a network folder.
B. Set the LockStatus of the site collection to Adding content prevented
C. Back up to a local folder and then move the backup to a network folder.
D. Use Central Administration to perform the backup.
E. Use Windows PowerShell to perform the backup.
Answer: C,E
Explanation: C: For better performance, Microsoft recommends that you back up to the
local computer and then move the backup files to a network folder.
E (not D):
Scenario: Automation: Windows PowerShell must be used to automate all operations
wherever possible.
Scenario: Backup and Recovery
* In the event of hardware failure, the SharePoint environment must be restored to the most recent date.
* The backup process must not degrade system performance.
* Automation: Windows PowerShell must be used to automate all operations wherever possible.
Reference: Back up site collections in SharePoint 2013
Q89. - (Topic 1)
A franchisee deletes several sites from the franchise's site collection. The franchisee site collection administrator must recover the sites.
You need to instruct the franchisee site collection administrator on how to access the page to recover the sites.
What should the site collection administrator do to get to the appropriate page?
A. Select General Settings for the Web Application in Central Administration and change the second stage Recycle Bin settings to 100 percent.
B. Select General Settings for the Web Application in Central Administration and change the first stage Recycle Bin settings to 0 days.
C. Select the Recycle Bin on the Site Settings page. Choose the appropriate sites and select Restore Selection.
D. Select the Recycle Bin in the Quick Launch page. Choose the appropriate sites and select Restore Selection.
Answer: D
Explanation: To restore a deleted site or workspace directly from the Site Collection Recycle Bin:
1. Click Recycle Bin on the Quick Launch.
2. On the Site Name Recycle Bin page, above the list of deleted objects, click the Site Collection Recycle Binlink.
3. On the Site Collection Administration Recycle Bin page, under Select a View, make sure that Deleted from end user Recycle Bin is selected.
4. Locate the site or workspace that you want to restore.
5. Select the check box next to the site or workspace that you want to restore, and then click Restore Selection.
Incorrect:
Not A, not B: The sites have been deleted. They need to be restored. A and B are wrong
because modifying the Recycle Bin settings after the sites are deleted will have no effect
on the deleted sites.
Reference: Restore a deleted object from a SharePoint Recycle Bin
Q90. - (Topic 5)
You plan to create a workflow design by using Microsoft Visio 2013 and then import the design into SharePoint Designer 2013.
You need to ensure that you have repetition capability.
Which shape should you use?
A. Stage
B. Assign a Task
C. Step
D. Loop
Answer: D
Explanation: Loop shapes Loops are a series of connected shapes that will execute as a loop, returning from the last shape in the series to the first, until a condition is satisfied.
Note: Workflows in SharePoint Designer 2013 now include the notions of stages, loops, and steps. The SharePoint 2013 Workflow template that is included in Visio 2013 also uses stages, loops, and steps as logical building blocks for creating a workflow
Reference: Workflow development in SharePoint Designer 2013 and Visio 2013