Salesforce Integration Interview Questions : Amit Chaudhary

Salesforce Integration Interview Questions
by: Amit Chaudhary
blow post content copied from  Apex Hours
click here to view original post

In this post, we will talk about Top Salesforce Integration Interview questions and answers. These top Salesforce integration interview questions with answers will help you to get your dream job as a Salesforce integration professional. This list contains everything from the basic to the advanced questions.

Before getting started check our Salesforce Integration with External System post.

Top Salesforce Integration Interview Questions

Here is a list of Top Salesforce Integration Interview Questions in 2022.

  1. What is Integration?
  2. What is webservices?
  3. Difference between JSON Vs XML ?
  4. What is REST API ?
  5. What is SOAP API ?
  6. What is difference between SOAP and REST?
  7. What all Integration option are available in Salesforce?
  8. What is WSDL?
  9. What is SoapUI?
  10. What is difference between Enterprise WSDL and Partner WSDL?
  11. What is an Integration Patterns?
  12. Different type of Integration patterns available in Salesforce?
  13. What is remote site settings?
  14. What is a Connected App?
  15. What is OAuth?
  16. What are different OAuth2.0 Authorization flows are available in Salesforce?
  17. What is JWT flow in Salesforce?
  18. What is web service flow in Salesforce?
  19. What is Named Credentials and what is the use of it?
  20. What is OpenID Connect?
  21. Difference between OpenID and OAuth?
  22. What is Streaming API? Explain the different mechanism of Steaming API?
  23. What is Change Data Capture?
  24. What is Tooling API? Provide one example when you used it.
  25. What is Salesforce Connect?
  26. What are REST API Composite Resources

Basic Integration Questions

1. What is Integration?

Integration is a process of connecting two or more applications. Enterprise system uses many applications, many or most of which are not designed to work with one another out of the box. Each application can have data, business logic, presentation, and security layers, all of which are possible targets for integration.

2. What is webservices?

Web service is a standardized medium to propagate communication between the client and server applications on the World Wide Web. Web services provide a common platform that allows multiple applications built on various programming languages to have the ability to communicate with each other.

Webservices are functionality or code which helps us to do integration. Web services are open standard (XML, SOAP, HTTP, etc.) based web applications that interact with other web applications for the purpose of exchanging data.

Type of Web Service

There are mainly two types of web services.

  • SOAP web services.
  • RESTful web services

3. Difference between JSON Vs XML?

Here is some difference between JSON and XML. Check this post for more detail.

JavaScript Object Notation has a type like String, number, Object, Boolean Extensible markup language is type less, and should be string
It is a way of representing objects It is a markup language and uses tag structure to represent data items
Retrieving value is easy Retrieving value is difficult
It does not provide any support for namespaces. It supports namespaces.
It is less secured It is more secure than JSON
Guidelines: Key – Enclosed in double Quotes(String) Value – Can be any datatype {} – Object [] – Array , – Separates data element within Object Guidelines: Element – <lastname>hours</lastname> Element Definition: <xs:element name=”lastname” type=”xs:string”/> Attribute – <lastname lang=”EN”>Smith</lastname> Attribute Definition – <xs:attribute name=”lang” type=”xs:string”/>

4. What is REST API?

A REST API is also known as RESTful API. REST API is an application programming interface (API) that conforms to the constraints of REST architectural style and allows for interaction with RESTful web services.

RESTful API is an interface that two computer systems use to exchange information securely over the internet. REST API has a lightweight request and response framework. It is a simple, easy-to-use, and powerful web service based on RESTful principles. REST API supports both XML and JSON. Rest resource is referenced using URI, abstraction of information, and access using HTTP methods.

5. What is SOAP API?

SOAP is the Simple Object Access Protocol, a messaging standard defined by the World Wide Web Consortium and its member editors. SOAP uses an XML data format to declare its request and response messages, relying on XML Schema and other technologies to enforce the structure of its payloads.

  1. It uses a Web Services Description Language (WSDL) file to rigorously define the parameters for accessing data through the API.
  2. SOAP API supports XML only.
  3. Because SOAP API uses the WSDL file as a formal contract between the API and consumer, it’s great for writing server-to-server integrations.

6. What is the difference between SOAP and REST?

Here is the difference between SOAP and REST API.

Relies on SOAP protocol Relies on REST architecture using HTTP
Transports data in XML Transports data in JSON or XML
Highly structured/ typed Less structured? Less bulky data
Handles large data loads Works well with JavaScript
Designed with large enterprise application in mind Designed with mobile devices in mind

Salesforce Integration Interview Questions

7. What all Integration options are available in Salesforce?

There are lots of Integration option are available in Salesforce. Some of the are below.

