Salesforce Interview Question

How does Salesforce make money? Why SaaS investing?