MB-820 MB-820 exam practice MB-820 exam questions and answers Microsoft Microsoft Dynamics 365 Business Central Developer

Free Latest MB-820 practice questions to boost your prep

mb-820 practice

How can the latest MB-820 practice questions help candidates prepare for the Microsoft Dynamics 365 Business Central Developer certification?

It helps candidates test their knowledge, get familiar with the exam format, identify weak areas, and review more effectively.

According to user feedback from Pass4itsure, the similarity rate is around 90%.

In this article, I will share 15 of the latest MB-820 practice questions for free. They are especially helpful for developers looking to deepen their understanding of the Business Central tech stack.

For beginners, it’s important to know that MB-820 is a Microsoft certification exam, officially titled Microsoft Dynamics 365 Business Central Developer. This exam primarily tests your ability to develop and customize solutions within Business Central.

It’s especially helpful for entering the field of ERP system development and implementation, boosting your career competitiveness.

Let’s get started.

Free MB-820 Practice Questions Overview

Number of exam questionsLast update
15 (Free)MB-820 dumps exam materials

Question 1:

You need to determine if you have unwanted incoming web service calls in your tenant during the last seven days.

Which two KQL queries should you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A. traces | where timestamp > ago(7d) | where customDimensions has \’RT0008\’ | where customDimensions.category !in (\’ODataV4\’, \’ODataV3\’, \’Api\’)

B. traces | where timestamp > ago(7d) | where customDimensions has \’RT0008\’ | where customDimensions.category == \’SOAP\’

C. traces | where timestamp > ago(7d) | where customDimensions == \’RT0008\’ | where customDimensions.category == \’SOAP\’

D. traces | where timestamp > ago(7d) | where customDimensions has \’RT0008\’ | where customDimensions.category != \’ODataV4\’

E. traces | where timestamp > ago(7d) | where customDimensions has \’RT0008\’ | where customDimensions.category !in (\’ODataV4\’, \’Api\’)

Correct Answer: BC

Analyzing Incoming Web Services Request Telemetry

Web services telemetry gathers data about SOAP, OData, and REST API requests to the service. It provides information like the request\’s endpoint, time to complete, HTTP status codes, and more.

What type of web services are called (REST API, OData, or SOAP)?

The custom dimension category hold information about the type of endpoint (REST API, OData, or SOAP) being called.

This KQL code illustrates how you can find which endpoints are being called and which types of endpoints are being used. Such information might be useful, should you want to modernize your use of web services to use REST APIs, which is

recommended over using SOAP web services or OData web services based on pages.

// Incoming Web Service Requests – endpoint information

traces

| where timestamp > ago(1d) // change as needed

| where customDimensions has “RT0008”

| where customDimensions.eventId == “RT0008”

| project timestamp

// endpoint information

, category = customDimensions.category // API, ODataV3, ODataV4, or SOAP

, endpoint = customDimensions.endpoint // URI

Scenario:

Contoso, Ltd. interacts with external services provided by customers and partners. Different applications interact with SOAP and OData endpoints exposed from Business Central.

SOAP

Contoso, Ltd. plans to dismiss using the SOAP protocol for integrations.

Contoso, Ltd. must be able to detect if external applications are using its Business Central SOAP endpoints.

Reference:

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/telemetry-webservices-trace

Question 2:

DRAG DROP

You need to handle the removal of the Description field and the Clone procedure without breaking other extensions.

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.

NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.

Select and Place:

mb-820 practice questions 2

Correct Answer:

mb-820 practice questions answers 2

Step 1: Set the Clone procedure as ObsoleteState = Pending and ObsoleteReason = \’Not in use\’ in version 2.0.0.0 ObsoleteState Property Marks whether the object will be deprecated.

Property Value

*

No

Not obsolete. This is the normal/default setting.

*

Pending

Will become obsolete in a future version.

Syntax

ObsoleteState = Pending;

Remarks

By coding against this property, you can use this property as a way to communicate through code to other developers which objects and elements will become obsolete over time and those which are already obsolete, enabling them to adjust

their application code accordingly.

Note

For all elements, except for Tables and Table fields, setting ObsoleteState = Removed will throw Compiler Error AL0169 because after an appropriate warning state of Pending, these elements can be deleted.

Note

When developing using Dynamics NAV Development Environment (C/SIDE), you do not get warnings or errors when you compile objects that reference table objects, fields, or keys that are marked as Pending or Removed. ObsoleteState

