[Free] 2018(Jan) EnsurePass Testinsides Microsoft 70-488 Dumps with VCE and PDF Download 61-70

Ensurepass.com : Ensure you pass the IT Exams 2018 Jan Microsoft Official New Released 70-488
100% Free Download! 100% Pass Guaranteed!
http://www.EnsurePass.com/70-488.html

Developing Microsoft SharePoint Server 2013 Core Solutions

Question No: 61 DRAG DROP – (Topic 5)

You create a solution to access data contained in SharePoint by using a client-side object model (CSOM).

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

Ensurepass 2018 PDF and VCE

Answer:

Ensurepass 2018 PDF and VCE

Explanation:

Ensurepass 2018 PDF and VCE

Box 1: ClientContext

Need this variable as is it used in line 2 (clientContect.Credentials = …).

Box 2: CollListItem

Need this variable in the next line.

Box 3: Load

ClientRuntimeContext.Load retrieves the properties of the object from server to client.

Box 4: ExecuteQuery

ClientContext.ExecuteQuery executes the current set of data retrieval queries and method invocations.

Question No: 62 HOTSPOT – (Topic 5)

You develop a SharePoint-hosted app that is used by internal users to read and write data.

The app has the following requirements:

->The app must be able to find and display the products that are purchased most often by customers.

->The app must be able to read product information from a custom SQL Server

database by using an external list.

->The app must be able to read from and write to the user profile.

->The app must be able to make changes to lists by using the minimum permissions necessary.

->The app must be able to read enterprise keywords.

You need to configure permissions for the app.

Which scopes and permissions should you use? (To answer, select the appropriate options from each drop-down list in the answer area.)

Ensurepass 2018 PDF and VCE

Ensurepass 2018 PDF and VCE

Answer:

Ensurepass 2018 PDF and VCE

Explanation:

Ensurepass 2018 PDF and VCE

Box 1: Search QueryAsUserIgnoreAppPrincipal

To provide proper permissions to have search in SharePoint hosted app, open the Appmanifest.xml and provide the permissions to search as scope and select the permission quot;QueryAsUserIgnoreAppPrincipalquot;.

Box 2: BCS

Business Connectivity Services (BCS) need read as the app must be able to read product information from a custom SQL Server database by using an external list.

Box 3: Write

User Profiles scope require write as the app must be able to read from and write to the user profile.

Box 4: Manage

Web permissions should be manage as the app must be able to make changes to lists by using the minimum permissions necessary.

Box 5: Taxonomy

For taxonomy, only rights for Read and Write are available. Here read is fine as the app must be able to read enterprise keywords

Question No: 63 – (Topic 5)

You are developing a SharePoint solution for a government agency. The solution will include high-trust provider hosted apps.

You need to implement the solution.

Where should you host the app remote components?

  1. a SharePoint Online farm

  2. a Windows Azure Web Role

  3. an on-premises web app remote to the SharePoint farm

  4. the Office Store

  5. an on-premises SharePoint farm

Answer: C

Explanation: A high-trust app for SharePoint is primarily intended for use in an on- premises environment. The high-trust app cannot be installed to Microsoft SharePoint Online, and the remote components are typically installed on premises, too, within the corporate firewall. Thus, the instances of the app for SharePoint are specific to each individual company.

High-trust apps require some configuration on the SharePoint farm and on the server hosting the remote web application.

Reference: Create high-trust apps for SharePoint 2013 https://msdn.microsoft.com/en-us/library/office/fp179901.aspx

Question No: 64 – (Topic 5)

You create a cloud-hosted SharePoint app.

You must make the app available in the SharePoint Store for customers to install on their host webs.

You need to keep the style and navigation of the app the same as the host web of the app after it is installed by any customer.