API Name Protocol Data Format Communication
Chatter REST API REST JSON, XML Synchronous (photos are processed asynchronously)
Analytics REST API REST JSON, XML Synchronous
Bulk API REST CSV, JSON, XML It’s Asynchronous. Handle large data loads with batching.
Metadata API SOAP (WSDL) XML Asynchronous. Retrieve, deploy, and modify metadata.
Streaming API Bayeux JSON Asynchronous. Push notifications from Salesforce to subscribing applications/entities
(replaces polling).
Apex REST API REST JSON, XML, Custom Synchronous
Apex SOAP API SOAP (WSDL) XML Synchronous
Tooling API Build custom development tools
for Salesforce platform applications

8. What is WSDL?

WSDL (Web Services Description Language) is an XML document that describes a web service. There are two types of WSDL in Salesforce:

  • Enterprise WSDL
  • Partner WSDL

9. What is the difference between Enterprise WSDL and Partner WSDL?

Here is the difference between Enterprise WDSL and Partner WDSL.

Enterprise WDSL Partner WSDL
Strongly Typed Loosely Typed
Tied to a specific configuration of Salesforce Useful for any configuration of Salesforce
Changes if custom field or custom objects are added to your organization Does not changes if custom field or custom objects are added to an organization’ Salesforce configuration
Primarily for Customer Primarily for Partner

10. What is SoapUI? How to Use SoapUI to Test Salesforce WebService?

SOAP UI is a very popular API testing tool especially when we talk about SOAP APIs. So, in this tutorial, we’re going to see how we can connect with Salesforce Org using SOAP UI and we will call a standard salesforce soap API and have a look at the response. Check below recording how to test Salesforce webservice using SoapUI.

11. What are integration patterns in salesforce?

When you implement Salesforce, you frequently need to integrate it with other applications. Although each integration scenario is unique, there are common requirements and issues that developers must resolve.

12. Different types of Integration patterns available in Salesforce?

Check our blog post Salesforce integration Patterns & Best Practices to learn more.

Pattern Scenario
Remote Process Invocation—Request and Reply Salesforce invokes a process on a remote system, waits for completion of that process, and then tracks state based on the response from the remote system.
Remote Process Invocation—Fire and Forget Salesforce invokes a process in a remote system but doesn’t wait for completion of the process. Instead, the remote process receives and acknowledges the request and then hands off control back to Salesforce.
Batch Data Synchronization Data stored in Lightning Platform is created or refreshed to reflect updates from an external system, and when changes from Lightning Platform are sent to an external system. Updates in either direction are done in a batch manner.
Remote Call-In Data stored in Lightning Platform is created, retrieved, updated, or deleted by a remote system.
UI Update Based on Data Changes The Salesforce user interface must be automatically updated as a result of changes to Salesforce data.
Data Virtualization Salesforce accesses external data in real time. This removes the need to persist data in Salesforce and then reconcile the data between Salesforce and the external system.
integration patterns Interview Questions

13. What is remote site settings?

Remote site settings is used to authorize the endpoint and allow us to whom integrate(end user)

Connected App And OAuth

14. What is a Connected App?

A connected app is a framework that enables an external application to integrate with Salesforce using APIs and standard protocols, such as SAML, OAuth, and OpenID Connect. Connected apps use these protocols to authenticate, authorize, and provide single sign-on (SSO) for external apps. The external apps that are integrated with Salesforce can run on the customer success platform, other platforms, devices, or SaaS subscriptions.

15. What is OAuth?

OAuth is short for open authorization. OAuth 2.0 is a framework that allows for a secure way for systems to establish trust with one another. The end goal is to obtain an access token that can be used by to access protected resources without ever providing your username or password to the other system.

16. What different OAuth2.0 Authorization flows are available in Salesforce?

You decide! Salesforce supports the following flows

  1. SAML Bearer Assertion
  2. JWT Bearer Token
  3. Refresh Token
  4. Web Server Authentication
  5. Username-Password
  6. User-Agent
  7. Device Authentication
  8. Asset Token
  9. SAML Assertion

17. What is JWT flow in Salesforce?

Secure server-to-server integration without real time user involvement. Client specifies user in a JSON web token (JWT) or SAML format XML assertion and proves its own identity by appending a signature. JWT Bearer token flow is Ideal for application which access sfdc only through API as there is no UI involved. For example ETL tools or middleware.

JWT Structure

When we talk about JSON Web Token, it is consist of 3 parts

  1. Headers – Which contains the algorithm which will be used to sign the request {"alg":"RS256"}
  2. Payload – This contains claims information which is an object containing information about user and additional data. Claims are set using parameters- {"Iss,aud,sub,exp"}
  3. Signature – Signature consists of 3 parts and the structure is given below
<headerbase64encodedurl>.<claimsbase64encodedclaims>.<signature(uses algorithm like RS 256)>

