Salesforce Developer Interview Questions
-
- What is MVC in Salesforce?
MVCstands for Model-View-Controller. It's an architectural pattern where Modelrepresents database and data structure, View represents the user interface, andController manages the data flow into the model and updates the view.
- What is a trigger in Salesforce?
A trigger is a code that getsexecuted before or after a record is inserted or updated in Salesforce.
- What's the difference between SOQL and SOSL?
SOQL(Salesforce Object Query Language) is for querying records from objects. SOSL(Salesforce Object Search Language) is for searching text across multipleobjects.
- Explain Governor Limits.
GovernorLimits are runtime limits enforced by the Apex runtime engine to ensure nosingle process monopolizes shared resources.
- What are Lightning Components?
Lightning Components arereusable, modular UI components in the Salesforce Lightning framework.
- What's the difference between a workflow and a process builder in Salesforce?
Workflowautomates standard internal procedures. Process Builder is more advanced,allowing more flexibility and multiple if/else conditions.
- How can you call an Apex class from a trigger?
Youcan call an Apex class by instantiating it in the trigger and then invoking itsmethods.
- What is a Visual force page?
Visualforce is a framework that allows developers to build custom user interfaceshosted natively on the Salesforce platform.
- What is a sandbox?
Asandbox is a copy of a production environment used for testing and developmentpurposes.
- What is bulkification in Apex?
Bulkification ensures codeproperly handles and processes multiple records at once to respect governorlimits.
- 12. Do you know about the Governor limits in Salesforce?
The governor limits play the governing role in determining the amount of data or records to be stored in the database. As far as I know, the different governor limits within Salesforce are
- Pre-transaction Apex Limit
- Force.com Platform Apex Limit
- Size Specific Apex Limit
- Email Limits
- Static Apex Limits
- Pre-transaction Apex Limit
- 13. What is the reason behind a different domain facilitating the view of Visualforce pages?
It is true that the Visualforce pages are viewed from a different domain. This discrepancy is due to the improvised security standards and scripting of block cross-site.
- 14. Can you clarify the concepts of WhoId and WhatId?
WhoId reflects people. To give the examples of WhoId are those related to contacts or leads such as Contact ID and Lead ID. On the other hand, WhatId refers to objects and is inclusive of Opportunity ID and Account ID.
- 15. Can you brief us on data skew concept?
Data Skew condition is accountable when you deal with a big client. Let us say that the client possesses ten thousand records. The term ownership data skew denotes to a single user with about ten thousand data records.
- 16. What do you consider while using skinny tables?
The considerations of the skinny tables are inclusive of a maximum of 100 columns. These tables are debarred of the other object fields. From the update of Summer'15, the skinny tables are copied to the full sandbox organizations.
- 17. Do you know about the fields that are automatically indexed within the Salesforce platform?
There are only four fields which can be indexed within the Salesforce platform. These fields are inclusive of primary keys, foreign keys, audit dates, and custom fields. The primary keys are inclusive of owner credentials and fields. The foreign keys are inclusive of Look-up relationship field or master-detail relationship field. The audit dates are inclusive of SystemModStamp. Finally, the custom fields are marked either as External ID or unique field.
- 18. Which is the only workflow criteria where time-dependent workflow action cannot be created?
Created, and every time its edited is the only workflow criteria where the time-dependent workflow action fails to be created.
- 19. What is the no. of active assignment rules possessive in a lead/case?
Only one active assignment rule is possessive ina lead or case.
- 20. Good going. Are you aware of the custom labels in Salesforce?
Yes! Custom labels are the customized version of the text values. These custom labels are accessible from either Apex class or the Visualforce pages. The add-on feature of the custom labels is that the values present here are transferable into any Salesforce supported language. The benefit of using these custom labels is that it facilitates the developers to generate multilingual user applications. With this multilingual application, the users can access the application in their native languages.
- 21. That is quite informative. Can you specify the character limit for the same?
The limit for the custom label is 5000 per organization, and each label has a character limit of 1000 characters.
- 22. Are you aware of the different ways to deploy while on the Salesforce platform?
Deployment in Salesforce is possible either through one of the four ways:
- Change of sets
- Migration Tool of Force.com- ANT/Java based
- Salesforce Package
- Eclipse with Force.com IDE
- 23. In a single Apex transaction, what is the limit for callouts to external services?
Currently, the governor limits for an Apex transaction to make HTTP request or API call is 100 callouts.
- 24. What do you mean by the attribute tag?
Attribute tag signifies the attribute of a customized component. It only represents itself as a child of component tag
Interested about Salesforce Developer?
Get in touch with training experts Get Free QuotesLeave a commentLatest Jobs in US & Canada
Full Time Pharmacy Manager
- 1 - 3 Years
- 4 mins ago
- East Haven, CT
- Valid Work Visa
Full Time Cook
- Fresher
- 13 mins ago
- Sterling Heights, MI
- Valid Work Visa
CPA Senior Accountant
- 1 - 3 Years
- 18 mins ago
- Eatontown, NJ
- Valid Work Visa