Q1. You are designing an HTML5 website.
You need to design the interface to make the content of the web page viewable in all types of browsers, including voice recognition software, screen readers, and reading pens.
What should you do? (Each correct answer presents a complete solution. Choose all that apply.)
A. Annotate HTML5 content elements with Accessible Rich Internet Application (ARIA) attributes.
B. Convert HTML5 forms to XForms.
C. Ensure that HTML5 content elements have valid and descriptive names.
D. Use HTML5 semantic markup elements to enhance the pages.
E. Use Resource Description Framework (RDF) to describe content elements throughout the entire page.
Answer: A,D
Q2. 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
Q3. 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.
Q4. 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. 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.
B. 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.
C. Use a Chrome control to find the differences in the styles between the host web and the app. Resolve all of the differences by using JavaScript.
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 JavaScript.
Answer: B
Q5. HOTSPOT
You are developing an ASP.NET MVC application that authenticates a user by using claims-based authentication.
The application must:
✑ Use Windows Identity Foundation 4.5.
✑ Support the Windows Azure Access Control Service.
You need to implement authentication.
How should you build the class constructor? (To answer, select the appropriate option from the drop-down list in the answer area.)
Answer:
Q6. You are developing an ASP.NET MVC application by using Visual Studio 2012. The application throws and handles exceptions when it runs.
You need to examine the state of the application when exceptions are thrown. What should you do?
A. From the DEBUG menu in Visual Studio 2012, select Exceptions. Enable the Thrown check box for Common Language Runtime Exceptions.
B. From the DEBUG menu in Visual Studio 2012, select Exceptions. Disable the User unhandled check box for Common Language Runtime Exceptions.
C. Add the following code to the Web.config file of the application.
<customErrors mode="On">
<error statusCode="500" redirect="CustomErrors.html" />
</customErrors>
D. Add the following code to the Web.config file of the application.
<customErrors mode="On" >
<error statusCode="404" redirect="CustomErrors.html"/>
</customErrors>
Answer: A
Q7. DRAG DROP
You are developing an ASP.NET MVC application that takes customer orders. Orders are restricted to customers with IP addresses based in the United States. You need to implement a custom route handler.
How should you implement the route handler? (To answer, drag the appropriate line of code to the correct location or locations. Each line of code 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. You develop a SharePoint app that reads data from an external source by using Business Connectivity Services (BCS). The following markup defines the subscription: (Line numbers are included for reference only.)
Employee identification (ID) numbers that are less than 100 must be ignored. You need to configure the subscription.
What should you do?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q9. DRAG DROP
You develop a .NET application named SPUserProfiles for a company called Contoso, Ltd.
SPUserProfiles communicates with a SharePoint app by using SharePoint Web Services. The SharePoint web service reference name is ProfileService. SPUserProfiles includes the following code segment: (Line numbers are included for reference only.)
You need to implement the UpdatePhoneNumber method.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct target 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. You have a SharePoint publishing site. The marketing team tags their documents by using a managed metadata field named Location. The site has been fully crawled. Documents are tagged with city names only.
A SharePoint app on the site displays search results by using the following term set.
You create the following code segment to query the contents of the site: (Line numbers are included for reference only.)
You need to create a Keyword Query Language (KQL) expression to return results for all assets in the Central region.
Which code segment should you insert at line 02?
A. var queryTerms = "Location";
B. var queryTerms = "577c8e48-d5d9-4e5f-8e35-408c723feb11";
C. var queryTerms = "b49f64b3-4722-4336-9a5c-56c326b344d4";
D. var queryTerms = "owstaxidlocation: 1acfae8a-70b4-4ce0-bfbf-96c0e711f 8df"
Answer: C
Q11. DRAG DROP
You develop a SharePoint app that includes microblog posts and conversations for a company named Contoso, Ltd.
You must use various programming object models to determine the number of unread mentions in microblog posts for the current user.
You need to call methods for different programming object models.
How should you create the method calls? (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:
Q12. You need to deploy the package. Which file should you select?
A. the file ending in .publish
B. the file ending in .wsp
C. the file ending in .dll
D. the file ending in .app
Answer: D
Q13. HOTSPOT
You work for a company named Contoso, Ltd. that sells computer parts. You tag inventory lists by using a term set named Computer Parts Classification. The term set is structured as follows.
You must create a console application that accesses the SharePoint site and you must add a ClientContext object named ctx. You need to create a term named i7-2600K that is a child of the CPU node and add a shared property to the i7-2600K term.
How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
Answer:
Q14. You need to ensure that all the MVC controllers are secure.
Which code segment should you use as the body for the CreateController method in AdminVerifierFactory.es?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Q15. You need to implement connection management for catalog connections.
Which method should you use? (Each correct answer presents part of the solution. Choose all that apply.)
A. Public void UpdateCatalogConnection(CatalogConnectionSettings catalogInfo)
B. Public void OnPublishCatalog(string catalogPath)
C. Public void DeleteCatalogConnection(string catalogPath)
D. Public void SetCatalogConnection(string catalogPath, boot disconnect)
Answer: A,C Explanation:
* From scenario:
/ You must create a custom tool that site collection administrators use to manage catalog connections.
/ You must define the API calls to remove (C) or update (A) existing catalog connections.
Q16. DRAG DROP
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: