Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Integration Architect All Questions

View all questions & answers for the Certified Integration Architect exam

Exam Certified Integration Architect topic 1 question 1 discussion

Actual exam question from Salesforce's Certified Integration Architect
Question #: 1
Topic #: 1
[All Certified Integration Architect Questions]

A company is designing a Lightning Web Component (LWC) to display transactions aggregated from different sources. Their current system landscape is as follows:
1. Transactions are created at any time through their various on-premise and cloud-based systems.
2. All necessary transactions are replicated to a custom Transaction object in Salesforce. It is updated periodically so it only has a subset of the necessary transactions between updates.
3. Middleware supports publish-subscribe interactions and provides RESTful Enterprise APIs that can retrieve transactions from on-premise and cloud-based systems.
The company wants to address a usability concern regarding incomplete data displayed on the LWC component.
What should the integration architect specify so the LWC will be able to display all the required transactions?

  • A. Publish a Platform Event, have the middleware subscribe and update the custom object on receipt of Platform Event.
  • B. Call the Enterprise APIs directly from the LWC's JavaScript code and redisplay the LWC on receipt of the API response.
  • C. Use the Continuation class to call the Enterprise APIs and then process the response in a callback method.
  • D. Let the Lightning Data Service with an @wire adapter display new values when the custom object records change.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
dongzhichka
3 weeks, 3 days ago
Why no body pick D, I believe D is a much easier option than C.
upvoted 1 times
...
jfouriex
9 months, 2 weeks ago
Answer is C - https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/apex_continuations.htm
upvoted 1 times
...
Csbaa
11 months, 3 weeks ago
Why the description mention the middleware and Pub/Sub capability if we not leverage it? My answer would be A
upvoted 2 times
dongzhichka
3 weeks, 3 days ago
Platform events are mainly used for server to server integration, due to its nature and the limit of 2000 concurrent subscribers. It won't be ideal to be used in this client to server integration scenario.
upvoted 1 times
...
...
examt0p1c5
1 year, 3 months ago
Selected Answer: C
you should not make an API callout from the LWC js controller
upvoted 4 times
acresposot
1 year, 2 months ago
why not
upvoted 2 times
acresposot
1 year, 2 months ago
delete comment
upvoted 1 times
...
...
...
chrisx01
1 year, 3 months ago
I should be C C. Use the Continuation class to call the Enterprise APIs and then process the response in a callback method. call outs from LWC are not best practices
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...