nerdexam
Microsoft

PL-400 · Question #230

You are creating a canvas app that realtors use to identify neighbors for properties that are for sale. The OnStart property includes the following code: ClearCollect(collectNeighborList…

The correct answer is B. Replace the existing code segment with the following code segment Concurrent. Optimize the OnStart property Use the ClearCollect function to cache data locally if it doesn't change during the user session. Also, use the Concurrent function to load data sources simultaneously; this can cut the amount of time an app needs to load data in half…

Submitted by hassan_iq· Apr 18, 2026

Question

You are creating a canvas app that realtors use to identify neighbors for properties that are for sale. The OnStart property includes the following code: ClearCollect(collectNeighborList, Filter(NeighborList, Status = "Active")); ClearCollect (collectRealtorList,CompanyList);ClearCollect(collectRegions, RegionList) The app is running slower than expected. You need to resolve the issue. What should you do?

Options

  • AReplace all instances of the ClearCollect method with the connect method.
  • BReplace the existing code segment with the following code segment Concurrent
  • CReplace the existing code segment with the following code segment:

How the community answered

(45 responses)
  • A
    13% (6)
  • B
    80% (36)
  • C
    7% (3)

Explanation

Optimize the OnStart property Use the ClearCollect function to cache data locally if it doesn't change during the user session. Also, use the Concurrent function to load data sources simultaneously; this can cut the amount of time an app needs to load data in half. https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/performance-tips#optimize-the- onstart-property

Community Discussion

No community discussion yet for this question.

Full PL-400 Practice