Header Ads Widget

Deloite interview questions VERY IMPORTANT PART 1


1. We have 3 objects Account, Contact, Opportunity.
   In a VF page, we need to display the names of contact & Opportunity which are related to Account.
2. One object (s1) & 3 tasks (t1, t2, t3) are there. Each task performing discount related stuff.
   Write a trigger that should calculate the sum of 3 tasks.  And if any task is modified than trigger should fire automatically & perform the same.
Ans: List<Task> listof tasks = [select id, name from Task where whatId=Trigger.new];
3. How can you convert a lead?
4. What is your Role in your project?
5. Explain 2 VF pages developed by you?
6. How will you deploy? Have you ever involved in deployment?
7. How will you test your code through Sandbox?

8. What is the custom settings ?
Ans : 

Custom settings are similar to custom objects and enable application developers to create custom sets of data, as well as create and associate custom data for an organization, profile, or specific user. All custom settings data is exposed in the application cache, which enables efficient access without the cost of repeated queries to the database. This data can then be used by formula fields, validation rules, Apex, and the Web services API.

9. Difference between SOSL and SOQL in Salesforce ?
Ans :
SOSL
SOQL
stands for "Salesforce object search language".
stands for "Salesforce object query language".
Works on multiple object at a same time.
Need to write different SOQL for different object.
All fields are already text indexed.
SOQL against same field will be slow.
Cannot used in Triggers. Can only be used in Apex class and anonymous block.

10. Custom settings?
11. What is Sales cloud & Service cloud?
12.  can a Checkbox as controlling field?
Ans:

  • Checkbox fields can be controlling fields but not dependent fields.

  • Multiselect fields can be dependent pick lists but not controlling fields.

Picklist Limitations:

  • Custom picklist fields can be either controlling or dependent fields.

  • Standard picklist fields can be controlling fields but not dependent fields.

  • The max no. of values allowed in a controlling field is 300.

  • If a field is both controlling filed & dependent filed, it can’t contain more than 300 values.

13. Sharing Rules?
14. SOQL & SOSL? Diff between SOQL & SOSL?
15. Difference b/w External ID & Unique ID?
16. What is System.RunAs ()?
17. Explain  Test.setPage ()?
     Ans:  It is used to set the context to current page, normally used for testing the Visualforce controller.
18. Why Governor Limits are introduced in Salesforce.com?


19.  What is the difference between sales cloud & service cloud?
"Sales Cloud" refers to the "sales" module in salesforce.com. It includes Leads, Accounts, Contacts, Contracts, Opportunities, Products, Pricebooks, Quotes, and Campaigns (limits apply). It includes features such as Web-to-lead to support online lead capture, with auto-response rules. It is designed to be a start-to-end setup for the entire sales process; you use this to help generate revenue.

"Service Cloud" refers to the "service" (as in "customer service") module in salesforce.com. It includes Accounts, Contacts, Cases, and Solutions. It also encompasses features such as the Public Knowledge Base, Web-to-case, Call Center, and the Self-Service Portal, as well as customer service automation (e.g. escalation rules, assignment rules). It is designed to allow you to support past, current, and future clients' requests for assistance with a product, service, billing, etcetra; you use this to help make people happy.

The differences between Sales Cloud and Service Cloud are the same across each "edition" ("professional", "enterprise" and "unlimited"), mainly outlined above. The differences, as you can gather from the prior paragraphs, is that each cloud is designed to support a specific set of features that you would use to sell services and products, and support those services and products (respectively).

The main differences you will find are the limits between each edition. Professional Edition provides basic functionality; you can create limited customized UI pages (Visualforce), and you can use standard automation (e.g. assignment, escalation, and auto-response rules). Enterprise Edition provides additional features, including custom automation (e.g. workflow rules, Apex Code), improved Visualforce functionality, integration (API) access, generally increased limits, and additional customization features (e.g. more fields per object). Unlimited Edition is an extension of Enterprise Edition, and includes more storage space, premier support, more objects, increased API limits, and so on.

Post a Comment

0 Comments