Microsoft Certified: Power Platform App Maker Associate Canvas App Design and Controls 1 — Questions and Answers
Question 1: In a Power Apps canvas app, which property of a Gallery control do you set to bind it to a data source?
- Items (Correct answer)
- DataSource
- Records
- Source
Correct answer: Items
The Items property of a Gallery control accepts a table, collection, or data source expression to populate the gallery.
Question 2: Which formula would you use in Power Apps to navigate from one screen to another?
- Navigate(ScreenName, ScreenTransition.Fade) (Correct answer)
- GoTo(ScreenName)
- Open(ScreenName)
- Launch(ScreenName)
Correct answer: Navigate(ScreenName, ScreenTransition.Fade)
The Navigate() function moves the user to a specified screen and accepts an optional screen transition animation.
Question 3: What does the 'OnStart' property of a Power Apps canvas app execute?
- Formulas when the app first loads (Correct answer)
- Formulas when a screen is opened
- Formulas when a button is clicked
- Formulas when the app is saved
Correct answer: Formulas when the app first loads
OnStart runs once when the app is launched, making it ideal for initializing variables and loading global data.
Question 4: Which control in Power Apps canvas apps is best suited for displaying a scrollable list of records with custom formatting?
- Gallery (Correct answer)
- Data Table
- List Box
- Combo Box
Correct answer: Gallery
The Gallery control allows custom layouts and formatting for each record and supports vertical or horizontal scrolling.
Question 5: In Power Apps, what is a 'collection'?
- A local in-memory table stored within the app (Correct answer)
- A SharePoint list connected to the app
- A type of gallery control
- A reusable component stored in the cloud
Correct answer: A local in-memory table stored within the app
A collection is a temporary in-memory table created and manipulated with functions like Collect(), ClearCollect(), and Remove() within the app.
Question 6: Which function clears all records from a collection and then fills it with new data in one step?
- ClearCollect() (Correct answer)
- Collect()
- Clear()
- Reset()
Correct answer: ClearCollect()
ClearCollect() first removes all existing records from the named collection, then populates it with the supplied data.
In a Power Apps canvas app, which property of a Gallery control do you set to bind it to a data source?