You need to receive an e-mail notification if WF1 is postponed
You create a workflow named WF1. WF1 is attached to a list named List1. You need to receive an
e-mail notification if WF1 is postponed. What should you do?
Which code condition should you use?
You need to create a Web Part that verifies whether a user who accesses the Web Part page is a
member of a group named Group1. Which code condition should you use?
Which code segment should you use?
You create a Web Part that calls a function named long Call. You discover that long Call takes a
long time to execute. You need to display in the Developer Dashboard how long it takes to
execute long Call. Which code segment should you use?
which process should you attach the debugger?
You create a sandboxed solution that contains a Web Part. You need to debug the Web Part by
using Microsoft Visual Studio 2010. To which process should you attach the debugger? —
You need to ensure that the delegate control meets the following requirements…?
You add a delegate control to the <head> section of a custom master page. You reference a
default script file by using the delegate control. You need to ensure that the delegate control
meets the following requirements: Prevents other developers from deleting the default script
reference Provides developers with the ability to add additional script references Provides
developers with the ability to change the order of the script references Which property should you
use?
Which interface should you implement?
You are creating a Web Part in SharePoint Server 2010. You need to ensure that the Web Part
can send data to another Web Part. Which interface should you implement?
Which code segments should you add at lines 03, 04 and 05?
You are creating an event receiver. The event receiver will have a field named Title and a field
named Priority. You write the following code segment for the event receiver. (Line numbers are
included for reference only.) 01 Public Overloads Overrides Sub ItemUpdating(ByVal prop As
SPItemEventProperties) 02 MyBase.ItemUpdating(prop) 03 04 05 06 End Sub You need to
ensure that when the Title field is changed to include the word IMPORTANT, the Priority field is
set to URGENT. Which code segments should you add at lines 03, 04 and 05?
Which method type should you use?
You create an entity named Customer in a Business Connectivity Services (BCS) object mode.
You need to ensure that Customer data can be displayed in a Business Data List Web Part.
Which method type should you use?
Which parent control should you use for Field1?
You create a custom page layout that has a field control named Field1. You need to ensure that
Field1 is only visible when users modify the contents of the page. Which parent control should you
use for Field1?
Which code segments should you add at lines 04 and 05?
You have the following event receiver. (Line numbers are included for reference only.) 01Public
Overloads Overrides Sub FieldDeleting (ByVal properties As SPListEventProperties) 02
MyBase.FieldDeleting(properties) 03 If properties.FieldName = “Status” Then 04 05 06 End If
07End Sub You need to cancel the operation and redirect the user to a custom error page if the
name of the deleted field is Status. Which code segments should you add at lines 04 and 05?