:Microsoft Dynamics 365 Business Central Developer
Certification
:Microsoft Certifications
Vendor
:Microsoft
Total Questions
:56 Q&As
Last Updated
:Mar 29, 2025
Microsoft Microsoft Certifications MB-820 Questions & Answers
Question 21:
You need to define the data types for the fields of the Non-conformity table.
Which two data types should you use? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Integer for the Non-conformity Number field
B. DateTime for the Non-conformity Date field
C. Char for the Non-conformity Number field
D. Date for the Non-conformity Date field
E. Code for the Non-conformity Number field
Correct Answer: CD
Scenario: When a purchase order with incorrect quantity or quality issues is received, the entity must create a non-conformity document in the system. The following information must be included in the document:
*
Non-conformity Number: must use the No. Series table from Business Central online to manage this field and use these features: Alphanumeric values Number format that includes “NC” and the year as part of the number; for example, NC24-001
*
Non-conformity Date: stores only the creation date
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.
You need to determine why the extension does not appear in the tenant.
What are two possible reasons for the disappearance? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. The extension was published as a DEV extension.
B. The extension was not compatible with the new version within 60 days of the first notification.
C. The extension was published as PTE, and the Platform parameter was not updated in the app.json file.
D. The extension was published as PTE, and the Platform and Runtime parameters were not updated in the app.json file.
E. The extension was not compatible with the new version within 90 days of the first notification.
Correct Answer: AD
Scenario: Users report that one of the Contoso, Ltd. extensions disappeared from the tenant. The IT department confirms that the extension is still published.
A: The Extensions with "Published As" "Dev" usually gets disappeared after the Environment is upgraded.
D: When you start a new AL project, two JSON files; the app.json file and the launch.json file are generated automatically. The app.json file contains information about the extension that you're building, such as publisher information and specifies the minimum version of base application objects that the extension is built on. Often, the app.json file is referred to as the manifest.
You need to call the Issue API action from the mobile application.
Which action should you use?
A. POST /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/Microsoft.NAV.copy
B. PATCH /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/Microsoft.NAV.Copy
C. POST /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/Copy
D. POST /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/copy
E. POST /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/Microsoft.NAV.Copy
Correct Answer: E
Use the POST action.
Use Microsoft.NAV in the URL.
End the URL with Copy, not copy.
Scenario: The IT department creates a custom API for exposing the custom Issue table. The API provides an action for copying an issue to a new table. The action is defined as follows:
Contoso, Ltd. must create an API in Business Central to expose item details to the mobile application.
The API must have the lowest possible impact on the production environment when used during working hours.
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.
You have the following data integrity requirements:
1.
Lookups into other records must be established.
2.
Validate if a record exists in a destination record.
You need to select the table field property to use for each requirement.
Which table field property should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
For the data integrity requirements, the table field properties to use are:
To establish lookups into other records, use the TableRelation property. To validate if a record exists in a destination record, use the ValidateTableRelation property.
In Business Central, when creating tables to hold data, maintaining data integrity is crucial:
TableRelation Property:This property is used to create a relationship between the field in one table and a field in another table, which is typically used for lookups. When you set the TableRelation property on a field, it allows users to select
from a list of values that exist in the related table.
ValidateTableRelation Property:This property is used to ensure that the value entered in a field matches one of the values in a related table. If a user tries to enter a value that doesn't exist in the related table, an error will occur.
Question 27:
HOTSPOT
You have the following XML file sample for the Items list:
You plan to create the next XML file by using an XMLport object. You need to complete the code segment to export the file in the required format How should you complete the code segment? To answer, select the appropriate options in the answer area.
Hot Area:
Correct Answer:
Question 28:
HOTSPOT
You have a per tenant extension that contains the following code.
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:
Correct Answer:
Codeunit "Discount Mgmt." compiles successfully. = NO VariantLine in line 17 must be changed to Line and the DiscountAmount removed for the codeunit to compile. = NO
The DiscountIsValid method must be defined in the interface for the code to compile. = YES
The codeunit "Discount Mgmt." will not compile successfully as is because the DiscountIsValid method is not defined in the "IDiscount Calculation" interface, yet it is being declared in the codeunit which implements this interface. AL requires
that all procedures in the codeunit that implements an interface must be defined in the interface itself.
The VariantLine in line 17 does not need to be changed to Line, nor does the DiscountAmount need to be removed for the codeunit to compile. These are valid declarations in AL and they are correctly implemented in the codeunit. The Variant
data type in AL is used to handle various data types and DiscountAmount is a valid return type for a procedure.
For the code to compile successfully, the DiscountIsValid method must be included in the interface because AL enforces that any codeunit implementing an interface must implement all the methods defined in that interface.
Question 29:
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:
Correct Answer:
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.
Question 30:
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.
You need to resolve the issue.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your MB-820 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.