property is only detected by the AL compiler, which will return warnings for references to elements marked as Pending and errors for references to elements marked as Removed.

Step 2: Set the Description field as ObsoleteState = Removed in version 2.0.01

Step 3: Remove the Description field from the issue table in version 2.0.0.1

Note: ObsoleteReason Property

Specifies why the object has been marked as Pending in the ObsoleteState property.

Syntax

ObsoleteReason = \’Not Needed\’;

Remarks

Use this property to inform developers about an object or element that will become obsolete in time or is already obsolete. Use the ObsoleteTag Property to specify additional information which can be valuable to other developers.

Scenario:

The Issue Management process must be split into two extensions:

ISSUE BASE: main extension

ISSUE EXT: second extension with dependency from ISSUE BASE

In the version 1.0.0.0 of the ISSUE BASE extension, you plan to create an Issue table that contains a global Decimal variable named IssueTotal.

In the version 1.0.0.0 of the ISSUE BASE extension, you plan to define a table named Issue Category with a Description field defined as follows:

mb-820 exam practice questions explain 2

The Issue table defined in ISSUE BASE extension contains a Clone procedure defined as follows:

mb-820 exam practice questions explain 2-1

In the ISSUE EXT extension, you create a tableextension object of the Issue table.

The tableextension object of the Issue table must access the IssueTotal: Decimal variable.

After weeks of usage, you discover that you must remove the Description field and the Clone procedure because they are no longer required.

Reference:

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-obsoletestate-property

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-obsoletereason-property

Question 3:

HOTSPOT

A company plans to integrate tests with its build pipelines.

The company has two Docket sandbox environments: SandboxA and SandboxB.

You observe the following:

1.

SandboxA is configured without the Test Toolkit installed.

2.

SandboxB must be configured from scratch. The Test Toolkit must be installed in SandboxB during configuration.

You need to configure the sandbox environments.

How should you complete the cmdlets? To answer, select the appropriate options in the answer area.

Hot Area:

mb-820 exam practice questions 3

Correct Answer:

mb-820 exam practice questions answers 3

Based on the PowerShell script snippet you\’ve provided and the scenario described, you need to configure Docker sandbox environments for a company with specific requirements for Test Toolkit installations.

For SandboxA, since it is configured without the Test Toolkit installed, you would typically use the PowerShell cmdlet Install-TestToolkitToBcContainer to install the Test Toolkit into the Business Central Docker container.

For SandboxB, which must be configured from scratch with the Test Toolkit installed during configuration, you would include the Test Toolkit as part of the New-BcContainer script block that creates the container.

The relevant cmdlets and parameters for SandboxB would include:

-includeTestToolkit: This parameter ensures that the Test Toolkit is included during the creation of the new container.

Given the limited context from the image, here\’s how you should complete the cmdlets for SandboxB:

Add -includeTestToolkit in the New-BcContainer script to ensure the Test Toolkit is installed when creating SandboxB.

Since you are setting up SandboxB from scratch, you don\’t need to run Install- TestToolkitToBcContainer separately as the toolkit will be included at the time of container creation with the -includeTestToolkit parameter.

For the New-BcContainer cmdlet, you would fill in the placeholders with the appropriate values for artifactUrl, imageName, and licenseFile if they are required for your specific setup.

More MB-820 Practice Questions

Questions 4

A company uses Business Central.

The company plans to use a translation file in an extension. The extension has a caption that should not be translated.

You need to prevent the caption from being translated.

What should you do?

A. Use the CaptionML property and copy the same caption for each language used.

B. Set the GenerateLockedTranslations feature in the appjson file.

C. Add the Locked = true parameter to the Caption.

D. Delete the Caption property.

E. Copy the same caption for each language in the translation file.

Correct Answer: C

To prevent a caption from being translated in an extension for Microsoft Dynamics 365 Business Central, you should add the Locked = true parameter to the Caption (C).

This parameter explicitly marks the caption as locked for translation, ensuring that it remains unchanged across different language versions of the extension.

This approach is useful for specific terms, brand names, or other elements within the application that should remain consistent regardless of the user\’s language settings.

Unlike the other options, which involve manual manipulation of the translation file or properties, setting Locked = true directly in the AL code provides a clear, maintainable, and error-proof method to exclude specific captions from the translation process.

Questions 5

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

1.

The users receive permission errors related to MyTable.

2.

Users are no longer able to post sales orders since installing the new app.

