Interview Questions


Related image


Plugin Interview Questions:

  1. Explain in details about the event 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?
  8. if you delete a record from UI, what happens in the database. can you bring the record back?
  9. what is deletion service? can you change its schedule
  10. Difference between PlugIn vs Workflow (Asynchronous vs Synchronous)
  11. for plugin deployment, Difference between GAC, DataBase, Disk deployments.
  12. Difference between CRM web service Vs CRM.SDKProxy namespaces.
  13. What are the different operation (Pre Validation, Preoperation & Post operation) in Plugin?
  14. Difference between Secure & Unsecured Config?
  15. When we should go with Early binding and when with Late Binding?
  16. Can we pass data between two Plugins?
  17. Can we register For-premise plugin in Sandbox mode?
  18. Different modes of the plugin?
  19. Why we need to Create Security Key before registered the plugin?
  20. Alternate Keys in Microsoft Dynamics 365!
  21. What interface we use a plugin to inherit CRM Services?
  22. Importance of Secondary Entity in plugin registration tool?
  23. What security roles need to register the plugin in Online and on-premise both?
  24. What is filtering Attribute in CRM Plugin Reg Tool?
  25. What is Tracing Service in Plugin?
  26. What is the Target Entity, Input and Output Parameter in Plugin?
  27. Difference between Service.Retrieve and Service.retrieve multiple
  28. What are different ways (QueryExpression, LINQ,
  29.  FetchXML) to fetch CRM metadata in Plugin? Difference between them?
  30. Disadvantages of using Query Expressions?
  31. What is the Execution Time of Sync and Async plugin in CRM?
  32. Which will execute first in ASync Workflow and Async Plugin?
  33.  How can we call external web service in on-premise and Online plugin CRM?
  34. What are the different ways available to debug a Plugin (Onprem and Online both)
  35.  Best Practices of CRM Plugin Development (https://msdn.microsoft.com/en-us/library/gg509027.aspx).
  36. Can we register on-premise plugin in Sandbox mode?
  37. Why online plugin has to be registered in sandbox mode only?
  38. What are the different storage locations available to store a plugin?
  39. What are the DLLs required to register a plugin?
  40. What is the significance of System.Runtime.serialization.dll in the plugin?
  41.  What information can we get from Plugin Context?
  42. What is the difference between Plugin Context and Pre-Image?
  43. How can you get the plugin tracing information in CRM?
  44. Can we configure our own connection string and credential inside the plugins?
  45. What are the OOPs concepts use in Dynamics CRM? Tell me with examples?
  46. Tell me any Example of Inheritance in Dynamics CRM?
  47. Tell me any Example of Polymorphism in Dynamics CRM?
  48. Tell me any Example of Abstraction in Dynamics CRM?
  49. Tell me any Example of Constructor in Dynamics CRM?
  50. Tell me any Example of Classes and Objects in Dynamics CRM?
  51. Tell me any Example of Encapsulation in Dynamics CRM?
  52. What is the execution timeout of Async and Sync Plugin?
  53. Why the field IsValidForUpdate used for from plugin perspective?
  54. Can be field security enabled field accessible from Plugin Pre-Images? 
  55. What is the significance of Shared variables?
  56. Does Impersonation work for Offline Plugins?
  57. What are the different ways to register a plugin?
  58. 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?
  59. What would be the execution order, if Plugin, Workflow, and javascript are being run in the same event?
  60. Which will run first Synchronous Workflow (Real-Time Workflow) or Synchronous Plugin?
  61. Which will run first Asynchronous Workflow or Asynchronous Plugin?
  62. What happens when we set the execution order of Plugin to '0'?
  63. Which property use to check, whether Plug-ins may or may not execute within the database transaction of the Microsoft Dynamics 365 platform?
  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?
  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 case of Endpoint registration plugins?

Business Rules Interview Questions:

  1. What is Business Rules and why it has been introduced in CRM?
  2. What is the Scope of Business Rules?
  3. Does Business Rules work for Record Creation or Save?
  4. Does Business Rules work during Bulk Import and Bulk Edit?
  5. Does Business Rules work when plugin record updates, workflow record updates, etc.?
  6. Which run first Javascript or Business Rules if both performing action on the same field?
  7. When business rules run with respect to javascript?
  8. What is the execution order of System Javascript (source code by Microsoft), Your Custom JavaScript and Business Rules?
  9. When a business rule is used to set or change a field value, Does Javascript OnChange event handler triggered?
  10. Does Business Rules work when a record is being created from an external web application?
  11. How to Fire a Business Rule after a field is updated using JavaScript?
  12. Is there any Order to run Business Rules in a Particular field or Entity? How does it work and How to configure the same?
  13. How Section and Tab can Hide/Show using Business Rules?
  14. What are the limitations of Business Rules?
  15. Maximum nuber of if/else statements allowed in BR?
  16. What is the maximum limit of using If/Else statement in a Business Rules?
  17. Can we enable the Business Rules on Lookup Fields?
  18. CRM 365, Developer complaining, business rules are not working. what could be the reasons for that?


Solutions Interview Questions:

  1. What is Managed Properties in Solution?
  2. Types of Solutions?
  3. Difference between Managed and Unmanaged Solutions?
  4. Roles needed to export-import the solution?
  5. Steps to create a solution in CRM?
  6. What Is The Difference Between Remove And Delete Buttons On Solution?
  7. What are the solution patch and cloning?
  8. How can we delete components from the Managed solution?

Actions Interview Questions:

  1. What are the Actions? And What is the significance of using it in Dynamics 365?
  2. Difference between Action and Real-time workflow?

OOPS and ASP.Net Basic Interview Questions:

  1. What is OOPS?
  2. Write basic concepts of OOPS with Example?
  3. What is a class?
  4. What is an object?
  5. Define a constructor/Destructor?
  6. What is a virtual function?
  7. What is function overloading?
  8. What is function overriding?
  9. What is an abstract class?
  10. What is a ternary operator?
  11. What are different types of arguments?
  12. What is an interface?
  13. What is exception handling?
  14. Difference between overloading and overriding?
  15. What are access modifiers?
  16. What are the various types of constructors?
  17. What is early and late binding?
  18. Abstract Class
  19. Interface
  20. OOOPs Concepts
  21. Constructors
  22. Partial Class
  23. Static Class
  24. Sealed Class

Miscellaneous Interview Questions:


  1. On Creation of Entity, How Many Tables will Be created At Back End?
  2. Difference between Share and Assign?
  3. Can system admin read the Field Level Security?
  4. Team vs Access Team?
  5. Why CRM use Webservice only to interact with the external applications?
  6. What information IPlugin interface store and what is the significance of the same?
  7. What are different modes available in order to register a plugin?
  8. What is the significance of 'Act on Behalf of Another User Privilege' in Dynamics 365?
  9. Suppose I am having Delete Privilege of User Access Level on Account Entity. And my Manager is having Delete Privilege of Organisation Access Level on the same. Now If I work on behalf of my Manager (In either Plugin/Workflow/WEB API etc) then What Access Level I would be having in order to delete the Account?
  10. Suppose I don't have Read Privilege on Account Entity. But my Manager is having that Privilege of Organisation Access Level. Now If I work on behalf of my Manager (In either Plugin/Workflow/WEB API etc) then Will I be able to read the Account Entity records?
  11. How to get Page data/fields values using JavaScript in Dynamics 365 as Xrm.Page has been deprecated in the latest CRM release?
  12. How CRM manage concurrent requests inside plugins?
  13. What role a User must have to create and activate a real-time workflow?
  14. Does Real-time Workflow revert the changes if any error occurs during performing any operation?
  15. What are the stages on which Real Time Workflow works?
  16. What is the difference between entity.Id and entity.PrimaryEntityId in the plugin?
  17. When to use Target as an Entity and Target as an EntityReference?
  18. What are the Limitations of Muti Select Fields in D365?
  19. Can add up to 150 values available in Multi Select Fields?
  20. Is it possible to trigger a javascript on change of rollup and calculated field??
  21. Is it possible to trigger a Plugin on change of rollup and calculated field??
  22. Is it possible to trigger a workflow on change of rollup and calculated field??
  23. If you use Column Set(true) and perform service.Update(obj), will it update all column?
  24. Which one is faster. Set in Descending order - Query Expression, Fetch XML, LINQ?
  25. Best Practices - Maximum number of fields on an entity?
  26. Difference between Primary Field and Primary Key in CRM Form?
  27. How many custom primary keys you can create in crm?
  28. Filtered View?
  29. Role of Technical Lead?
  30. BRD vs FRD vs FDD vs TDD?
  31. What is your biggest weakness?
  32. Agile or Waterfall which one is better?
  33. Difference between Functional and Technical Consultant Role?
  34. How to handle fresher team being a Team Lead?
  35. Most challenging task and situation that you handled and how did you handle that?
  36. Difference between Waterfall/Agile and DevOps?
  37. How to decide whether should I go with Agile or Waterfall?
  38. Tell me the Sprint Process?
  39. What is the process when you not able to complete user story in a particular sprint?
  40. Different reusable way to keep javascript in portal?
  41. Example of fetch xml in portal?
  42. How can we brand portal for different group of people?
  43. How can we pull other system/applications data in Portal?
  44. What is Solution Principles in software developments?
  45. Being a Team Lead what is your way of working?
  46. Difference between Build and Release?
  47. What is the best way to store all plugins classes in visual studio?
  48. How to do Unit Testing in Dynamics 365?
  49. What is Apps in Dynamics 365?
  50. Difference between Model Driven and Canvas App?
  51. What is the design to Hide/Show View based on Security Roles?
  52. How Localized string/ Custom error messages work in Plugin/Workflow in case of multi language crm?
  53. Update 1Lakh + child records based on Parent record without using relationships?
  54. Difference between Register Endpoints and Register Web hook?
  55. How we can migrate Endpoint information from one instance to another while exporting/Importing solution in Dynamics 365?
  56. What is the best way to delete components from Managed Solution?
  57. Latest Enhancement and Feature of Dynamics 365 from Developer Perspective?
  58. What are the Language translation options in Dynamics 365?
  59. What else you do along with office work to make good environment in the team?
  60. How do you motivate your team?
  61. How to expose custom entity on Portal?
  62. What is the way to Push data in CRM except entity form on portal?
  63. Connections vs Relationship in dynamics 365?


Question: What is the use of Secondary Entity within Plugin Registration Tool in MSCRM 2011?

Answer :    http://arpitmscrmhunt.blogspot.in/2014/05/significance-of-secondary-entity-in.html


Question: What is the use of String Map Table in MSCRM?

Answer :    http://arpitmscrmhunt.blogspot.in/2014/05/use-of-string-map-table-in-mscrm.html


Question: Difference between Asynchronous Plugin and Workflow?

Answer :    http://arpitmscrmhunt.blogspot.in/2014/06/difference-between-asynchronous-plugin.html


Question: Tell me types of Entity and What are Organisation Type in Entity?

Answer :    http://arpitmscrmhunt.blogspot.in/2014/05/overview-of-entity-in-mscrm.html

Question: How to retrieve records from Entity having N: N Relationship?

Answer :   http://arpitmscrmhunt.blogspot.in/2014/05/retrieve-nn-relationship-records-by.html


Question: How many types of Relationships and Relationship Behavior exist in MSCRM?

Answer :   http://arpitmscrmhunt.blogspot.in/2014/05/relationship-behavior-in-mscrm_25.html


Question: Have you ever faced a Performance related issue in MSCRM, How you have resolved it?

Answer :   http://arpitmscrmhunt.blogspot.in/2014/04/overcome-crm-slowness-and-optimization.html


Question: What is the difference between FIND and ADVANCED FIND in MSCRM? Which is Faster?

Answer :   http://arpitmscrmhunt.blogspot.in/2014/05/find-vs-advanced-find-in-mscrm.html


Question: Where Plug-In store in MSCRM or Where the Plug-In information stored in MSCRM?

Answer :  http://arpitmscrmhunt.blogspot.in/2014/04/plugin-assembly-table-in-mscrm.html


Question: How many possible ways to register a Plug-In in MSCRM?

Answer: 1. Plugin Registration Tool.    2.  Solution Export/Import     3.Developer Tool Kit


Question: What is SCOPE in MSCRM system workflow and why it is used for?

Answer: In MSCRM workflow has 4 Scope available as mentioned below
:
1. User - WF will only run for those record whose owner is WF owner itself or Logged in User only.

2. Business Unit:  WF will only run for those record whose owner is in the same BU of WF owner.

3. Parent-Child Business Unit: WF will only run for those record whose owner is in the Child BU of WF owner BU

4. Organisation: WF will run for all records in organization regardless of owner


Question: What is the use of Ownership while creating Entity in MSCRM?

Answer : http://arpitmscrmhunt.blogspot.in/2014/05/overview-of-entity-in-mscrm.html

Question: What is the difference in fields in User or Team owned Entity and Organisation Owned Entity?

Answer: There is no 'Owner' field available on the form when you create an Entity has Organisation Ownership. while in User or Team Owned Entity this field will be available.
Below are the screenshots which will clear what exactly happens:


Organisation owned Entity Fields (No Owner field exists) :











User or Team owned Entity Fields :


















Question: Can System Admin Create, Update, Delete the Personnel View of other User?

Answer: NO,
In MSCRM, each user has User Access Level on Saved Views(Personnel View), even System Admin cannot do any operation on Personnel View  see below:















Question: Why MSCRM? Since so many CRM available in the market like ERP, SAP, SIEBEL etc But How MSCRM is different from others?

Answer: World-class customer experiences begin with your people. By giving your people the right tools to multiply their productivity, multiply their impact, they can drive your organization to achieve your goals, multiply your revenue, and multiply your customers.


The top reasons, why organizations choose Microsoft Dynamics CRM instead of other CRM to create world-class customer:

Ease of Use :
Since MSCRM is a Microsoft product which is very similar & integrated with other Microsoft Products Like MS Word, MS Excel, MS Outlook, MS SharePoint, Internet Explorer etc, so it is very familiar to all those businessmen who use to spend 70% of his time on these tools, To understand this CRM no additional tool need to learn, no additional software needs to be install. Anyone could easily learn MSCRM with little training.
In other words, we can also say that

it integrates with Microsoft Business Solutions for Financial Management, Microsoft Office, and other systems that you get a complete picture of your customer.


It's important to note just how easy it is to integrate Microsoft CRM with Microsoft Office. Because it is so easy it enables your employees to access Microsoft Dynamics CRM right from their Microsoft Office Outlook whether they are working online or offline. It's a great tool for your sales department and it takes little training to make it happen.
Dynamic :
Since MSCRM hide Dynamic word inside itself its abbreviate as 'Microsoft Dynamic CRM'. We can extend it at any level. Microsoft itself provides three modules (Sales, Marketing & Service). But anyone could add its own module. Apart from this MSCRM is easily integration with other MS Products as well as various third-party tool like Ava-ya etc.

Three Deployment Options :
MSCRM is the only CRM product available in the market who have 3 Deployment options, 
On-Premise, Online, and IFD (Internet Facing Deployment).

The Cloud :Microsoft invests over $2 billion US dollars in cloud infrastructure every year. Microsoft Dynamics CRM is one of the quickest and one of the easiest ways for your business to take advantage of the cloud and cloud economies, including helping to reduce systems management and maintenance costs as well as meaning you pay only for the capacity you need.

Value :When considering costs—including licensing, services, training, deployment, administration and maintenance — customers, media, and industry analysts regard Microsoft Dynamics CRM as one of the best value offerings in the industry.

Language Support :MSCRM is only product available in the market which is Available in more than 40 languages.

Access Clients :MSCRM is the only product in the market which could be accessible through Mobile, Outlook and Web client. MSCRM 2013 also accessible from Tablet also.

.Net Development Platform :
MSCRM use .net framework. All Plug-Ins, Custom WF has written in either C# or VB. Even the whole MSCRM Pages, forms has designed in .net(.aspx page). So it's easy for the .net developer to write code in MSCRM and make it understandable for itself.


Question: Can we customize SVCUTIl.exe class of MSCRM or Can we create our custom Early binding class for few entities?


Question: Difference between Query Expression and Query by Attribute?


Question: What is Dynamic Entity in Dynamics CRM?


Question: What is Security Depth Dynamic CRM?


Question: Can we Export Vanilla Solution from Dynamic CRM?


Question: What is Inherited Security Role in MSCRM?


Question: What is Data Impersonation in MSCRM?

Question: if you change BU of any CRM user is it mandatory to change security role for that user?

Question: Difference between System Administrator and System Customizer Security Role in Dynamic CRM?

Question: Advantages of using Web Service in C#?

Question: Address, Binding and Contract Web Service in C#?

Question: How can we restrict any 'Entity Field' from being shown in Advanced Find?
Answer: Using Searchable Property of attribute(Entity Field.

Did you know that you can set each attribute of each entity to be able to advanced find or not?

By doing this you can specify which fields the users can search on. That means that all the fields which you do not use in your CRM system can be removed from the list to make using the advanced find easier.

So how do you do this? Just:
- go to system
- customization
- customize entities
- select any entity
- go to the tab attributes
- select any attribute
- switch the flag 'Searchable'

Can we do the same using Field Security Profile?
The answer is NO, the difference is described below:

if user A is added to Field level profile where he is not able to read field A then when user A does the advanced find, system will display this column in advanced find but it will be blank column (meaning the user will not see/read the value and field level security will be applied).


Question: How can we restrict any 'Entity' from being shown in Advanced Find?
Answer; Using Security Role: 

Best way to achieve this applies security settings if you remove the read/view permission of unused entity in CRM security, then those entities will not available.
But if you have read privilege on the entity and still you want that entity not to be shown in Advanced find or If you want permanently hide entity from Advanced Find then there is no supported way.
But there is an unsupported way to achieve the same. CRM exposes below Boolean property in EntityMetadata to identify which entity should appear in Advanced Find.

EntityMetadata.IsValidForAdvancedFind Property - Gets or sets whether the entity is will be shown in Advanced Find.
AttributeMetadata.IsValidForAdvancedFind Property - Gets or sets the property that determines whether the attribute appears in Advanced Find.

Try below query to hide Account entity from Advanced Find.

update MetadataSchema.Entity set IsValidForAdvancedFind = 0 where Name = 'account'

update MetadataSchema.Relationship set IsValidForAdvancedFind = 0
where ReferencingEntityId = (select MetadataSchema.Entity.EntityId from MetadataSchema.Entity where Name = 'account')
and IsValidForAdvancedFind  = 1


Reset IIS and clear server(and client) cache.

This will hide the entity for all users on the Advanced Find.

Question: When do we register a plugin in the child pipeline. give examples?

Question: What are images. What are its types and Why are they used?

Question: What are images. Why are they used. ?

Question: When can infinite loop occur in a plugin. How do you avoid infinite loops in the plugin code?

Question: what is filtered views?

Question: if you delete a record from UI, what happens in the database. can you bring the record back?

Question: What is deletion service? Can you change its schedule?







Still Adding...



Note:

Apologies in advance for not providing answers of these question

I did that intentionally because I didn't want to explain the answer theoretically and in few lines only. 

I would like you to google the answers and read lot of articles about each topic/question and collect the information as much as you can (like I do, if I want to learn about any topic). This is the best way to prepare yourself  for the interview. This is my advise especially for those who didn't work much in Microsoft Dynamics CRM and have less practical exposure.

Today, Interviewer seems not interested to listen the scripted answers or theoretically definition. (Especially a Interviewer like me😄) They always expect the answers with practical or real time examples. That knowledge & confidence you will only get once you do the RnD and find stuff about each topic yourself.

Nevertheless, I did write few articles to provide answers of few interview questions, however, due to lack of time I couldn't provide for all. I am still working on it though. 

Meanwhile, you can get in touch with me anytime if you find any trouble to find the answers.


Wish you all the very best and good luck....👍✌

21 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. Amazing Post.

    Thanks for sharing this informative Article.

    wordpress customer portal

    ReplyDelete
  3. It is truly a great and useful piece of information. how can i subscribe for a blog site? It is truly a great and useful piece of information.thanks for sharing these information
    c language interview questions

    ReplyDelete
  4. It is truly a great and useful piece of information. how can i subscribe for a blog site? It is truly a great and useful piece of information.thanks for sharing these information
    c language interview questions

    ReplyDelete
  5. Very useful for interviewer preparation.

    ReplyDelete
  6. Congratulations I was looking for something like that and found it here. I'm really grateful for your blog post. You will find a lot of approaches after visiting your post.
    CRM Software in Dubai
    CRM Software
    CRM Software in UAE
    CRM Software for Small Business

    ReplyDelete
  7. I think about it is most required for making more on this get engaged.

    Data Science Training

    ReplyDelete
  8. I truly appreciate this post.Really looking forward to read more. Want more.
    promise day wishes
    hug day quotes

    ReplyDelete
  9. I like this article. I was searching over search engines and found your blog site. I like your good blog site. .keep doing it.

    Java Training in Chennai

    Java Course in Chennai

    ReplyDelete
  10. You need to participate in a challenge for probably the best webpage on the web. I will enthusiastically suggest this site!
    Paint

    ReplyDelete
  11. You need to participate in a challenge for probably the best webpage on the web. I will enthusiastically suggest this site!
    gadget media

    ReplyDelete
  12. Thanks Arpit, these questions are really helpful

    ReplyDelete
  13. Excellent information delivered by this post. Want to get job faster? Create an attractive Video Resume at StaffMerge App and post it directly to employers.

    ReplyDelete
  14. This post is very useful for us. Because we have a lot of tips and tricks from this post. Thank you for this amazing post share. Best sites for jobs in india

    ReplyDelete
  15. It's like you understand the topic well, but forgot to include your readers. Maybe you should think about it from several angles.
    Data Science Course in Pune

    ReplyDelete


  16. Thank you for this valuable post it was very helpful. I really appreciate your effort. please keep us update. sharetipsinfo is a one-stop solution for all your share market needs. Get Paid Stock Market Tips trial for sure shot profit. All liveShare Market Tips and stock tips are highly accurate backed by proper research.

    ReplyDelete

Blogger Widgets