What should you do?

  1. Add a reference to SP.UI.Controls.js on the host web. Pass the AppUrl parameter to the host web. Apply branding to the host web.

  2. Copy the CSS file from the app to the host web. Run the Chrome control to convert the CSS file to the host web format. Apply the styles contained in the CSS file to the host web.

  3. Use a Chrome control to find the differences in the styles between the host web and the app. Resolve all of the differences by using JavaScript.

  4. Add a reference to the SP.UI.Controls.js file located in the new /_layouts/15 directory. Pass the HostUrl parameter to the start page of the app. Use the Chrome control in JavaScript.

    Answer: D

    Explanation: Microsoft allows developers to import a very basic version of the SharePoint 2013 chrome into their apps without having to manually create matching HTML controls.

    The functionality for this can be found in the SP.UI.Controls.js file located in the new

    /_layouts/15 directory. To use the chrome control, first add a reference to SP.UI.Controls.js (make sure you#39;ve already loaded the requisite JQuery files and other dependencies), then add an empty lt;divgt; to your page markup at or near the top of the page.

    Reference: Using the Chrome Control in SharePoint 2013 Apps

    Question No: 65 DRAG DROP – (Topic 5)

    You need to retrieve data about all the lists in a site by using the REST (Representational State Transfer) API.

    You have the following code:

    Ensurepass 2018 PDF and VCE

    Which code segments should you include in Target 1 and Target 2 to complete the 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.)

    Ensurepass 2018 PDF and VCE

    Answer:

    Ensurepass 2018 PDF and VCE

    Explanation:

    Ensurepass 2018 PDF and VCE

    * HttpWebRequest quot;/_api/web/listsquot; Example:

    The code in the following example shows you how to request a JSON representation of all of the lists in a site by using C#. It assumes that you have an OAuth access token that you are storing in the accessToken variable.

    C#

    HttpWebRequest endpointRequest = (HttpWebRequest)HttpWebRequest.Create(sharepointUrl.ToString() quot;/_api/web/listsquot;); endpointRequest.Method = quot;GETquot;;// etc.

    Question No: 66 DRAG DROP – (Topic 5)

    Northwind Traders uses Microsoft Office 365 to share customer information between internal and external users. Northwind Traders plans to allow external sales managers to manage customers on the Office 365 site by providing a custom SharePoint autohosted app. The custom web application will be hosted on Microsoft Azure.

    You develop the autohosted app that allows all users on Office 365 to be able to read and write data in a SharePoint list from an ASP.NET web application.

    You need to ensure that the custom web application will authenticate itself, get access tokens from the Microsoft Azure Access Control Service (ACS), and read to and write from a SharePoint list.

    You have the following code:

    Ensurepass 2018 PDF and VCE

    Which code segments should you include in Target 1, Target 2 and Target 3 to complete the code? (To answer, drag the appropriate code segments to the correct targets 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.)

    Ensurepass 2018 PDF and VCE

    Answer:

    Ensurepass 2018 PDF and VCE

    Explanation:

    Ensurepass 2018 PDF and VCE

    * Example (Target1, Target2) (TokenHelper.GetContextTokenFromRequest, TokenHelper.ReadAndValidateContextToken)

    // The Page_load method fetches the context token and the access token.

    // The access token is used by all of the data retrieval methods. protected void Page_Load(object sender, EventArgs e)

    {

    string contextTokenString = TokenHelper.GetContextTokenFromRequest(Request); if (contextTokenString != null)

    {

    contextToken =

    TokenHelper.ReadAndValidateContextToken(contextTokenString, Request.Url.Authority);

    // etc,

    }

    * Example (Target 3, TokenHelper.GetClientContextWithAccessToken):

    // This method retrieves information about the host web by using the CSOM. private void RetrieveWithCSOM(string accessToken)

    {

    if (IsPostBack)

    {

    sharepointUrl = new Uri(Request.QueryString[quot;SPHostUrlquot;]);

    }

    ClientContext clientContext = TokenHelper.GetClientContextWithAccessToken( sharepointUrl.ToString(), accessToken);

    }

    Question No: 67 DRAG DROP – (Topic 5)

    You create SharePoint apps for multiple clients.

    Each client has a unique environment with specific requirements. You need to choose the appropriate hosting location for each app.

    What should you do? (To answer, drag the appropriate hosting options to the correct description in the answer area. Each hosting option 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.)

    Ensurepass 2018 PDF and VCE

    Answer:

    Ensurepass 2018 PDF and VCE

    Explanation:

    Ensurepass 2018 PDF and VCE

    Box 1, box 4: Provider-hosted apps

    Provider-hosted apps for SharePoint include components that are deployed and hosted outside the SharePoint farm. They are installed to the host web, but their remote components are hosted on another server.

    Box 2: Autohosted

    With auto-hosted apps all Windows Azure and Windows Azure SQL Database components are provisioned for you when the app is installed and the Windows Azure Web Sites infrastructure handles load balancing and other important maintenance tasks for you.

    Box 3: SharePoint-hosted SharePoint-hosted apps

    Start with the simplest option: SharePoint-hosted apps, or apps where all components are hosted on either an on-premises or Office 365 SharePoint farm.

    Note: Apps in SharePoint

    SharePoint 2013 app model has three types of hosting model.

    1. SharePoint Hosted Application.

    2. Auto Hosted Application.

    3. Provider Hosted Application.

      Question No: 68 – (Topic 5)

      You develop a SharePoint app to create an approval workflow for expense reports. The app must collect user input during the workflow.

      You need to use ASP.NET forms in the workflow. Which form type should you use?

      1. Workflow modification form

      2. Workflow input form

      3. Workflow task form

      4. Workflow initiation form

Answer: A Explanation: Modification Forms

Modifications are options you present to users to change the workflow as it#39;s running on an item. You can then create modification forms that enable users to specify the parameters of the modification.

Note:

Four types of forms can be used in a workflow: association, initiation, task, and modification.

Incorrect:

Not D: Association and Initialization Forms

Association and initialization forms are displayed for users to fill out before any workflow is actually started. You can use these forms to enable users to set parameters and other information for the workflow before it starts.

Reference: Workflow Forms Overview

Question No: 69 DRAG DROP – (Topic 5)

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

Ensurepass 2018 PDF and VCE

Answer:

Ensurepass 2018 PDF and VCE

Explanation:

Ensurepass 2018 PDF and VCE

Box 1: ContentTypes(quot;Documentquot;)

Box 2: quot;Tasksquot;

Box 3: quot;WF Historyquot;

Box 4: CreateWebContentTypeAssociation

* SPWorkflowAssociation.CreateWebContentTypeAssociation method

Syntax: public static SPWorkflowAssociation CreateWebContentTypeAssociation ( SPWorkflowTemplate baseTemplate,

string name,

string taskListName, string historyListName)

Question No: 70 DRAG DROP – (Topic 5)

You have a large list that contains more than 5,000 list items.

You need to iterate through the list by using the Content Iterator to avoid getting an exception.

You have the following code:

Ensurepass 2018 PDF and VCE

Which code segments should you include in Target 1, Target 2, Target 3, Target 4, Target 5 and Target 6 to complete the 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.)

Ensurepass 2018 PDF and VCE

Answer:

Ensurepass 2018 PDF and VCE

Explanation:

Ensurepass 2018 PDF and VCE

  • (Target 1, 4) SPQuery.Query property

    Syntax: public string Query { get; set; }

  • (Target 2, 3) ContentIterator

    Provides helper methods that ensure lists can be queried while regulating the amount of data being transferred. This is especially important for queries on large lists or Web farms so that the load put on the database is not excessive.

  • (Target 5) SPContext

Use the SPContext class to return context information about such objects as the current Web application, site collection, site, list, or list item.

*(Target 6) iterator.ProcessListItems ContentIterator.ProcessListItems method (SPList, SPQuery, Boolean,

ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout) Processes list items.

100% Ensurepass Free Download!
Download Free Demo:70-488 Demo PDF
100% Ensurepass Free Guaranteed!
70-488 Dumps

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No