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 on the review screen.
A company creates a Business Central app and a table named MyTable to store records
when sales orders are posted.
Users report the following issues:
• The users receive permission errors related to MyTable.
• Users are no longer able to post sales orders since installing the new app.
• The users cannot access the list page created in MyTable.
You need to resolve the user issues without creating new permission sets. You must use
the principle of least privilege.
Solution: Assign a SUPER permission set.
Does the solution meet the goal?
Show answerHide answer
Correct answer: BNo
Explanation
Explanation: Assigning a SUPER permission set to all users would indeed resolve the
permission errors and access issues reported by the users, as it grants full permissions
across all objects and data in Business Central. However, this approach contradicts the
principle of least privilege, which advocates for providing only the minimum levels of access
necessary for users to perform their jobs. The SUPER permission set would excessively
elevate user privileges, potentially leading to security risks and unintended modifications to
critical data. Therefore, while assigning the SUPER permission set might technically
resolve the immediate issues, it does not meet the goal of adhering to the principle of least
privilege and is not a recommended solution.
Question 12Choose 1
You must simulate the user interaction of selecting a posting option. The options must
include:
• Ship
• Invoice
• Ship & Invoice
You need to create a test codeunit to run the test.
What should you use?
Show answerHide answer
Correct answer: BHandler method
Explanation
Explanation:
Handler methods are used in tests to simulate user interactions, such as
responding to dialogs, confirmation messages, or option selections. Since you
need to simulate the user interaction of selecting a posting option (Ship, Invoice,
Ship & Invoice), a Handler method would be the appropriate choice for capturing
this kind of user input.
Normal attribute and Test attribute are used for marking methods for test
execution, but they do not simulate user interaction, making Handler method the
correct answer.
For more details, see the Microsoft Docs on Test Codeunits and Handler Methods.
Question 13
You create an 'AddltemsToJson" procedure and publish it.
Show answerHide answer
Explanation
Question 14Choose 1
A company uses Business Central Users in DepartmentA are assigned a base application
permission set.
The company observes that Departments can display a critical page that should be
unavailable to the department.
You need to resolve the system control issue.
What should you do?
Show answerHide answer
Correct answer: ECreate a permission set object that excludes the critical table and assigns it to the users.
Question 15Choose 1
You are creating an entitlement object in Business Central to enable transactability for
AppSource apps.
You must map the entitlement object to a plan in Partner Center.
You need to select the value of the Type property to use in the entitlement object.
Which value should you use?
Show answerHide answer
Correct answer: APerUserServicePlan
Explanation
Explanation: In Business Central, when creating an entitlement object to enable
transactability for AppSource apps and mapping it to a plan in Partner Center, the Type
property of the entitlement object should be set to PerUserServicePlan (A). The
PerUserServicePlan type is used to define an entitlement that is based on a service plan,
which is typically how transactability features are managed for apps distributed through
AppSource. This type of entitlement allows for the mapping of specific features or
capabilities of the app to a service plan in Partner Center, enabling granular control over
what users are entitled to use based on their subscription. The other values, such as
Implicit (B), Unlicensed (C), and Role (D), are used in different contexts and do not apply to
the scenario of mapping an entitlement object to a plan for AppSource apps.
Question 16
You are treating an app tor Business Central.
You plan to specify the following parameters and properties of the server and app.
• Startup object type and object ID
• Runtime
• Dependencies
You need to configure the JSON file for the specified parameters and properties Which JSON files should you configure? To answer, move the appropriate files to the
correct object purposes You may use each file once, more than once, or not at all You may
need to move the split bar between panes or scroll to view content
NOTE Each correct selection is worth one point.
Show answerHide answer
Explanation
Question 17
A company is setting up a custom telemetry trace signal to send traces on failed customer
statement emails.
Show answerHide answer
Explanation
Question 18Choose 1
You plan to write unit test functions to test newly developed functionality in an app.
You must create a test codeunit to write the functions.
You need to select the property to use for the test codeunit.
Which property should you use to ensure that the requirements are fulfilled?
Show answerHide answer
Correct answer: ASubType
Explanation
Explanation: When creating a test codeunit in Microsoft Dynamics 365 Business Central
to write unit test functions, the SubType property (A) of the codeunit should be set to Test.
This property is crucial for defining the codeunit's purpose and behavior within the
application. By setting the SubType property to Test, you are indicating that the codeunit
contains test functions intended to validate the functionality of other parts of the application,
such as customizations or new developments. This distinction ensures that the testing
framework within Business Central recognizes the codeunit as a container for test
functions, allowing it to execute these functions in a testing context, which can include
setting up test data, running the tests, and cleaning up after the tests have completed.
Question 19
You develop a table named Contoso Setup and a page.
You plan to use No. Series to automatically assign a unique number to data entries. You
set up No. Series on the Vendor Nos. field of the Contoso Setup table.
You need to apply the No. Series Design Pattern to the trigger Onlnsert().
Which four code segments should you use to develop the solution? To answer, move the
appropriate code segments from the list of code segments to the answer area and arrange
them in the correct order.
Show answerHide answer
Explanation
Question 20Choose 1
You ate creating a test codeumt for a company that uses Business Central. The company
requites the following list of choices while posting a sales order:
• Ship
• Invoice
• Ship & Invoice
You must create a test codeunit that automatically selects one of these options. You need
to create the test codeunit Which handler should you use?
Show answerHide answer
Correct answer: DStrMenuHandler
Full mock exam
Sit the MB-820 exam before exam day
Full-length mocks with the same number of questions and the same time limit as the real MB-820 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.