Microsoft Certified: Power Platform App Maker Associate Canvas App Development 2 — Questions and Answers
Question 1: In Power Apps, what does the Patch() function do when the first argument is a data source and the second is Defaults(DataSource)?
- Creates a new record in the data source (Correct answer)
- Updates the first matching record
- Deletes the default record
- Refreshes the data source cache
Correct answer: Creates a new record in the data source
Using Defaults() as the base record tells Patch() to create a new record rather than update an existing one.
Question 2: Which Canvas app component feature allows you to define output properties that can pass values back to the hosting screen?
- Custom output properties (Correct answer)
- Return variables
- Global variables
- Component events
Correct answer: Custom output properties
Components support custom output properties that expose internal values to the parent screen or app.
Question 3: What is the maximum number of screens recommended in a single Canvas app for optimal performance?
- There is no official max but fewer than 30-40 screens is a best practice (Correct answer)
- Exactly 10 screens
- 100 screens
- 5 screens
Correct answer: There is no official max but fewer than 30-40 screens is a best practice
Microsoft recommends keeping Canvas apps under roughly 30-40 screens to maintain acceptable load and navigation performance.
Question 4: Which formula would you use in a Canvas app to navigate to a screen called 'DetailScreen' with a fade transition?
- Navigate(DetailScreen, ScreenTransition.Fade) (Correct answer)
- GoTo(DetailScreen, Fade)
- Navigate('DetailScreen', 'Fade')
- Screen.Navigate(DetailScreen)
Correct answer: Navigate(DetailScreen, ScreenTransition.Fade)
Navigate() accepts the target screen reference and a ScreenTransition enum value such as ScreenTransition.Fade.
Question 5: In a Canvas app, which data type would you use to store a list of records that only exists in memory during the app session?
- Collection (Correct answer)
- Variable
- Table
- Gallery
Correct answer: Collection
Collections are in-memory tables created with Collect() or ClearCollect() that persist only for the app session.
Question 6: What does the UpdateContext() function do in a Canvas app?
- Creates or updates a context variable scoped to the current screen (Correct answer)
- Updates the data source record
- Refreshes the app context from the server
- Saves the current screen state globally
Correct answer: Creates or updates a context variable scoped to the current screen
UpdateContext() sets screen-level context variables that are accessible only within the screen where they are created.
In Power Apps, what does the Patch() function do when the first argument is a data source and the second is Defaults(DataSource)?