Plugin Interview Questions:
Explain in details about the event execution pipeline.
When do we register a plugin in a child pipeline? give examples
What are images? Why are they used?
What is early binding and late binding? How is it used in CRM?
How do you debug a plugin?
When an infinite loop occurs in a plugin. How do you avoid infinite loops in the plugin code?
How do you avoid SQL deadlock?
if you delete a record from UI, what happens in the database. can you bring the record back?
what is deletion service? can you change its schedule
Difference between PlugIn vs Workflow (Asynchronous vs Synchronous)
for plugin deployment, Difference between GAC, DataBase, Disk deployments.
Difference between CRM web service Vs CRM.SDKProxy namespaces.
What are the different operation (Pre Validation, Preoperation & Post operation) in Plugin?
Difference between Secure & Unsecured Config?
When we should go with Early binding and when with Late Binding?
Can we pass data between two Plugins?
Can we register For-premise plugin in Sandbox mode?
Different modes of the plugin?
Why we need to Create Security Key before registered the plugin?
Alternate Keys in Microsoft Dynamics 365!
What interface we use a plugin to inherit CRM Services?
Importance of Secondary Entity in plugin registration tool?
What security roles need to register the plugin in Online and on-premise both?
What is filtering Attribute in CRM Plugin Reg Tool?
What is Tracing Service in Plugin?
What is the Target Entity, Input and Output Parameter in Plugin?
Difference between Service.Retrieve and Service.retrieve multiple
What are different ways (QueryExpression, LINQ,
FetchXML) to fetch CRM metadata in Plugin? Difference between them?
Disadvantages of using Query Expressions?
What is the Execution Time of Sync and Async plugin in CRM?
Which will execute first in ASync Workflow and Async Plugin?
How can we call external web service in on-premise and Online plugin CRM?
What are the different ways available to debug a Plugin (Onprem and Online both)
Best Practices of CRM Plugin Development (https://msdn.microsoft.com/en-us/library/gg509027.aspx).
Can we register on-premise plugin in Sandbox mode?
Why online plugin has to be registered in sandbox mode only?
What are the different storage locations available to store a plugin?
What are the DLLs required to register a plugin?
What is the significance of System.Runtime.serialization.dll in the plugin?
What information can we get from Plugin Context?
What is the difference between Plugin Context and Pre-Image?
How can you get the plugin tracing information in CRM?
Can we configure our own connection string and credential inside the plugins?
What are the OOPs concepts use in Dynamics CRM? Tell me with examples?
Tell me any Example of Inheritance in Dynamics CRM?
Tell me any Example of Polymorphism in Dynamics CRM?
Tell me any Example of Abstraction in Dynamics CRM?
Tell me any Example of Constructor in Dynamics CRM?
Tell me any Example of Classes and Objects in Dynamics CRM?
Tell me any Example of Encapsulation in Dynamics CRM?
What is the execution timeout of Async and Sync Plugin?
Why the field IsValidForUpdate used for from plugin perspective?
Can be field security enabled field accessible from Plugin Pre-Images?
What is the significance of Shared variables?
Does Impersonation work for Offline Plugins?
What are the different ways to register a plugin?
In order to access the external website or page, Do we have provision for prompting the logged on user for credentials or saving those credentials inside a plugin?
What would be the execution order, if Plugin, Workflow, and javascript are being run in the same event?
Which will run first Synchronous Workflow (Real-Time Workflow) or Synchronous Plugin?
Which will run first Asynchronous Workflow or Asynchronous Plugin?
What happens when we set the execution order of Plugin to '0'?
Which property use to check, whether Plug-ins may or may not execute within the database transaction of the Microsoft Dynamics 365 platform?
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?
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?
What are the Limitations of Plugins?
What is Azure Aware Plugins?
What is the difference between Registering Endpoint and Register Webhook Plugins?
How can we deploy Endpoint configuration (url, port, header, key etc) from one instance to another in case of Endpoint registration plugins?