Actualtests 70-517 Questions are updated and all 70-517 answers are verified by experts. Once you have completely prepared with our 70-517 exam prep kits you will be ready for the real 70-517 exam without a problem. We have Leading Microsoft 70-517 dumps study guide. PASSED 70-517 First attempt! Here What I Did.
♥♥ 2021 NEW RECOMMEND ♥♥
Free VCE & PDF File for Microsoft 70-517 Real Exam (Full Version!)
★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions
Free Instant Download NEW 70-517 Exam Dumps (PDF & VCE):
Available on:
http://www.surepassexam.com/70-517-exam-dumps.html
Q111. 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:
Q112. You are developing an ASP.NET MVC web application for viewing a photo album. The application is designed for devices that support changes in orientation, such as tablets and smartphones. The application displays a grid of photos in portrait mode.
When the orientation changes to landscape, each tile in the grid expands to include a
description. The HTML that creates the gallery interface resembles the following markup.
If this CSS is omitted, the existing CSS displays the tiles in landscape mode.
You need to update the portrait mode CSS to apply only to screens with a width less than 500 pixels.
Which code segment should you use?
A. @media resolution(max-width: 500px) {
. . .
}
B. @media screen(min-width: Opx, max-width: 500px) {
. . .
}
C. @media screen and (width <= 500px) {
. . .
}
D. @media screen and (max-width: 500px) {
. . .
}
Answer: D
Explanation: http://www.javascriptkit.com/dhtmltutors/cssmediaqueries.shtml
Q113. After deploying a solution, a code-based hotfix becomes available.
You need to deploy the hotfix.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Use assembly binding redirection in the web application configuration file.
B. Increment the assembly file version of the assembly.
C. Increment the product version of the assembly.
D. Increment the assembly version of the assembly.
E. Use assembly binding redirection in the assembly policy file.
Answer: A,C
Explanation: A: Assembly versions are everywhere in SharePoint – web.config files, web part definitions, workflow definitions, event receiver bindings – the list goes on. In each case, the version number is absolutely required so that SharePoint can load the code to run at that time. If you update an assembly’s version, you have two choices to ensure your code can still be loaded:
/ Find and update every reference to the previous assembly version.
/ Use a binding redirect in the relevant .config file (e.g. web.config) to point to the new version of the assembly.
C: Assembly Version : This is the version number used by framework during build and at runtime to locate, link and load the assemblies. When you add reference to any assembly in your project, it is this version number which gets embedded. At runtime, CLR looks for assembly with this version number to load. But remember this version is used along with name, public key token and culture information only if the assemblies are strong-named signed. If assemblies are not strong-named signed, only file names are used for loading.
Incorrect:
not B: Assembly File Version : This is the version number given to file as in file system. It is displayed by Windows Explorer. Its never used by .NET framework or runtime for referencing.
From scenario:
* solution artifacts must adhere to industry best practices.
* Code based hot fixes must be deployed directly to the Global Assembly Cache on all SharePoint servers.
* Only one version of an assembly must be available at runtime.
Q114. A legal company uses SharePoint for document and records management. You search all documents by using extractors and managed properties. FAST Query Language (FQL) is enabled for the result sources, and the content of the document is indexed as full text. All documents are named by using the following pattern: "AAA-Axxxx-AA".
You must find documents that were created in May 2012 and contain the ordered keywords "liable", "advocate", and "adjudication". Results that are returned must include only document names that begin with "HCT-Q" and end only with "AB".
You need to create the FQL query that returns the required results.
Which FQL statements should you use? (Each correct answer presents part of the solution. Choose all that apply.)
A. Write> =05/01/2012 and write<=05/31/2012
B. string('liable advocate adjudication", mode="onear")
C. title:HCT-Q*
D. title:HCT-Q????-AB
E. NEAR (liable, advocate, adjudication)
F. write:range (2012-05-01, 2012-05-31)
Answer: B,D,F
Explanation: B (not E):
* The ordered variant of NEAR, and requires an ordered match of the terms. The ONEAR operator can be used to restrict the result set to items that have N terms within a certain
distance of Returns only items that don’t match the operand. The operand may be any valid FQL expression.one another.
D (not C):
* All documents are named by using the following pattern: "AAA-Axxxx-AA".
* Results that are returned must include only document names that begin with "HCT-Q" and end only with "AB".
F (not A):
* Range. Enables range matching expressions. The RANGE operator is used for numeric and date/time managed properties.
* FQL provides the datetime data type for date and time.
The following ISO 8601-compatible datetime formats are supported in queries: YYYY-MM-DD
YYYY-MM-DDThh:mm:ss YYYY-MM-DDThh:mm:ssZ YYYY-MM-DDThh:mm:ssfrZ
Reference: FAST Query Language (FQL) syntax reference
Q115. 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:
✑ My Dictionary.resx
✑ MyDictionary.es.resx
✑ MyDictionary.fr.resx
Each file contains a public resource named Title with localized translation.
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.Title to the localized title contained in the resource files. Which code segment should you add to the action at line 03?
A. ViewBag.Title = HttpContext.GetGlobalResourceObuect("MyDictionary", "Title");
B. ViewBag.Title = HttpContext.GetGlobalResourceObject("MyDictionary", "Title", new System.Globalization.CultureInfo("en"));
C. ViewBag.Title = Resources.MyDictionary.Title;
D. ViewBag.Title = HttpContext.GetLocalResourceObject("MyDictionary", "Title");
Answer: C
Q116. DRAG DROP
You need to implement security according to the business requirements.
How should you modify RunLogController? (To answer, drag the appropriate code segment to the correct location or locations. 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:
Q117. DRAG DROP
You are developing an ASP.NET MVC application in Visual Studio 2012. The application contains sensitive bank account data.
The application contains a helper class named SensitiveData.Helpers.CustomEncryptor.
The application must not display AccountNumber in clear text in any URL. You need to build the view for the GetAccounts action.
How should you build the view? (To answer, drag the appropriate code segment to the correct location or locations. 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:
Q118. DRAG DROP
You need to ensure that only valid parameters are passed to the EditLog action.
How should you build the route? (To answer, drag the appropriate code segments to the correct location or locations. 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:
Q119. DRAG DROP
You need to add code to line MP57 to display the required properties for the user profile.
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, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Answer:
Q120. HOTSPOT
You are developing an ASP.NET MVC application that has pages for users who browse the site with Windows Phone 7.
The pages for Windows Phone 7 include the following files:
✑ _Layout.WP7.cshtml
✑ Index.WP7.cshtml
You need to update the application so that it renders the customized files correctly to Windows Phone 7 users.
How should you update the Application_Start method? (To answer, select the appropriate option from the drop-down list in the answer area.)
Answer:
