Updated Mar-2025 100% Cover Real MB-820 Exam Questions Make Sure You 100% Pass [Q59-Q78]

Share

Updated Mar-2025 100% Cover Real MB-820 Exam Questions Make Sure You 100% Pass

MB-820 dumps Accurate Questions and Answers with Free and Fast Updates

NEW QUESTION # 59
You need to access the RoomsAPI API from the canvas app.
What should you do?

  • A. Open the Web Services page and publish the RoomsAPI page as a web service.
  • B. Enable the APIs for the Business Central online environment.
  • C. Include in the extension a codeunit of type Install that publishes RoomsAPI.
  • D. Use the default API configuration in Business Central

Answer: C

Explanation:
* API Publishing for Extensions:
* In Business Central, when creating custom APIs like RoomsAPI, it is important to ensure that they are automatically published during the installation or upgrade of the extension.
* To achieve this, you can include a codeunit of type Install in the extension that explicitly publishes the custom API (RoomsAPI) as a web service. This ensures that it is available for use immediately after the extension is deployed without requiring manual intervention.
* Codeunit Type:
* A codeunit of type Install runs when the extension is installed or upgraded. This type of codeunit can be used to perform setup tasks such as publishing web services or APIs like RoomsAPI.
* Why Not Other Options?
* Option A (default API configuration): This would not automatically publish the RoomsAPI.
Default APIs do not cover custom APIs.
* Option B (enable APIs for the environment): Enabling APIs in Business Central allows the standard APIs to be used, but custom APIs still need to be manually published.
* Option C (publish via Web Services page): This would work but requires manual intervention to publish RoomsAPI, which does not fulfill the requirement of automatic publishing during installation.
Reference Documentation:
* Publishing APIs in Extensions
* Codeunit Types in Business Central


NEW QUESTION # 60
A company uses four objects in development in Business Central.
The company plans to make changes to the objects.
You need to identify the application layer for each object in Visual Studio Code.
Which objects ate available in each application layer? To answer, move the appropriate application layer to the correct objects You may use each application layer 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.

Answer:

Explanation:

Explanation:
Language table # System layer
Activities Cue table # Base layer
Extension Management codeunit # System layer
Business Unit Card page # Base layer
Application Layers in Business Central:
In Business Central, there are different layers such as Base and System, which represent different levels of the application architecture. Here's a breakdown of where each object is likely to belong based on typical Business Central architecture:
* Language Table:This table typically belongs to the System layer, as language and localization features are often part of the foundational aspects of the system.
* Activities Cue Table:This would likely be found in the Base layer because it involves business logic that supports user interface elements (like activity cues) specific to the Business Central application.
* Extension Management Codeunit:The Extension Management Codeunit likely belongs to the System layer, as it deals with handling extensions, which is closely related to the core system functionality for managing and deploying changes.
* Business Unit Card Page:This object would typically be part of the Base layer, as it is a business- specific object that handles the user interface for business unit data, part of the core Business Central application.


NEW QUESTION # 61
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 NextMinor
  • B. Get-BcArtifactUrl -type sandbox -select Current
  • C. Get-BcArtifactUrl -type sandbox -select Closest
  • D. Get-BcArtifactUrl -type sandbox -select NextMajor

Answer: B

Explanation:
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.


NEW QUESTION # 62
Hotspot Question
You create a query that contains a procedure to display the top customers.
The procedure breaks at runtime.

You need to fix the 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.

Answer:

Explanation:


NEW QUESTION # 63
You develop a test application.
You must meet the following requirements:
* Roll back changes to a test method after run time.
* Run an approve action on a test page named TestPageA.
You need to implement the given requirements on the test codeunit
Which actions should you perform? To answer, select the appropriate options in the answer area NOTE: Each correct selection is worth one point.

Answer:

Explanation:


