Salesforce Overview & Architecture
Understand the Salesforce platform, its cloud offerings, and the multi-tenant architecture that powers it all.
Background — Why, What & How
Why Salesforce? Salesforce is the world's #1 CRM (Customer Relationship Management) platform, used by over 150,000 companies. It moved CRM from on-premise software to the cloud in 1999, revolutionizing how businesses manage customer relationships.
What is Salesforce? Salesforce is a cloud-based platform that provides tools for Sales, Service, Marketing, Commerce, Analytics, and more — all connected on a single platform called Customer 360.
How does it work? Salesforce uses a multi-tenant architecture — multiple customers share the same infrastructure but their data is completely isolated. Think of it like an apartment building: everyone shares the building structure but has their own locked apartment.
Key Cloud Offerings
- Sales Cloud — Manage leads, opportunities, accounts, and contacts. Track the entire sales pipeline.
- Service Cloud — Handle customer support cases, knowledge articles, and service automation.
- Marketing Cloud — Email campaigns, customer journeys, and digital marketing automation.
- Commerce Cloud — B2B and B2C e-commerce storefronts.
- Experience Cloud — Build portals and communities for customers and partners.
- Analytics Cloud (Tableau CRM) — Advanced reporting and AI-powered analytics.
- Platform (Force.com) — Build custom apps on top of Salesforce infrastructure.
The Metadata-Driven Architecture
Everything in Salesforce — objects, fields, layouts, workflows — is stored as metadata. This means you can describe your app configuration and it gets deployed like code. Customizations can be moved between environments (sandbox to production) using Change Sets or Salesforce DX.
Real-World Examples
Example 1: Multi-Tenant Architecture Analogy
Imagine a large hotel. The hotel building (Salesforce infrastructure) is shared by all guests (customers). Each guest has their own room key and cannot enter another guest's room. Salesforce ensures data isolation through its kernel — the core layer that enforces tenant boundaries.
Example 2: Metadata Example
When you create a custom field Annual_Revenue__c on the Account object, Salesforce stores this as metadata XML that can be exported and deployed to another org.
<!-- Metadata XML for a custom field -->
<CustomField>
<fullName>Annual_Revenue__c</fullName>
<label>Annual Revenue</label>
<type>Currency</type>
</CustomField>Practical Guide — Practice in Your Salesforce Org
Sign up for a free Salesforce Developer Org
Go to developer.salesforce.com/signup and create your free account.
Log in and explore the App Launcher
Click the grid icon (top-left) to see all available apps like Sales, Service, etc.
Navigate to Setup
Click the gear icon then Setup. This is where all admin configuration happens.
Explore Object Manager
In Setup, search "Object Manager" to see all standard and custom objects.
Check your Salesforce Edition
Setup then Company Information then Edition. Developer org uses Developer Edition.
Pros, Cons & Limitations
- ✓No infrastructure management — Salesforce handles servers, upgrades, and security
- ✓Rapid customization without code using point-and-click tools
- ✓Three automatic upgrades per year (Spring, Summer, Winter)
- ✓Massive ecosystem of apps on AppExchange
- ✓Built-in reporting and dashboards
- ✗Can be expensive for small businesses
- ✗Customizations can become complex and hard to maintain
- ✗Governor limits restrict what you can do in code
- ✗Steep learning curve for advanced features
- ⚠Multi-tenant model means governor limits apply to every org
- ⚠Some enterprise features require expensive add-on licenses
- ⚠Offline access is limited
- ⚠Complex integrations may require middleware
Interview Questions & Scenario-Based Q&A
What is the difference between Sales Cloud and Service Cloud?
Sales Cloud focuses on the sales process — managing leads, opportunities, accounts, contacts, and closing deals. Service Cloud focuses on customer support — managing cases, knowledge articles, entitlements, and service automation. Both can be purchased together or separately.
💡 Tip: Interviewers ask this to gauge whether you understand Salesforce products beyond just "it's a CRM".
What is multi-tenancy in Salesforce? What are its benefits and risks?
Multi-tenancy means multiple customers share the same Salesforce infrastructure but their data is completely isolated. Benefits: cost efficiency, automatic upgrades for all. Risks: governor limits are imposed to prevent one tenant from consuming all resources and affecting others.
💡 Tip: Always connect multi-tenancy to governor limits — they are directly related.
What are the three Salesforce release cycles and what changes in each?
Spring (Feb), Summer (June), Winter (Oct). Each release brings new features, bug fixes, and sometimes deprecated functionality. Features are often released as Beta first, then Generally Available (GA). Orgs get a preview sandbox updated before production.
What is the difference between a Standard Object and a Custom Object?
Standard Objects are pre-built by Salesforce (Account, Contact, Opportunity, Lead, Case). Custom Objects are created by admins/developers to store business-specific data. Custom objects have the "__c" suffix (e.g., Invoice__c).
What is Force.com and how does it relate to Salesforce?
Force.com (now called Salesforce Platform) is the underlying PaaS on which all Salesforce clouds are built. It provides the database (objects), business logic layer (Apex), and UI layer (Visualforce/LWC). You can build custom apps on Force.com without using Sales or Service Cloud.
Scenario: A client needs Salesforce for 50,000 users and requires full offline access. How do you respond?
Salesforce is primarily cloud-based with limited offline support. The Salesforce Mobile App has some offline capabilities. For full offline requirements, evaluate Salesforce Field Service with offline mobile features, or consider a hybrid architecture with offline sync middleware. Always clarify which specific workflows need offline access.
Quick Summary for Interview
Key interview answer: "Salesforce uses multi-tenant architecture where data is isolated per org but infrastructure is shared, which is why governor limits exist — to protect all tenants."