3.

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: Decorate the event subscriber used for inserting data in MyTable by entering (lnherentPermissions(PermissionOb]ectType:TableData. Database:MyTable. \’R\’)]

Does the solution meet the goal?

A. Yes

B. No

Correct Answer: A

Using InherentPermissions in an event subscriber with the specified syntax could potentially resolve the permission issues related to MyTable, provided that the permissions specified (in this case, \’R\’ for Read) align with the minimum necessary for the users to perform their tasks.

This approach allows the app to grant permissions dynamically based on the context of the event subscriber, which in this case is involved with inserting data into MyTable.

By granting Read permission at the event level, it ensures that users have the necessary permissions to interact with MyTable in the context of the operations facilitated by the event subscriber, without needing to alter existing permission sets or grant broader permissions than necessary.

This solution adheres to the principle of least privilege by ensuring that permissions are granted only within the narrow scope needed for specific operations, thereby potentially resolving the reported user issues in a secure and controlled manner.

Questions 6

A company plans to set up a local Business Central Development Docker container. The environment will be used for testing new project ideas.

You need to ensure that the most recent Business Central artifact URL has been selected.

Which command should you use?

A. Get-BcArtifactUrl -type sandbox -select Current

B. Get-BcArtifactUrl -type sandbox -select Closest

C. Get-BcArtifactUrl -type sandbox -select NextMinor

D. Get-BcArtifactUrl -type sandbox -select NextMajor

Correct Answer: A

To ensure the most recent Business Central artifact URL is selected for setting up a local Business Central Development Docker container, the command to use is Get-BcArtifactUrl-type sandbox-select Current (A).

This PowerShell command retrieves the URL for the latest available Business Central artifact for a sandbox environment, ensuring that the Docker container is set up with the most up-to-date version for testing new project ideas.

The -select Current parameter is crucial as it specifies that the current, or latest, version of the artifact is to be retrieved, as opposed to selecting a version based on other criteria such as Closest, NextMinor, or NextMajor.

Questions 7

You are exporting data from Business Central.

You must export the data in a non-fixed length and width in CSV format.

You need to generate an XMLport to export the data in the required format

Which Format property value should you use?

A. XML

B. VariableText

C. FixedText

Correct Answer: B

When exporting data from Business Central and the requirement is for the data to be in a non-fixed length and width CSV format, the Format property of the XMLport should be set to VariableText (B).

The VariableText format is designed for handling data exports where the fields are separated by a delimiter, such as a comma or tab, which is typical of CSV (Comma-Separated Values) files.

This format allows for the flexibility needed when dealing with varying field lengths, as it does not enforce a fixed width for each field, making it ideal for CSV data exports.

Setting the Format property to FixedText (C) would enforce a fixed width for each field, which is not suitable for CSV files, while the XML format (A) is used for exporting data in an XML structure, which is different from the CSV format requirements.

Questions 8

HOTSPOT

You need to create the codeunit to read the POS terminal APIs.

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:

mb-820 exam practice questions 8

Correct Answer:

mb-820 exam practice questions answers 8

Box 1: Permissions = TableData “POS Information” = RMDX

Define permissions on the table. Include Modify (M).

Scenario:

The company requires a codeunit called from a job queue to read the information from the POS terminal APIs.

The POS terminal information must be stored in a table named POS Information, have an ID 50100, and be editable on a page.

Incorrect:

*

Permissions = TableData “POS Information” = rdx

*

Access = Internal

Would be permission to use the code/module.

Note: Access Property

Sets the object accessibility level, which controls whether the object can be used from other code in your module or other modules.

Note: Permissions Property

Sets whether an object has additional permission required to perform some operations on one or more tables. The operations can be to read, insert, modify, and delete data.

Applies to

Codeunit

Table

Request Page

Page

Xml Port

Report

Query

Permission Set

Permission Set Extension

Syntax: Permissions = TableData 1221 = rimd;

Box 2: Procedure readAPI()

Incorrect:

* Procedure readAPI(PosNo: Integer) No mention of PosNo in the scenario.

Note: To declare a local method, start the declaration with local:

local procedure Mymethod();

To declare a global method, omit local:

procedure Mymethod();

Parameters (optional)

A parameter is one or more variables or expressions that are sent to the method through the method call. The parameter provides information to the method, and the method can modify that information. In the method declaration, you place the parameters in parentheses ().

Reference:

Questions 9

HOTSPOT

A company uses Business Central. The company has branches in different cities.

