exam questions

Exam PL-100 All Questions

View all questions & answers for the PL-100 exam

Exam PL-100 topic 5 question 14 discussion

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

HOTSPOT -
A production line app maker at a manufacturing company creates a canvas app that looks for available inventory in a SQL database. The production line workers use the inventory app across all work centers.
The production line workers report the following app issues from the shop floor:
✑ The app reports a delegation warning.
✑ Voice command functionality is unreliable.
You have minimal information about the issues. You are not allowed to enter the production facility.
You need to troubleshoot the issues.
How should you troubleshoot the issues? To answer, select the appropriate options in the answer area.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Check the number of items in the collection
If the data in your data source exceeds 500 records and a function can't be delegated, Power Apps might not be able to retrieve all of the data, and your app may have wrong results.
Note: Delegation is where the expressiveness of Power Apps formulas meets the need to minimize data moving over the network. In short, Power Apps will delegate the processing of data to the data source, rather than moving the data to the app for processing locally.
Box 2: Use the Advanced Tools/Monitor feature
Monitor is available by default for all canvas apps. Using Monitor, you can trace events as they occur in a canvas app during the authoring experience in Power
Apps Studio, or you can use Monitor to debug the published version of a canvas app.
Example: Consider the scenario where an app has been deployed, and the initial version of the app experiences performance degradation. The app also intermittently generates errors with no clear pattern. Loading data in the app succeeds most of the time, but fails sometimes.
When you check Monitor, you see data operations as expected. However, you also see several responses that have HTTP status code 429, indicating that there have been too many requests in a specific timeframe.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-overview https://docs.microsoft.com/en-us/powerapps/maker/monitor-canvasapps

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
ding_dong
Highly Voted 4 years ago
I don't think it's correct. Doesn't matter how big the collection is, it's local and doesn't have issues with delegation. Dataset however, has. If we consider SharePoint list as a dataset for example or are we assuming dataset refers ONLY to CDS? As for the second, Voice/Microphone is Accessibility. Monitor is for network issues.
upvoted 17 times
D24G
3 years, 6 months ago
first needs to be the dataset size as collection will suffer from the delegation it is talking about and not display all items.
upvoted 2 times
charles879987
2 years, 3 months ago
1. Use lookup function because it's delegable so it won't throw warning. 2. Use advanced monitor to check why voice/microphone is unreliable because it can be problem due to throttling.
upvoted 1 times
...
...
...
Powerscraps
Highly Voted 3 years, 9 months ago
Tested and monitor does not just give you network information, it confirms user actions working correctly. Span a microphone control into an app, ran monitor, tested it and it advised everything configured to it was working successfully. As a result, I'd say the correct answers are check the dataset and run advanced tools/monitor.
upvoted 14 times
...
4e8b388
Most Recent 1 year, 2 months ago
Check the number of dataset items AppChecker/Accessibility feature
upvoted 1 times
...
Vitesse
3 years, 6 months ago
First one is "use the LookUp function". A delegation warning is thrown regardless of the number of items in the data source (hence it's a warning). LookUp can be delegated for SQL Server, hence it would remove the warning.
upvoted 5 times
davidstone78
2 years, 12 months ago
LookUp would only be used to solve the problem - the question is how to you investigate the problem
upvoted 2 times
Im_Not_A_Robot
2 years, 9 months ago
It wouldn't even solve the problem, as long the problem is that the dataset is too large for the app, or the filter not specific enough in the app.
upvoted 1 times
...
...
...
a_j1
3 years, 8 months ago
Since we don't have access to apps and not know much about the issues. We cannot check with Appchecker->Accessibility(it does tell you if there is some wrong setting with microphone control, may give you tips, warnings, errors). We need to check in Advanced Tools->Monitor. It captures all the events.
upvoted 2 times
...
a_j1
3 years, 8 months ago
Cheking number of items in dataset uses Countrows function which isn't delegable for SQL.
upvoted 2 times
...
vishjust
3 years, 9 months ago
"Imported Excel workbooks (using the Add static data to your app data source), collections, and tables stored in context variables don't require delegation." https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-overview#delegable-data-sources
upvoted 1 times
...
bad_atitude
3 years, 9 months ago
for me : 1. number of data set 2. App checker/accessibility
upvoted 6 times
...
LaBaldufeta
3 years, 10 months ago
As microsoft docs says... "Delegation warnings appear only on formulas that operate on delegable data sources. If you don't see a warning and you believe your formula isn't being properly delegated, check the type of data source against the list of delegable data sources earlier in this topic." Assuming that collections don't requires delegation but this type of dataset (SQL Server) does, the first answer might be "check the number of dataset items"
upvoted 5 times
...
Manju1k3m
3 years, 11 months ago
its correct.Delegation warnings were previously flagged in Power Apps as "blue dot" suggestions, but delegation suggestions have since been re-classified as warnings. If the data in your data source exceeds 500 records and a function can't be delegated, Power Apps might not be able to retrieve all of the data, and your app may have wrong results. Delegation warnings help you manage your app so that it has correct results.
upvoted 2 times
...
Lenny001
4 years ago
Lookup function is delegable; so it could solve the delegation problem. The issue with microphone should be addressed in Accessibility
upvoted 4 times
...
AleValli
4 years ago
I'm not sure about the first provided answer. We can't access the production environment as sepcified to check the data, so we can use a delegable function like Lookup so as not to retrieve the first 500 records only.
upvoted 1 times
Powerscraps
3 years, 10 months ago
I think when it references the production facility it's referring to the hypothetical factory referenced here, rather than the production environment.
upvoted 2 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 ...