PL-200 – Question 27

0
741
⚠️ Retired / Legacy Exam: This exam has been retired or replaced. These practice questions are kept for reference only. Please check the official vendor website for current exam versions before studying.

Question 27

HOTSPOT –
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:

Correct Answer:

Box 1: Yes –
If the data source doesn’t already exist, a collection is created.

Box 2: No –
Note: The Collect function adds records to a data source. The items to be added can be:
✑ A single value: The value is placed in the Value field of a new record. All other properties are left blank.
✑ A record: Each named property is placed in the corresponding property of a new record. All other properties are left blank.
✑ A table: Each record of the table is added as a separate record of the data source as described above. The table isn’t added as a nested table to a record. To do this, wrap the table in a record first.

Box 3: No –
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-clear-collect-clearcollect

Cloud Tech
Cloud Tech is a small, independent team that writes free practice questions for Microsoft Azure, AWS and CompTIA certification exams. We write every question ourselves against the current official exam outline, explain why each option is right or wrong, link to the vendor's documentation, and update or archive sets when an exam changes. Spotted a mistake? Email [email protected].