Microsoft MB-500 Practice Test - Questions Answers, Page 6

List of questions
Question 51

You are a Dynamics 365 Finance developer.
You need to ensure that an integration is triggered when a specific process starts.
Which tool should you use to retrieve the status from the Production order?
Batch job
Periodic flow
Business event
Recurring Data Entity export
Business events can be used as triggers from D365FO in Power Automate/MS Flow in an end to end way.
Reference: https://community.dynamics.com/ax/b/happyd365fo/posts/triggers-using-business-event-in-power-automate-and-microsoft-dynamics-365-finance-and-operations
Question 52

HOTSPOT
You create the following cloud-based Dynamics 365 Finance environments:
A developer creates code extensions in the Development environment. The developer checks the code changes into an Azure DevOps branch.
You need to deploy the code changes to the Standard Acceptance Test environment.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Box 1: Build the code in the DevOps pipeline.
Box 2: Asset library
Run the export to the Asset library in Microsoft Dynamics Lifecycle Services (LCS).
Box 3: Select Maintain and Apply updates.
eprovision the target environment If you copy a database between environments, the copied database won't be fully functional until you run the Environment reprovisioning tool to make sure that all Commerce components are up to date.
Follow these steps to run the Environment reprovisioning tool.
1. In your project's Asset Library, in the Software deployable packages section, click Import.
2. From the list of shared assets, select the Environment Reprovisioning Tool.
3. On the Environment details page for your target environment, select Maintain > Apply updates.
4. Select the Environment Reprovisioning tool that you uploaded earlier, and then select Apply to apply the package.
5. Monitor the progress of the package deployment.
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/database/dbmovement-scenario-exportuat#back-up-to-the-asset-library
Question 53

You are a Dynamics 365 Finance developer. You make changes to an existing custom class.
The code comparison tool shows version conflicts between your version and the latest checked-in version of the custom class.
In Visual Studio, you open the Source Control Explorer. You locate the latest changeset for the class and you open the changeset in Team Explorer.
You need to compare the latest code that is in source control with the code that you created.
Which option should you use?
Compare with Workspace Version
Compare with Previous Version
View History
Compare with Latest Version
Reference:
https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/compare-files?view=azure-devops
Question 54

DRAG DROP
A company implements Dynamics 365 finance and operations apps.
You are developing code to consume OData service endpoints. You complete the application registration process and gather the details required to create a C# console application.
You need to ensure that the console application interacts with Dynamics 365 Finance OData services.
Which three 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.
Step 1: Add the OData v4 client code generator
Install OData Client Code Generator
Step 2: Add the custom OData service endpoints to the ODataClient list After you downloaded, installed the OData V4 Client Code Generator and restart the Visual Studio you will be able to find and add 'OData Client' item into our project.
Step 3: Generate proxy classes
Step 4: Point the MetaDataDocumentURI variable top the Dynamics 365 Finance instance
You need to set MetaDataDocumentURI, which is generated by the OData Code Generator.
Reference:
https://devblogs.microsoft.com/odata/tutorial-sample-how-to-use-odata-client-code-generator-to-generate-client-side-proxy-class/
https://www.netwoven.com/2018/05/29/how-to-create-client-side-odata-proxy-dll-for-microsoft-dynamics-365-for-finance-and-operations-ax/
Question 55

DRAG DROP
You need to create the outstanding invoice report for the CFO.
Which attributes should you use? To answer, drag the appropriate attributes to the requirements. Each attribute answer may be used once, more than once, or not at all. You may need to drag the split between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Scenario: The Chief Financial Officer (CFO) requires the following reports:
A report that shows all outstanding invoices, their cash discount types including the new minimum threshold applicable, and the amount of the discount. The report must only be accessed by users who are members of the Accounts
Payable Manager role.
Box 1: DataContractAttribute DataContractAttribute β This attribute is applied to an X++ class and specifies that the class can be used as a data contract (that it should be serialized).
Box 2: DataMemberAttribute DataMemberAttribute β This attribute is applied to a parm (parameter) method on an X++ data contract class and specifies that the data member should be serialized.
Box 3: SRSReportParameterAttribute
You set the SRSReportParameterAttribute attribute to the data contract you created for the RDP class.
Reference:
https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/how-to-use-a-report-data-provider-class-in-a-report
Question 56

HOTSPOT
You need to configure security for the CashDisc form.
What changes should you make? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Question 57

You are training a new Dynamics 365 Finance developer.
You need to recommend where asynchronous integrations should be used instead of synchronous integrations.
For which scenario should you recommend asynchronous integration?
Question 58

You are a Dynamics 365 Finance developer.
You make changes to an existing class.
You need to compare the code that is in source control with the updated class. In Visual Studio, you display Team Explorer.
What are three possible ways to achieve the goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Question 59

An organization has two million customers that are part of the International customer group.
Validation must occur when customer records are updated. For all customers where the value of the customer group field is international, you must the delivery mode to Air.
You need to update the customer records.
Which two segments can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Question 60

You are training a new Dynamics 365 Finance developer.
You need to recommend where asynchronous integrations should be used instead of synchronous integrations.
For which scenario should you recommend asynchronous integration?
Question