Microsoft Dynamics 365 Business Central Developer MB-820 Exam Questions

Page: 1 / 14
Total 122 questions
Question 1

You have an app with the Application Insights 1 connection string specified in app.json.

You create the following custom telemetry event in the app.

You publish the app to a customer environment that has a specified Application Insights 2 connection string.

The customer does not want the event to be displayed in Application Insights 2.

You need to ensure the event is displayed only in Application Insights 1.

What should you fix to achieve the goal?



Answer : A


Question 2

A company plans to optimize its permission sets.

The company has the following permission sets:

You need to provide the following implementation for a third permission set:

* Create a new Permission Set C that is a composite of Permission Set A and Permission Set B.

* Assign Permission Set C to a user.

You need to ensure that the user has only read access to the Job table.

Solution: Set the IncludedPermissionSets property to Permission Set A and the ExcludedPermissionSets property to Permission Set B.

Does the solution meet the goal?



Answer : A


Question 3

A company has a test application.

A user observes the following error messages when running the test:

* "Unhandled Ul: Message'

* "Unhandled Ul: Confirm"

You need to resolve the errors. Which action should you take?



Answer : D

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/attributes/devenv-handlerfunctions-attribute


Question 4

You need to determine why the debugger does not start correctly.

What is the cause of the problem?



Answer : A

In Microsoft Dynamics 365 Business Central, when configuring snapshot debugging, it is crucial that the parameters in the configuration file are correctly set. From the options provided, the issue with the debugger not starting correctly is most likely due to an incorrect 'userId' parameter.

Option A is the cause of the problem. The 'userId' parameter must be the GUID of the user, not the username. The snapshot debugger needs the exact GUID to attach to the right session for debugging.

Option B is incorrect because 'breakOnNext' set to 'WebClient' is a valid setting. This tells the debugger to break on the next client action in the web client, which is a typical scenario.

Option C is not the cause of the problem. The 'userId' parameter is meant to specify which user session to debug, and this works in conjunction with the 'breakOnNext' parameter.

Option D is incorrect as the 'executionContext' parameter does not need to be set to 'Debug' for snapshot debugging to work. 'DebugAndProfile' is a valid value for the 'executionContext' parameter, as it allows for debugging and collecting performance information.

Therefore, the reason why the debugger does not start correctly is due to Option A: The 'userId' parameter must have the GUID of the user specified, not the username.


Question 5

A company uses Business Central.

The company has sales orders that have a different location in the header than in the customer's card. You plan to add a check on sales order posting.

The check must meet the following requirements.

* Sales Order must have the same Location Code as the Location Code set up on the customer's card.

* Must not be run in preview mode.

* Must be run even if the user is only shipping items and not invoicing.

You create an event subscription for codeunit 80 "Sales-Post" You need to identify which event to subscribe to Which event should you identify?

A.

B.

C.

D.



Answer : A

This event occurs before posting a sales document.

PreviewMode is available in the parameters, which allows checking whether the process is being run in preview mode.

This event is typically used for sales order posting and can be used for both shipping and invoicing.

This event matches the requirements because:

You can check if PreviewMode is false.

It can run for both shipping and invoicing.


Question 6

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result these questions will not appear in the review screen.

A company plans to optimize its permission sets.

The company has the following permission sets:

You need to provide the following implementation for a third permission set:

* Create a new Permission Set C that is a composite of Permission Set A and Permission Set B.

* Assign Permission Set C to a user.

You need to ensure that the user has only read access to the Job table.

Solution: Set the IncludedPermissionSets property to Permission Set A and the Excluded PermissionSets property to Permission SetB.

Does the solution meet the goal?



Answer : B


Question 7

You have a custom app.

A warning for the rule code named AA0XYZ appears in multiple app objects.

You need to change the severity of the rule from Warning to Info for only the current app.

Which three actions should you perform? Each correct answer presents part of the solution. (Choose three.)

NOTE: Each correct selection is worth one point.



Answer : C, D, E


Page:    1 / 14   
Total 122 questions