Exam PEGAPCSSA87V1 All QuestionsBrowse all questions from this exam
Question 52

A chemical supplier processes thousands of online orders each day. The supplier provides a material safety data sheet (MSDS) for each of the 100+ cleaning products in stock. When buyers select an item to order, the application displays the MSDS. The MSDS rarely changes.

Which of the following options ensures the MSDS is up to date when an order is created?

    Correct Answer: A

    Creating a keyed data page with the MSDS for each cleaning product ensures that the information is stored in memory for quick access and represents the data accurately for each unique product. Since the MSDS rarely changes, it is efficient to store it in a keyed data page because it allows retrieval of the specific record needed for an order without making repeated trips to a database or external system. This ensures that the data is easily accessible and up-to-date when an order is created.

Discussion
marshuaziOption: B

Why not A? It just say a MSDS for each product.It means one record for a key,isn't it?

TheGodfather

Keyed data pages can have multiple keys and embbeded pages. Data pages provide a performance improvement for Pega Platform™ applications by caching information in memory, rather than querying a data store, such as a database or web service. Data pages typically return either a list of items or information about a single item. To provide instant access to a particular item in a list-structure data page, you can enable keyed access. By using keyed access, you avoid maintaining two separate data pages: one page to return a list of items and a second page to return information about a single item. Using a keyed data page when retrieving data for application use can make processing more efficient by reducing the number of exchanges with a system of record.

shinchanpixie

yes A is correct answer. Allowing multiple pages for each key is an checkbox present in Data page, if it is checked, when multiple records are feteched for a key all records will be returned, if not checked only the first hit record will be returned. which is all unnecessary here because the it is clearly mentioned there is one MSDS for one product, we will use keyed data page that will fetch one record after the data page is loaded

Palazzo

A is the correct answer. When processing thousands of online orders a day and the MSDS rarely changing and “ When buyers select an item to order, the application displays the MSDS”, there is only one item extracted from the data page list each time.

[Removed]Option: B

"Which of the following options ensures the MSDS is up to date when an order is created?" I thought the only way to get up to date info is polling the DB.

mozzey121

Since the MSDS rarely changes, it is unnecessary and not recommended to make repeated trips to an external System of Record, we would only make frequent trips to the SOR if the data frequently changes, in this example we can fetch the data once per day or once per week and it will be up to date

TheGodfather

In the last versions of the exam, this question appears to be modified (trying one more time to rip-off as many head as possible). There are 2 very similar answers, both of them involved keyed data pages, but I can't remember them now. If someone have this question modfied, please post it and let's discuss over it.