exam questions

Exam PL-100 All Questions

View all questions & answers for the PL-100 exam

Exam PL-100 topic 2 question 2 discussion

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

You are creating a multi-page canvas app that loads tabular data from an external data source.
Once loaded, the data must be available to all screens within the canvas app.
You need to reduce the number of times that the app must retrieve data from the data source.
Which two data stores can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. parameter
  • B. global variable
  • C. collection
  • D. environment variable
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

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
iamchoy
11 months, 1 week ago
Selected Answer: BC
Out of the provided options, the two data stores you can use to achieve this functionality are: Collection (C): Collections are in-memory data structures within a canvas app. They can hold a table of data loaded from the external data source. Once loaded, the collection can be accessed and referenced from all screens within the app. This reduces the need to repeatedly retrieve data from the external source. Global variable (B): Global variables are another option for storing data accessible across all screens. However, unlike collections, global variables can only hold a single value at a time. If you need to store a table of data, a collection is the better choice. So the correct answers are C. collection and B. global variable.
upvoted 1 times
...
4e8b388
1 year, 2 months ago
Selected Answer: BC
B. Global variable C. Collection
upvoted 1 times
...
Moppu
1 year, 9 months ago
Selected Answer: BC
You can use environment variables, but this would take quite a significant amount of development to maintain sync and will be considerably slower. BC correct
upvoted 1 times
...
atki_real
1 year, 10 months ago
Theoretically you can also use an environment variable, but it would be an overkill in this case, because you need the data only in your application. The environment variable would make it available for the whole environment, which in this case would be totally unnecessary.
upvoted 2 times
...
Edriska
1 year, 11 months ago
Selected Answer: BC
B. global variable and C. collection https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/working-with-data-sources https://learn.microsoft.com/en-us/power-apps/guidance/planning/where-is-data
upvoted 3 times
Edriska
1 year, 10 months ago
You can use two data stores to reduce the number of times that the app must retrieve data from the data source: collections and global variables. Collections are local data sources that are not backed by a connection to a service in the cloud, so the information can not be shared across devices for the same user or between users. Collections can be loaded and saved locally. Global variables are values that you can set and use throughout your app, on any screen. You can use global variables to store data that you want to use across screens.
upvoted 3 times
...
...
Dr_Do
2 years, 3 months ago
Selected Answer: BC
B&C = Global variable and Collection
upvoted 1 times
...
LJ
2 years, 4 months ago
global variables can store a table.. does that make it a valid option?
upvoted 2 times
...
DSM_LM
2 years, 5 months ago
Selected Answer: BC
Environment Variables are only needed when exporting solutions to a different environment
upvoted 2 times
...
jofl
2 years, 6 months ago
Selected Answer: BC
C seems to be clear. D shoul not be correct. Also the Description say, don't use Environment Variables. I can't imagine in which way an Environment Variable can help caching retrieved data localy. B seems to be useful. Data can be loaded into a Variable that is globally available within the App (and within the the current session of a specific user).
upvoted 1 times
...
Radoslavov
2 years, 11 months ago
Selected Answer: CD
After going through some information, I also agree it is C and D as environment variables allow for queries of the data source less than a direct connection. The global variable here has not much use
upvoted 2 times
...
_jpsrob_
3 years ago
Selected Answer: BC
There is no reference to exporting the app/solution, therefore Global Variable & Collection
upvoted 2 times
boybi
3 years ago
Global variable is not really for data source to store, but it can be also store on a variable. We know that collection and environment variable are really for, to contain data sources data.
upvoted 1 times
...
...
yofin
3 years ago
Selected Answer: BC
Global Variable & Collections
upvoted 1 times
...
1033
3 years ago
Selected Answer: CD
Is that right? There is "You need to reduce the number of times that the app must retrieve data from the data source.".Global variable will retrieve data from the data source, and Collections and Environment not. [Use environment variables in solutions - Power Apps | Microsoft Docs](https://docs.microsoft.com/en-us/power-apps/maker/data-platform/environmentvariables)
upvoted 2 times
...
Arcas
3 years ago
I agree it is B and C
upvoted 2 times
...
Harminder
3 years ago
Selected Answer: BC
Global Variable & Collections
upvoted 3 times
...
Oussama_Osman
3 years ago
Selected Answer: BC
they didn't say that we are speaking about multiple environment, they asked if we have a canvas app with different screen so one environment. It must be Global variable so B & C
upvoted 3 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 ...