Microsoft MB-820 Microsoft Dynamics 365 Business Central Developer Exam Practice Test

Page: 1 / 14
Total 113 questions
Question 1

A company has extended Business Central.

You plan to submit the extension to AppSource.

You need to ensure that an application meets the technical requirements before submitting it for validation.

Which three actions should you perform? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.



Answer : B, C, E

B. Include extension translation files with the submission.

AppSource submissions require that the extension be localized to different languages, and including translation files is part of the requirement.

C. Ensure the app file is digitally signed.

Digitally signing the app file is a security requirement for AppSource submissions to ensure the integrity and authenticity of the app.

E. Use data classification on all tables and extension fields.

Microsoft requires that all data, especially personal data, be classified using the data classification feature to comply with GDPR and other data privacy regulations.


Question 2

A company has an on-premises Business Central instance named TEST The instance uses Windows authorization and a developer services port of 7149 Visual Studio Code is installed on the same server.

You create a new AL project but cannot download the symbols.

The launch json file contains the following code:

You need to download the symbols.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.



Answer : A, B

You are working on an on-premises Business Central instance and unable to download symbols for a new AL project. The current configuration in launch.json does not allow you to download symbols, and you need to make corrections.

Key Points in the Scenario:

Instance name is TEST.

Developer services port is 7149.

Windows authentication is being used.

Correct Answers:

A . Change the server Instance parameter to TEST.

The serverInstance parameter must match the name of the Business Central instance, which is TEST in this scenario. You need to modify this to reflect the correct instance name.

B . Add the port: 7149 parameter.

Since the developer services are using port 7149, you need to specify this in the launch.json file by adding the port parameter with the value 7149.

Incorrect Options:

C . Change the name parameter to TEST: The name parameter is just a label and does not affect downloading symbols, so changing this won't help.

D . Change the authentication parameter to UserPassword: The authentication method is already set to Windows, which is valid for this scenario. Changing it to UserPassword is unnecessary unless specified by the system.

E . Check which server the instance is installed on and replace http://localhost with the correct IP address: Since the server is on the same machine as Visual Studio Code (as specified), localhost is correct.


Question 3

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?



Answer : E

Permission sets control access to objects (such as pages, tables, reports) in Business Central. By creating a new permission set that specifically excludes the critical table (or page) and assigning this permission set to the users in Department A, you can prevent them from accessing the page.

Option A (creating a different role center page) is incorrect because role centers control the user interface, but do not directly restrict access to specific pages or tables.

Option B and Option C (extending the base application permission set) are not the best options because extending permission sets typically involves adding permissions, not removing access. The question requires restricting access to a critical page, so simply including or excluding permission sets won't solve the issue at the table or page level.

Option D (creating an entitlement object) is not relevant here, as entitlements are used in more complex licensing scenarios or environments.

Summary:

Creating a permission set object that specifically excludes access to the critical table or page and assigning it to the users will solve the problem effectively.


Question 4

You have a query object named Items Query. You write code using an Items Query query variable. You need to export the Items Query query data to a file. Which SaveAs function should you use?



Answer : D

SaveAsCsv is the correct function to export the query data to a CSV (Comma-Separated Values) file, which is a commonly used text format for data exports.

SaveAsExcel would export to an Excel file, SaveAsWord to a Word document, and SaveAsHtml to an HTML file, but since the requirement is to export to a file and the question doesn't specify any particular file format other than what fits standard data exports, CSV is the most fitting and efficient format for this scenario.

For more information, see the Query Object Functions in Business Central.


Question 5

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 : B

A user observes error messages such as:

'Unhandled UI: Message'

'Unhandled UI: Confirm'

These messages indicate that the test code is not handling system prompts like Message and Confirm dialogs, which can appear during test execution.

Options

Message Handler and Confirm Handler methods are used to intercept and handle these UI prompts during automated testing.

These methods should be added to the test runner codeunit, which is responsible for running the tests and handling these system-level interactions.


Question 6

You are developing an app that will be published to Microsoft AppSource.

The app requires code analyzers to enforce some rules. You plan to add the analyzers to the settings.json file.

You need to activate the analyzers for the project.

Which three code analyzers should you activate to develop the app for AppSource? Each correct answer presents part of the solution

NOTE: Each correct selection is worth one point.



Answer : B, D, E

When developing an app for Microsoft AppSource, it is crucial to adhere to specific guidelines and standards to ensure compatibility and compliance. The three code analyzers you should activate are:

CodeCop (A): This is the default analyzer for AL language extensions. It enforces the AL Coding Guidelines, ensuring that the code follows best practices for readability, maintainability, and performance. It checks for a wide range of issues, from syntax errors to best practice violations, making it essential for any AL development.

PerTenantExtensionCop (D): This analyzer is specifically designed for extensions that are intended to be installed for individual tenants. It includes rules that ensure the extension does not interfere with the per-tenant customizations and adheres to the guidelines for extensions that can be safely installed and uninstalled without affecting the underlying application.

AppSourceCop (E): This analyzer is tailored for extensions that are intended for publication on Microsoft AppSource. It enforces additional rules that are specific to AppSource submissions, such as checking for the use of reserved object ranges and ensuring that all prerequisite dependencies are correctly declared. This is crucial for ensuring that your app meets all the requirements for listing on AppSource.

By activating these three analyzers, developers can ensure their app adheres to the standards required for AppSource, as well as maintain high code quality and compatibility with Business Central.


Question 7

You need to evaluate the version values of the Quality Control extension to decide how the quality department must update it.

Which two values can you obtain in the evaluation? Each correct answer presents part of the solution. Choose two.

NOTE: Each correct selection is worth one point.



Answer : A, C


Page:    1 / 14   
Total 113 questions