70-517 Exam - Recertification for MCSD: SharePoint Applications

certleader.com

Q1. You need to ensure that end users can access the project's external content type and model by using the provided naming specifications.

Which properties in the external content-type editor must you set when you create the external content type in SharePoint Designer? (Each correct answer presents part of the solution. Choose all that apply.)

A. Set the value of the Display Name property to Project.

B. Set the value of the Namespace property to http://adventureworks/sites/portal.

C. Set the value of the Namespace property to proj_info.

D. Set the value of the Name property to proj_info.

E. Set the value of the Display Name property to proj_info.

F. Set the value of the Name property to Project.

Answer: C,E 

Explanation: From scenario:

/ (C) The Project external content type must use the root namespace proj_info.

/ E:

C:\Documents and Settings\usernwz1\Desktop\1.JPG

Q2. You need to ensure that users can upload pictures.

Which code segment should you insert at line MP57?

A. Option A

B. Option B

C. Option C

D. Option D

Answer: B

Q3. You plan to create a SharePoint Business Process Automation (BPA) project. You need to process items for approval with the least amount of developer effort. Which tool should you use?

A. Remote Event Receiver

B. Out-of-the-box workflow

C. SharePoint Designer workflow

D. Work Item Timer Job

Answer: B

Q4. HOTSPOT 

A company uses SharePoint for document sharing and collaboration. Users create content types for different types of documents that are created daily. All document content types have ProjectID, Type, and AuditStatus columns. ProductID is not a required field. The Auditing department requires that every document have a ProjectID within two weeks of the creation date.

If a document does not have a ProjectID, the AuditStatus column must show a message for users to specify the ProjectID. For performance reasons, fewer than 50 documents at a time should be processed.

You need to write a work-item timer job to meet the requirement.

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

Answer:

Q5. You need to implement the remote event receiver for the Admin Custom List app. What should you do?

A. Insert the following code segment at line RR05: 

ListRemoteEventReceiver (properties);

B. Insert the following code segment at line RR05:

ProcessOneWayEvent(properties);

C. Insert the following code segment at line RR11: 

ProcessEvent(properties);

D. Insert the following code segment at line RR11: 

ListRemoteEventReceiver(properties);

Answer: B

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

Q7. Customers report that upon creation of the Payment Confirmation document, they do not receive a confirmation message.

You need to ensure that customers receive confirmation messages. What should you do?

A. Ensure that the user has the correct permissions to start a workflow.

B. Ensure that the Payment Confirmation content type is deployed.

C. Ensure that the user is assigned to the Wholesale role.

D. Ensure that a workflow is associated with the document content type.

Answer: D

Q8. When users attempt to retrieve a product from the product page, a run-time exception occurs if the product does not exist.

You need to route the exception to the CustomException.aspx page. Which method should you add to MvcApplication?

A. Option A

B. Option B

C. Option C

D. Option D

Answer: B

Q9. You are developing an ASP.NET MVC news aggregation application that will be deployed to servers on multiple networks.

The application must be compatible with multiple browsers. A user can search the website for news articles. You must track the page number that the user is viewing in search results.

You need to program the location for storing state information about the user's search. What should you do?

A. Store search results and page index in Session.

B. Use Application state to store search terms and page index.

C. Use QueryString to store search terms and page index.

D. Store search results and page index in TempData

Answer: C

Q10. You are developing an ASP.NET MVC application by using Visual Studio 2012.

The application throws and handles exceptions when it runs.

You need to examine the state of the application when exceptions are thrown. What should you do?

A. From the Debug menu in Visual Studio 2012, select Exceptions. Enable the Thrown check box for Common Language Runtime Exceptions.

B. From the DEBUG menu in Visual Studio 2012, select Attach to Process. Select the IIS process.

C. From the Debug menu in Visual Studio 2012, select Exceptions. Disable the User­ unhandled check box for Common Language Runtime Exceptions.

D. From the TOOLS menu in Visual Studio 2012, click Customize. C!ic< tie Commands tab and select Debug.

Answer: A