A worker reports that each time they generate a daily summary report they get an error message that they do not have permissions.

mb-820 exam practice questions 9

You need to resolve the issue.

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:

mb-820 exam practice questions 9-1

Correct Answer:

mb-820 exam practice questions answers 9

Questions 10

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

What is the cause of the problem?

A. The “userId” parameter must have the GUID of the user specified, not the username.

B. The “breakOnNext” parameter is not set to “WebServiceClient”.

C. The “userId” parameter is specified, and the next user session that is specified in the “breakOnNext” parameter is snapshot debugged.

D. The “executionContext” parameter is not set to “Debug”.

Correct Answer: A

Initialize a snapshot debugging session

You can start a snapshot by creating a snapshot configuration file in Visual Studio Code.

Choose whether to run the session on a cloud service or locally. The configuration file contains the following information.

*

userId The GUID of the user who initiated the process to start snapshot debugging. For on-premises, this can also be the user name in user password authentication scenarios. The user must be able to start, or have a session type opened that is specified in the breakOnNext parameter.

*

Etc.

Scenario: Debugging problems A user of the ISSUE BASE extension in Business Central reports a problem.

You discover that the debugging is not triggering.

Incorrect:

Not B: Example (attach to a web client session)

The following example illustrates a configuration for a local server, where you want to debug a web client session.

{

“name”: “My attach to local server”,

“type”: “al”,

“request”: “attach”,

“server”: “https://localhost”,

“serverInstance”: “BC200”,

“authentication”: “Windows”,

“breakOnError”: true,

“breakOnRecordWrite”: false,

“enableSqlInformationDebugger”: true,

“enableLongRunningSqlStatements”: true,

“longRunningSqlStatementsThreshold”: 500,

“numberOfSqlStatements”: 10,

“breakOnNext”: “WebClient”

} …

Reference:

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-attach-debug-next

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-snapshot-debugging

Practicing for the MB-820 Microsoft Dynamics 365 Business Central Developer exam takes time, and it can be a bit challenging, especially for beginners.

To make learning easier for all candidates, I’ve organized all the free practice questions into a PDF for your convenience.

MB-820 PDF (Free 15 practice questions)https://drive.google.com/file/d/1I4u8j6_1TfCZVfYLdtAONHtWVWYlcK9j/view

Summarize

Warm up for the MB-820 Microsoft Dynamics 365 Business Central Developer certification with these free, high-quality practice questions!

The Pass4itsure MB-820 practice exam offers 113 real exam questions and answers to help you test your knowledge, build confidence, and get one step closer to certification.

Start your MB-820 exam preparation now — download the Latest MB-820 Practice Exam at https://www.pass4itsure.com/mb-820.html and begin your learning journey!

Share this blog with your study partners to help them succeed too, and subscribe to our blog for more free resources, including extra practice questions. Let’s work together to pass the certification and advance your career in the Dynamics 365 field!

microdess
We are a team that focuses on tutoring Microsoft series certification exams and is committed to providing efficient and practical learning resources and exam preparation support to candidates. As Microsoft series certifications such as Azure, Microsoft 365, Power Platform, Windows, and Graph become more and more popular, we know the importance of these certifications for personal career development and corporate competitiveness. Therefore, we rely on the Pass4itsure platform to actively collect the latest and most comprehensive examination questions to provide candidates with the latest and most accurate preparation materials. MICROSOFT-TECHNET not only provides the latest exam questions, but also allows candidates to find the required learning materials more conveniently and efficiently through detailed organization and classification. Our materials include a large number of mock test questions and detailed analysis to help candidates deeply understand the test content and master the answering skills, so as to easily cope with the test. In addition, we have also specially launched exam preparation materials in PDF format to facilitate candidates to study and review anytime and anywhere. It not only contains detailed analysis of exam questions, but also provides targeted study suggestions and preparation techniques so that candidates can prepare more efficiently. We know that preparing for exams is not just about memorizing knowledge points, but also requires mastering the correct methods and techniques. Therefore, we also provide a series of simulation questions so that candidates can experience the real examination environment in the simulation examination and better adapt to the examination rhythm and atmosphere. These simulation questions can not only help candidates test their preparation results, but also help candidates discover their own shortcomings and further improve their preparation plans. In short, our team always adheres to the needs of candidates as the guide and provides comprehensive, efficient and practical test preparation support to candidates. We believe that with our help, more and more candidates will be able to successfully pass the Microsoft series certification exams and realize their career dreams.