SP Service Provider Technology-Based 2 — Questions and Answers
Question 1: A Salesforce partner needs to integrate a legacy ERP system with Salesforce using real-time bidirectional sync. Which integration pattern is most appropriate?
- Batch data replication via scheduled Apex jobs
- Remote Call-In using Salesforce REST API with event-driven updates (Correct answer)
- Canvas app embedding the ERP UI inside Salesforce
- Outbound Messaging via SOAP-based workflow rules
Correct answer: Remote Call-In using Salesforce REST API with event-driven updates
Remote Call-In with REST API supports real-time bidirectional sync by allowing external systems to push and pull data on demand.
Question 2: Which Salesforce technology allows partners to expose custom Apex logic as RESTful web services consumable by external applications?
- Salesforce Connect with OData
- @RestResource Apex classes (Correct answer)
- Platform Events with CometD
- Named Credentials with Auth Providers
Correct answer: @RestResource Apex classes
@RestResource annotation on Apex classes exposes them as REST endpoints accessible via Salesforce's API framework.
Question 3: A service provider is building a multi-org Salesforce solution. Which technology is best suited for sharing data across multiple Salesforce orgs in near real-time?
- Salesforce Shield with Event Monitoring
- Cross-Org Adapter for Salesforce Connect (Correct answer)
- Heroku Connect with PostgreSQL replication
- Salesforce Data Loader scheduled imports
Correct answer: Cross-Org Adapter for Salesforce Connect
The Cross-Org Adapter for Salesforce Connect enables real-time data access across multiple Salesforce orgs using OData.
Question 4: When deploying a managed package to multiple customer orgs, a partner wants to protect their IP in Apex classes. What is the correct approach?
- Mark all Apex classes as global and use namespace prefixes
- Set Apex class protection to Protected in the package (Correct answer)
- Obfuscate code using Heroku Private Spaces
- Use unlocked packages with restricted access tokens
Correct answer: Set Apex class protection to Protected in the package
Marking Apex classes as Protected in a managed package hides source code from subscribers while still allowing the code to execute.
Question 5: A Salesforce partner wants to capture all field-level data changes in an org for compliance auditing. Which Salesforce feature should they implement?
- Workflow Rules with field update history
- Salesforce Shield Field Audit Trail (Correct answer)
- Custom audit logging via trigger-based history objects
- Standard Field History Tracking (20 fields per object)
Correct answer: Salesforce Shield Field Audit Trail
Salesforce Shield Field Audit Trail retains field history data for up to 10 years across all tracked fields, meeting compliance requirements.
Question 6: A partner is designing a solution where Salesforce must respond to high-volume inbound events from IoT devices. Which architecture is most scalable?
- Synchronous Apex REST endpoints processing each device event
- Platform Events consumed by triggered Apex subscribers (Correct answer)
- Workflow rules firing on custom object inserts
- Visualforce pages posting form data via controller actions
Correct answer: Platform Events consumed by triggered Apex subscribers
Platform Events with Apex triggers decouple event producers from consumers and scale to handle high-volume asynchronous event streams.
Question 7: Which tool does Salesforce recommend for automating org-to-org metadata deployments in a CI/CD pipeline?
- Salesforce Data Loader CLI
- Salesforce CLI (sf/sfdx) with source tracking (Correct answer)
- Change Sets via the Setup UI
- ANT Migration Tool with package.xml
Correct answer: Salesforce CLI (sf/sfdx) with source tracking
Salesforce CLI with source tracking and scratch orgs is the recommended modern approach for automating metadata deployments in CI/CD pipelines.
A Salesforce partner needs to integrate a legacy ERP system with Salesforce using real-time bidirectional sync.
Which integration pattern is most appropriate?