70-517 Premium Bundle

70-517 Premium Bundle

Recertification for MCSD: SharePoint Applications Certification Exam

4.5 
(26265 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 23, 2024Last update

Microsoft 70-517 Free Practice Questions

Q1. 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.

Q2. HOTSPOT 

You develop a SharePoint app by using the client-side object model (CSOM.)

On each page of the app, you need to display the user profile picture for the user that is currently logged in.

How should you complete the relevant code? (To answer, select the appropriate option from each drop-down list in the answer area.)

Answer:

Q3. DRAG DROP 

You need to add code at line CT11 to create the content types.

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 that will be deployed to servers on multiple networks.

The application must be compatible with multiple browsers. You must track the page number that the user is viewing in search results.

You need to program the location for storing state information. Where should you persist state information?

A. Session

B. QueryString

C. Application

D. TempData

Answer: B

Q5. 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

Q6. HOTSPOT 

You need to add code to line CM07 to create the Research Content document set.

How should you complete the relevant code? (To answer, select the appropriate option from the dropdown list in the answer area.)

Answer:

Q7. You need to make the "Distance" header of the table bold in the Views/RunLog/GetLog.cshtml view.

Which code segment should you use?

A. table>tr{ font-weight: bold; }

B. table>th:last-child{ font-weight: bold; }

C. table+first-child{ font-weight: bold; }

D. table>tr>th:nth-child (2) { font-weight: bold; }

Answer: D

Q8. HOTSPOT 

You need to ensure that users can sort files by using the Projects field.

From the List Settings page, which option should you select? (To answer, select the appropriate option in the answer area.)

Answer:

Q9. You are developing an ASP.NET MVC web application in Visual Studio 2012. The application requires several thousand content files. All content is hosted on the same IIS instance as the application.

You detect performance issues when the application starts. You need to resolve the performance issues.

What should you do?

A. Enable compression in IIS.

B. Move the content to a second server.

C. Combine the content files by using ASP.NET MVC bundling.

D. Implement HTTP caching in IIS.

Answer: C

Q10. 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

Q11. You must select an app model to deploy apps to an Office 365 small business tenant. The business logic of the apps is located in a remote web application.

What should you do?

A. Create a SharePoint-hosted app. Implement the business logic by using JavaScript.

B. Develop provider-hosted apps and integrate data sources with the business logic by using OData.

C. Deploy the business logic to the host web by using a Full Trust SharePoint solution.

D. Develop an OData service provider infrastructure and publish the provider to the

_layouts directory.

Answer: C

Q12. 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:

Q13. You need to set the appropriate permissions for the franchise employees' customer list and customer subsite access.

What should you do?

A. Add franchise employees to the Members group in the CorporateSiteCollection site collection. Break inheritance at the franchisee subsite level. Create a custom role definition at the franchisee subsite level. Add franchise employees to the custom role.

B. Create a custom role definition in the CorporateSiteCollection site collection with Limited Access to the Customers list. Add franchise employees to the custom role at the CorporateSiteCollection site collection. Break inheritance at the subsite level. Add franchise owners to the Owners group at the subsite level.

C. Create a custom role definition in the CorporateSiteCollection site collection with Limited Access to the Customer list. Add franchise employees to the custom role. Allow full inheritance of the role definition and permissions at the site level.

D. Add franchise employees to the Visitors group in the CorporateSiteCollection site collection. Break inheritance at the franchisee subsite level. Create a custom role definition at the subsite level with Full Control permissions. Add franchise employees to the custom role.

Answer: B

Q14. HOTSPOT 

You are developing an ASP.NET MVC web application that enables users to open Microsoft Excel files.

The current implementation of the ExcelResult class is as follows.

You need to enable users to open Excel files.

How should you implement the ExecuteResult method? (To answer, select the appropriate options in the answer area.)

Answer:

Q15. Adventure Works uses a SharePoint publishing site to host their public-facing website at http://www.adventureworks.com. The website gives external users the ability to register and sign in to the site to buy Adventure Works products.

You notice that publicly registered users see the SharePoint ribbon.

You need to ensure that the SharePoint ribbon is available only to content authors and administrators.

What should you do?

A. Open the current site master page in SharePoint Designer, place the SharePoint:SPSecurityTrimmedCcntrol control around the div tag with the s4-ribbonrow ID. Set the PermissionsString to ManageSubWeb.

B. Open the current site master page in SharePoint Designer, find a div tag with the s4­ ribbonrow ID, and then remove all of the contents of the div.

C. Open the current site master page in SharePoint Designer and then place the SharePoint:SPSecurityTrimmedControl control around the div tag with the 34-ribbonrow ID. Set the PermissionsString to AddAndCustomizePages.

D. In the SharePoint project, add an Empty Element and then use the <HideCustomAction> tag to hide the ribbon.

Answer: B

Q16. DRAG DROP 

You develop a SharePoint site by using the Team Site template. Users share large s by using the team site.

You need to configure the SharePoint site so that s render at a maximum size of 400px wide and 200px high.

Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer).

Answer:

START 70-517 EXAM