Microsoft 70-488 Exam Practice Questions (P. 5)
- Full Access (79 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #21
A company has a SharePoint farm that has the following configuration:
✑ SPWFE1 and SPWFE2 are configured as front-end web servers.
✑ SPAPP1 and SPAPP2 are configured as application servers.
✑ New servers will be added to the farm.
You implement a solution that contains a custom navigation provider.
You need to register a custom navigation provider by using the least amount of administrative effort.
What should you do?
✑ SPWFE1 and SPWFE2 are configured as front-end web servers.
✑ SPAPP1 and SPAPP2 are configured as application servers.
✑ New servers will be added to the farm.
You implement a solution that contains a custom navigation provider.
You need to register a custom navigation provider by using the least amount of administrative effort.
What should you do?
- ACreate a web.solutionname.xml file in the \CONFIG directory and run the copyappbincontentStsadm command.
- BEdit the ApplicationHost.config file on each SharePoint server.
- CEdit the web.config file for the web application on all SharePoint servers.
- DUse the SPWebConfigModification class.
Correct Answer:
D
In Microsoft SharePoint Foundation, one way to modify web.config settings is to use the SPWebConfigModification class of the
Microsoft.SharePoint.Administration namespace, which allows you to dynamically register entities. These modifications are persisted in the configuration database where they function as a kind of virtual web.config that effectively serves as the final layer of the .config file stack for the SharePoint Foundation web application.
The changes become effective when the SPWebService.ApplyWebConfigModifications method is called.
Reference: How to: Add and Remove Web.config Settings Programmatically
D
In Microsoft SharePoint Foundation, one way to modify web.config settings is to use the SPWebConfigModification class of the
Microsoft.SharePoint.Administration namespace, which allows you to dynamically register entities. These modifications are persisted in the configuration database where they function as a kind of virtual web.config that effectively serves as the final layer of the .config file stack for the SharePoint Foundation web application.
The changes become effective when the SPWebService.ApplyWebConfigModifications method is called.
Reference: How to: Add and Remove Web.config Settings Programmatically
send
light_mode
delete
Question #22
You need to retrieve data about all the lists in a site by using the REST (Representational State Transfer) API.
Which code segment should you use?

Which code segment should you use?

- AOption A
- BOption B
- COption C
- DOption D
Correct Answer:
C
Must use _api/web/lists:
To retrieve all of the lists in a specific SharePoint site, you would make a GET request to http://<site url>/_api/web/lists.
Incorrect:
Not B: The method must be GET (not POST).
Reference: How to: Complete basic operations using SharePoint 2013 REST endpoints
C
Must use _api/web/lists:
To retrieve all of the lists in a specific SharePoint site, you would make a GET request to http://<site url>/_api/web/lists.
Incorrect:
Not B: The method must be GET (not POST).
Reference: How to: Complete basic operations using SharePoint 2013 REST endpoints
send
light_mode
delete
Question #23
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.)
Hot Area:

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.)
Hot Area:

Correct Answer:
Box 1: ..WorkTItem Type()
You need to write a work-item timer job.
Box 2: ..BatchFetchLimit=50 -
For performance reasons, fewer than 50 documents at a time should be processed.
Box 3: ..ProcessWorkItem -
For Work Item Timer Jobs you use the ProcessWorkItem method to execute your logic.
Reference: Processing items with Work Item Timer Jobs in SharePoint 2010

Box 1: ..WorkTItem Type()
You need to write a work-item timer job.
Box 2: ..BatchFetchLimit=50 -
For performance reasons, fewer than 50 documents at a time should be processed.
Box 3: ..ProcessWorkItem -
For Work Item Timer Jobs you use the ProcessWorkItem method to execute your logic.
Reference: Processing items with Work Item Timer Jobs in SharePoint 2010
send
light_mode
delete
Question #24
DRAG DROP -
You need to create workflows for your business processes by using the least amount of development effort.
Which four actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Select and Place:

You need to create workflows for your business processes by using the least amount of development effort.
Which four actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Select and Place:

