Want to know Pass4sure 70-517 Exam practice test features? Want to lear more about Microsoft Recertification for MCSD: SharePoint Applications certification experience? Study Virtual Microsoft 70-517 answers to Renovate 70-517 questions at Pass4sure. Gat a success with an absolute guarantee to pass Microsoft 70-517 (Recertification for MCSD: SharePoint Applications) test on your first attempt.
Q111. DRAG DROP
You need to publish biographical information to the board member site collection. Which five actions should you perform in sequence? (To answer, move the appropriate
Answer:
Q112. DRAG DROP
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, drag the appropriate code segment 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:
Q113. You develop a SharePoint app to create an approval workflow for expense reports. The app must collect user input before starting the workflow.
You need to use ASP.NET forms in the workflow. Which form type should you use?
A. Workflow input form
B. Workflow initiation form
C. Workflow task form
D. Workflow modification form
Answer: B
Q114. DRAG DROP
You need to add code to line MP22 to create the custom profile property.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once or not at all. You may need to drag the split bar between panes or scroll to view content.)
Answer:
Q115. Adventure Works uses SharePoint to store product and order information.
Product managers visit the Products list to see the status of each product. They request a feature that will allow them to easily see the recent and old product orders without opening the Products list. The products orders page is located at /sitepages/productorders.aspx, and the product order history page is located at /sitespages/productordershistory.aspx.
Both pages require a query string parameter named ProductID.
You need to add custom actions to the Products list by using the least amount of administrative effort.
What should you do?
A. Add an empty element to the SharePoint project. Add a <CustomAction> tag, set the Location element to EditControlBlock, and then use the <UrlAction> tag for a redirect to the custom page.
B. Create a Windows Application and add a reference to Microsoft.SharePoint.Portal.CustomActions.dll and use the SPCustomActions class to add a custom action.
C. Open the site in SharePoint Designer. Create a custom List Item Display Template and then apply it to the Products List View Web Part.
D. Create a visual Web Part. Use a grid view with a template column and hyperlink, and databind the Products list. Add the Web Part to the allltems.aspx page of the Products list.
Answer: D
Q116. You are developing an ASP.NET MVC application. The application is deployed in a web farm and is accessed by many users.
The application must handle web server failures gracefully. The servers in the farm must share the state information.
You need to persist the application state during the session. What should you implement?
A. A state server
B. Cookieless sessions
C. A web garden on the web servers
D. An InProc session
Answer: A
Q117. If the canvas element is supported by the client browser, the application must display "London 2012" in the footer as text formatted by JavaScript at the end of the_Layout.cshtml file.
You need to modify the layout to ensure that "London 2012" is displayed as either formatted text or as plain text, depending on what the client browser supports.
Which code segment should you add?
A. <canvas id="myFooter">
@(Request,Browser.JavaApplets ? new HtmlString("London 2012") : null)
</canvas>
B. <canvas id="myFooter"London 2012</canvas>
C. <canvas id="myCanvas">London 2012</canvas>
D. <canvas id="myCanvas"><canvas>
<p>London 2012</p>
Answer: C
Q118. 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
Q119. You are developing an ASP.NET MVC application.
The application must allow users to enter JavaScript in a feedback text box only. You need to disable request validation.
What should you do?
A. Apply and set the CausesClientSideValidation attribute on the text box to FALSE.
B. Apply and set the ValidateInput attribute on the text box to FALSE.
C. Use the HttpRequest.Unvalidated property to read the unvalidated form value.
D. Use the HttpRequest.Form property to read the unvalidated form value.
Answer: C
Explanation: Provides access to HTTP request values without triggering request validation.
http://msdn.microsoft.com/en-us/library/system.web.httprequest.unvalidated.aspx
Q120. 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