When updating exchange rates from a web service, which scope should you select for the data page?

Study for the Certified Pega System Architect Test with comprehensive flashcards and multiple choice questions. Learn the key concepts and get ready for your exam!

Selecting the appropriate scope for a data page is essential for ensuring that the data is managed effectively and efficiently. In this case, choosing "Node" as the scope for the data page when updating exchange rates from a web service is the best option because it allows for the data to be shared among all users on that particular node of the Pega cluster.

Using the node scope means that once the exchange rates are fetched and stored in the data page, that information can be reused across all sessions and users currently accessing that node without the need to re-fetch the data multiple times. This enhances performance by minimizing redundant calls to the web service, reducing loading times, and conserving system resources. In scenarios where exchange rates do not change frequently and are used by many users simultaneously, the node scope effectively facilitates centralized data management.

Other scopes serve different purposes: the session scope would limit visibility to the current user's session, making it inefficient for data meant to be widely accessible across users. The page scope confines the data to the single instance of the page, also limiting its accessibility. The application scope, while broader than session or page, is still less optimized than node in situations where shared data across multiple users is necessary, particularly in environments with a load-balanced setup.

Therefore,

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy