Implement Power Apps improvements
Drill 20 practice questions focused entirely on Implement Power Apps improvements for the Microsoft PL-400 exam. Tap an answer for instant feedback and a full explanation — no sign-up, always free.
A canvas app has an edit form bound to a Dataverse Account record. On the form you replaced the default data card control for the 'Primary Contact' lookup with a custom Combo box that shows contacts from the Contacts table. When a user opens an existing account, the Combo box appears empty even though the record already has a Primary Contact set. You need the Combo box to display the account's current Primary Contact when the form loads, while still allowing the user to change it. What should you do?
Your team maintains a canvas component library containing a branded header component that is consumed by six separate canvas apps across the environment. You publish a new version of the library that fixes a layout bug in the header component. Several app makers report that their apps still show the old buggy header even after you published the library. What must happen for the fix to appear in the consuming apps?
A canvas app has a Dropdown control whose Items property must show the unique Region values from a Dataverse table named Accounts that contains 250,000 records. Makers report that only a subset of regions appears in the dropdown. You must ensure ALL distinct regions are available for selection while keeping the app performant. What should you do?
A canvas app lets field technicians submit inspection records to a Dataverse table using a Patch call inside an OnSelect. Occasionally the Patch fails due to a required-field business rule violation or a transient network error, and the technician sees no feedback while the record is silently lost. You must ensure that any failure is caught, the technician is shown a friendly message, and successful saves navigate to a confirmation screen. Which approach should you implement?
A canvas app displays outstanding purchase orders in a gallery bound to a collection named colOrders that was populated in App.OnStart using ClearCollect against a Dataverse table. Users report that when a colleague approves an order in a separate model-driven app, the canvas gallery continues to show the approved order as pending until the user closes and reopens the canvas app. The maker wants the gallery to reflect the latest server data whenever the user taps a 'Refresh' button, without rebuilding the collection logic in multiple places. Which approach should the maker implement?
A canvas app displays a gallery bound to a Dataverse table named Orders that contains over 80,000 records. You configure the gallery's Items property to sort the orders by the OrderTotal column in descending order and show only orders where Status equals 'Open'. Testers report the gallery appears to only work with a small subset of the data, and a blue underline warning appears in the formula bar. You need to ensure all matching records are considered while keeping the query delegable to the server. Which approach should you use?
A canvas app displays a gallery of 400 product records from Dataverse. Each gallery item shows a product image stored as a URL in the record. Users report that the screen takes a long time to render when it first opens, and scrolling is sluggish. Delegation is already correctly configured and the query returns quickly. You need to improve the perceived load time and scrolling smoothness with the least redesign effort. What should you do?
A canvas app lets warehouse staff submit an inventory count. When the user taps a button, the app must call a Power Automate cloud flow that validates the count against an external ERP system and returns a calculated variance value plus a status message. The app needs to display the returned variance and status on the same screen immediately after the flow finishes. Which approach correctly returns and consumes the flow's data in the canvas app?
A canvas app displays a gallery bound to a Dataverse table containing over 50,000 rows. Users report that when they type a supplier name into a text input used to filter the gallery, only some matching suppliers appear even though more exist. The formula uses Filter() with a comparison the app builder believes should work. You open Monitor while reproducing the issue. Which observation in Monitor most directly confirms the root cause?
A model-driven app's main account form takes several seconds to load. Users report the delay happens before the form becomes interactive. You want to identify which OnLoad JavaScript handlers, business rules, and Web API retrieve calls consume the most time during the form load, without adding logging code to every script. Which tool and approach should you use to diagnose the bottleneck?
A field technician canvas app connects to a Dataverse table of maintenance tasks. Technicians frequently work in areas with no network connectivity. The app must let them view previously loaded task data and record status updates while offline, then reconcile the changes when connectivity returns. Which approach should you implement to persist the task data locally and allow it to be reloaded when the device is offline?
A canvas app's OnStart currently calls ClearCollect to load the current user's employee profile record from Dataverse into a collection named colProfile, and screens reference First(colProfile).Department. A senior developer asks you to reduce startup overhead and simplify formulas, since only a single record is ever needed and it should be cached in memory for the session. What is the most appropriate change?
A canvas app displays an order-approval gallery bound to a Dataverse table. Managers report that approvals made by colleagues on other devices do not appear until they close and reopen the app. You must make new and changed records visible automatically while minimizing unnecessary server calls and preserving delegation. Which approach best meets these requirements?
A canvas app has a Home screen with a gallery of customer records and a Details screen. When a user selects a customer in the gallery, you must open the Details screen and display that specific customer's data. The Details screen must continue to show the correct record even if the user navigates away and returns, and you want to avoid relying on the gallery's Selected property after navigation. Which approach best accomplishes this?
A canvas app screen calculates order totals in several controls. Each control repeatedly calls LookUp(Customers, CustomerID = varOrder.CustomerID) to fetch the same customer record, and then reads different fields (discount rate, region, credit limit) from the result. Users report the screen feels sluggish because the same Dataverse record is retrieved multiple times. You want to retrieve the record once and reference its fields across the calculations in a single, readable formula. Which Power Fx approach best achieves this?
A canvas app displays a gallery of customer records from Dataverse. Some records have a blank 'PreferredName' field, and users complain that those rows show an empty label. You need a single Power Fx expression bound to the label's Text property that shows the PreferredName when it exists, otherwise falls back to the 'FullName' field, and if both are empty shows the literal text 'Unknown'. Which expression should you use?
A canvas app's OnStart property sequentially loads five independent Dataverse tables into collections using ClearCollect, then sets three global variables that do not depend on those collections. Users report that the app takes over 12 seconds to open. You must reduce startup time with minimal code changes while keeping all the same data loaded. What should you do?
A canvas app screen has an OnVisible property that must load three independent collections from Dataverse (ClearCollect calls to Accounts, Contacts, and Opportunities) before the gallery renders. Users report the screen takes several seconds to appear. Each ClearCollect currently runs one after another on separate lines. You need to reduce the perceived load time with the least amount of formula rework. What should you do?
A canvas app used by field technicians loads slowly, taking 15 seconds before the first screen becomes interactive. Users report the delay happens every time the app launches. You need to identify which operations are causing the startup delay before making any changes. Which approach should you use first?
A model-driven app form for the Account table takes several seconds to load. The form has eight tabs, and users report the delay happens on every open even though they usually work only on the first tab. Investigation shows the form loads several sub-grids and a large embedded chart on tabs that are rarely used. Which change should you make to reduce the initial form load time with the least effort?
More PL-400 practice
Keep going with the other Microsoft Power Platform Developer domains, or take a full timed mock exam.
← Back to PL-400 overview