NEW QUESTION # 64
Case Study 1 - Contoso, Ltd
Background
Contoso, Ltd. is a sales company in the manufacturing industry. It has subsidiaries in multiple countries/regions, each with its own localization. The subsidiaries must be data-independent from each other. Contoso. Ltd. uses an external business partner to manage the subcontracting of some manufacturing items. Contoso, Ltd. has different sectors with data security between sectors required.
Current environment
Contoso, Ltd. uses Business Central online as the main ERP for financials, sales, purchase, warehouse, and manufacturing processes. It has employees that use the Business Central web application and external applications. The company has a custom external mobile app under development.
The IT department and its partners installed custom extensions to satisfy the company's requirements where the functionality is not available natively.
Contoso, Ltd. interacts with external services provided by customers and partners. Different applications interact with SOAP and OData endpoints exposed from Business Central.
An external business partner of Contoso, Ltd. exposed a REST API for receiving details about new subcontracting orders and for sending the planned release date of each subcontracting order received.
Contoso, Ltd. has not activated the monitoring of the tenant and has no internal telemetry for its apps.
Custom reporting must be created to meet the requirements of the different departments.
Tenant management
Contoso, Ltd. has the following tenant management considerations:
IT department
The IT department requires the ability to monitor the tenant to prevent performance problems and detect possible anomalies.
The IT department plans to use Azure Application Insights and Log Analytics to inspect the ingested telemetry signals.
All tenant upgrades are automatically handled by Microsoft. The IT department does not check for update availability or for tenant-related notifications.
The IT department has not configured the receipt of tenant-related notifications from the Business Central admin center.
External business partner
The external business partner must add custom telemetry to an application created for Contoso, Ltd. to monitor a business process.
Custom telemetry signals for the application must be visible only on the partner's telemetry.
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.
Issue
The Business Central tenant is upgraded by Microsoft to a new major version during the night.
Users report that one of the Contoso, Ltd. extensions disappeared from the tenant. The IT department confirms that the extension is still published.
Custom mobile application requirements
Contoso, Ltd. plans to create a custom mobile application that has the following requirements:
The app must be used by employees to check item details from the ERP in real time and to report issues that occur during the manufacturing process.
An AL extension must be created for handling archived issues.
Business Central development guidelines must be followed when implementing modules.
A module must be implemented for the reporting and tracking of issues information. You plan to call this module Issue Management. The module must expose a method named PostIssue.
Code modifications will be required over time.
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:

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

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.
In a new version of the ISSUE BASE extension, you create a new Issue Type table. You must move data row by row from a previously obsolete Issue Category table to the new Issue Type table. Because a large amount of data must be moved, you must write an Upgrade codeunit by using the DataTransfer object.
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.
The API must only support Get operations.
Debugging problems
A user of the ISSUE BASE extension in Business Central reports a problem.
To debug the problem, snapshot debugging with the following configuration was activated:

You discover that the debugging is not triggering.
Integration with business partner for subcontracting
Contoso, Ltd. must connect Business Central to the external API provided by the business partner. This will be used for the partner to send the details of new subcontracting orders to fulfill the sales demand, and for receiving the planned release date of each order sent. The integration requirements are as follows:
The business partner will provide a REST API secured with basic authentication. Credentials to access the API will be shared with Contoso, Ltd.
The API for sending subcontracting orders must be called by sending an authenticated POST request to the given endpoint.
The API for retrieving the order no. and planned release date of each subcontracting order responds with the following JSON:

Each order no. must be retrieved.
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)/Copy
  • B. PATCH /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/Microsoft.NAV.Copy
  • C. POST /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/Microsoft.NAV.Copy
  • D. POST /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/Microsoft.NAV.copy
  • E. POST /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/copy

Answer: A

Explanation:
In the context provided by the case study, when calling an API action from a mobile application, the correct format for a POST request to an action in Business Central typically involves specifying the entity (/issues), the ID of the entity (88122e0e-5796-ec11-bb87-000d3a392eb5), and the action to be called (/Copy). The action name should match the exact name as defined in the AL code, which is case-sensitive.


NEW QUESTION # 65
You plan to call a web service by using the data type HttpClient from a Business Central AL extension You must provide the following implementation for the web service call:
* The web service must authenticate the client with a certificate.
* The certificate must include a password.
* The password must be hidden when you debug the code
You need to include the certificate in the web service call. Which instruction should you use?

  • A. HttpClient.AddCertificate{Certifkate: SecretText, Password: SecretText);
  • B. HttpClient.AddCertificate{Password: SecreTiext);
  • C. Httpclient.Addertifieate(certificate: Text, Password: Text);
  • D. Httpclient.Addeertifieate(Certifieate: Blob, Password: secretText);

Answer: A

Explanation:
ou plan to call a web service using HttpClient from a Business Central AL extension. The web service must authenticate using a certificate that includes a password, and the password must be hidden during debugging.
Options Explanation:
* The question asks for the correct implementation where the certificate and password are provided and where the password is hidden when debugging.
* SecretText is a special data type in Business Central that hides sensitive data (like passwords) during debugging.


NEW QUESTION # 66
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.

Answer:

Explanation:

Explanation:


NEW QUESTION # 67
Hotspot Question
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.

Answer:

Explanation:


NEW QUESTION # 68
You create a 'Contoso Post" procedure to send an http POST request in JSON format. You publish the procedure to your environment.
You write the following procedure code:

The procedure does not work as expected.
You need to find and fix all errors in HTTP class usage.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Explanation:
Statements:
* Replace line 16 with ResponseText := ResponseMessage
* answer: NoThe correct way to handle the response is to use ReadAs or similar methods to read the content from the response, not just assign the ResponseMessage directly to ResponseText.
Hence, this statement is incorrect.
* In line 13, change the 'text/plain' value to 'application/json'
* answer: YesSince the procedure is expected to send a POST request with JSON content, changing the content type to 'application/json' is correct. This ensures that the server understands the content is in JSON format.
* Replace line 14 with Client.DefaultRequestHeaders.Add('Authorization', 'Bearer ' + Token);
* answer: NoIn AL, the authorization headers are managed through HttpHeaders, and the Client.
DefaultRequestHeaders method is not available in AL. Therefore, this statement is incorrect.
* In line 10, replace WriteFrom with ReadAs
* answer: NoWriteFrom is the correct method for sending the request content, as it writes data from the RequestText variable to the HttpContent. ReadAs is used for reading the response, not for writing the request content.


