Wednesday, 14 March 2018

INTERVIEW QUESTIONS IN SALESFORCE


INTERVIEW QUESTIONS: 

Question 1: Can two users have the same profile? Can two profiles be assigned to the same user?
Question 2: What are Governor Limits in Salesforce?
Question 3: What is a sandbox org? What are the different types of sandboxes in Salesforce?
Question 4: Can you edit an apex trigger/ apex class in production environment? Can you edit a Visualforce page in production environment?
Question 5:What are the different data types that a standard field record name can have?
Question 6: What is the use of writing sharing rules? Can you use sharing rules to restrict data access?
Question 7:What are the different types of email templates that can be created in Salesforce?
Question 8:What are dynamic dashboards? Can dynamic dashboards be scheduled?
Question 9:What are the different types of reports available in Salesforce? Can we mass delete reports in Salesforce?
Question 10:What are the different types of object relations in salesforce? How can you create them?
Question 11:What happens to detail record when a master record is deleted? What happens to child record when a parent record is deleted?
Question 12: Can you have a roll up summary field in case of Master-Detail relationship?
Question 13: Explain the term “Data Skew” in Salesforce.
Question 14:How to handle comma within a field while uploading using Data Loader?
Question 15: For which criteria in workflow “time dependent workflow action” cannot be created?
Question 16: How many active assignment rules can you have in a lead/ case?
Question 17: What is the difference between a Role and Profile in Salesforce?
Question 18: Why do we need to write test classes? How to identify if a class is a test class?
Question 19:What is minimum test coverage required for trigger to deploy?
Question 20: What are the different ways of deployment in Salesforce?
Question 21: What is an external ID in Salesforce? Which all field data types can be used as external IDs?
Question 22: How many callouts to external service can be made in a single Apex transaction?
Question 23: How can you expose an Apex class as a REST WebService in Salesforce?
Question 24: What is the difference between a standard controller and a custom controller?
Question 25: How can we implement pagination in Visualforce?
Question 26: How can you call a controller method from JavaScript?
Question 27: How to get the UserID of all the currently logged in users using Apex code?
Question 28: How many records can a select query return? How many records can a SOSL query return?
Question 29: What are the different types of collections in Apex? What are maps in Apex?
Question 30: How can you embed a Visualflow in a Visualforce page?
                      To add a flow to a Visualforce page, embed it using the <flow:interview> component:
  1. Find the flow's unique name:
    1. From Setup, enter Flows in the Quick Find box, then select Flows.
    2. Click the name of the flow that you want to embed.
  2. Define a new Visualforce page or open one that you want to edit.
  3. Add the <flow:interview> component, somewhere between the <apex:page> tags.
  4. Set the name attribute to the unique name of the flow. For example
  5.       <apex:page>
    2<flow:interview name="MyUniqueFlowName"/>
    3</apex:page
Question 31: What is the use of “@future” annotation?
                      Use the future annotation to identify methods that are executed asynchronously. When you specify future, the method executes when salesforce has available resources. For example : you can use the future annotation when making an asynchronous web service callout to an external service.
Question 32: What are the different methods of batch Apex class?
Question 33: What is a Visualforce component?
Question 34: What is Trigger.new?
Question 35: What all data types can a set store?
Question 36: What is an sObject type?
Question 37: What is the difference between SOQL and SOSL?
Question 38: What is an Apex transaction?
Question 39: What is the difference between public and global class in Apex?
Question 40: What are getter methods and setter methods?
Question 41: What are lookup filters in salesforce?
                        Lookup filters are administrator settings on lookup, master-detail, and hierarchical relationship fields that restrict the valid values and lookup dialog results for the field. The restrictions for the field are based on criteria such as a field on the lookup object or the user's profile.

Question 42: Does SalesForce have a Database ? Can we access it ? Is it Oracle db ?

                        Yes, they run on Oracle Databases. Now, what you see on the Accounts Tab, on the Leads Tab, on the Contacts tab etc. are in fact records that reside in the Database. And back at the Database Layer, you will have tables named Contact, Lead, and Account and so on. In fact when we create a Custom Object in Force.com, a Table is actually created at the Database Layer and when we add new Custom Fields in fact new Columns are added to the Table that you just created. But remember we do not have any direct access to it and the Salesforce UI is what we have at our disposal to create New Records into the Table, modify the Table by adding New Columns(aka Custom Fields) and so on.

Now, Force.com provides many ways by which you can access the records back in the Database.

The first and the foremost is via the Salesforce UI.

Secondly, you can use SOQL [Salesforce Object Query Language] run queries against the Custom Objects (aka Tables). The SOQL queries can be executed from the Salesforce UI [Your Name | Developer Console Query Editor].

And thirdly, Force.com provides an exhaustive set of APIs (both SOAP and REST based – Protocols) which can be consumed in Remote Applications to fetch data. These APIs allows your run SOQL queries as well as perform CRUD operations on the Database. Also, you have remember that most of the ETL tools in the market like the Dataloader.IOJitterBitInformatica, the native Apex Data Loader all run on this APIs to fetch as well as send data to the Databases.

No comments:

Post a Comment