Design Integration Solutions (28%) Flashcards

1
Q

A protocol for transporting asynchronous messages, primarily over HTTP

A

Bayeux

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

Scalable HTTP based event routing bus that uses AJAX push technology pattern known as Comet. I it implemenet the Bayeux protocol

A

CometD

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

What SF Streaming API uses for long polling?

A

Bayeux protocol and CometD

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

Key outbound integration patterns (3)

A

Remote Process Invocation - Request and Reply
Remote Process Invocation - Fire and Forget
UI Update Based on Data Changes
Data Virtualization

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

Key inbound integration patterns (2)

A

Remote Call-In
Batch Data Synchronization

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

Which request and reply solution can be implemented declaratively?

A

Enhanced External Services (flow)

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

In request and reply pattern, who manages the error handling?

A

The caller

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

TRUE or FALSE:
In Request & Reply the changes are not committed until the caller receives a successful response.

A

True. And if needed, the caller can retry the operation.

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

What do idempotent capabilities guarantee?

A

That repeated invocations are safe. If it’s not implemented, duplicates may occur.

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

What are the web service standards supported by SF for Apex SOAP callouts? (4)

A
  • WSDL 1.1
  • SOAP 1.1
  • WSI-Basic Profil 1.1
  • HTTP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the endpoint considerations for Apex HTTP callouts? (3)

A
  • Endpoint must receive HTTP calls
  • SF must be able to access the endpoint over the public Internet
  • You can use apex HTTP callout to call REST services using the standard GET, POST, PUT, and DELETE methods.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What’s the most recommended solution for fire & forget?

A

Process-driven platform events. Declarative.

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

What external apps can use to listen to event messages by subscribing to a channel?

A

CometD

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

What integration pattern uses outbound messages?

A

Fire & Forget

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

Which integration solution requires that the remote service participates in a contract-first integration where SF provides the contract?

A

Outbound messaging

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

TRUE or FALSE: outbound messaging guarantees a delivery, as it retries sending the message until the positive acknowledgement is received

A

TRUE

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

What are the endpoint considerations for outbound messaging? (3)

A
  • The endpoint must be able to implement a listener that can receive SOAP messages
  • The remote listener must participate in a contract-first implementation
  • Each outbound message has its own predefined WSDL
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

How can the subscriber catch up on missed event messages?

A

They can use Replay ID of event messages to reply it from the event bus

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

Which API is associated with long polling?

A

Streaming API

20
Q

Which is preferred Batch sync solution, when data master is Salesforce?

A

Salesforce Change Data Capture

21
Q

Which is preferred Batch sync solution, when data master is a remote system?

A

A third-party ETL tool

22
Q

Are remote call-in and remote process invocation feasible for Batch sync pattern?

A

Yes, but suboptimal

23
Q

Which API does ETL use?

A

SOAP API

24
Q

Which API does Change Data Capture use?

A

Streaming API

25
Q

Is remote call-in synchronous or asynchronous?

A

synchronous

26
Q

Which SF API requires the remote system to participate in contract-first approach?

A

SOAP API

27
Q

A strongly-typed WSDL that’s specific to Salesforce org

A

Enterprise WSDL

28
Q

A loosely typed WSDL that’s not specific to a Salesforce org

A

Partner WSDL

29
Q

What is event driven architecture?

A

Integrations use platform events. Platform events are defined as SF objects and publishing en event is the same as creating a record.

30
Q

How REST API differs from SOAP API? (3)

A
  • Doesn’t require predefined contract;
  • Utilizes XML and JSON for responses;
  • Has loose typing.
31
Q

Which API is recommended for mobile and web apps?

A

REST API

32
Q

How is it called when an API performs multiple operations in a single call?

A

Composite resources

33
Q

When apex web services for remote call-in should be used?

A

Full transaction support is required.

Custom logic must be applied on the SF side before committing.

34
Q

Can platform event be published form the remote system under the remote call-in pattern?

A

Yes

35
Q

A piece of code that converts the parameters into a message to be sent to the server

A

Client stub. Generated by Enterprise or Partner WSDL

36
Q

Is Bulk 2.0 based on REST or SOAP?

A

REST

37
Q

Should clients using SOAP/REST API under remote-call in pattern, obtain a new session ID for each call?

A

No, they should cache and reuse the session ID

38
Q

What’s the maximum event message size?

A

1MB

39
Q

What API is used for UI update Based on Data Changes pattern?

A

Streaming API

40
Q

When an event occurs in Salesforce, how can the user be notified in SF UI without having to refresh their screen and potentially losting work?

A

By using Salesforce Streaming API (UI Update Based on Data Changes integration pattern)

41
Q

What are the two possible solutions for Data Virtualization?

A

Salesforce Connect, or if not possible - Request & Reply

42
Q

What Salesforce Connect adapter to use to connect another SF org?

A

The cross-org adapter (uses REST API).

43
Q

What SF Connect adapter to use to connect the external application?

A

OData 2.0 or 4.0

44
Q

What are the two calling mechanisms for data virtualization?

A

External objects (if SF Connect)
Lightning components or VF pages (if data to be displayed in the custom component)

45
Q

What is ‘Canvas’?

A

A set of tools and JavaScript APIs that you can use to expose an application as a canvas app.