Wednesday, 12 October 2011

Interview questions with answers

Q1).What is the difference between Lookup Relationship and Master-Detail Relationship?
Q2) True or False? If you were to delete a record that had a lookup to a child object, all child object records would get deleted as well.


answer for above two questions.


Lookup and master relations are use full for making relation between two objects(important point "not for fields")
manly three conditions are making difference in these relations


lookup realation


1)In look up relation the field is not an mandatory, that means if we created lookup relation for any two objects that particular field should not contain red mark beside that.


2) you can change look value that means it is editable 


3) If we delete parent its wont create any effect on child 
     for example "department object" is an parent "employ" is an child.in this case deleting of "department" can not create any effect on child.


master relation


this is completely opposite to the lookup relation.


1) its mandatory (you must fill it)


2)not editable (your value fixed )


3) if you delete parent child details also move to trash  




Q3) Where is the view Account hierarchy link?
Q4)What does the Account Hierarchy tell or do?


answer for above two questions 


"Account hierarchy link will appear in accounts"


More information about this
Before going to this we need to now what is account and what is contact?
EXAMPLE: accer is providing laptops and tabs and I am having the company of ABC bank.My marketing manager called accer for 50 laptops and my HR manager called accer for 35 TABs.
according to above condition 
ABC bank is the account and marketing manager and HR manager will come under contact.


Account hierarchy show these two contacts under ABC bank link


Q5) how to create field?


Before going this we need to now,what are the types of objects and fields
in salesforce.com basically we have two types of objects and fields 
stranded objects ,stranded fields and custom fields, custom objects.
A) For crating field in stranded object we need to click on particular object in "customize" 
setup> customize > account / contact > field > new
B) For creating field in custom object we need to click on object at "create" 
setup > create > object > select the object > custom fields and relations > new 


6)Where can you make a field required?


 In field creation we need to check on "field is mandatory".




7)I'm setting up different page layouts for different user profiles.  As a system administrator, is there another way to see what the user sees instead of them granting log in access to you?


As a admin you can see what are the things in his layout and edit the layout.but you can not see the exact view which is like an user view.


8)What type of Workflow Alerts are there?


Basically work flow alerts are four types, those are 
Task:it is for making task to other user
Email alert :it is the process to create email alert (example: wishing mail for birthday)
Field updates: field updates are field value dependent activity  
out bound messages: out bound messages are for sending data to the end point 


9)Validation Rules, What are they use for in Salesforce?


Validation rules are very impotent one. its useful to create boundary for particular field.


Example: I am having salary field in my employ object.if I enter -4000Rs it will take, but this is false activity.
if I created "salary__c < 0 "as a validation rule it wont allow to take negative values.

10)What is Dataloader?


dataloader is for integration.Mainly it is having   7 function buttons 


Insert: it is for inserting data from external machine(file should be an CSV)
Update:it is for updating existing record
Upsert:it is having the function of insert and update
Delete: its for deleting data(deleted files available in recycle bin)
Hard delete: its for deleting but its not recoverable  
Export:its for taking out the data from our salesforce.com
Export all: for all data extraction


Note: its allow the files of comma separated value (.csv) 


What is the difference between Profiles and Roles in Salesforce.com? 

Role is simple thing its just an name of designation.we can see in role hierarchy.


Profile is very important one all the functions dependent on profile.If we change the profile of an user, his functions will change completely  


11) what are governor limits in salesforce.com


 gov limits are run-time limits which is enforced at the time of Apex runtime why Because Apex runs in a shared, multitenant environment the Apex runtime engine strictly enforces a number of limits to ensure that code does not monopolize shared resources


types of limits that Apex enforces are 
a)Memory, 
b)Database resources, 
c)Number of script statements to avoid infinite loops,
d)Number of records being processed


12) Difference between auto-response rules and work flow rules
in fallowing  ways it is showing difference ....


WF: it is designed for Notifications to interested parties
AR:  for initial response to a particular case created persion


WF: it runs when record is created or edited 
AR: it runs only when record created


WF: it send many mails when ever criteria matches 
AR:Sends one email based on the first rule entry criteria it matches in a sequence of rule entries.


13)difference between sandbox and developer organisation ?


sandbox is an test environment  where we can test our code and everything or copy of your salesforce.com.
In SFDC we are having three type of sandboxes 


Configuration sandbox: 500Mb-Refresh once per day
Developer sandbox: For coding and testing -10MB-Refresh once per day
Full sandbox: no limit-refresh a full copy for every 29 days-in full sandbox we can make a copy of 180 days for object history.


14)types for relation in SFDC


Lookup relation
Master relation 
Many to May relation(junction creation)
Hierarchy.


15)what is cross object formula creation 


It means creating relation between two field from two different object.For creating this object have to have lookup or mater relation.




more questions on next link


for any questions connect me at salesforce.murali@gmail.com





7 comments:

  1. Thanks for sharing the questions and answer
    by themoderneducation.com

    ReplyDelete
  2. nice, very helpful.

    many spelling mistakes

    ReplyDelete
  3. Thank you so much.......these Q $ A are very helpfull for me.

    ReplyDelete
  4. Thanks for the information ....Its really useful

    ReplyDelete
  5. Thank you for your thoughts.The above post is of great to use for salesforce questions and salesforce answers.

    ReplyDelete
  6. Find More Salesforce Interview Question with Answers:
    http://salesforcecloudcrm.blogspot.com/

    ReplyDelete