Exams > Microsoft > MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer
MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer
Page 7 out of 18 pages Questions 61-70 out of 175 questions
Question#61

DRAG DROP -
A company uses Dynamics 365 Finance.
The company wants to create test cases by using the SysTest framework.
You need to select the appropriate TestTransactionMode option for each requirement.
Which options should you use? To answer, drag the appropriate options to the correct requirements. Each option may be used once, more than once, or not at all.
You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Discover Answer Hide Answer

Answer:
Box 1: LegacyRollback -
LegacyRollback. All insert statements are tracked and deleted during clean-up.

Box 2: AutoRollback -
AutoRollback. Default. This provides the best isolation.
All transactions are rolled back using SQL save points, and all database statements are routed to the main connection, including user connections. No data will be persisted.
Incorrect:
LegacyRollback. All insert statements are tracked and deleted during clean-up. Save points not used.
LegacyRollbackWithUpdateTracking. All update, delete, and insert statements are tracked and reverted during cleanup. Save points not used.
None. Only use for debugging. This provides no isolation.
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/perf-test/testing-validation

Question#62

HOTSPOT -
You are a Dynamics 365 Finance developer.
You have the following class definition:

You need to create an extension class and wrap the method by using Chain of Command (CoC). If the value of the Qty variable is less than 5, the code must cause an exception.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Discover Answer Hide Answer

Answer:
Box 1: final class WebShopOrderVal_Extension
Box 2: public static void checkQtyValue(int Qty)
Incorrect Answers:
Public void ג€¦
If a static method is the target that will be wrapped, the method in the extension must be qualified by using the static keyword.

Int Qty=0 -
The method signature in the wrapper method must not include the default value of the parameter.

Public int -
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc

Question#63

HOTSPOT -
You have the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Discover Answer Hide Answer

Answer:
Box 1: Yes -
Here CashDiscountDP is the name of the secure server method that is tagged with the SysEntryPointAttribute attribute.

Box 2: Yes -
To define a report data provider class
An RDP class extends the SRSReportDataProviderBase class. You set the SRSReportParameterAttribute attribute to the data contract you created for the RDP class.

Box 3: No -
Instead:
public void processReport()
Reference:
https://docs.microsoft.com/en-us/dynamicsax-2012/developer/security-privilege-properties https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/how-to-use-a-report-data-provider-class-in-a-report

Question#64

DRAG DROP -
You create a Visual Studio project named ProductUpdates.
You must update data in a table named ProductTable. You must be able to run the code from Visual Studio.
You need to create an X++ class.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Discover Answer Hide Answer

Answer:
Reference:
https://community.dynamics.com/365/financeandoperations/b/daxology/posts/runnable-class

Question#65

DRAG DROP -
A company uses Dynamics 365 Finance. The company is implementing an independent software vendor (ISV) solution.
You overlay the ISV code to add functionality to the solution.
You need to configure code compare options.
Which code compare option should you use? To answer, drag the appropriate code compare options to the correct scenarios. Each code compare option may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Discover Answer Hide Answer

Answer:
Box 3: Compare metadata with baseline
The compatibility checker tool can detect metadata breaking changes against a specified baseline release or update. In this way, it helps ensure backward compatibility. Microsoft uses the tool to help ensure metadata compatibility.
You can use the tool to detect metadata compatibility issues that a new version has against the version that it's replacing. Microsoft uses the tool to detect any breaking changes that a new monthly update has against the previous monthly update.

Forms -
Any of the following changes will break form extensions that reference the controls or methods:
Deleting or renaming form controls, form data sources, and form data source fields.
All changes that are breaking for methods are also breaking for form methods.
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/compatibility-checker-tool

Question#66

HOTSPOT -
You are a Dynamics 365 Finance developer.
You have the following code: (Line numbers are included for reference only.)

You need to evaluate the code.
What is the correct output for the method? To answer, select the appropriate option in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Discover Answer Hide Answer

Answer:
Box 2: One, Three, Four, Five -
By using a finally block, you can clean up any resources that are allocated in a try block, and you can run code even if an exception occurs in the try block.
Reference:
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/try-finally

Question#67

You are a Dynamics 365 Finance developer.
You need to initialize an embedded Microsoft Power BI report.
Which code segment should you add to the form initialization method?

  • A. addReportControl(formGroupControl)
  • B. initializeReportControl(WorkspaceName, FormGroup)
  • C. initializeReportControlOnWorkspace(powerBIConfiguration, reportParameters, formGroupControl)
  • D. deployOrUpdateReport(powerBIConfiguration, reportName, resourceName)
Discover Answer Hide Answer

Answer: B
PBIReportHelper.initializeReportControl method is used to embed a Power BI report (.pbix resource) in a form group control.
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/analytics/add-analytics-tab-workspaces?toc=%2Ffin-and-ops%2Ftoc.json

Question#68

You are a Dynamics 365 Finance developer.
You need to create a key performance indicator (KPI) that shows total sales by region.
Which two objects should you create? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. dimension for region
  • B. dimension for total sales
  • C. aggregated view for total sales
  • D. measure for region
  • E. measure for total sales
Discover Answer Hide Answer

Answer: BE
An aggregate measurement is a model that contains a collection of measures together with their corresponding dimensions. Measures are aggregate numbers, such as Total Sales or Number of Orders. Dimensions are slicers, such as Product, Vendor, or Customer, that help you analyze the measure. For example, the measure of Total Sales isn't useful unless it can be sliced by Product, Region, and Customer.
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/analytics/analytics

Question#69

You are Dynamics 365 Finance developer.
You need to initialize an embedded Microsoft Power BI report.
Which code segment should you add to the form initialization method?

  • A. getPBIReportByResourceName(resourceName)
  • B. initializeReportControl(WorkspaceName, FormGroup)
  • C. importAndStoreReport(powerBIConfiguration, resourceName, isUpate)
  • D. deployOrUpdateReport(powerBIConfiguration, reportName, resourceName)
Discover Answer Hide Answer

Answer: B

Question#70

HOTSPOT -
A company requires a change to one of the base Microsoft SQL Server Reporting Services (SSRS) reports. The report must include a new field that automatically filters the report based on the user who opens the report.
You need to add the new field as specified.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Discover Answer Hide Answer

Answer:
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/analytics/customize-app-suite-reports-with-extensions https://community.dynamics.com/ax/b/dynamics101trainingcenterax/posts/developing-a-ssrs-report-using-the-report-data-provider-in-microsoft-dynamics-ax-2012

chevron rightPrevious Nextchevron right