exam questions

Exam MB-500 All Questions

View all questions & answers for the MB-500 exam

Exam MB-500 topic 9 question 4 discussion

Actual exam question from Microsoft's MB-500
Question #: 4
Topic #: 9
[All MB-500 Questions]

You need to implement the payroll application data process.
Which two objects should you create? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. a data contract class that uses the DataContractAttribute attribute
  • B. a service class that has a public method which accepts a single parameter for a contract
  • C. a class that extends SysOperationServiceBase
  • D. an UIBuilder class that extends SysOperationAutomaticUIBuilder
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️
Scenario: You must develop a process to import payroll journals into the system.
A: Data Contract: Data contract class is the model class defining attributes needed for batch operations. These attributes are provided by the user, in a dialog.
DataContractAttribute attribute is needed for the class and the properties methods requires DataMemberAttribute attribute.
C: Service: Service class extends from the SysOperationServiceBase class and contains the business logic for the batch operation. Developers often tend to add the business logic in controller classes, which violates the Single responsibility principle.
Incorrect Answers:
D: UI Builder: UI Builder class extends from SysOperationAutomaticUIBuilder class and is used for adding custom behavior to dialog / dialog fields dynamically constructed by the SysOperation framework.
Reference:
http://daxingwitheshant.blogspot.com/2018/06/sysoperation-framework.html

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
juozapyne
Highly Voted 2 years, 2 months ago
I would say A & B. Extending SysOperationServiceBase is optional for service. Look at the SysOperationServiceBase class remarks (it says can derive from this class and not must derive) /// <remarks> /// Services that need information about their runtime environment can derive from this class. /// </remarks>
upvoted 7 times
...
examcram22
Most Recent 4 months, 3 weeks ago
A,C C is for importing a lot of records in the background https://dynamics365musings.com/sysoperation-framework-in-d365/
upvoted 2 times
...
Prollyx
1 year, 1 month ago
A & B are correct. Extending SysOperationServiceBase is optional, but you need method in service class that takes contract as parameter to link contract to service.
upvoted 2 times
...
faycal
1 year, 3 months ago
For me it will be A & 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago