Www.dotnetspider.com



1. As an administrator of a network, you have to build some custom validation code which willforce Microsoft Dynamics CRM users to enter values in certain fields of an opportunity once itsClose Probability field exceeds 50%. A message must be displayed when a user fails to enterappropriate data and they are prevented from saving the opportunity. So what should you do toensure this? (Choose more than one)a. You should use client-side JScriptb. You should use a plug-in on a pre-eventc. You should use a plug-in on a post-eventd. You should use a custom workflow activityAnswer: a, b2. You're in charge of your company network. There's a rule in your company which providesthat when a user creates or updates an account in Microsoft Dynamics CRM, corresponding datain a custom application is to be added or updated with no latency. The custom application has API that can be used to add or update data. You have to ensure that only data that is savedto Microsoft Dynamics CRM is written to the custom application. So what extension approach ismost appropriate?a. In a custom workflow activity.b. Client-side JScript in the OnSave event.c. In a plug-in that is registered on the pre-event.d. In a plug-in that is registered on the post-event.Answers: d3. Look at the following extensibility features. Please choose the appropriate one which meets thefollowing two requirements: 1. It is available within the the Microsoft Dynamics CRM forMicrosoft Office Outlook with Offline Access. 2. It can be deployed as part of the synchronizationprocess. (Choose more than one)a. Plug-insb. extensionsc. Custom workflow activitiesd. Client script that accesses the crmForm object modelAnswers: a, d4. As an administrator of your company network, you've assigned a task that you have to designan extension to Microsoft Dynamics CRM for a customer. If a sales person activates a quote andthe total discount exceeds a threshold, then the extension should create tasks for various people.The logic for calculating this threshold is complex, and is dependent on data in several entities,including the user, the account and the product entities. The customer wants the flexibility tochange the content and properties of the tasks that are created by the code. So what extensionapproach is most appropriate?a. Write a plug-in that checks whether the total discount exceeds the threshold, and if so createsthe tasks.b. Use client-side JScript to check whether the discount exceeds the threshold. If it does, usefurther client-side JScript to create the tasks.c. Create a custom workflow activity that returns a value identifying whether the total discountexceeds the threshold.d. Use client-side JScript to check whether the discount exceeds the threshold. If it does, set a flagattribute in the quote record.Answers: c5. You are an adiministrator of your company network. You created and deployed a webapplication which accesses Microsoft Dynamics CRM contact data through the CrmService Webservice. The application uses a Web reference for the CrmService Web service which was createdwithin Visual Studio and uses strongly typed MicrosoftDynamics CRM Classes. Subsequentlytwo new attributes have been added to the contact entity. And you want to use these newattributes in your application. In order to make these new attributes available to your application,what should you do?a. You don't need to do anything else.b. You should publish the contact entity within the Microsoft Dynamics CRM user interface.c. Within the Visual Studio .Net project, update the Web reference to the CrmService Web service.d. In Visual Studio .Net, find the proxy code generated for the Web service. Add the newattributes as properties of the contact class.Answers: c6. As an administrator of your company network. You've been assigned a task, you have to writean application which uses the CrmService Web service to find an account based on its nameattribute. So what method should you use?a. Retrieve method of the account class.b. Retrieve method of the CrmService class.c. RetrieveMultiple method of the account class.d. RetrieveMultiple method of the CrmService class.Answers: b7. You're an administrator of your company network. Now you're creating custom Web pagesthat extend Microsoft Dynamics CRM contact functionality, using the Microsoft Dynamics CRMWeb service. You want any changes made to the Microsoft Dynamics CRM entity and attributedisplay names can be reflected by your Web pages. So what should you do to achieve this with aslittle additional development work as possible?a. Read the display names from the Microsoft Dynamics CRM Web service CrmService.b. Read the display names from the Microsoft Dynamics CRM Web service MetadataService.c. Store all text in a satellite .Net assembly. Create a separate copy of the satellite assembly foreach deployment with the relevant text.d. Use .Net Reflection within your Web pages to determine the entity and attribute display namesat runtime from the WSDL generated by the Microsoft DynamicsAnswers: b8.You're an administrator of your company network. When using the CrmService Web service,which method should you use to create a new lead in the Microsoft Dynamics CRM database?a. Constructor of the lead class.b. Create method of the lead class.c. Constructor of the CrmService class.d. Create method of the CrmService class.Answers: d9. You're an administrator of your company network. you want to use the CrmService Webservice to find all opportunities that have a CloseProbability greater than 50%. So what shouldyou do to achieve this?a. Use the Retrieve method of the CrmService Web service.b. Use the RetrieveMultiple method of the CrmService Web service, and pass a QueryExpressionparameter.c. Use the RetrieveMultiple method of the CrmService Web service, and pass a QueryByAttributeparameter.d. Use the RetrieveMultiple method of the CrmService Web service, and pass a SQLCommandparameter that queries the FilteredOpportunity view.Answers: b10. You’re an administrator of your company network. Now you've been assigned a task. Youhave to write an application that automatically disables a set of accounts. Which option shouldyou use to programmatically disable an account using the Microsoft Dynamics CRM Webservice? (Choose more than one)a. CrmService.Update method.b. CrmService.SetState method.c. Pass a SetStateAccountRequest to CrmService.Execute method.d. Pass a SetStateDynamicEntityRequest to CrmService.Execute method.Answers: c, d11.You're an administrator of your company network. A block of .NET code has been written byyou. It calls methods of the CrmService Web service to delete Microsoft Dynamics CRM data, andalso performs some mathematical calculations. You plan to record any errors that occur withmeaningful error messages. So what Catch block or blocks of code do you need write?a. One catch block to catch all exceptions of type Exception.b. One catch block to catch all exceptions of type XmlException.c. One catch block to catch all exceptions of type SoapException.Answers: c12. As an administrator of a network, you add a SubArea to the main navigation pane whichlinks to a Web page on the company Intranet, by this way the Microsoft Dynamics CRM userinterface has been extended. This works correctly, but when users of the Microsoft DynamicsCRM for Microsoft Office Outlook with Offline Access try to use the link when they're not online,they receive errors. Now you have to make the Web page available to users in as manycircumstances as possible and reducethe occurrence of errors within the client by the way ofmaking supported customizations. So what should you do to achieve this?a. You should add the attribute AvailableOffline = "false" to the definition of the SubArea.b. You should add the attribute Client = "OutlookWorkstationClient, Web" to the definition of theSubArea.c. You should make a copy of the Web page and add it to the root directory of the Microsoft CRMWeb application on the Microsoft Dynamics CRM server. Ask alld. You should make a copy of the Web page and add it to the installation directory for theMicrosoft Dynamics CRM for Microsoft Office Outlook with Offline Access.Answers: a13. You’re an administrator of your company network. You want to retrieve a list of MicrosoftDynamics CRM 4.0 organizations within a Microsoft Dynamics CRM 4.0 deployment. So whatWeb service should you use?a. You should use CrmService.b. You should use CrmAsyncService.c. You should use MetadataService.d. You should use CrmDiscoveryService.Answers: d14. You’re an administrator of your company network. Now you've been assigned a task, youhave to create a utility application which can be run to add new values to an existing picklist onthe account entity. You know that other customizations may be made to the account entity, andyou have to make sure that your utility application will not overwrite any other accountcustomizations. So what should you do to achieve this?a. In your utility, create instances of the InsertOptionValueRequest class Execute methodb. Create the new picklist values in a development CRM environment.c. Export the account entity customizations from the development CRM environment to an XMLfile Execute methodAnswers: b15.The account entity has a parent account attribute within the CrmService Web service, theparentaccount attribute is used to identify which account record is the parent of a given account.What Microsoft Dynamics CRM attribute type is the parentaccountid attribute?a. Guidb. Ownerc. Lookupd. PicklistAnswers: c16.There's a mechanism for finding all privileges held by a given user in the CrmService Webservice. You can obtain an array of type RolePrivilege with RetrieveUserPrivileges.Thismechanism is implemented the same way as all other entity-specific actions within theCrmService Web service. Given the GUID of a user, how do you find his or her privileges?a. Create an instance of the CrmService class. Call the RetrieveUserPrivileges method of theCrmService class, passing the user's Guid as a parameter. Access the return value of the methodb. Create an instance of the systemuser class. Call the RetrieveUserPrivileges method of thesystemuser class, passing the user's Guid as a parameter. Access the return value of the method.c. Create an instance of the CrmService class. Create an instance of theRetrieveUserPrivilegesRequest class. Call the Execute method of the CrmService class, passingthe RetrieveUserPrivilegesRequest class and user's Guid as parameters. Access the return valueof the Execute method.d. Create an instance of the CrmService class. Create an instance of theRetrieveUserPrivilegesRequest class. Set the UserId field of the systemuser class to the user'sGuid. Call the Execute method of the CrmService class, passing theRetrieveUserPrivilegesRequest class as a parameter. Cast the return value of the Execute methodto the type RetrieveUserPrivilegesResponse.Answers: d17. You're an administrator of your company network. You're using the rmService Web service tocreate a new task, and associate it with an account. You have to set the value of the task object'sregardingobjectid field to do this. So what are you going to set on the regardingobjectid field?a. Set the name property to the name of the account.b. Set the Value property to the ID of the account.c. Set the type property to EntityName.account.ToString().d. Set the type property to EntityName.account.ToString()..Answers: c18.You're an administrator of your company network. You've been assigned a task. You have todevelop a custom workflow activity which will accept an input parameter named Country. Youplan to set a default value for this parameter, which is also visible to any user who creates aworkflow with this custom workflow activity. So what should you do to achieve this?a. Set the default value in code in the constructor of the custom workflow activity class.b. Set the default value in code in the public property accessor for the Country parameterc. Create a new DependencyProperty called CountryDefault that will set the default value whencalled.d. Add an attribute called CrmDefault to the public property definition for the Countryparameter. Set the default value within the attribute definition.Answers: d19.You're an administrator of your company network. You are writing a custom workflowactivity which will make a call to the Microsoft Dynamics CRM Web service. How can this goalbe achieved?a. [C#] CreateCrmService(); Net] CreateCrmService()b. [C#] GetService(typeof(IContextService)); Net] GetService(GetType(IContextService)),ICrmService)c. [C#] GetService(typeof(IContextService)); Context; CreateCrmService(); Net]GetService(GetType(IContextService)), IContextService) Context CreateCrmService()d. [C#] GetService(typeof(IContextService)).context; CreateCrmService(); Net]GetService(GetType(IContextService)).context, IWorkflowContext) CreateCrmService()Answers: c20. You're an administrator of an international corporation. The company has several MicrosoftDynamics CRM servers within one deployment. A custom workflow activity has been created byyou and is going to be used throughout the organization. What steps should be taken to deploythe assembly while using as little effort as possible?a. Register the custom workflow activity assembly on one Microsoft Dynamics CRM server, andspecify a sourcetype of database.b. Register the custom workflow activity assembly on each Microsoft Dynamics CRM server, andspecify a sourcetype of database.c. Register the custom workflow activity assembly on one Microsoft Dynamics CRM server, andspecify a sourcetype of GACd. On each server, copy the assembly to the Global Assembly Cache (GAC)e. Register the custom workflow activity assembly on one Microsoft Dynamics CRM server, andspecify a sourcetype of GACf. On the same server, copy the assembly to the Global Assembly Cache (GAC)Answers: a21.In order to make a custom workflow activity be ready for use within a workflow, you have totake some steps to set up and deploy it. So what are the steps?a. Design and develop the custom workflow activityb. Design and develop the custom workflow activity Sign the assembly with a strong name.c. Design and develop the custom workflow activity Register the custom workflow activityassembly.d. Design and develop the custom workflow activity Sign the assembly with a strong nameRegister the custom workflow activity assemblyAnswers: d22.You're an administrator of your company network. You developed a Custom WorkflowActivity and deployed the assembly dll to your company's Microsoft Dynamics CRMserver. Youhave local administrator rights on the server. In order to make sure that you can debug theassembly on the server, what additional steps should you take? (choose more than one)a. Copy the pdb file to the bin folder of the CRM Web site.b. Copy the pdb file for the assembly to the %installdir%\server\bin\assembly folder.c. Attach the Visual Studio debugger to the process for the CrmAppPool application pool(w3wp.exe).d. Attach the Visual Studio debugger to the Microsoft Dynamics CRM Asynchronous Serviceprocess (CrmAsyncService.exe).Answers: b, d23.Look at the following options, please choose one that describes how any .NET extension codeis written to work correctly on both single and multi-tenant Microsoft Dynamics CRM 4.0implementations. So which option will you choose?a. There are no specific considerations. All calls to the CrmService and MetadataService Webservices will automatically be aware of the correct organization.b. All calls to the CrmService Web service must pass the correct organization information, butcalls to the MetadataService do not need to pass organizationc. All code that accesses the CRM platform must be aware of the current organization, and mustensure the correct organization information is passed on every calld. All code that accesses the CRM platform must be aware of the current organization. The firstcall to either the CrmService or MetadataService Web servicese. Subsequent calls do not need to specify the organization information, as the platform retainsthis informationAnswers: c24. You're an administrator of your company network. You're going to write a plug-in assemblyusing Visual Studio. The plug-in assembly will access the Microsoft DynamicsCRM platform.What references must be added to the project to be able to compile and deploy the plug-inassembly?a. A Web reference to the CrmService Web Service.b. The .Net assembly Microsoft.Crm.Callout.Base.dll.c. The .Net assembly Microsoft.Crm.SdkTypeProxy.dlld. Net assembly Microsoft.Crm.Sdk.dlle. A Web reference to the CrmService Web ServiceAnswers: c25. You're an administrator of your company network. A plug-in assembly must be deployedonto a Microsoft Dynamics CRM 4.0 deployment that consists of two CRM servers. The plug-inassembly does not require any additional assemblies. If the assembly is to be stored in thedatabase, what steps should you take to complete the deployment?a. Register the plug-in on one of the CRM servers.b. Register the plug-in on both of the CRM servers.c. Copy the assembly into the Global Assembly Cache on one of the CRM serversAnswers: a26. You're an administrator of your company network. One of the network administrators of yourcompany tried to register a plug-in, but he received an error stating he did not have enoughprivilege. So what should you do to help this user be able to register the plug-in? (choose morethan one)a. Ensure the user is a member of the local Administrators group on each CRM server.b. Use the Deployment Manager utility to ensure the user is a member of DeploymentAdministrators role.c. Ensure the user is a member of a security role that has organization level privileges for allactions on all entities for which the plug-in is to be registered.Cd. Ensure the user is a member of either the SystemCustomizer or SystemAdministrator securityroles in the Organization in which the plug-in is to be registered.Answers: b, d27. You're an administrator of your company network. You have a Microsoft Dynamics CRM 4.0deployment that has one CRM server. Unhandled exception messages from plug-ins are writtenby the Microsoft Dynamics CRM platform, and which Event log on the CRM server are themessages being written to?a. System Event logb. Security Event logc. Application Event logd. No event log entries are written by defaultAnswers: c28.You're an administrator of your company network. Now you're asked to deploy a plug-inassembly that references other custom .NET assemblies. There're three CRM servers in theMicrosoft Dynamics CRM 4.0 deployment. Where should you place the referenced custom .NETassemblies?a. In the Global Assembly Cache on one of the CRM servers.b. In the Global Assembly Cache on each of the CRM servers.c. In the <installdir>\Program Files\Microsoft Dynamics CRM\server\bin\assembly directoryon each of the CRM serversd. In the <installdir>\Program Files\Microsoft Dynamics CRM\server\bin\assembly directoryon one of the CRM serversAnswers: b29. A new CRM developer is creating a plug-in for the post event of the Update message on thelead entity. Within the plug-in the developer plans to write code that will update the sameinstance of the lead record that was originally updated, but such code can result in an infiniteloop. The plog-in code create the CrmService proxy which is used to perform the update by usingCreateCrmService method of IPluginExecutionContext. Which of the following statements is trueabout infinite loop detection in this scenario within Microsoft Dynamics CRM 4.0?a. The CRM platform will not be able to detect infinite loops.b. The CRM platform will detect the infinite loop after a certain number of iterations of the plugincode.c. Infinite loop detection will only work if your code explicitly sets the CorrelationTokenValue ofthe CrmService class.d. No infinite loops can occur, because plug-ins do not fire as a result of requests submitted fromthe CrmService proxy created in this way.Answers: b30.You're an administrator of your company network. Now you've been assigned a task to writea plug-in to perform validation of data submitted by a user. You want to display en errormessage to the user if the data fails the validation. What should you do to achieve this?a. Put the message in the context.ErrorMessage propertyb. Set the return value of the Execute method to the error message stringc. Add a string parameter to the OutputParameters property bag called ErrorMessage.d. Within the plugin, throw an exception of type InvalidPluginExecutionException with the errormessage in the Message property of thee. InvalidPluginExecutionExceptionAnswers: d31.You're an administrator of your company network. Now you've been assigned a task to writea plug-in, which will be registered on the post event of the Create messagefor the account entity.Within the plug-in you have to access the primary key value of the newly created account. Sowhat should you do to achieve this?a. Use the IPluginExecutionContext.EntityId property.b. Use the IPluginExecutionContext.InputParameters property bagc. Use the IPluginExecutionContext.OutputParameters property bagd. You cannot obtain the ID of the record on the post create event.Answers: c32.You're an administrator of your company network. Now you've been assigned a task to writesome client-side code that checks whether a lead is rated as hot. The rating of lead is stored in thepicklist field leadqualitycode, which has the following values: 1 - Hot 2 - Warm 3 - Cold Youknow that your company want to change the text associated with the three possible values.Youwant this to have the minimal impact on your code. How do you test for a lead rated as hot?a. Use the following line of code: all.leadqualitycode.DataValue == 1)b. Use the following line of code: all.leadqualitycode.DataValue == "1")c. Use the following line of code: all.leadqualitycode.DataValue == "Hot")d. Use the following line of code: all.leadqualitycode.SelectedText == "Hot")Answers: b33.Within client-side script in a Microsoft Dynamics CRM account form, in determining whetherthe form is being used to create a new account, or to edit an existing account, what is the simplestsupported way?a. Check the FormType property of the crmForm object.b. Check whether the name field contains data; if it does the form is being used to edit an existingaccount, otherwise the form is being used to create an account.c. Check whether the crmFormSubmitId field in the crmFormSubmit form contains data; if it doesthe form is being used to edit an existing account, otherwise thed. Ensure the accountid field is added to the form. Check whether the accountid field containsdata; if it does the form is being used to edit an existing account,Answers: a34. As an administrator of your company network, you're responsible for solve problems for yourcompany and its customers. Now in order to enable each customer to view the data stored in theMicrosoft Dynamics CRM account record that corresponds to that customer, you are asked tocreate a Web portal. But customers shouldn't be ableto view any other account records. There'remore than 4000 customers who use this portal, you have to reduce the licensing cost and keepsufficient security. So what users and licenses should you use for this scenario?a. You should create one Microsoft Dynamics CRM user account with a Microsoft Dynamics CRMclient license that is used by all customers. Use this account forb. You should create a separate Microsoft Dynamics CRM user account for each customer, eachwith a Microsoft Dynamics CRM client license. Use each account forc. You should create a separate, non-Microsoft Dynamics CRM authentication mechanism foreach customer in the portal. Purchase a Microsoft Dynamics CRMd. Create one proxy account which the portal uses to access Microsoft Dynamics CRM data.e. You should create a separate, non-Microsoft Dynamics CRM authentication mechanism foreach customer in the portal. Retrieve Microsoft Dynamics CRM dataAnswers: c35.You're an administrator of your company network. Now you've been assigned a task to createan ASP .Net extension for Microsoft Dynamics CRM. This extension will update data within theCRM platform, and it is important that the updates are made using the user context of the userwho accesses the extension. The extension is to be deployed within the CRM Web site on a CRMserver that is configured to use IFD (Forms) authentication. You do not want to prompt the userfor his or her credentials. What should you do to ensure that the CrmService proxy is accessedusing the correct user information?a. Submit a RetrieveCrmTicketRequest to the CrmService.Execute method to get a CrmTicketb. CrmAuthenticationTokenValue.CrmTicket property accordingly.c. Use the ExtractCrmAuthenticationToken method of the CrmAuthenticationToken class tocreate the CrmAuthenticationTokend. CrmAuthenticationTokenValue property accordinglye. Submit a RetrieveCrmTicketRequest to the CrmDiscoveryService.Execute method to get aCrmTicketf. CrmAuthenticationTokenValue.CrmTicket property accordinglyg. Ensure the web.config file for the extension contain the element <identity impersonate="true"/>h. Credentials property to .CredentialCache.DefaultCredentialsAnswers: b36. You're an administrator of your company network. Now you've been assigned a task tocustomize the Microsoft Dynamics CRM account form by placing an IFrame on the form whichwill display the Web site of the account if the websiteurl field is set, otherwise it will display ablank page. What is the easiest way to achieve this in a supported manner?a. Add an IFrame to the account form using the form customization tool. Set the URL to"=crmForm.websiteurl.DataValue".b. In ISV.config, create a NavBarItem for the account entity form, and set the URL attribute to"=crmForm.websiteurl.DataValue"c. In the OnLoad event of the form, and the OnChange event of the websiteurl field, check if thewebsiteurl is set. If so, dynamically create a Dynamic HTML IFramed. Add an IFrame to the account form using the form customization tool. Set the URL to"_root/blank.aspx".e. If so, change the src attribute of the IFrame toAnswers: d37. You're an administrator of your company network. Now you've been assigned a task.You have to enable Microsoft Dynamics CRM users to disqualify several leads directlyfrom the Lead grid within Microsoft Dynamics CRM. It is important that any solution isimplemented in a supported way. You have a custom .aspx page that closes a lead whenthe lead's GUID is passed to the page, and updates related data in an external application.This page is named Disqualify.aspx. You have created a Button element in ISV.Config thatthe user clicks to close the selected leads in the grid. What else actions should you perform?a. Set the URL attribute of the Button element to open Disqualify.aspx.b. Set the URL attribute of the Button element to open Disqualify.aspx..c. Write custom JScript code that will identify the selected items in the grid, and use an XMLRequest to pass the GUID of each lead to Disqualify.aspx.d. Set the URL and WinMode attributes of the Button element to launch a custom Web page as amodal dialog.e. dialogArguments property to identify the selected leads.f. aspxAnswers: d38. You're an administrator of your company network. Now you've been assigned a task. Youhave to add custom code to perform advanced client-side validation on the opportunity form,and prevent a user from saving invalid data. The validity of the data is determined by the valuesof the estimatedclosedate and closeprobability fields. How do you write the code?a. Write the validation code in the OnSave event of the form. If the data is invalid, set theevent.returnValue to false.b. Write the validation code in the OnSave event of the form. If the data is invalid, set the IsDirtyproperty of the form to false.c. Write the validation code in the OnChange event of the estimatedclosedate and closeprobabiltyfields. If the data is invalid, set the IsDirty property of bothd. Write the validation code in the OnChange event of the estimatedclosedate and closeprobabiltyfields. If the data is invalid, set the ForceSubmit property of bothAnswers: a39. You're an administrator of your company network. You're in charge of extending a MicrosoftDynamics CRM implementation for a multi-national company. The implementation contains oneMicrosoft Dynamics CRM organization, but it supports two languages, English and Chinese.Your manager asks you to add a link to the company's Intranet as a SubArea in the mainNavigation Pane of the CRM application. The text of the SubArea should display in English orChinese, based on the user preferred language in Microsoft Dynamics CRM. What should you doto achieve this while using as less effort as possible?a. Create one SubArea in the SiteMap, with two Title elements. For each Title element, set the textand the LCID to the appropriate values for each language.b. Create two separate SiteMaps; one in English and the other in Chinese. Associate each SiteMapwith the appropriate language. Create the SubArea with thec. Create one SubArea in the SiteMap with one Title element.d. Add the SubArea with text in one of the languages.e. Add script to the application OnLoad event to determine the language code (LCID) of thecurrent user, and programmatically update the text of the SubArea if itAnswers: a40. You're an administrator of your company network. An ASP .Net extension has been createdby a developer to access data in a separate application from Microsoft Dynamics CRM. You'reasked to deploy this extension within the CRM Web site. But when it is deployed, it doesn't worknormally. But when deployed in a separate 2.0 Web site, it does work correctly.Youfind that the extension does not contain a web.config file. In order to make it workcorrectly within the CRM Web site, you have to add one web.config element to the extension. Sowhich web.config elements may need to be added to? (choose more than one)a. pagesb. appSettingsc. httpRuntimed. httpModulesAnswers: a, d41. You're an administrator of your company network. Now you've been assigned a task to createan ASP .Net extension for Microsoft Dynamics CRM. This extension will access data within theCRM platform. Also, it is important that the extension can only access the data that the user whoaccesses the extension is permitted to see. Theextension must be reusable on many CRMdeployments, which may use either IFD (Forms) or Active Directory authentication, and is to bedeployed within the CRM Website. You do not want to prompt the user for his or her credentials.The web.config file for the extension contains the element <identity impersonate="true" /> Howdoes your code need to access the CRM data ?a. Use the System.Data namespace to retrieve the CRM data using SQL SELECT statementsagainst the base SQL tables.b. Use the System.Data namespace to retrieve the CRM data using SQL SELECT statementsagainst the Filtered Views.c. Ensure all code that accesses the CRM platform is wrapped within a using (newCrmImpersonator()) code block Use the Retrieve and RetrieveMultiple methodsd. Use the CrmDiscoveryService to retrieve the UserId of the current user.e. CallerId to the appropriate userAnswers: c42.Which of the following can you do by editing the Microsoft Dynamics CRM SiteMap? (choosemore than one)a. Add new links within an entity form to custom Web pagesb. Add a new menu to the Microsoft Dynamics CRM Application Menu Barc. Remove the Sales Area from the Microsoft Dynamics CRM Navigation Paned. Add new links within the Microsoft Dynamics CRM application to custom Web pagesAnswers: c, d43. You're an administrator of your company network. Now you've been assigned a task. Youhave to create an ASP .Net extension for Microsoft Dynamics CRM. This extension will bedeployed on a multi-tenanted Microsoft Dynamics CRM deployment which has severalorganizations. The extension will be deployed within the CRM Web site, and will be accessedfrom an ISV.Config button which will be created within the customizations for all organizations.what is the simplest way to identify the appropriate organization within the extension?a. Use the CrmDiscoveryService to return the current organization context.b. Ensure the PassParams="1" attribute is set on the ISV.Config button configurationc. Obtain the Organization from the orgname value of the QueryStringd. Use a WhoAmIRequest to find the UserId of the current usere. Use the CrmDiscoveryService to return the default organization for that userf. Use the ExtractCrmAuthenticationToken method of the CrmAuthenticationToken class to get aCrmAuthenticationToken. Read the OrganizationName propertyg. of the CrmAuthenticationTokenAnswers: b44. What is the easiest way to specify the data for the CrmAuthenticationToken when submittinga Soap Request to the CrmService from client script?a. Use the client side GenerateAuthenticationHeader() function. Include the return value withinthe <Soap:Header> elementb. Submit a Soap Request to the CrmService Web service to return the information. Add thesewithin the <Soap:Header> elementc. Read the AuthenticationType, OrganizationName and CallerId from the crmForm object. Addthese within the <Soap:Header> elementd. Submit a Soap Request to the CrmDiscoveryService Web service to return the information. Addthese within the <Soap:Header> elementAnswers: a45. Which of the following extensions to the Microsoft Dynamics CRM Client for Outlook areusing through Microsoft Dynamics CRM Customizations? (choose more than one)a. Adding a menu item to Account entity formb. Adding a new area to the main navigation panec. Adding a button to the toolbar of the Case entity formd. Adding a button to the CRM toolbar of the Outlook clientAnswers: a, b, c46. You're an administrator of your company network. Now you've been assigned a task. Youhave to write some code to validate data within the OnSave event of the opportunity form. Thisvalidation code depends on data stored in the estimatedrevenue attribute of the account that isthe Potential Customer of the opportunity. The Potential Customer is stored in the customeridattribute, and you have already checked that it does contain a valid account. You have to ensurethat the solution is implemented in a supported way.How can you access the data in theestimatedrevenue attribute?a. Use the following client script expression:b. all.customerid.estimatedrevenue.DataValue.c. Use the following client script expression:d. all.customerid.DataValue[stimatedrevenue.DataValue.e. Use the OpenObj function to open the form for the appropriate account. Use the return value ofthe OpenObj function to obtain access to the crmForm object forf. Create a new instance of the Msxml2.XmlHttp ActiveXObjectAnswers: d47. A custome .NET application that uses the CrmService Web service to create leads and newcustom entity records within Microsoft Dynamics CRM has been written by you.The applicationall runs normally when testing the code using an account with the System Administrator securityrole. However, when using a different user account theleads are created, but the code for creatingthe custom entity records fails. An error indicates the user does not hold the necessaryprivileges.You check the user account used, add it to a security role which has the CREATEaccess right for the custom entity, then test the code again, but get the same error. So what is themost likely reason for this problem?a. The code has not set the CallerIdValue field of the CrmService object to that of the correct user.b. Security changes to custom entities only apply after the entity is published.Publish the customentity and try again.c. Security role membership is only checked when a user account logs on. Log off, and log onagain with the user account before testing again.d. The user account requires more than just the CREATE access right.Answer: d48. As an administrator of a company, now you've been assigned a task, you have to write anextension to Microsoft Dynamics CRM 4.0 which will be deployed on an Microsoft DynamicsCRM implementation that supports multiple languages.The extension will need to display thetext labels of picklist fields to the user. All users have been granted appropriate permissions toaccess the MetadataService Web service. So what should you do tou ensure that each user seesthese text labels in the correct language, with the least development effort?a. Deploy one instance of the extension for each language, and specify the language to which itapplies. The CRM platform will automatically call the correctb. Your extension code must impersonate the current user when retrieving the picklist labels fromthe MetadataService Web service. The MetadataService Webc. Your extension code should retrieve the labels for all languages. Whenever labels need to bedisplayed, your code will need to retrieve the current userd. Retrieve the picklist labels from the MetadataService Web service in the default language.Whenever labels need to be displayed, your code will need to retrieveAnswer: b49. You're the administrator of your company network. There is a rule in your company whichprovides that a record must be written to a custom application when a user creates a case inMicrosoft Dynamics CRM. You must ensure that the code you write does not have impact on theMicrosoft Dynamics CRM user's experience as the custom application can be slow to update.Also you must ensure that only data that is saved to Microsoft Dynamics CRM is written to thecustom application. So how should you write the logic to update the custom application?a. As a synchronous plug-in registered on a pre-event.b. As an asynchronous plug-in registered on a pre-event.c. As an asynchronous plug-in registered on a post-event.d. Using client-side Jscript that runs on a form's OnSave event.Answer: c50.Several extensions for Microsoft Dynamics CRM 3.0 have been written by your company,which were deployed by many customers. And the extensions were tested successfully onMicrosoft Dynamics CRM 4.0. But some customer complains that the extensions don't work anyloner when they upgrade their implementation to Microsoft Dynamics CRM 4.0.What differencesbetween the test environment, and this customer deployment may be the cause of the problems?(choose more than one)a. The customer deployment may use a different SQL collation and sort order.b. The customer deployment may have been deployed on Windows Live, which does not supportall types of extensions.c. The customer deployment may include multiple CRM organizations. Extensions written forMicrosoft Dynamics CRM 3.0 can only work on the defaultd. The customer deployment may use IFD (Forms) authentication. Extensions written forMicrosoft Dynamics CRM 3.0 assume Active Directory authentication isAnswer: c, d ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download