exam questions

Exam PL-200 All Questions

View all questions & answers for the PL-200 exam

Exam PL-200 topic 5 question 25 discussion

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

You create a JavaScript web resource named MyBusinessLogic. The code it contains uses functionality from a third-party JavaScript library.
You notice that an independent software vendor (ISV) solution uses the same third-party library in their managed solution.
You plan to deploy your solution to other environments by using a managed solution. The ISV solution might not be installed in the other environments.
You need to package the solution for deployment
What are two ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. Create a new JavaScript web resource by using the code from the third-party library. Add the new JavaScript web resource along with MyBusinessLogic to the solution.
  • B. Add a copy of the JavaScript library from the ISV to the solution along with MyBusinessLogic.
  • C. Add the code from the third-party JavaScript library to MyBusinessLogic. Add MyBusinessLogic to the solution.
  • D. Add only the third-party JavaScript web resource to the solution.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️
Web resources in model-driven apps.
Web resources are virtual files that are stored in the Microsoft Dataverse database and that you can retrieve by using a unique URL address.
Capabilities of web resources.
Web resources represent files that can be used to extend the Dataverse web application such as html files, JavaScript, and CSS, and several image formats.
Reference:
https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/web-resources

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
33a7f9e
7 months ago
A. Create a new JavaScript web resource by using the code from the third-party library. Add the new JavaScript web resource along with MyBusinessLogic to the solution. This ensures that the third-party library is included in your solution package and is available wherever your solution is deployed. C. Add the code from the third-party JavaScript library to MyBusinessLogic. Add MyBusinessLogic to the solution. This approach embeds the necessary third-party library code directly within your custom web resource, ensuring it is self-contained and does not rely on external dependencies
upvoted 1 times
...
a607a1f
11 months, 2 weeks ago
I found this question hard. My answer was A + B. However I'll go along with A+C. I'd like to understand why B would be incorrect? My brain discarded C as there's probably a reason you're referencing a library rather than stuffing it all in 1 webresource.
upvoted 1 times
...
b304b2c
11 months, 3 weeks ago
was on test May 14 2024 went with given answers Scored 866.
upvoted 1 times
...
jkaur
1 year ago
Seems correct A C.
upvoted 1 times
...
RPkaur
1 year, 4 months ago
In exam 08/12/2023
upvoted 3 times
...
Ikhalil
2 years, 1 month ago
Correct A. Create a new JavaScript web resource by using the code from the third-party library. Add the new JavaScript web resource along with MyBusinessLogic to the solution. C. Add the code from the third-party JavaScript library to MyBusinessLogic. Add MyBusinessLogic to the solution.
upvoted 1 times
...
Jere22
2 years, 2 months ago
This was an exam question on March 1, 2023.
upvoted 3 times
...
lee93
2 years, 2 months ago
This was an exam question on January 31, 2023.
upvoted 4 times
...
Mikiee
2 years, 5 months ago
Seems correct A C. RE. option D, technically you can't remove your JS dependency library simply because it exists in another place. You need to do more to link the library to your own web sources.
upvoted 3 times
MrEz
1 year, 3 months ago
I understood option d as: add exclusively the 3rd party library to a separately created web resource and then add it to the solution. This would make sure it would be present in any case. But maybe the ‚third party javascript webresource‘ does not contain the library just the scribt?
upvoted 1 times
...
...
MashoodQureshi
2 years, 6 months ago
is these correct Answers?
upvoted 2 times
HARRISONP04
2 years, 3 months ago
yes these are correct
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago