PL 400 Power Apps Development 2 — Questions and Answers
Question 1: In a canvas app, which function allows you to navigate to another screen while passing a context record to it?
- Navigate(Screen, Transition, {key: value}) (Correct answer)
- Launch(Screen, {key: value})
- Set(varScreen, Screen)
- Select(Screen)
Correct answer: Navigate(Screen, Transition, {key: value})
The Navigate function accepts a third argument—a context record—that becomes available on the destination screen via the context variable.
Question 2: You need to call a Power Automate flow from a canvas app and receive a response. Which approach is correct?
- Add the flow via the Power Automate pane and call it using MyFlow.Run() (Correct answer)
- Use the HTTP connector inside the app to post to the flow trigger URL
- Use Notify() to trigger the flow from the app
- Call the flow using ClearCollect(flowResult, Flow.Run())
Correct answer: Add the flow via the Power Automate pane and call it using MyFlow.Run()
Canvas apps integrate with Power Automate by adding flows through the Power Automate pane, then calling them with the .Run() method and capturing the response.
Question 3: Which Power Apps formula correctly filters a SharePoint list named 'Orders' where the Status column equals 'Pending'?
- Filter(Orders, Status = "Pending") (Correct answer)
- Search(Orders, "Pending", "Status")
- LookUp(Orders, Status, "Pending")
- Sort(Orders, Status, "Pending")
Correct answer: Filter(Orders, Status = "Pending")
Filter() returns all records from a table that satisfy a condition, making it the correct choice for returning multiple matching rows.
Question 4: In a model-driven app, where do you define the columns and layouts shown on a main form?
- Form editor in the solution's table designer (Correct answer)
- Power Apps Studio canvas editor
- Power Automate form designer
- Dataverse business rule designer
Correct answer: Form editor in the solution's table designer
Model-driven app forms are configured in the form editor within the solution's table (entity) designer in the Power Apps maker portal.
Question 5: Which canvas app delegation warning scenario will cause incorrect results at runtime with large datasets?
- Using the Search() function with a SharePoint list containing more than 500 records (Correct answer)
- Using Filter() with an equality check on an indexed Dataverse column
- Using ClearCollect() to load a collection from a small SQL table
- Using LookUp() with a Dataverse primary key column
Correct answer: Using the Search() function with a SharePoint list containing more than 500 records
Search() is not delegable against SharePoint, so it only operates on the locally retrieved record limit (default 500), returning incomplete results for large lists.
Question 6: You want to store a temporary list of items in a canvas app that persists only for the current session. Which approach is best?
- Use ClearCollect() to populate an in-memory collection (Correct answer)
- Write records to a SharePoint list on every change
- Use SaveData() to write to local device storage each time
- Store items in an environment variable via the Set() function
Correct answer: Use ClearCollect() to populate an in-memory collection
Collections created with ClearCollect() or Collect() exist in memory for the session and are the standard mechanism for temporary in-app data.
Question 7: In Power Apps component framework (PCF), which lifecycle method is called every time the component's property values change?
- updateView (Correct answer)
- init
- destroy
- getOutputs
Correct answer: updateView
The updateView method is invoked by the framework whenever bound property values or context changes, allowing the component to re-render accordingly.
In a canvas app, which function allows you to navigate to another screen while passing a context record to it?