最適な練習法にはMicrosoft MB-820問題集で素晴らしいMB-820試験問題PDF
更新された検証済みの合格させるMB-820試験リアル問題と解答
質問 # 18
A company has a Business Central online environment.
You need to create an HTTP GET request that connects to an external REST service.
Which solution should you use?
- A. HttpClient data type variable
- B. HttpContent data type variable
- C. Codeunit 1297 "Http Web Request Mgt."
- D. Codeunit 1299 "Web Request Helper"
- E. Codeunit 5459 "JSON Management"
正解:A
解説:
To create an HTTP GET request that connects to an external REST service in a Business Central online environment, the solution to use is the HttpClient data type variable (E). The HttpClient data type in AL language is designed for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. This makes it the ideal choice for interfacing with external REST services, as it provides the necessary methods and properties to configure and execute HTTP GET requests, handle the responses, and process the data returned by the REST service.
This approach is more direct and flexible compared to using specific codeunits like "Web Request Helper" (B) or "Http Web Request Mgt" (D), which might not provide the same level of control or specificity needed for RESTful interactions.
質問 # 19
You are developing a codeunit for a company that uses Business Central.
The code unit must be run only during installation of an extension package.
You need to create the codeunit.
How should you complete the code' To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
正解:
解説:
Explanation:
Subtype: Install
Trigger: OnInstallAppPerCompany
You are developing a codeunit that should only run during the installation of an extension package.
Options:
* Subtype: The correct subtype is Install, as it indicates that the codeunit runs only when the extension is being installed.
* Trigger: The correct trigger for running during installation is OnInstallAppPerCompany, which handles code execution when the app is installed for a specific company.
質問 # 20
Hotspot Question
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.
正解:
解説:
質問 # 21
You need to create the Install codeunit that is requited in the extension used for installing or updating the Housekeeping app.
Which data type or declaration should you use? To answer, select the appropriate options in the answer area.
NOTE; Each correct selection is worth one point.
正解:
解説:
Explanation:
For the Install codeunit required for the extension used for installing or updating the Housekeeping app, you should use the following data type and declaration:
* Data type for information: ModuleInfo
* Start of the declaration of the method or procedure to perform the tasks: local procedure In AL language, which is used for developing extensions in Business Central, an Install codeunit is a special type of codeunit that is used to handle installation or upgrade logic for an extension.
* ModuleInfo is a data type that contains information about the current extension, such as its version. It is typically used within the OnInstallAppPerCompany or OnUpgradePerCompany triggers of an Install codeunit to determine if the app is being installed for the first time or upgraded.
* A local procedure within an Install codeunit is a method that is only accessible within the codeunit itself. It is not visible to other objects or extensions. This is suitable for tasks that are internal to the installation process and should not be exposed globally.
These selections align with the requirements of handling installation and update procedures in a controlled and encapsulated manner within Business Central extensions.
質問 # 22
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. Copy the same caption for each language in the translation file.
- B. Delete the Caption property.
- C. Use the CaptionML property and copy the same caption for each language used.
- D. Set the GenerateLockedTranslations feature in the appjson file.
- E. Add the Locked = true parameter to the Caption.
正解:E
解説:
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.
質問 # 23
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.
正解:
解説:
Explanation:
To properly apply the No. Series Design Pattern in the OnInsert() trigger, the correct sequence of actions should be as follows:
* ContosoSetup.Get();
* First, retrieve the Contoso Setup record using the Get method. This ensures that the necessary setup information is available, including the No. Series.
* if "No." = '' then begin
* Next, check if the No. field is empty. If it is, a new number from the No. Series should be assigned.
* NoSeriesManagement.InitSeries(ContosoSetup."Vendor Nos.", "No. Series", 0D, "No.", "No.
Series");
* Call the InitSeries function to assign a new number from the No. Series. This initializes the No.
Series for the Vendor Nos. field.
* ContosoSetup.TestField("Vendor Nos.");
* Lastly, ensure that the Vendor Nos. field is populated and valid by calling TestField.
Correct Order for Code Segments:
* ContosoSetup.Get();
* if "No." = '' then begin
* NoSeriesManagement.InitSeries(ContosoSetup."Vendor Nos.", "No. Series", 0D, "No.", "No.
Series");
* ContosoSetup.TestField("Vendor Nos.");
質問 # 24
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. Use the default API configuration in Business Central
- D. Include in the extension a codeunit of type Install that publishes RoomsAPI.
正解:D
解説:
* 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
質問 # 25
A company is setting up a sandbox environment.
You observe the following issues in Visual Studio Code:
* When you open the User Settings window, no AL command is available
* In the Problems tab. the error 'The target page Customer List for the extension object is not found' is displayed.
You need to identify a solution for each issue.
Which solutions should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
正解:
解説:
Explanation:
No AL command in User Settings:The correct solution is to Install the AL Language extension.
* This issue arises when the AL Language extension is not installed in Visual Studio Code, which is required to work with AL projects in Business Central.
Error in the Problems tab:The correct solution is to Download Symbols.
* This error typically occurs when the symbols (metadata for pages, tables, etc.) are not downloaded, and Visual Studio Code cannot resolve the reference to the Customer List page. Downloading symbols should fix the problem.
質問 # 26
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 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.

- B.

- C.

- D.

- E.

正解:A、B
解説:
The task is to identify unwanted incoming web service calls during the last seven days. To do this, we need to look at KQL (Kusto Query Language) queries that would filter out web service calls based on the timestamp (to ensure the calls are within the last seven days) and by certain characteristics that would indicate they are unwanted, such as the wrong type of protocol (SOAP in this case, as Contoso Ltd. plans to dismiss using it).
質問 # 27
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. Description
- B. Access
- C. SubType
正解:C
解説:
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.
質問 # 28
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.
- A. Change the name parameter to TEST.
- B. Change the authentication parameter to UserPassword.
- C. Check which server the instance is installed on and replace http//localhost with the correct IP address.
- D. Change the server Instance parameter to TEST
- E. Add the port: 7149 parameter.
正解:D、E
解説:
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.
質問 # 29
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?
- A. Unlicensed
- B. Role
- C. PerUserServicePlan
- D. Implicit
正解:C
解説:
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.
質問 # 30
You need to define the data types for the fields of the N on-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. Char for the Non-Conformity Number field
- B. Date for the Non-Conformity Date field
- C. Code for the Non-Conformity Number field
- D. Integer for the N on-conformity Number field
- E. Date Time for the Non-Conformity Date field
正解:A、C
解説:
In Business Central, fields in tables are assigned specific data types that determine the kind of data they can store. For the Non-conformity table mentioned in the case study, the following data types should be used:
* Date for the Non-Conformity Date field: This is because the Non-conformity Date field is required to store only the date when the non-conformity was recorded. The Date data type is appropriate for storing dates without times.
* Code for the Non-Conformity Number field: The Non-conformity Number field is described to use alphanumeric values with a format that includes "NC" and the year, like "NC24-001". In Business Central, the Code data type is used for fields that store alphanumeric keys. It is a text field with a limited length, which makes it suitable for number series that contain letters and numbers.
Other options are not suitable:
* A. Integer for the Non-conformity Number field: This would not be appropriate because the Non- conformity Number includes alphanumeric characters and not just integers.
* B. DateTime for the Non-Conformity Date field: This is not correct because there is no requirement to store the time alongside the date.
* C. Char for the Non-Conformity Number field: Char data type is not typically used in Business Central for number series or identifiers. The Code data type is preferred for this purpose.
Topic 2, Contoso, Ltd. 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.
Contoso, Ltd. uses Business Central online as the main ERP for financial. 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.
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.
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 nan Postlude.
* Code modifications will be required over time.
* The Issue Management process must be split into two extensions:
o ISSUE BASE: main extension
o 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 Issue Total.
* 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:
field (2; Description; Text[SG])
{
DataClassificstion * CustoaerContent;
>
* The Issue table defined in ISSUE BASE extension contains a Clone procedure defined as follows:
procedure Corte () begin end;
* In the ISSUE EXT extension, you create a table extension object of the Issue table.
* The table extension object of the Issue table must access the Issue Total: 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:
(Service Enabled]
procedure Copy (vary action Context: WebServiceActionContext)
begin
end;
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.
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.
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.
質問 # 31
You create the following Vendor table and Item table in Business Central.
You require the following data set to assign vendors to items.
You need to create a query to assign the vendors.
Which three code blocks should you use to develop the solution? To answer, move the appropriate code blocks from the list of code blocks 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.
正解:
解説:
1 - dataitem(Vendor; Vendor)
2 - dataitem(Item; Item)
3 - DataItemLink = "Vendor No." = Item.Vendor_No;
質問 # 32
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.
正解:
解説:
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.
質問 # 33
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.
NOTE: Each correct selection is worth one point.
正解:
解説:
Explanation:
質問 # 34
......
更新されたPDF(2025年最新)実際にあるMicrosoft MB-820試験問題:https://www.goshiken.com/Microsoft/MB-820-mondaishu.html
問題集返金保証付きのMB-820問題集公式問題集:https://drive.google.com/open?id=1DW8sF4Sr6zDyrSLQbC93aT2JFyC_eqr_