Our pass rate is high to 98.9% and the similarity percentage between our 70-517 study guide and real exam is 90% based on our seven-year educating experience. Do you want achievements in the Microsoft 70-517 exam in just one try? I am currently studying for the Microsoft 70-517 exam. Latest Microsoft 70-517 Test exam practice questions and answers, Try Microsoft 70-517 Brain Dumps First.
Q17. DRAG DROP
You connect to a front-end web server in a SharePoint farm for a company named Contoso, Ltd.
You start the SharePoint Management Shell by using an account that has administrator permissions for the user-profile store. You use Windows PowerShell to create a User Profile property. You add the profile type and sub type to the User Profile property.
You run the following Windows PowerShell cmdlets:
How should you complete the relevant Windows PowerShell cmdlets? (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:
Q18. DRAG DROP
You need to configure permission roles for the team members.
What should you do? (To answer, drag the appropriate role to the correct location in the answer area. Each role 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:
Q19. You need to generate document identifiers for each new document that is uploaded to the site.
What should you do?
A. Create a derived class that inherits from the abstract class named
Microsoft.Office.DocumentManagement.Documentld and then override all of the abstract methods.
B. Create a derived class that inherits from the abstract class named Microsoft.Office.DocumentManagement.DocumentldProvider and then override all of the virtual members.
C. Create a derived class that inherits from the Microsoft.Office.DocumentManagement.DocumentldProvider abstract class and then implement all abstract members.
D. Create a class to implement the Microsoft.Office.DocumentManagement.IDocumentld interface and then override all of the virtual members.
Answer: B
Q20. 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
Q21. You need to modify the application to meet the productId requirement. What should you do?
A. Modify the RegisterGlobalFilters method of the Global.asax.es file as follows. Contract.Assume<ArgumentException>(productId != 0);
B. Modify the GetDealPrice method of ProductController as follows. Contract.Requires<ArgumentException>(productId > 0);
C. Modify the RegisterGlobalFilters method of the Global.asax.es file as follows. Contract.Requires<ArgumentException>(productId > 0);
D. Modify the GetDealPrice method of ProductController as follows. Contract.Assume<ArgumentException>(productId > 0);
Answer: B
Explanation: The Contract.Requires(Of TException) method specifies a precondition contract for the enclosing method or property, and throws an exception if the condition for the contract fails.
Syntax: 'Declaration
Public Shared Sub Requires(Of TException As Exception) ( _ condition As Boolean _
)
Type Parameters TException
The exception to throw if the condition is false.
Parameters condition
Type: System.Boolean
The conditional expression to test.
Reference: Contract.Requires(Of TException) Method (Boolean)
Q22. DRAG DROP
You need add to code at line IL22 to implement the task list design.
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:
Q23. You need to resolve the loading issue.
What should you do? (Each correct answer presents a part of the solution. Choose all that apply.)
A. Set the size of the site collection object cache to at least 100 MB.
B. Enable the binary large object (BLOB) cache on each front-end web server.
C. Activate the Content Organizer site feature.
D. Enable authenticated cache profiles for the site output cache.
E. Enable publishing features for the site collection.
F. Set the default device channel to the active channel.
Answer: A,B
Explanation: A: The object cache is used internally to optimize page rendering by storing properties of sites, page layouts, and pages. The object cache reduces the amount of traffic between the Web server and a SQL database. This results in higher throughput of rendered pages, thereby increasing the number of pages that can be delivered to clients.
B: SharePoint Server 2013 provides a disk-based cache that stores files that are used by web pages to help them load quickly in the browser, and reduces the load on the database server when it uses those files. These files are known as binary large objects (BLOBs), and the cache is known as the BLOB cache. The BLOB cache is stored directly on the hard disk drive of a front-end web server computer.
* When using Rendition you will have to enable BLOBCache to improve performance
* By using Device Channel Renditions you can create smaller sizes designed specifically for mobile use. This allows the mobile user to browse the smaller version, increasing the overall performance for the device they are using. Rendition enables you to have large files stored within your website along with smaller scaled variations for mobile users.
When using Rendition you will have to enable BLOBCache to improve performance
From scenario:
* Some employees report that the home page loads slowly. You investigate the issue and find out that the size of some s is very large. You must enable renditions on the intranet site collection.
Q24. You must create a search results page for the real estate properties that are available in each real estate office.
You need to display the search result for the internet site collection.
Which types of files should you create? (Each correct answer presents part of the solution. Choose all that apply.)
A. JavaScript (.js)
B. Active Server Page (.aspx)
C. Master Page (.master)
D. HTML (.html)
E. XML (.xml)
Answer: B,C
Explanation: Note:
* Master Page defines “placeholders” which can be overridden in child page
* Content Page of a Master Page defaults to default.aspx
Q25. You need to configure search engine optimization for the site.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Disable anonymous access to the web application while you make changes.
B. Activate the Search Engine Sitemap feature in the site collection.
C. Disable anonymous access to the site collection while you make changes.
D. On the Search Engine Optimization Settings page, in the Include these meta tags in pages text box, enter <meta name="do-not-follow" value="/_Configuration Files/" />
E. Ensure that the Search Engine Sitemap job is running.
F. On the Search Engine Sitemap Settings page, enter Disallow: /_ConfigurationFiles/ to the exclusion rules.
Answer: B,C,D
Explanation: * Steps in the SEO process:
/ Configure SEO settings for the site collection.
/ (B, not E) Configure sitemap settings for the site collection.
/ Add and edit SEO metatags.
* D (not F): Configure SEO settings for the site collection Verify site ownership
✑ Sign in to the webmaster tools portal for your desired search engine and provide
requested information about your website.
✑ From your SharePoint Public Website home page, click Settings Small Settings gear that took the place of Site Settings. > Site settings > Site Collection Administration > Search engine optimization settings.
✑ Click Include these meta tags in pages.
✑ Copy the meta tag provided by the webmaster tools portal, and paste it into the box.
✑ Click OK.
✑ From the webmaster tools portal, ask the search engine to verify your ownership of this website.
Q26. You are developing an ASP.NET MVC application that will be deployed on a web farm.
Passwords must be stored in the web.config file and must not be readable or in a format that is easily decodable
You need to encrypt the passwords that are stored in the web.config file. Which command-line tool should you use?
A. Aspnet_regiis.exe
B. Ngen.exe
C. Aspnet_merge.exe
D. EdmGen.exe
Answer: A
Explanation: http://msdn.microsoft.com/en-us/library/zhhddkxy(v=vs.100).aspx
Q27. DRAG DROP
You need to implement the Views\RunLog\_CalculatePace.cshtml partial view from Views\Runlog \GetLog.cshtml to display the runner's average mile pace.
How should you implement the view? (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:
Q28. You are developing an ASP.NET MVC application that uses forms authentication. The user database contains a user named LibraryAdmin.
You have the following requirements:
✑ You must allow all users to access the GetBook method.
✑ You must restrict access to the EditBook method to the user named LibraryAdmin.
You need to implement the controller to meet the requirements.
Which code segment should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A,C
Q29. 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
Q30. 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
Q31. You create a custom Visual Web Part. You deploy the solution package to the farm by using Windows PowerShell. When you try to add the custom Visual Web Part to a SharePoint site, an error message displays that includes a correlation ID.
You need to determine the cause of the error.
What should you do? (Each correct answer presents complete solution. Choose all that apply.)
A. Run the Get-SPLogEvent Windows PowerShell cmdlet.
B. Run the Get-SPDiagnosticConfig Windows PowerShell cmdlet.
C. Run the Get-SPHealthAnalysisRule Windows PowerShell cmdlet.
D. View the Service Calls tab on the Developer Dashboard.
E. View the Unified Logging Service (ULS) tab on the Developer Dashboard.
Answer: A,E
Explanation:
http://ittechnotebook.blogspot.co.uk/2013/07/how-to-find-real-error-in-sharepoint.html
Q32. You are designing an HTML5 website.
You need to design the interface such that the content is viewable in all types of browsers, including screen readers,
What should you do? (Each correct answer presents a complete solution. Choose all that apply.)
A. Ensure that content elements have valid and descriptive names.
B. Use Resource Description Framework (RDF) to describe content elements.
C. Convert HTML forms to XForms.
D. Use HTML5 semantic markup elements.
E. Annotate content elements with Accessible Rich Internet Application (ARIA) attributes.
Answer: D,E