Lead2pass provides guarantee of Microsoft MB2-876 exam because Lead2pass is an authenticated IT certifications site and the high class of the products are developed due to extensive hiring of the experts staff. The MB2-876 study guide is updated with regular basis and the answers are rechecked of every exam.What’s more, you can download the free demos in PDF file, it would be a great help for your exam.
QUESTION 11
You are creating a plug-in for Microsoft Dynamics CRM 2011.
You have code that creates a Request object and a Response object.
You need to assign an account to another user.
What should you do? (Each correct answer presents a complete solution. Choose two.)
A. Pass a SecurityPrincipal object that references the logged-in user to the Request object.
B. Pass a WindovvsPrincipal object that references the logged-in user to the Request object.
C. Pass the identifier for the account to the Target property of the Request object.
D. Pass the Request and Response objects to the Execute () method.
E. Return the results of the Execute() method to the Response object.
Answer: CE
QUESTION 12
You are developing a Microsoft Dynamics CRM 2011 application.
You plan to use a LINQ statement to query data.
Which of the following LINQ operators are supported by Microsoft Dynamics CRM 2011? (Each correct answer presents a complete solution. Choose three.)
A. Inner Joins
B. orderBy
C. from
D. Outer Joins
E. groupBy
Answer: ABC
QUESTION 13
You plan to develop a Windows application for Microsoft Dynamics CRM 2011 by using Microsoft Visual Studio 2010.
You need to ensure that you can use the IOrganizationService interface of the Organization Service web service.
Which assembly reference should you add to the project?
A. Microsoft.Xrm.Sdk.dll
B. Microsoft.Crm.SdkTypeProxy.dll
C. Microsoft.Crm.Callout.Base.dll
D. Microsoft.Crm.Sdk.dll
Answer: A
QUESTION 14
You are developing a Microsoft Dynamics CRM 2011 application that uses requests and responses.
Which type of data message can include a Target property for use when the message is applied to a different entity type?
A. CreateRequest
B. QueryExpressionToFetchXml
C. SendEmailRequest
D. WhoAmI
Answer: A
QUESTION 15
Which function in the GlobalContext class returns the base language for the user’s organization?
A. getCurrentTheme
B. getServerUrl
C. getOrgLcid
D. getAuthenticationHeader
Answer: C
QUESTION 16
You are developing a JScript-based script for Microsoft Dynamics CRM 2011.
You need to ascertain the security roles with which the current user is associated.
Which method should you use?
A. Xrm.Page.context.getUserRoles()
B. Xrm.Page.ui.getUserRoles()
C. Xrm.Page.data.getUserRoles()
D. Xrm.Page.data.entity.getUserRoles()
Answer: A
QUESTION 17
You are adding custom JScript code to a Microsoft Dynamics CRM 2011 form.
Why should you use the Xrm.Page.getFormType() method to check the form type before performing operations on form fields?
A. To determine whether field-level security has modified the form layout.
B. To ensure that the JScript code will work as expected for the form on which the script is running.
C. To verify the user’s current security roles.
D. To ensure that a specified form field is enabled.
Answer: B
QUESTION 18
You are developing a JScript-based script for Microsoft Dynamics CRM 2011.
You need to close the current form.
Which method should you use?
A. document.close();
B. Xrm.Page.ui.close();
C. Xrm.Page.ui.formSelector.items.get()[0].navigate();
D. window.close();
Answer: B
QUESTION 19
You are developing a JScript-based script for Microsoft Dynamics CRM 2011.
You need to save and close the current form.
Which method should you use?
A. Xrm.Page.data.entity.save("saveandclose");
B. Xrm.Page.data.entity.save(true);
C. Xrm.Page.data.entity.removeOnSave("saveandclose");
D. Xrm.Page.data.entity.addOnSave("saveandclose");
Answer: A
QUESTION 20
What is the purpose of the Xrm.Page.context.getUserRoles() method?
A. To return an EntityCollection containing the security roles assigned to the current user.
B. To return an array of strings that represent the names of the security roles assigned to the current user.
C. To return an array of GUIDs that represent the IDs of the security roles assigned to the current user.
D. To return an object array containing the IDs and names of the security roles assigned to the current user.
Answer: C
Thanks for your reading,if you want to get more MB2-876 exam preparation material,you can download the free demos in PDF files on Lead2pass.Wish you pass the exam successfully.