Authored by Zishan Razzaq

Thursday, June 30, 2011

Salesforce Interview Questions - Developers

Hi:
  A while back I posted Salesforce Interview Questions for Administrators, well now its time for developers and choosing the correct one that knows salesforce and the infrastructure is key to your organization.
So here we go:
  1. Give a reason for the Error that states "To many SOQL Queries: 21"? 
    1. Too many SOQL queries: 21 Error in Force.com  
    2. Basically the For Loop or the trigger or class it is not built for doing more then 20 queries at once and it is hitting the governance limits.
  2. Give all the Actions for a Trigger in Salesforce.com.
    1. Insert
    2. Update
    3. Delete
  3. Can you write a test class within a Trigger? True/False
    1. False
  4. What is the difference between trigger.new and trigger.old?
    1. Trigger.new returns new versions or records for the Sobject.
    2. Trigger.old returns old records or existing records for the SObject
  5. What is SOQL?
    1. The SQL Language for Salesforce.com. Salesforce Object Query Language
  6. What is SOSL?
    1. The SQL language for salesforce.com in regards to Search Functionality. Salesforce Object Search Language 
  7. What is the main difference between List and Set?
    1. List contains Duplicates
    2. Sets do not contain duplicates
  8. Describe a Junction Object.
    1. Junction Object is when an object has 2 master detail relationships.
  9. Tell me ways of deploying Apex Code into Production from Sandbox.
    1. ANT Tool
    2. Eclipse
    3. Change Sets
  10. Do picklist dependencies follow through onto the Visual Force code or is there a special tag for it within the code?
    1. Picklist Dependencies are now part of Visualforce and no special code is required.
  11. How do you get a static URL for Salesforce, and why would you want that?
    1. To connect to salesforce from the API, an API Login should be issued to:
      https://login.salesforce.com/services/Soap/u/21.0
      ( for version 21).
      On Success - server Url and session ID will be returned.
    2. Static URL can be used for in Webservices API to connect to an endpoint.
    3. Take the Salesforce Server that your instance is on and append "-api.salesforce.com/services/Soap/u/21.0" Of Course the 21.0 is the Version that salesforce is running at the time.
  12. How one knows how to get the server that your instance is on?
    1. Once one logs into Salesforce look at the URL and the first 3 characters is the server you are on. For example, cs3.salesforce.com "cs3" is the server that my instance is on.
  13. What do you need for webservices API?
    1. WSDL
  14. What is the difference between Enterprise WSDL and Partner WSDL?
    1. Enterprise WSDL has all the metadata and functions provided for the org. So if a field attribute or object is changed or added, one must re-generate the WSDL to update the file.
    2. Partner WSDL - the developer has to do all the leg work up front and then if a field is added or object is changed or added, you do not have to re-generate the WSDL. It reflects on the WSDL with all changes. Mostly the developer would add it to his or her code. Plus you are utilizing SObjectDescribe() more.
  15. Which standard object in Salesforce is a junction Object?****** Awesome and tricky question.
More to Come... If you have experienced questions in your interviews or if you interviewed someone please leave a comment... Helps everyone out...
Regards,
Zishan
VisualForce Made Easy
MMAXTRA
Watch Me Fight  

23 comments:

  1. good...help full.
    if possible post more and more questions....!

    ReplyDelete
    Replies
    1. http://infallibletechie.blogspot.in/2012/11/interview-questions-for-salesforce.html

      http://infallibletechie.blogspot.in/2012/11/salesforce-interview-questions-with.html

      http://infallibletechie.blogspot.in/2012/10/salesforce-interview-questions-and.html

      http://infallibletechie.blogspot.in/2012/11/interview-questions-for-salesforce_7.html

      Delete
    2. http://sfdcfaq.blogspot.com

      Delete
  2. simply superb!!please add more ques.it will be useful for me

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Thanks for your post,Salesforce related to interview questions and answers salesforce questions
    are really helpful to resolve our queries.

    ReplyDelete
  7. thanks for upload....it will be useful for me....please upload more

    ReplyDelete
  8. please uplode more questions

    ReplyDelete
  9. Thanks, this is generally helpful.
    Still, I followed step-by-step your method in this salesforce cpq training
    lear cpq salesforce

    ReplyDelete
  10. Thanks for making this blog helpful for me! I am doing online Salesforce Developer Training & Salesforce I would like to thank for the efforts you have made in writing this post. Thanks for sharing.

    ReplyDelete
  11. Nice article and very good information. For Salesforce Dumps (Admin, Developer, Service Cloud, Marketing Cloud etc…) Click Salesforce Dumps

    ReplyDelete
  12. Great Post. Very informative. Keep Sharing!!

    Apply Now for Salesforce Training in Noida

    For more details about the course fee, duration, classes, certification, and placement call our expert at 70-70-90-50-90

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. Quality state sometimes theory consumer behind result size. Time appear course claim during. On several detail out.breaking news in india today

    ReplyDelete