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, 4 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
...
globeearth
Most Recent 2 weeks, 2 days ago
Selected Answer: AC
A. a data contract class that uses the DataContractAttribute attribute - This is necessary to define the structure of the payroll data being imported. The DataContractAttribute is used to create a data contract class that specifies the data to be exchanged between the payroll application and Dynamics 365 Finance. This class defines the parameters and their serialization for the import process. C. a class that extends SysOperationServiceBase - This is required to implement the business logic for the payroll journal import process. A class extending SysOperationServiceBase allows you to define the service operation that processes the payroll data, leveraging the SysOperation framework for batch processing and execution in Dynamics 365 Finance
upvoted 1 times
globeearth
2 weeks, 2 days ago
why not B? B. a service class that has a public method which accepts a single parameter for a contract - While a service class is relevant for exposing functionality (e.g., for API integration), the question focuses on the payroll data import process, which is better handled by the SysOperation framework (SysOperationServiceBase) for batch processing. This option is less specific to the payroll import scenario.
upvoted 1 times
...
...
examcram22
6 months, 1 week 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, 3 months 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, 5 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 ...