Q1. DRAG DROP
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:
Q2. You need to ensure that the data synchronization does not affect the end user experience on the intranet.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A,C
Q3. DRAG DROP
You deploy a solution to a SharePoint server.
You need to implement a method to programmatically access the health score of the SharePoint Server.
Which three code segments should you use in sequence? (To answer, move the appropriate segments from the list of segments to the answer area and arrange them in the correct order.)
Answer:
Q4. HOTSPOT
You develop a SharePoint-hosted app that is used by internal users to read and write data. The app has the following requirements:
✑ The app must be able to find and display the products that are purchased most often by customers.
✑ The app must be able to read product information from a custom SQL Server
database by using an external list.
✑ The app must be able to read from and write to the user profile.
✑ The app must be able to make changes to lists by using the minimum permissions necessary.
✑ The app must be able to read enterprise keywords.
You need to configure permissions for the app.
Which scopes and permissions should you use? (To answer, select the appropriate options from each drop-down list in the answer area.)
Answer:
Q5. You develop a SharePoint app for a toy company that uses the Representational State Transfer (REST} API for search. The site collections in the app have been crawled recently and use the default search schema.
The app includes the following code segment: (Line numbers are included for reference only.)
You create the following result sources.
You need to ensure that the app only displays PDF documents.
Which code segment should you insert at line 03?
A. var resultSourceId = "Site PDF";
B. var resuitSourceId = "4C50FE18-B254-47A1-ABAD-0B6C4577D914";
C. var resultSourceId = "0F41A999-523A-41ED-AAAD-9D414A0FC3B4";
D. var resultSourceId = "82951A0C-6385-4E29-8D7F-4AB92FE9F536";
Answer: D
Q6. HOTSPOT
You develop an autohosted app for SharePoint.
The app will access SharePoint data in the host web.
You need to configure the minimum required data access permissions for the app.
How should you configure permissions in the app manifest? (To answer, select the appropriate option from each drop-down list in the answer area.)
Answer:
Q7. You use Visual Studio to design a SharePoint solution for a company that sells wine to customers around the world.
The solution must return the total number of cases sold per country. The solution also must allow employees to sort cases of wine that are returned. Employees must sort cases by country, date, and reason for the return.
You need to configure the solution to meet the requirements.
Which steps should you take? (Each correct answer presents part of the solution. Choose all that apply.)
A. Add a Refinement Web Part to the page.
B. Configure the query for the Content Search Web Part.
C. Add country as a property filter to the Search Results Web Part.
D. Add a Calendar Web Part to the page.
Answer: A,B,C
Explanation: A:
* From question:
Employees must sort cases by country, date, and reason for the return.
* On the REFINERS tab, you can choose to limit returned results by adding preselected refiners to your query.
You can specify that the search results that are returned in the Search Results Web Part should be limited to one or more values from the refiners. The list shows all managed properties that are enabled as refiners in the search schema.
B: The Search Results Web Part shows the search results of a query that was entered in a Search Box Web Part.
C: From question:
The solution must return the total number of cases sold per country.
Note:
✑ Use property filters to query the content of managed properties that are set to queryable in the search schema.
Q8. You updated the web.config file with the HTTP run-time value required to display an alternative version of the site.
You need to ensure that the correct page displays to the users. Which code segment should you use to update the controller?
A. If (Request.IsTabletDevice)
B. If (Request.Browser.IsBrowser("Mobile"))
C. If (Request.UserAgent["Tablet"])
D. If (Request.Browser.IsMobileDevice)
Answer: D
Q9. You need to ensure that the CloudManager app can write route progress check-ins to the courier's microfeed.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Ensure that SP.RequestExecutor.js can be accessed in a browser window with no errors.
B. Ensure that the CloudManager app has the Manage permission request scoped to the URL for the franchisee's My Site.
C. Ensure that the MySite host is provisioned for each franchisee.
D. Ensure that all cookies are made available between the My Site and the CloudManager app domain.
E. Ensure that the CloudManager app has the Write permission request scoped to the URL for the franchisee's My Site.
F. Ensure that SP.UserProfiles.js can be accessed in a browser window with no errors.
Answer: A,B,D,E
Explanation:
* From scenario:
/ Business Requirements
The FranchiseMonitor app must allow a Franchise employee to upload Appointments.csv to a SharePoint document library in each Franchisee site collection, and send Appointments.csv to the CloudManager app.
/ The FranchiseMonitor app must display the courier's location on the bicycle courier's microfeed on the SharePoint farm if the courier has remained stationary for more than three minutes.
/ The CloudManager app must implement business logic that parses Appointments.csv and geo-location data and sends Appointments or Appointment cancellations to the CourierMobile app.
Q10. DRAG DROP
You need to add code at line AJ05 to complete the implementation of the app.
How should you complete the relevant code? (To answer, drag the appropriate code segment to the correct location 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: