70-517 Exam - Recertification for MCSD: SharePoint Applications

certleader.com

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

B. Option B

C. Option C

D. Option D

Answer: B

Q2. You need to configure search engine optimization for the site collection.

 On the Search Engine Optimization Settings page, what should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Select the Do not filter link parameters option.

B. In the Filter link parameters text box, enter agentName&officeId&certs

C. In the Filter link parameters text box, enter agentName;officeId

D. In the Filter link parameters text box, enter agentName&officeId

E. Select the Filter link parameters option.

F. In the Filter link parameters text box, enter agentName;officeId;certs

Answer: B,E

Explanation: * From scenario:

The search engine must recognize that the following URLs display the same information about the same agent: http://www.contoso.com/FindAnAgent?agentName=JohnDoe&officeId=Sacramento http://www.contoso.com/FindAnAgent?agentName=JohnDoe&officeId = Sacramento8icerts=true

Q3. The GetDealPrice method must be called by using Ajax.

You need to get the price of a product by using the GetDealPrice method of the ProductController.

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: C,D

Q4. You are developing an ASP.NET MVC application.

You need to authenticate clients by using NT LAN Manager (NTLM). Which authentication method should you implement?

A. Basic

B. Windows

C. Forms

D. Kerberos

Answer: B

Explanation: http://msdn.microsoft.com/en-us/library/aa292114(v=vs.71).aspx

Q5. You need to configure the credential store for the app.

Which properties should you configure? (Each correct answer presents part of the solution. Choose all that apply.)

A. Pin

B. Windows Password

C. Windows User Name

D. Password

E. User Name

Answer: D,E 

Explanation: From scenario:

* A client asks you to create a basic task tracking app for SharePoint. The app will be hosted remotely

* Remote users will authenticate to the app by using a username and password.

Q6. DRAG DROP 

You work on a SharePoint Enterprise Content Management (ECM) project. You develop the Litware Document Approval workflow that enables a group of people to review, approve, or reject documents and document changes.

You need to assign the Litware Document Approval workflow to the Document content type.

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:

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

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

Q9. You create a document reporting Web Part for the Marketing team auditors. You need to configure throttling for the Web Part.

Which code segment should you insert at line MA08?

A. spQuery.QueryThrottleMode = SPQueryThrottleOption.Strict;

B. spQuery.QueryThrottleMode = SPQueryThrottleOption.Override;

C. spQuery.QueryThrottleMode = SPQueryThrottleOption.Disable;

D. spQuery.QueryThrottleMode = SPQueryThrottleOption.Default;

Answer: B

Q10. You need to implement the business requirements for managing customer data.

What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Add a class named Customer-Controller to the Controllers folder. Then add a method named Edit to the class.

B. Create a new controller named Administration in the Controllers folder. Add an action named EditCustomer to the controller.

C. Add a folder named Customer to the Views folder. Then create a view inside this folder named Edit.aspx.

D. Create a new folder named EditCustomer to the Views folder. In the new folder, create a new file named Administration.aspx.

Answer: A,C