Microsoft

PL-200 practice question 87

Microsoft Power Platform Functional Consultant · free question 87 of 309

Question

You have a canvas app that contains the following text input fields: Id, FirstName, LastName. The app also has a button named Button1. The OnSelect property for Button1 contains the following expression: Collect(People, {Id:Id.Text, FirstName:FirstName.Text, LastName:LastName.Text}) For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Hot Area:

Explanation

Statement 1 (Yes): If the data source passed to Collect does not already exist, Collect creates it as a collection. Statement 2 (No): Collect always adds a new record and never matches or updates an existing one, so pressing Button1 again with the same Id creates a duplicate record. To update an existing record you would use Patch or UpdateIf. Statement 3 (No): When Collect is used with a collection, it creates new columns as needed, so adding an Age field to the record adds an Age column instead of causing an error.

Need the theory? Learn it free in the PL-200 course on Godlike Academy

Practice the whole free set

PL-200 is a free exam: all 319 questions with instant feedback, plus Learn and Exam modes and PDF export, free.