18. What is web service flow in Salesforce?

Allows apps with a secure client server (one which can protect a secret or private key) to access protected resources. This flow is mainly used by applications hosted on web server. If external application is trusted one and hosted on secure server and can securely store client_secret, then flow can be used. This flow is used mainly to build web application.

Learn more from Authorisation Code With Secret (Web Server flow).

19. What is Named Credential and what is its use of it?

A named credential specifies the URL of a callout endpoint and its required authentication parameters in one definition. To simplify the setup of authenticated callouts, specify a named credential as the callout endpoint.

20. What is OpenID Connect?

OpenID Connect is a simple identity layer on top of the OAuth 2.0 protocol. It allows Clients to verify the identity of the End-User based on the authentication performed by an Authorization Server, as well as to obtain basic profile information about the End-User. Learn more here.

OpenID Connect Flow

21. Difference between OpenID and OAuth?

OAuth 2.0 OpenID Connect
Granting access to your API Logging the user in
Getting access to user data in other systems Making your accounts available in other systems
This is primarily used for Authorization This is primarily used for Authentication

Streaming API and Events

22. What is Streaming API? Explain the different mechanisms of Steaming API.

Streaming API enables the streaming of events using push technology and provides a subscription mechanism for receiving events in near real-time. The Streaming API subscription mechanism supports multiple types of events, including PushTopic events, generic events, platform events, and Change Data Capture events

Learn about terms used for Streaming API

Term Description
Event The creation, update, delete, or undelete of a record. Each event might trigger a notification.
Notification A message in response to an event. The notification is sent to a channel to which one or more clients are subscribed.
PushTopic A PushTopic triggers notifications for changes in Salesforce records resulting from a create, update, delete, or undelete operation. A PushTopic notification is based on the criteria that you specify in the PushTopic record and the SOQL query that you define. Only the fields specified in the query are included in the notification. The PushTopic defines a subscription channel.
Channel A stream of events to which a client can subscribe to receive event notifications.
Event Bus A conduit in which a publisher sends an event notification. Event subscribers subscribe to a channel in the event bus to receive event notifications. The event bus supports replaying stored event messages
Platform Event A Salesforce entity that represents the definition of the custom data that you send in a platform event message. You create a platform event and define its fields in Salesforce. The subscription channel is based on the platform event name.
Change Data Capture Event Similar to a PushTopic, Change Data Capture triggers notifications for changes in Salesforce records resulting from a create, update, delete, or undelete operation. Unlike a PushTopic, Change Data Capture sends all changed fields of a record and doesn’t require you to specify the fields in a query.
Also, Change Data Capture sends information about the change in headers.

23. What is Change Data Capture?

Change Data Capture is a streaming product on the Lightning Platform that enables you to efficiently integrate your Salesforce data with external systems. With Change Data Capture, you can receive changes of Salesforce records in real-time and synchronize corresponding records in an external data store. Change Data Capture publishes events for changes in Salesforce records corresponding to create, update, delete, and undelete operations.

24. What is Tooling API? Give one example of when you used it.

Use Tooling API to build custom development tools or apps for Lightning Platform applications. Tooling API’s SOQL capabilities for many metadata types allow you to retrieve smaller pieces of metadata. Smaller retrieves improve performance, which makes Tooling API a better fit for developing interactive applications. Tooling API provides SOAP and REST interfaces.

25. What is Salesforce Connect?

Salesforce Connect is a powerful App Cloud integration service, which enables users of Salesforce applications to seamlessly access and handle data stored in external sources, without leaving the Salesforce native environment. Instead of copying the data into your org, you can use external objects to access the data in real time via web service callouts.

When to use Salesforce Connect?

  1. Display, Search, Modify Data stored in external System.
  2. Don’t want duplicate data storage in Salesforce.
  3. Small amount of data on real time
  4. Access to latest data
  5. Access like Salesforce Object

26. What is REST API Composite Resources

let us see what is composite resources. We have seen standard Salesforce rest APIs which we use to create or update data in salesforce from an external system these API‘s we do one at a time. Composite resources is an enhanced form of rest API which executes a series of rest API requests in a single call. It helps you to do multiple operations like read create update and delete Salesforce data in a single callout


I hope this consolidated Salesforce Integration Interview question will help you to get a dream job as Salesforce Integration Architect or Integration Developer in Salesforce. Check our Salesforce Developer Interview question and answers post as well.

The post Salesforce Integration Interview Questions appeared first on Apex Hours.

September 07, 2022 at 06:30PM
Click here for more details...

The original post is available in Apex Hours by Amit Chaudhary
this post has been published as it is through automation. Automation script brings all the top bloggers post under a single umbrella.
The purpose of this blog, Follow the top Salesforce bloggers and collect all blogs in a single place through automation.