<< Prev Question Next Question >>

Question 31/108

A conglomerate 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?

Recent Comments (The most recent comments are at the top.)

dinesh kumar r - Aug 12, 2024

answer B. Use the Continuation class to call the Enterprise APIs and then process the response in a callback method.
There is a continuation apex class from which we can call enterprise api in parlel to process the large data
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/apex_continuations_apex.htm

gigio - Aug 21, 2023

Why is D correct? If middleware subscribes, it will just consume events.

Tester - Jul 01, 2023

D is correct

Vinh Hua - Mar 24, 2023

D is the best solution in this case.
Avoid call out in loop to get the latest transaction in middle ware. (Middleware supports publish-subscribe interactions so every time there are new transactions our LWC can handle the update and display)

dd - Feb 11, 2023

Answer is D

This approach provides a number of benefits:
1 It decouples the LWC from the underlying data sources and middleware, making it easier to modify the underlying systems without affecting the LWC.
2 The middleware can handle any necessary data transformations, such as aggregating transactions from multiple sources, before updating the custom object in Salesforce.
3 The Platform Event ensures that the custom object is updated in real-time as soon as new transactions are created in the underlying systems.
4 By using the Lightning Data Service, the LWC will automatically display the updated values without requiring any manual intervention.

Option A, calling the Enterprise APIs directly from the LWC's JavaScript code, is not recommended as it can result in tight coupling between the LWC and the underlying data sources and middleware, making it more difficult to modify the systems in the future. Option B, using the Continuation class, is also not recommended as it requires a separate Apex class to handle the API calls, which can result in additional complexity and maintenance overhead. Option C, using the Lightning Data Service with a wire adapter, is not a complete solution as it only updates the LWC when the custom object records change, but does not handle the initial retrieval of the transactions from the underlying systems....

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (108q)
6 commentQuestion 1: Universal Containers wishes to validate street addresses in ...
4 commentQuestion 2: What is the first thing an Integration Architect should vali...
6 commentQuestion 3: A large enterprise customer with the following system landsc...
3 commentQuestion 4: KiA B2C Enterprise Customer has the following use case that ...
5 commentQuestion 5: Which two system constraint questions should be considered w...
Question 6: Universal Containers (UC) has an existing web-based applicat...
Question 7: Universal containers has complex data transformation, error ...
3 commentQuestion 8: A developer has been tasked by the integration architect to ...
3 commentQuestion 9: Universal Containers would like to use a hard-coded username...
4 commentQuestion 10: A customer's enterprise architect has identified requirement...
5 commentQuestion 11: Universal Containers (UC) uses Salesforce to create and mana...
4 commentQuestion 12: A customer imports data from an external system into Salesfo...
4 commentQuestion 13: Universal Containers send quotes to customers periodically w...
4 commentQuestion 14: A call center manager uses a custom dashboard to track Case ...
1 commentQuestion 15: A large B2C customer is planning to implement Salesforce CRM...
3 commentQuestion 16: When user clicks Check Preferences as part of a Lightning fl...
Question 17: Universal Containers (UC) has multiple orgs with Sales and S...
2 commentQuestion 18: Given the diagram below, a Salesforce org, middleware, and H...
2 commentQuestion 19: Universal Containers is building a native mobile application...
2 commentQuestion 20: Northern Trail Outfitters (NTO) has recently implemented mid...
2 commentQuestion 21: Universal Container needs to integrate Salesforcewith severa...
Question 22: Universal Containers is a global financial company that sell...
3 commentQuestion 23: Universal Containers is building a mobile application that c...
Question 24: A customer is migrating from an old legacy system to Salesfo...
Question 25: Universal Containers (UC) has Wave Analytics in their Salesf...
Question 26: A large B2C customer is planning to implement Salesforce CRM...
Question 27: Universal Containers manages a catalog of over one million p...
1 commentQuestion 28: Universal Containers is integrating their Salesforce platfor...
6 commentQuestion 29: A company needs to be able to send data from Salesforce to a...
1 commentQuestion 30: The URL for an external service has been changed without pri...
5 commentQuestion 31: A conglomerate is designing a Lightning Web Component (LWC) ...
Question 32: Universal Containers (UC) is a leading provider of managemen...
4 commentQuestion 33: A customer of Salesforce has used Platform Events to integra...
Question 34: Northern Trail Outfitters (NTO) use Salesforce to track lead...
1 commentQuestion 35: Universal containers decided to use Salesforce sales cloud f...
2 commentQuestion 36: Universal containers would like to restrict access to Salesf...
Question 37: An insurance company decides to build an online portal using...
4 commentQuestion 38: An Integration Architect has designed a mobile application f...
2 commentQuestion 39: What are three capabilities of Salesforce outbound messaging...
4 commentQuestion 40: Universal Containers (UC) is a leading provider of managemen...
Question 41: Northern Trail Outfitters is planning to perform nightly bat...
4 commentQuestion 42: Universal Containers (UC) wants to connect their on-premise ...
5 commentQuestion 43: A large consumer goods manufacturer operating in multiple co...
6 commentQuestion 44: Which two automated methods should an architect use to solve...
5 commentQuestion 45: An Architect is required to integrate with an External Data ...
2 commentQuestion 46: Universal Containers has Logistics Engineers that observe a ...
2 commentQuestion 47: Universal Containers is using Sales Could with Order Capture...
Question 48: Northern Trail Outfitters (NTO) has an affiliate company tha...
6 commentQuestion 49: Northern Trail Outfitters (NTO) leverages Sales Cloud for tr...
1 commentQuestion 50: Universal Containers is a global financial company that sell...
4 commentQuestion 51: Universal Containers has chosen Salesforce Wave as their Ana...
Question 52: Universal Containers requires Salesforce to send expense dat...
3 commentQuestion 53: Northern Trail Outfitters wants to use Salesforce as a front...
3 commentQuestion 54: Universal Containers would like to display data from an exte...
9 commentQuestion 55: Universal Containers sells its products online using a syste...
Question 56: Universal containers is hearing complaints from users that r...
Question 57: A company that is a leading provider of courses and training...
Question 58: In order to avoid slowing down inbound call center sales age...
1 commentQuestion 59: Universal Containers has a homegrown application that polls ...
4 commentQuestion 60: Northern Trail Outfitters needs to make synchronous callouts...
Question 61: Universal Containers (UC) has third-party MDM database which...
4 commentQuestion 62: Universal Containers is planning a data migration into Sales...
Question 63: An architect decided to use Platform Events for integrating ...
Question 64: Which WSDL should an architect consider when creating an int...
Question 65: Northern Trail Outfitters' ERP is integrated with Salesforce...
6 commentQuestion 66: Northern Trail Outfitters (NTO) has hired an Integration Arc...
1 commentQuestion 67: Universal Containers requires Salesforce to send order data ...
2 commentQuestion 68: An Integration Developer is developing an HR synchronization...
1 commentQuestion 69: Which two options should be considered to permit automatic r...
1 commentQuestion 70: Northern Trail Outfitters (NTO) uses a custom mobile app to ...
4 commentQuestion 71: Universal Containers is hearing complaints from users that r...
Question 72: A company needs to be able to send data from Salesforce to a...
Question 73: Which two requirements should the Salesforce Community Cloud...
1 commentQuestion 74: A large enterprise customer with the following system landsc...
Question 75: An integration architect needs to build a solution that will...
Question 76: Universal Containers acquires several companies and decides ...
Question 77: Universal Containers would like to update their accounting s...
2 commentQuestion 78: What are the two considerations of Apex REST services that a...
3 commentQuestion 79: A company's cloud-based single page application consolidates...
6 commentQuestion 80: Universal Containers has a back-end ordering system that res...
2 commentQuestion 81: Universal Containers would like to integrate Salesforce to t...
Question 82: Universal Containers merges with Planetary Shipping. They de...
3 commentQuestion 83: Northern Trail Outfitters needs to secure an integration wit...
Question 84: What should an Architect recommend to ensure all integration...
5 commentQuestion 85: Northern Trail Outfitters (NTO) has an integration set up be...
1 commentQuestion 86: Northern Trail Outfitters (NTO) uses Salesforce to track lea...
Question 87: Universal Containers has a SOAP-based integration that runs ...
Question 88: Northern Trail Outfitters has a requirement to encrypt few o...
Question 89: Which tool would an architect likely leverage while diagnosi...
Question 90: An Architect is asked to build a solution that allows a serv...
1 commentQuestion 91: Universal Containers (UC) is a global financial company. UC ...
1 commentQuestion 92: A large enterprise customer with the following system landsc...
Question 93: Northern Trail Outfitters (NTO) is looking to integrate thre...
2 commentQuestion 94: Universal Containers has a customer setup process that relie...
4 commentQuestion 95: Universal Containers acquires several companies and decides ...
3 commentQuestion 96: An enterprise architect has requested the Salesforce Integra...
1 commentQuestion 97: A healthcare services company maintains a Patient Prescripti...
Question 98: Universal learning (UC) is embarked on Salesforce transforma...
Question 99: Universal Containers has an integration that runs nightly to...
Question 100: Universal learning (UC) is embarked on Salesforce transforma...
Question 101: Northern Trail Outfitters is in the final stages of merging ...
Question 102: Universal Containers has a requirement to update the Salesfo...
Question 103: An enterprise architect has requested the Salesforce Integra...
Question 104: What should an Architect recommend to ensure all integration...
1 commentQuestion 105: A conglomerate is designing a Lightning Web Component (LWC) ...
Question 106: An Architect has received a request to prevent employees tha...
1 commentQuestion 107: A company accepts payment requests 24x7. Once they accept a ...
1 commentQuestion 108: Universal Containers (UC) sends Order data to an external ER...