API Flashcards

(10 cards)

1
Q

Your mobile app needs to show a user their recent Contacts. The app needs simple JSON, lightweight calls, and fast responses. No complex metadata or XML.

A

REST API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Your legacy banking system requires a formal WSDL contract and must receive XML messages with strict typing and schemas.

A

SOAP API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

You need to migrate 5 million Opportunity records into Salesforce this weekend. The integration must run asynchronously and handle large volumes.

A

Bulk API / Bulk API 2.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

You want Salesforce to notify an external system in real time whenever an Account is updated — without polling. The external system must receive events using CometD.

A

Streaming API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Your architecture requires loose coupling between systems. System A must send durable messages that System B can process even if it’s temporarily offline.

A

Platform Events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Multiple downstream systems need to stay in sync with Salesforce updates. Whenever a record changes (insert/update/delete), all systems must get notified quickly and consistently.

A

Change Data Capture (CDC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Salesforce needs to call out to an external weather system every time a record changes, using custom logic inside an Apex trigger.

A

Apex Callout (HTTP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

An external partner needs a custom Salesforce endpoint that accepts POST requests and returns JSON according to your own schema.

A

Apex REST

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

An external ERP system only supports SOAP, but you need a custom Salesforce-built SOAP service with specific fields and XML formatting.

A

Apex SOAP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A single API call must return multiple objects, related records, and nested fields in one shot — minimizing round-trips to the server.

A

GraphQL API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly