Are you preparing for a CRM (Customer Relationship Management) plugin interview and looking for a comprehensive list of questions to boost your confidence? Look no further! In this blog post, we've compiled an extensive list of CRM plugin interview questions that cover a wide range of topics. Whether you're a seasoned CRM developer or just starting your journey, these questions will help you prepare for the big day.
Understanding the CRM Event Execution Pipeline
1. Explain in detail about the event execution pipeline.
Plugin Registration and Execution Pipeline
2. When do we register a plugin in a child pipeline? Give examples.
3. What are images? Why are they used?
4. What is early binding and late binding? How is it used in CRM?
5. How do you debug a plugin?
6. When an infinite loop occurs in a plugin, how do you avoid infinite loops in the plugin code?
7. How do you avoid SQL deadlock?
Record Deletion and Recovery
8. If you delete a record from the UI, what happens in the database? Can you bring the record back?
9. What is the deletion service? Can you change its schedule?
Understanding Plugins and Workflows
10. Difference between Plugin vs. Workflow (Asynchronous vs. Synchronous)
11. Difference between Secure & Unsecured Config?
12. Difference between CRM web service Vs CRM.SDKProxy namespaces.
13. What are the different operations (Pre-Validation, Pre-Operation & Post-Operation) in Plugin?
Early Binding vs. Late Binding
14. When should we go with Early Binding and when with Late Binding?
Passing Data and Registering Plugins
15. Can we pass data between two Plugins?
16. Can we register On-Premise plugin in Sandbox mode?
Plugin Deployment and Best Practices
17. Different modes of the plugin?
18. Best Practices of CRM Plugin Development (https://msdn.microsoft.com/en-us/library/gg509027.aspx).
Security and Plugin Registration
19. What security roles need to register the plugin in Online and On-Premise both?
20. What is filtering Attribute in CRM Plugin Reg Tool?
Tracing and Context Information
21. What is Tracing Service in Plugin?
22. What information can we get from Plugin Context?
Differences and Execution Time
23. Difference between Service.Retrieve and Service.RetrieveMultiple
24. Different ways (QueryExpression, LINQ, FetchXML) to fetch CRM metadata in Plugin? Difference between them?
25. Disadvantages of using Query Expressions?
26. What is the Execution Time of Sync and Async plugin in CRM?
Asynchronous and Synchronous Execution
27. Which will execute first in Async Workflow and Async Plugin?
28. Which will run first Synchronous Workflow (Real-Time Workflow) or Synchronous Plugin?
29. Which will run first Asynchronous Workflow or Asynchronous Plugin?
Order and Property Checks
30. What happens when we set the execution order of the Plugin to '0'?
31. Which property is used to check whether Plug-ins may or may not execute within the database transaction of the Microsoft Dynamics 365 platform?
Handling Failures and Advantages
32. If Async (or Async Workflow) and Sync both plugins are registered on the same entity and event, and Sync Plugin gets failed. What would happen with Async Plugin?
33. What are the advantages of Plugins over Workflow (System + Custom) and vice-versa? Since both can be written on the server side, then what Plugin can do that Workflow can't and vice-versa?
Plugin Limitations and Advanced Concepts
34. What are the limitations of Plugins?
35. What is Azure Aware Plugins?
36. What is the difference between Registering Endpoint and Register Webhook Plugins?
37. How can we deploy Endpoint configuration (URL, port, header, key, etc.) from one instance to another in the case of Endpoint registration plugins?
OOPs Concepts in Dynamics CRM
38. What are the OOPs concepts used in Dynamics CRM? Tell me with examples?
39. Tell me any Example of Inheritance in Dynamics CRM?
40. Tell me any Example of Polymorphism in Dynamics CRM?
41. Tell me any Example of Abstraction in Dynamics CRM?
42. Tell me any Example of Constructor in Dynamics CRM?
43. Tell me any Example of Classes and Objects in Dynamics CRM?
44. Tell me any Example of Encapsulation in Dynamics CRM?
Impersonation and Security
45. Does Impersonation work for Offline Plugins?
Registering Plugins and External Web Services
46. What are the different ways to register a plugin?
47. In order to access the external website or page, do we have a provision for prompting the logged on user for credentials or saving those credentials inside a plugin?
Combination of CRM Components
48. What would be the execution order if Plugin, Workflow, and JavaScript are being run in the same event?
Understanding Execution Modes
49. What is the execution timeout of Async and Sync Plugin?
Field Properties and Security
50. Why the field IsValidForUpdate used for from the plugin perspective?
51. Can a field security-enabled field be accessible from Plugin Pre-Images?
Handling Shared Data
52. What is the significance of Shared variables?
Debugging and CRM Metadata Fetch
53. How can you get the plugin tracing information in CRM?
54. Can we configure our own connection string and credential inside the plugins?
55. What are the OOPs concepts used in Dynamics CRM? Tell me with examples?
56. What are different ways (QueryExpression, LINQ, FetchXML) to fetch CRM metadata in Plugin? Difference between them?
57. Disadvantages of using Query Expressions?
58. What is the Execution Time of Sync and Async plugin in CRM?
Async and Sync Execution Order
59. Which will execute first in Async Workflow and Async Plugin?
60. Which will run first Synchronous Workflow (Real-Time Workflow) or Synchronous Plugin?
61. Which will run first Asynchronous Workflow or Asynchronous Plugin?
Setting Execution Order
62. What happens when we set the execution order of the Plugin to '0'?
Database Transaction and Plugin Property Checks
63. Which property is used to check whether Plug-ins may or may not execute within the database transaction of the Microsoft Dynamics 365 platform?
Handling Failures and Advantages
64. If Async (or Async Workflow) and Sync both plugins are registered on the same entity and event, and Sync Plugin gets failed. What would happen with Async Plugin?
65. What are the advantages of Plugins over Workflow (System + Custom) and vice-versa? Since both can be written on the server side, then what Plugin can do that Workflow can't and vice-versa?
Plugin Limitations and Advanced Concepts
66. What are the limitations of Plugins?
67. What is Azure Aware Plugins?
68. What is the difference between Registering Endpoint and Register Webhook Plugins?
69. How can we deploy Endpoint configuration (URL, port, header, key, etc.) from one instance to another in the case of Endpoint registration plugins?
Conclusion:
For Answers Please go through Other Blog posts
We hope this comprehensive list of CRM plugin interview questions helps you prepare for your upcoming interview. Mastering these topics will not only showcase your expertise but also boost your confidence during the interview process. Remember, preparation is the key to success. All the best for your CRM plugin interview!