exam questions

Exam PL-100 All Questions

View all questions & answers for the PL-100 exam

Exam PL-100 topic 16 question 5 discussion

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

You need to configure functionality for submitting status reports.
What should you do?

  • A. Determine whether the application is offline when a user selects submit button and call the Set() function.
  • B. Determine whether the application is offline when the app loads. Use the SaveData() function in the OnSelect property.
  • C. Determine whether the application is offline when a user selects the submit button and call the SaveData() function.
  • D. Determine whether the application is offline when the app loads. Use the LoadData() function in the Submit button.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Scenario: The app must be able to run both online and offline. If the mobile device on which the app runs is connected to the internet, the app must immediately submit the status report.
When data is submitted offline, the data must be stored in the app until the app is back online.
Mobile users often need to be productive even when they have limited or no connectivity.
LoadData and SaveData combine to form a simple mechanism to store small amounts of data on a local device. By using these functions, you can add simple offline capabilities to your app.
The SaveData function stores a collection for later use under a name.
The LoadData function reloads a collection by name that was previously saved with SaveData. You can't use this function to load a collection from another source.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-savedata-loaddata

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
Khella
Highly Voted 3 years, 9 months ago
Wrong Answer This is the key sentence "sales representatives know whether the app is offline before submitting reports." That means the rep should know before submit . the correct answer is : B
upvoted 14 times
YYCRMGuy
3 years, 6 months ago
The question and answer are pretty ambiguous, but based on the the fact that it calls out in the case study that there needs to be a visual indicator when offline, I believe you are correct.
upvoted 2 times
...
petrovig89
3 years, 5 months ago
This key sentence regarding for "You must display a visual indicator in the app". So you need to create some label which will display to user online/offline status. But for submitting your should know online status when user will click on the button, because when he load the app it can be in offline but after connection will return and on submitting moment will be online. This case in answer "C".
upvoted 4 times
...
ImissOOP
1 year, 6 months ago
But, what if the app went offline after the start of the app so it should be checked on the select of the button
upvoted 1 times
...
...
lkoukakis
Highly Voted 3 years, 9 months ago
Correct!
upvoted 8 times
...
charles879987
Most Recent 2 years, 3 months ago
Selected Answer: C
C is correct. The other answers only check if app is offline only when it loads but it can be offline after it loads.
upvoted 1 times
...
timothy123
2 years, 6 months ago
Selected Answer: C
When data is submitted offline, the data must be stored in the app until the app is back online. Therefore, the answer is correct: C.
upvoted 1 times
...
RazielLycas
2 years, 7 months ago
Selected Answer: B
You must display a visual indicator in the app, I vote B
upvoted 1 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 ...