NEW QUESTION # 69
A company plans to customize its per tenant extension reports. The company has the following requirements for the customization:
* Child data items must not be displayed on the request page for some master detail reports.
* Selecting key filter fields takes users too much time. The customization must decrease the amount of time to select the fields.
You need to optimize the report request page.
Which actions should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Explanation:
For the given requirements, you should configure the following actions:
* For child data items not to be displayed on the request page for some master-detail reports, set the DataItemLinkReference property to the parent data item.
* To decrease the amount of time to select key filter fields, specify the RequestFilterHeading property.
In Dynamics 365 Business Central, when customizing report request pages, certain properties can be set to control the behavior and display of the report options:
* Hiding Child Data Items:The DataItemLinkReference property is used to link a child data item to a parent data item in the data model of a report. Setting this property correctly will ensure that the child data items are related to the correct parent data item and will be displayed or hidden accordingly on the request page. If the goal is to prevent child data items from being displayed, you need to make sure they are correctly linked and configured to not appear.
* Optimizing Filter Field Selection:The RequestFilterHeading property is used to group filter fields on the request page. By specifying this property, you can create a more organized and user-friendly interface, which can significantly speed up the process of selecting filters. This property allows you to categorize filters into headings, making it quicker and easier for users to find and set the necessary filters for the report.
By adjusting these properties on the report request page as part of the per tenant extension customization, you will address the company's requirements to optimize the user experience when running reports.


NEW QUESTION # 70
You need to define the properties of the comments field of the Non-conformity page.
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.

Answer:

Explanation:

Explanation:


NEW QUESTION # 71
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?

  • A. SubType
  • B. Access
  • C. Description

Answer: A

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.


NEW QUESTION # 72
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.

Answer:

Explanation:

Explanation:
Each JSON file has its own purpose in Business Central extensions:
* app.json
* Purpose: This file holds metadata about the application and contains configuration settings for dependencies and startup object information.
* Startup object type and object ID should be configured here.
* launch.json
* Purpose: This file defines how to run and debug the application during development.
* Runtime settings are configured here.
Final Answer (Drag and Drop):
* Startup object type and object ID # app.json
* Runtime # launch.json
* Dependencies # app.json


NEW QUESTION # 73
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.

Answer:

Explanation:


NEW QUESTION # 74
You need to configure telemetry for the SaaS tenant and test whether the ingested signals are displayed.
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.

Answer:

Explanation:

Explanation:
The correct sequence of actions to configure telemetry for the SaaS tenant and test whether the ingested signals are displayed would be:
* Create an Azure Application Insights instance by using the Azure Portal in the Customer's subscription.
* Select the environment in the Admin Center and place the connection string in the Application Insights Connection String field.
* Select the Application Insights instance, select Logs and then inspect the Traces table.
To set up telemetry for a SaaS tenant using Azure Application Insights, you need to follow these steps:
* Create an Azure Application Insights instance: This is the first step where you create an instance in Azure that will collect the telemetry data. This should be done in the customer's Azure subscription because it's their data that you're monitoring.
* Configure the SaaS tenant to use the created Application Insights instance: This involves entering the correct connection string in the Business Central Admin Center so that telemetry data from the tenant is sent to the Application Insights instance.
* Verify that telemetry is being collected: After configuring, you would check if the telemetry is arriving as expected by inspecting the Traces table in the Azure Application Insights instance. The 'Traces' table holds the telemetry data, which you can query to verify that the correct signals are being ingested.


NEW QUESTION # 75
You need to define the properties of the comments field of the Non-conformity page.
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.

Answer:

Explanation:


NEW QUESTION # 76
A company has a task that is performed infrequently. Users often need to look up the procedure to complete the task.
The company requires a wizard that leads users through a sequence of steps to complete the task.
You need to create the page to enable the wizard creation.
Which page type should you use?

  • A. NavigatePage
  • B. Card
  • C. List
  • D. RoleCenter

Answer: A

Explanation:
For a task that is performed infrequently and requires users to follow a sequence of steps, a wizard-like interface is ideal. In Microsoft Dynamics 365 Business Central, the NavigatePage page type (A) is best suited for this purpose. NavigatePage is designed to guide users through a series of steps or pages, allowing them to complete a task by making choices or entering data in a structured manner. This page type is often used for setup wizards, data migration tasks, or any other process that benefits from a step-by-step approach. Unlike the other page types like Card (B), RoleCenter (C), or List (D), NavigatePage specifically supports the navigation and decision-making flow required for wizard creation, making it the optimal choice for this requirement.


NEW QUESTION # 77
How do effective tests in Business Central contribute to application development?

  • A. By confirming that changes in code do not break existing functionalities
  • B. By increasing the number of bugs found after deployment
  • C. By reducing the amount of code needed for applications
  • D. By directly interacting with the end-user interface

Answer: A


NEW QUESTION # 78
......

Real MB-820 Quesions Pass Certification Exams Easily: https://www.getvalidtest.com/MB-820-exam.html

Practice with these MB-820 dumps Certification Sample Questions: https://drive.google.com/open?id=1BfeymYYSuWdkdGoOGn7TfKLnmM9qK4bk