Q1. - (Topic 3)
Customers report that upon creation of the Payment Confirmation document, they do not receive a confirmation message.
You need to ensure that customers receive confirmation messages.
What should you do?
A. Ensure that the user has the correct permissions to start a workflow.
B. Ensure that the Payment Confirmation content type is deployed.
C. Ensure that the user is assigned to the Wholesale role.
D. Ensure that a workflow is associated with the document content type.
Answer: D
Explanation:
Scenario: Workflows associated with document content types must be initiated when documents are generated
When Payment Confirmation documents are generated, a workflow must send a notification to the customer by email.
Q2. HOTSPOT - (Topic 1)
You need to replace the markup at lines AM17 through line AM20 to set the minimum app permissions for the FranchiseMonitor app.
Which markup segments should you include in Target 1 and Target 2 to complete the markup? To answer, select the appropriate options from each drop-down list in the answer area.
Answer:
Q3. HOTSPOT - (Topic 4)
You need to ensure that users can sort files by using the Projects field.
From the List Settings page, which option should you select? (To answer, select the appropriate option in the answer area.)
Answer:
Q4. HOTSPOT - (Topic 1)
You need to design the CloudManager app to meet the requirements.
What should you do? (To answer, select the appropriate option from each drop-down list in the answer area.)
Answer:
Q5. HOTSPOT - (Topic 3)
You need to add code at line UA11 to create the custom role.
You have the following code:
Which code segments should you include in Target 1, Target 2 and Target 3 to complete the code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
Answer:
Q6. - (Topic 1)
You need to meet the requirements for data storage for the CourierMobile app and the CloudMananger app.
Which technologies should you use? (Each correct answer presents part of the solution. Choose all that apply.)
A. Windows Azure SQL Database
B. SharePoint content database
C. Secure Store
D. SQL Server Express LocalDB
E. SharePoint list
Answer: A,D
Explanation: A: SQL Azure in the cloud.
D: LocalDB is a lightweight version of Express that has the same programmability features, but it runs in user mode and has a fast, zero-configuration installation and a short list of prerequisites.
From scenario:
* CourierMobile App
The CourierMobile app must be able to capture more than 30 million data points of location data daily as they occur and upload the location data to the cloud when connected to the Internet.
* Cloudmanager App
/ The CloudManager app must elastically scale to capture courier location data as the number of bicycle couriers increases or decreases.
/ The CloudManager app must process bicycle courier location data from a data store capable of storing more than 30 million items.
Q7. DRAG DROP - (Topic 5)
You have an app named TaskManager published at http://sharepoint.contoso.com/apps.
You need to remove the app and ensure that users will no longer be able to use the app by using Windows PowerShell cmdlets.
What should you do? (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:
Q8. - (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
Q9. 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:
Q10. 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.
You need to identify what the designer-generated XML will look like?
You have the following code:
Which XML elements should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 to complete the code? (To answer, drag the appropriate XML elements to the correct targets 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: