0% found this document useful (0 votes)
107 views8 pages

Salesforce Developer Interview Questions and Answers

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 8

Salesforce Developer Interview Questions And Answers

1. Question 1. Explain What Is Sales Force?


Answer :
Salesforce is a CRM delivered as a software-as-a-service (SaaS).
2. Question 2. Explain What Is A Custom Object In Sales Force?
Answer :
Custom objects are nothing but database tables. It stores data related to
your company in Salesforce.com. Once you have defined custom object
you can do following things like
o Create custom fields
o Associate the custom object with other records
o In custom related lists, it display the custom object data
o For custom object, records track events and tasks
o Build page layouts
o For the custom object create a custom tab
o To analyze custom object data create dashboards and reports
o Share your custom tabs, custom apps, custom objects and any
other related components
3. Question 3. Explain What Is Object Relationship Overview?
Answer :
Object relationship overview in Salesforce is used to link custom object
records to standard object records in a related list. In simple words, it is
helpful to track product defects associated with customer cases. You can
define different types of relationship by creating custom relationship fields
on an object.
4. Question 4. Mention Changing What May Cause Data Loss?
Answer :
Data loss may cause due to following reasons
o Changing data and date-time
o Altering to percent,number and currency from other data types
o Changing from multi-select picklist, checkbox, auto number to
other types
o Altering to multi-select picklist from any type except picklist
o Changing to auto-number except from text
o Changing from text-area to e-mail, phone, URL and text
5. Question 5. How Saas Can Be Helpful To Sales Force?
Answer :
o As SaaS is a subscription based, customers can always choose not
to renew if they are dissatisfied
o Customers can avoid a large initial investment in an IT
infrastructure and day to day hustle of maintaining infrastructure
o SaaS customer provides same provider infrastructure and also
easy integration
o SaaS applications use a simple internet interface that makes
easier for customer to use.
o SaaS always provide a latest platform to the customer with
innovation.
6. Question 6. How Sales Force Is Useful In Tracking Sales?
Answer :
Sales force records all the basic details like the number of customers
served daily, daily sales volume, sales manager detailed reports, sales
numbers in each month or quarter. Also, it keeps a track on the repeat
customer, which is key to success for any sales organization.
7. Question 7. Mention How Many Relationship Is Included In Sfdc
And What Are They?
Answer :
There are two types of relationships
o Master detail relationship
o Lookup relationship

8. Question 8. Mention What Is The Difference Between Isnull And


