exam questions

Exam PL-100 All Questions

View all questions & answers for the PL-100 exam

Exam PL-100 topic 3 question 11 discussion

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

You create a canvas app named Hardware Order that suggests computer hardware to customers.
A value must be entered for the EmployeeID field when creating a new order if the value in the OrderType field does not contain the prefix test.
You need to configure the business rule.
Which two actions should you perform? Each correct answer presents part of the complete solution.
NOTE: Each correct selection is worth one point.

  • A. Set the scope of the business rule to Entity.
  • B. Add a Recommendation action and configure it to enter the order type.
  • C. Set the scope of the business rule to All Forms.
  • D. Use the following condition expression: (OrderType Does not begin with [test]) AND (Modified By Does not contain data)
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
SaschaB
Highly Voted 4 years, 8 months ago
AD seems to fit best but this condition is obviously wrong. From experience I'd say D has a different text on the actual exam.
upvoted 22 times
dfretyhg
3 years, 4 months ago
I agree. I get what D is saying, but that is far from a valid expression. On the exam I'd imagine there is an actual power apps formula. Definitely A is one of them, though
upvoted 1 times
dfretyhg
3 years, 4 months ago
Correction. It probably relates to the business rule phrasing rather than a condition in power apps. A and D are definitely correct
upvoted 1 times
...
fuddyduddy
3 years, 1 month ago
Apart from the spaces in the field names, it is a valid expression. You can use any of the following syntax: And( x, y ) x And y x && y Source: https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/functions/function-logicals#description
upvoted 1 times
fuddyduddy
3 years, 1 month ago
Ignore previous - it's been a long day
upvoted 2 times
...
...
...
Chrissi
4 years, 7 months ago
I agree, the condition with Modified By does not contain data cannot be true and is wrong using it for this purpose
upvoted 3 times
...
...
Edriska
Most Recent 1 year, 11 months ago
Selected Answer: AD
A. Set the scope of the business rule to Entity. This is correct because if you choose Entity for the scope of your business rule, the business rule affects any app or service that uses Common Data Service. If you have a canvas app that uses Common Data Service for its data, then when the canvas app creates or updates a record in Common Data Service, the business rule actions will be applied1. If you choose All Forms or Specific Form, the business rule will only apply to model-driven app forms and not to canvas apps. D. Use the following condition expression: (OrderType Does not begin with [test]) AND (Modified By Does not contain data) This is correct because this condition expression checks if the OrderType field does not start with the prefix test and if the Modified By field is empty. The Modified By field is automatically populated with the user who created or updated the record, so if it is empty, it means that the record is new and not yet saved. Therefore, this condition expression will only apply to new orders that are not test orders.
upvoted 1 times
Edriska
1 year, 11 months ago
B. Add a Recommendation action and configure it to enter the order type. This is incorrect because a Recommendation action is used to create business recommendations based on business intelligence. It is not used to set or clear values in a column. Moreover, a Recommendation action is not available for canvas apps at this time. C. Set the scope of the business rule to All Forms. This is incorrect because if you choose All Forms for the scope of your business rule, the business rule will only apply to model-driven app forms and not to canvas apps. If you want to fire a business rule in a canvas app, you must use Entity as the scope.
upvoted 2 times
...
...
dalones213
2 years, 3 months ago
Selected Answer: AD
Correct. Set the scope of the business rule to Entity: By setting the scope to Entity, the business rule will be applied to all forms and the server, ensuring the validation is performed consistently across the app. Use the following condition expression: (OrderType Does not begin with [test]) AND (Modified By Does not contain data): This condition checks whether the OrderType does not begin with the prefix "test" and if the Modified By field does not contain data. If this condition is met, you should then add an action that makes the EmployeeID field required.
upvoted 3 times
...
JackJohn
2 years, 6 months ago
Selected Answer: AD
Correct
upvoted 1 times
...
deej95
2 years, 7 months ago
AD and the text is the same on the actual exam.
upvoted 1 times
...
JustCoop
3 years ago
https://docs.microsoft.com/en-us/power-apps/maker/data-platform/data-platform-create-business-rule Add a business recommendation (model-driven apps only). If you're building a Canvas app, you must use table as the scope.
upvoted 1 times
JustCoop
3 years ago
Answer must be A and D
upvoted 1 times
...
...
Kline
3 years, 11 months ago
B&C will not work on canvas apps.
upvoted 3 times
...
SmileOS
4 years, 2 months ago
Correct
upvoted 1 times
...
d365developer
4 years, 5 months ago
A and D (correct) If you're building a Canvas app, you must use table as the scope. https://docs.microsoft.com/en-us/powerapps/maker/data-platform/data-platform-create-business-rule
upvoted 3 times
...
AP2020
4 years, 6 months ago
Business rule validation has to be done only for New records only. A and D are correct.
upvoted 1 times
...
TonyBlanco07
4 years, 7 months ago
Can someone please explain how the answer is AD
upvoted 1 times
kevin99
4 years, 6 months ago
A. Set the scope of the business rule to Entity --> Because you can create a record diffrent Frontends (Modeldriven app, power apps, stb.)
upvoted 2 times
kevin99
4 years, 6 months ago
D. Use the following condition expression: (OrderType Does not begin with [test]) AND (Modified By Does not contain data) --> because you need to detect the "test' prefix and that it is a new record modify by is empty
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 ...