exam questions

Exam PL-100 All Questions

View all questions & answers for the PL-100 exam

Exam PL-100 topic 3 question 26 discussion

Actual exam question from Microsoft's PL-100
Question #: 26
Topic #: 3
[All PL-100 Questions]

You are creating a canvas app. You plan to use variables that are scoped to a screen to store values.
You need to create and update the value of the variables.
Which three functions can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. Collect
  • B. Patch
  • C. Navigate
  • D. Set
  • E. UpdateContext
Show Suggested Answer Hide Answer
Suggested Answer: CDE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
[Removed]
Highly Voted 3 years ago
Correct!
upvoted 8 times
...
[Removed]
Highly Voted 2 years, 5 months ago
Selected Answer: CDE
A. Collect is used for collection but we are referring to variables B. Patch is used on data sources, not variables C. Navigate can be used with reset option set to true D. Set is used to set global variables, but then we can use Navigate can be used with reset option set to true E. Will create a local variable to the screen
upvoted 7 times
...
MSka
Most Recent 1 year ago
Selected Answer: ADE
ADE - come on! Navigate moves to other screen, patch sends data to eg sharepoint
upvoted 1 times
...
Edoarado
1 year, 7 months ago
How did they not mark set??? Is literally a function to create variables...
upvoted 2 times
...
Edriska
1 year, 8 months ago
Selected Answer: ADE
A. Collect D. Set E. UpdateContext These functions allow you to work with variables within the scope of a screen. Here's a brief explanation of each: A. Collect: This function is used to add records to a collection variable. While it primarily deals with collections, you can use it to create and update variables by storing values in a collection. D. Set: The Set function is used to create and update variables. You can set the value of a variable using this function. E. UpdateContext: This function is used to create and update context variables, which are often used for temporary storage of values within a screen's context. B. Patch: The Patch function is primarily used to modify or create records in a data source (e.g., SharePoint list or SQL database). It's not typically used for managing variables within a screen's scope. C. Navigate: The Navigate function is used for screen navigation and doesn't directly create or update variables.
upvoted 5 times
...
DarioReymago
2 years, 3 months ago
All variables are created implicitly when they appear in a Set, UpdateContext, Navigate, Collect, or ClearCollect function. https://learn.microsoft.com/en-us/power-platform/power-fx/variables#create-and-remove-variables But question need to select 3, so CDE
upvoted 1 times
...
Jajabink
2 years, 4 months ago
According to ChatGPT, only Set and UpdateContext functions can be used.
upvoted 1 times
Newb007
2 years, 3 months ago
If you're using chat GPT to verify answers it will make things more confusing...gets things sort of right like 40% of the time when it comes to power platform
upvoted 1 times
Strever
1 year, 11 months ago
Yes that is true, that is why we have to ask extra questions to chat GPT. Sometimes I also ask for sources. When it really is making it difficult then i search the answers manually. I am glad we have Examtopics otherwise it would be so hard to get these certifications.
upvoted 1 times
...
...
...
dieuga
2 years, 9 months ago
Selected Answer: BCE
BCE is correct
upvoted 1 times
...
mk_dyn365
2 years, 10 months ago
Answer is right. See the definitions of Navigate and Path on MS docs. Navigate and Patch both update the context variables
upvoted 4 times
...
LeDarius3762
2 years, 10 months ago
B) Patch C) Navigate E) UpdateContext
upvoted 1 times
...
chiqnlips
2 years, 11 months ago
Selected Answer: BCE
Collect does not update, Set updates a global variable.
upvoted 2 times
...
wian_d
3 years ago
Selected Answer: ACE
A,C,E is correct
upvoted 2 times
...
wian_d
3 years ago
A,C,E as B is not a variable and D is a global variable. See link: https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/working-with-variables
upvoted 2 times
...
Nitrix
3 years ago
BCE, set is used for global variables
upvoted 3 times
...
Oussama_Osman
3 years ago
Selected Answer: BDE
must be definitely D (Set) instead of navigate(C)
upvoted 2 times
fuddyduddy
3 years ago
Navigate can be used with context variables. Source: https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/functions/function-navigate So the answer is: B C E
upvoted 5 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...