70-517 Exam - Recertification for MCSD: SharePoint Applications

certleader.com

Q1. DRAG DROP 

You develop a feature in a SharePoint solution by using Visual Studio 2012. You insert several breakpoints in the feature event receiver to debug performance issues.

You need to ensure that the code stops running when the solution reaches a breakpoint.

Which three 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:

Q2. Adventure Works uses a web design firm to design the user interface for an upcoming toy sales website, www.toys.adventureworks.com. The website is built by using a SharePoint publishing template.

Adventure Works must implement the newly designed user interface for the site. The design firm provides a set of HTML, CSS, and JavaScript files.

You need to create and publish a SharePoint master page by using the supplied files. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. From the Master Pages section in SharePoint Designer, select Create New Master Page and then replace the master page contents with the contents of the HTML file.

B. From SharePoint Designer, open the master page gallery. Right-click the new master page and then select Set as Default Master.

C. From the Design Manager, map a network drive to the /_layouts/masterpage/ folder. Then, in Windows Explorer, copy all the UI elements provided by the design team to the network share.

D. From the Edit Master Page section in Design Manager, select Convert an HTML File to a SharePoint Master Page to generate a master page from the HTML file provided by designer firm.

E. Publish the master page. Then, from Site Settings, choose the Look and Feel section, and then select Master Page. Choose the master page and select OK.

F. Preview the master page and select Snippets to get HTML segments of the SharePoint top navigation, quick launch, and body. Then, edit the master page by using Microsoft Notepad and replace the HTML with the new segments.

Answer: B,D,E 

Explanation:

Note:

*

D, Not A: To convert the HTML file into a .master file

✑ Browse to your publishing site.

✑ In the upper-right corner of the page, choose Settings, and then choose Design Manager.

✑ In Design Manager, in the left navigation pane, choose Edit Master Pages.

✑ Choose Convert an HTML file to a SharePoint master page.

✑ In the Select an Asset dialog box, browse to and select the HTML file that you want to convert.

etc

Q3. DRAG DROP 

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:

Q4. You are developing an ASP.NET MVC application in Visual Studio 2012. The application supports multiple cultures.

The application contains three resource files in the Resources directory:

✑ ProductDictionary.resx

✑ ProductDictionary.es.resx

✑ ProductDictionary.fr.resx

Each file contains a public resource named Currency with the localized currency symbol. The application is configured to set the culture based on the client browser settings.

The application contains a controller with the action defined in the following code segment. (Line numbers are included for reference only.)

You need to set ViewBag.LocalizedCurrency to the localized currency contained in the resource files.

Which code segment should you add to the action at line 03?

A. ViewBag.LocaIizedCurrency = Resources.ProductDictionary.Currency;

B. VievBag.LocalizedCurrency = HttpContext.GetGlobalResourceObject("ProductDictionary", "Currency", new System.Globalization.CultureInfo(Men"));

C. VievBag.LocalizedCurrency = HttpContext.GetLocalResourceObject("ProductDictionary", "Currency");

D. ViewBag.LocalizedCurrency = HttpContext.GetGlobalResourceObject("ProductDictionary", "Currency");

Answer: A

Q5. You need to create a link to the Dallas office page. Which URL should you use?

A. http://www.contoso.com/Offices/Dallas.aspx

B. http://www.contoso.com/Offices/Pages/Office.aspx

C. http://www.contoso.com/Offices/Pages/Office.aspx?Office=Dallas

D. http://www.contoso.com/Offices/Dallas

E. http://www.contoso.com/Offices/Pages/Office.aspx?TermID=b6e11481-3445-413c­ 9da0-b15ae5d5cbd4

Answer: D

Q6. You need to configure filtering for the Product page.

Which filtering option should you use?

A. products/pages/products.aspx?productID=*&.productCategory=*

B. products.aspx;productID;productCategory; lucernepublishing.com

C. products; productID; productCategory; lucernepublishing.com

D. products/pages/products.aspx?*

E. productID;productCategory

Answer: E

Q7. You create a SharePoint site collection for a law firm. You create the following objects in the site collection.

A user searches for a legal case. The search results must contain only current cases. You need to create a custom result type that displays only current cases.

Which object should you use?

A. Cases

B. MPCaseID

C. case

D. ows_CaseID

E. CaseID

Answer: B

Q8. You need to update the routes to ensure that a product is always displayed on the product page.

Which code segment should you use?

A. Option A

B. Option B

C. Option C

D. Option D

Answer: B

Q9. DRAG DROP 

You develop a Microsoft Office app to access external data by using Business Connectivity Services (BCS).

The app must access data from a Windows Communication Foundation (WCF) connector by using an external content type.

Which four actions should you perform in a 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. Customers download videos by using HTTP clients that support various content encodings. You need to configure caching on the DownloadVideo action to maximize performance.

Which attribute should you add?

A. Option A

B. Option B

C. Option C

D. Option D

E. Option E

Answer: E