Isblank?
Answer :
isNull: It supports for number field
isBlank: It supports for Text field
9. Question 9. Explain What Is The Trigger?
Answer :
Trigger is a code that is executed before or after the record is updated or
inserted.
10. Question 10. Mention What Is The Use Of The Static Resource
In Salesforce?
Answer :
With the help of static resources, you can upload zip files, images, jar files,
JavaScript and CSS files that can be referred in a visual force page. The
optimum size of static resources for an organization is 250 mB.
11. Question 11. Mention What Is The Difference Between
Force.com And Salesforce.com?
Answer :
Force.com is PaaS (Platform as a Service) while Salesforce.com is SaaS
( Software as a Service).
12. Question 12. Mention What Are The Actions Available In
Workflow?
Answer :
Actions available in workflow are
o Email Alert
o Task
o Field Update
o Outbound Message
13. Question 13. Explain What Is The Limit Of Data.com Records
That Can Be Added To Salesforce?
Answer :
User can see their limit form setup, by clicking data.com
administration/Users. From the data.com users section, user can see their
monthly limit and how many records are exported during the month.
14. Question 14. Mention What Are The Different Types Of
Custom Settings In Salesforce?
Answer :
Different types of custom settings in Salesforce includes
o Hierarchy type
o List type
15. Question 15. Mention What Are The Three Types Of Object
Relations In Salesforce?
Answer :
Different types of object relations in Salesforce includes
o One to many
o Many to many
o Master detail
16. Question 16. Mention What Are The Different Types Of
Reports Available In Salesforce?
Answer :
Different types of reports available in Salesforce are
o Tabular report: It displays the grand total in the table form
o Matrix report: It is a detailed report in which the grouping is
done based on both rows and columns
o Summary report: It is a detailed form of the report in which the
grouping is done based on columns
o Joined report: With this two or more reports can be joined in the
single reports
17. Question 17. Is It Possible To Schedule A Dynamic Dashboard
In Salesforce?
Answer :
No, it is not possible to schedule a dynamic dashboard in Salesforce.
18. Question 18. What Does It Indicate If An Error State This “list
Has No Rows For Assignment”?
Answer :
The error that tells “list has no rows for assignment” indicates that the list
you are trying to access has no values in it.
19. Question 19. Explain What The Junction Object Is And What Is
The Use?
Answer :
Junction objects are used to build many-to-many relationships between
objects. You can take a recruiting application example, where a position
for a job can be linked to many candidates and in the same manner a
candidate can be linked to the different positions. So, to connect this data
model, you need a third party object, this object is referred as junction
object. Here “job application” is the junction object.
20. Question 20. Explain What Is Audit Trail?
Answer :
Audit trail function is helpful in knowing the information or track all the
recent setup changes that the administration does to the organization. It
can store last 6 months data.
21. Question 21. Explain What Is Dashboard?
Answer :
Dashboard is the pictorial representation of the report, and we can add up
to 20 reports in a single dashboard.
22. Question 22. Explain How Many Controllers Can Be Used In A
Visual Force Page?
Answer :
As Salesforce comes under SaaS, one can use only one controller and as
many extension controller.
23. Question 23. Mention What Is The Difference Between Soql
And Sosl?
Answer :
SOQL ( Salesforce Object Query Language)
o Only one object at a time can be searched
o Query all type of fields
o It can be used in triggers and classes
o DML operation can be performed on query results
SOSL (Salesforce Object Search Language)
o Many objects can be searched at a time
o Query only e-mail, phone and text
o It can be used in classes but not in triggers
o DML operation cannot be performed on search result
24. Question 24. When Do You Use A Before Vs. After Trigger?
Answer :
95% of triggers are before triggers – so if you’re unsure, go with before!
You may be wondering why so many triggers are before triggers. There’s a
good reason – they’re simpler to use. If you need to make any changes to
a record entering your after trigger, you have to do a DML statement. This
isn’t necessary in a before trigger – changes to records entering your
trigger always save!
The specific use case of an after trigger is when you need to associate any
record to a record being created in your trigger. Here’s an example:
// Automatically create an Opp when an Account is created
trigger AutoOpp on Account(after insert) {
List<Opportunity> newOpps = new List<Opportunity>();
for (Account acc : Trigger.new) {
Opportunity opp = new Opportunity();
opp.Name = acc.Name + ' Opportunity';
opp.StageName = 'Prospecting';
opp.CloseDate = Date.today() + 90;
opp.AccountId = acc.Id; // Use the trigger record's ID
newOpps.add(opp);
}
insert newOpps;
}
25. Question 25. What’s The Maximum Batch Size In A Single
Trigger Execution?
Answer :
Default batch size is 200 ,However maximum batch size is 2000.
26. Question 26. What Are The Differences Between 15 And 18
Digit Record Ids?
Answer :
Difference Between 15 and 18 Digit Record Id. Hi Experts, I would like to
know the exact difference between 15 and 18 digits record id. Most of us
say, 15 digit(case sensitive) and 18 digit(case insensitive).
27. Question 27. When Should You Build Solutions Declaratively
Instead Of With Code?
Answer :
As a salesforce best practice, if something can be done using
Configurations (Declarative) then its preferred over coding. The
declarative framework is optimized for the platform and is always
preffered.
28. Question 28. Give An Example Of A Standard Object That’s
Also Junction Object.
Answer :
OpportunityContactrole is the junction between Opportunity and Contact,
and also Quote is junction between Contract and Opportunity.
29. Question 29. What Are Tile Report Types?
Answer :
4 Types of report in Salesforce.
o Tabular Reports: We can only displays the grand total in the
table
o Summary Reports: It is a detail form of report in which the
grouping done based on Columns.
o Matrix Reports: It is a detail form of report in which the grouping
done based on both Rows and Columns.
o Joined Reports: We can join the two or more reports in the single
report displayed in the form of blocks.
30. Question 30. How Many Field Dependencies We Can Use In
Visual Force Page?
Answer :
Maximum we can use 10 field dependencies in VF page.
31. Question 31. What Is Roll-up Summary?
Answer :
Roll-up displays the count of child records and calculate the sum, Min and
max of fields of the child records.
32. Question 32. How To Create Roll-up Summary Field On Lookup
Relation?
Answer :
Not possible. Roll-up summary is enabled for only Master —Detail
relationship.
33. Question 33. What Is Field Dependency?
Answer :
According to the field selection on one field filter the pick list values on
other field.
34. Question 34. Is Check Box Performs Like Controlling Field?
Answer :
Yes possible. Controlling field should be Check box or pick list.
35. Question 35. How We Can Change The Grant Access Using
Role Hierarchy For Standard Objects?
Answer :
Not possible.
36. Question 36. What Is The Use Of “transfer Record” In Profile?
Answer :
If user have only Read access on particular record but he wants to change
the owner name of that record, then in profile level Transfer Record
enables he can able to change the owier.
37. Question 37. What Is Permission Set?
Answer :
Permission sets extend users functional access without changing users
profile.
Lx: A user has only read access through profile on custoni object.
administrator want to give access Edit and create operations to him
without changing the profile. Administrator creates the permission set
having edit and creates operation on custom object and assign to that
user.
38. Question 38. What Is Manual Sharing?
Answer :
Manual sharing is to share a record to a particular user manually.
Go to detail page of record and click on manual sharing button and assign
that record to other user with Read or Read/write access.
Manual Sharing button enables only when OWD is private to that object.
39. Question 39. How To Create Master Details Relationship
Between Existing Records?
Answer :
Directly we can’t create Master Detail relationship between existing
records, first we have to create Lookup relationship and provide valid
lookup fields and it shouldn’t null.
40. Question 40. How Many Ways We Can Call Apex Class?
Answer :
o Visual force page
o Web service
o Triggers
o Email services
41. Question 41. What Is Difference Between Action Support And
Action Function?
Answer :
Action function: Invoke the controller method from java script using AJAX
and we can use action function from different places on visual force page.
Action support: Invoke the controller method using AJAX when even occurs
on page like onMouseOver, onClick. ect... and we can use action support
for particular single apex component.
42. Question 42. How Many Ways We Can Made Field Is Required?
Answer :
o While creation of field
o Validation rules
o Page Layout level
43. Question 43. What Is Difference Between Role And Profile?
Answer :
Role is Record level access and it is not mandatory for all users.
Profile is object level and field level access and it is mandatory for all
users.
44. Question 44. What Is The Maximum Size Of The Pdf Generated
On ‘visualforce Attribute Renderas?
Answer :
15MB
45. Question 45. What Is Wrapper Class?
Answer :
A Wrapper class is a class whose instances are collection of other objects.
It is used to display different objects on a Visual Force page in same table.

You might also like