Correct Answer:
Box 1: Verify and use the out-of-the-box workflows for the objective.
First try to use only out-of-the box workflows.
Box 2: Verify and use SharePoint Designer workflows without creating any custom activities in Visual Studio.
If that is not enough use SharePoint Designer workflows as well.
Box 3: Use Microsoft Visual Studio 2012 to create the workflow custom activities.
If custom activities are required then use Microsoft Visual Studio 2012 to create these activities.
Box 4: Use SharePoint Designer to create a workflow definition by using the activities.
Then use these activities in SharePoint Designer workflows.
Note:
* SharePoint Designer can consume and implement custom actions that are created and deployed by using Visual Studio.
* SharePoint 2013 supports two primary workflow development environments for authoring workflows: SharePoint Designer and Visual Studio.
* Among the greatest advantages of the workflow framework in SharePoint 2013 is the ease with which information workers can use the no-code environment of
SharePoint Designer to create rich and powerful workflows.
Reference: Develop SharePoint 2013 workflows using Visual Studio

Box 1: Verify and use the out-of-the-box workflows for the objective.
First try to use only out-of-the box workflows.
Box 2: Verify and use SharePoint Designer workflows without creating any custom activities in Visual Studio.
If that is not enough use SharePoint Designer workflows as well.
Box 3: Use Microsoft Visual Studio 2012 to create the workflow custom activities.
If custom activities are required then use Microsoft Visual Studio 2012 to create these activities.
Box 4: Use SharePoint Designer to create a workflow definition by using the activities.
Then use these activities in SharePoint Designer workflows.
Note:
* SharePoint Designer can consume and implement custom actions that are created and deployed by using Visual Studio.
* SharePoint 2013 supports two primary workflow development environments for authoring workflows: SharePoint Designer and Visual Studio.
* Among the greatest advantages of the workflow framework in SharePoint 2013 is the ease with which information workers can use the no-code environment of
SharePoint Designer to create rich and powerful workflows.
Reference: Develop SharePoint 2013 workflows using Visual Studio
send
light_mode
delete
Question #25
DRAG DROP -
You plan to use an app event receiver in conjunction with a remote event receiver.
You need to create the remote event receiver by using Visual Studio 2012.
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Select and Place:

You plan to use an app event receiver in conjunction with a remote event receiver.
You need to create the remote event receiver by using Visual Studio 2012.
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Select and Place:

Correct Answer:
Note:
* To handle events that occur to items in apps for SharePoint
1. In Visual Studio, open Solution Explorer, and then choose the project node of the app for SharePoint.
2. (box 1) On the menu bar, choose Project, Add New Item.
3. (box 1) In the Templates pane, choose Remote Event Receiver, specify a name in the Name box, and then choose the Add button.
The SharePoint Customization Wizard appears.
4. (box 2) On the Choose Event Receiver Settings page, choose an event receiver type, such as List Item Events.
5. Set the event source to a list whose events you want to handle, such as Announcements.
6. In the list of events to handle, select the check box next to each event that you want to handle, such as An item was added, and then choose the Finish button.
A web application is created with a web service that contains a code file.
7. (box 3) In the code file for the web service, add code that will execute every time the events that you specified occur.
Reference: How to: Create a remote event receiver

Note:
* To handle events that occur to items in apps for SharePoint
1. In Visual Studio, open Solution Explorer, and then choose the project node of the app for SharePoint.
2. (box 1) On the menu bar, choose Project, Add New Item.
3. (box 1) In the Templates pane, choose Remote Event Receiver, specify a name in the Name box, and then choose the Add button.
The SharePoint Customization Wizard appears.
4. (box 2) On the Choose Event Receiver Settings page, choose an event receiver type, such as List Item Events.
5. Set the event source to a list whose events you want to handle, such as Announcements.
6. In the list of events to handle, select the check box next to each event that you want to handle, such as An item was added, and then choose the Finish button.
A web application is created with a web service that contains a code file.
7. (box 3) In the code file for the web service, add code that will execute every time the events that you specified occur.
Reference: How to: Create a remote event receiver
send
light_mode
delete
All Pages