Free Sample — 15 Practice Questions
Preview 15 of 96 real practice questions from the Microsoft MB-820 study guide.
Question 46
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. RoleCenter
D. List
Show Answer
Correct Answer: A
Explanation:
A NavigatePage is specifically designed to create assisted setup guides (wizards) in Business Central. It guides users step by step through infrequent or complex tasks, which matches the requirement for a wizard-based procedure.
Question 48
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 app.json 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.
Show Answer
Correct Answer: C
Explanation:
In Business Central AL, captions are translated through translation (.xlf) files unless they are explicitly locked. By adding the parameter Locked = true to the Caption (or label) definition, you instruct the platform not to include that caption in generated translation files, thereby preventing translation. The other options either still allow translation or are deprecated/not applicable.
Question 45
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 sets 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 in 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:
• The users receive permission errors related to MyTable.
• Users are no longer able to post sales orders since installing the new app.
• 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: Assign a SUPER permission set.
Does the solution meet the goal?
Show Answer
Correct Answer: B
Explanation:
Assigning the SUPER permission set grants full system access and violates the principle of least privilege. The requirement is to resolve permission errors without creating new permission sets and while limiting access to only what is necessary. Therefore, assigning SUPER does not meet the goal.
Question 26
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. HttpContent data type variable
B. Codeunit 1299 "Web Request Helper"
C. Codeunit 5459 "JSON Management"
D. Codeunit 1297 "Http Web Request Mgt."
E. HttpClient data type variable
Show Answer
Correct Answer: E
Explanation:
In Business Central online, outbound HTTP calls to external REST services are made using the HttpClient data type. HttpClient supports HTTP methods such as GET, POST, PUT, and DELETE and is the recommended and supported approach in SaaS environments. Other options are either helper/utility codeunits, intended for JSON handling, or legacy/on-premises patterns.
Question 11
You are creating a test codeunit for a company that uses Business Central.
The company requires the following list of choices while posting a sales order:
• Ship
• Invoice
• Ship & Invoice
You must create a test codeunit that automatically selects one of these options.
You need to create the test codeunit.
Which handler should you use?
A. SendNotificationHandler
B. SessionSettingsHandler
C. StrMenuHandler
D. RecallNotificationHandler
Show Answer
Correct Answer: C
Explanation:
In Business Central test codeunits, interactive UI choices such as STRMENU options (e.g., Ship, Invoice, Ship & Invoice during posting) are handled by a StrMenuHandler. This handler allows the test to automatically select a specific option when the STRMENU function is invoked. The other handlers relate to notifications or session settings and do not control menu choice selection.
Question 18
You develop an extension for the newest release of Business Central online.
You have a customer who has an earlier on-premises release of Business Central. The extension must be deployed to the customer's environment.
You need to deploy the extension to the older Business Central version,
What should you do?
A. Replace the latest version of the AL Language extension with the needed earlier version.
B. Uninstall the AL Language extension and install the AL Language extension from the Business Central on-premises installation pack.
C. Change the Runtime property value of the app.json file of the app.
Show Answer
Correct Answer: C
Explanation:
To deploy an extension developed for a newer Business Central release to an older on-premises version, you must target the correct runtime. The Runtime property in app.json controls which Business Central platform version the extension is compiled against and ensures compatibility with the older environment. Changing the runtime allows the extension to be deployed without changing or reinstalling the AL Language extension itself.
Question 32
A company uses Business Central. Users in DepartmentA are assigned a base application permission set.
The company observes that DepartmentA can display a critical page that should be unavailable to the department.
You need to resolve the system control issue.
What should you do?
A. Create a different role center page that excludes the critical page and assign it to the users.
B. Create a permission set object that excludes the critical table and assign it to the users.
C. Create an entitlement object that excludes the base application permission set.
D. Extend the base application permission set and configure the IncludedPermissionSets property.
E. Extend the base application permission set and configure the ExcludedPermissionSets property.
Show Answer
Correct Answer: E
Explanation:
In Business Central, you cannot remove permissions by assigning another permission set; permissions are additive. To prevent DepartmentA from accessing a critical page that is included via the base application permission set, you must extend that base permission set and explicitly exclude the permission set that grants access to the critical page using the ExcludedPermissionSets property. This is the correct and supported way to restrict access inherited from a base permission set.
Question 31
A company has a test application.
A user observes the following error messages when running the test:
• “Unhandled UI: Message”
• “Unhandled UI: Confirm”
You need to resolve the errors.
Which action should you take?
A. Create a separate test codeunit that has Message Handler and Confirm Handler methods.
B. Create the Message Handler and Confirm Handler methods in the test runner codeunit.
C. Create a separate test runner codeunit that has Message Handler and Confirm Handler methods.
D. Create the Message Handler and Confirm Handler methods in the test codeunit.
Show Answer
Correct Answer: D
Explanation:
In Business Central automated tests, handler methods (MessageHandler, ConfirmHandler) must be defined in the same test codeunit as the test methods that invoke UI interactions. Tests cannot call handler methods located in other codeunits, including runner or separate handler codeunits. Therefore, adding the Message and Confirm handler methods directly to the test codeunit resolves the unhandled UI errors.
Question 30
HOTSPOT -
You plan to create a table to hold client data.
You have the following data integrity requirements:
Lookups into other records must be established.
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.
Show Answer
Correct Answer: Establish lookups into other records:
TableRelation
Validate if a record exists:
ValidateTableRelation
Explanation:
TableRelation defines the relationship to another table and enables lookups. ValidateTableRelation enforces that the referenced record exists when data is entered or modified.
Question 43
Case study -
This is a case study. Case studies are not timed separately from other exam sections. You can use as much exam time as you would like to complete each case study. However, there might be additional case studies or other exam sections. Manage your time to ensure that you can complete all the exam sections in the time provided. Pay attention to the Exam Progress at the top of the screen so you have sufficient time to complete any exam sections that follow this case study.
To answer the case study questions, you will need to reference information that is provided in the case. Case studies and associated questions might contain exhibits or other resources that provide more information about the scenario described in the case. Information provided in an individual question does not apply to the other questions in the case study.
A Review Screen will appear at the end of this case study. From the Review Screen, you can review and change your answers before you move to the next exam section. After you leave this case study, you will NOT be able to return to it.
To start the case study -
To display the first question in this case study, select the "Next" button. To the left of the question, a menu provides links to information such as business requirements, the existing environment, and problem statements. Please read through all this information before answering any questions. When you are ready to answer a question, select the "Question" button to return to the question.
Company background and technical environment
Current environment -
Fabrikam Inc. is a medium-sized company that plans to implement Dynamics 365 Business Central as an ERP system. The company has a development department that will help with the ERP implementation.
Most employees work remotely from different countries or regions and speak different languages. The various locations and languages cause issues with the current on-premises software.
Planned improvements -
Fabrikam Inc. plans to implement new and modern software to manage the company. The company wants to use Business Central because it is cloud-based and meets all company requirements.
The company intends to improve reporting and integration functionality by using modern tools such as Power BI and APIs. To reduce the amount of information sent by email, the company plans to expose vendor information to be consumed from external users.
Technical specifications -
The development department installed Visual Studio Code to create Business Central extensions so the ERP system could be customized according to company needs. All extensions must be developed for the Business Central 2024 wave 1 online version.
The development department plans to use telemetry to control the appropriate use of each new development and works directly in licensed sandbox environments supplied by Microsoft.
Department-specific requirements
The following departments at Fabrikam Inc. have multiple requirements:
• Development
• Control
• Accounting
• Quality
Development department -
The development department designed an extension for the purchase department. Because the developers plan to work with telemetry for monitoring operations, they need the Application Insights information. To accomplish this, the department must add a setting in the corresponding file.
The quality department does not want to receive any warning about the Application Insights setting when the extension is compiled.
Control department -
The control department requires customizations to Business Central by using a per-tenant extension (PTE) named Subcontract Docs. The PTE includes a table named Subcontract Documents. The table has the following fields:
ID: A unique identifier -
Subcontract No.: Related to the standard Vendors table
Description: A short description of a received document
Document: A media type that has the document
Comments: Comments about the document
Date: When the document was imported
Amount: Amount related with the imported document
Posted: Indicates if the document is managed
The extension must be in English - United States (ENU) and Spanish Traditional Sort (ESP) so the application can be used in both languages. The translations must be on the table, not on the page, to avoid repeating them. The control department does not want to use translation files.
The control department manager requires a brief guide for the Description and Comments fields when employees create a new record so users know what to include in the fields. The guide must disappear as soon as users add a value in the fields.
The Subcontract Documents table must be displayed on a new page named Subcontract Document List through an action from the standard Vendor page.
The Amount field, included in the Subcontract Document List, must be formatted in bold format when the record is posted (field Posted = true).
The control department also requires a report to display a list of subcontract documents named Subcontract Documents Excel List. The report must meet the following requirements:
• Downloads a file only in Microsoft Excel.
• Includes a predefined format with two worksheets: one with the posted subcontract documents and another with the unposted subcontract documents.
Accounting department -
The accounting department plans to use Power BI to analyze information generated by the control department. The accounting department plans to expose an API named API Customer Lines. To improve the performance, the API must use read-only information and work with a Query object to summarize the data.
You have the following code:
The accounting department must expose data such as the following:
The qty column must be the sum of the Outstanding quantity field of Sales Order Lines. It must be in descending order by quantity.
The department also exposes a page named Fabrikam Vendor API that includes vendor information from the Vendor table, such as number and name. The API must use the replica database to improve performance.
Because Fabrikam Inc. is based in multiple countries and regions, the company periodically must send accounting movements between two dates to the local tax offices named Fabrikam Accounting.
The format for this file must be an XML file generated by an XMLport object. For security reasons, it is not possible to receive data from this XMLport.
The generated XML file must have a schema like this:
Quality department -
The quality department requires that every new app or extension is designed to meet standard company guidelines. The quality department plans to follow the standard Business Central data model. The quality development must be able to use triggers correctly.
The department must ensure that when a vendor is deleted, the system also removes each record in the Subcontract Documents table related to the vendor. If the subcontract document record has the field Posted = false, it must not be possible to delete the record.
The department has a version 1.0.0.1 installed for an extension named Quality Control. The department develops a new version 1.0.0.2 and uses a codeunit with the subtype Upgrade to update it. The department requires the values for AppVersion and DataVersion on the trigger OnUpgradePerCompany after using NavApp.GetCurrentModuleInfo(myinfo).
You need to evaluate the version values of the Quality Control extension to decide how the quality department must update it.
Which two values can you obtain in the evaluation? Each correct answer presents part of the solution. (Choose two.)
NOTE: Each correct selection is worth one point.
A. AppVersion = 1.0.0.1
B. AppVersion = 1.0.0.2
C. DataVersion = 0.0.0.0
D. DataVersion = 1.0.0.1
E. DataVersion = 1.0.0.2
Show Answer
Correct Answer: B, D
Explanation:
In an upgrade codeunit, NavApp.GetCurrentModuleInfo returns the currently installed version before the upgrade runs. AppVersion reflects the new app package being installed (1.0.0.2), while DataVersion reflects the data schema version of the previously installed app (1.0.0.1). These are the two values available for evaluation in OnUpgradePerCompany.
Question 4
A company has extended Business Central.
You plan to submit the extension to AppSource.
You need to ensure that an application meets the technical requirements before submitting it for validation.
Which three actions should you perform? Each correct answer presents a complete solution. (Choose three.)
NOTE: Each correct selection is worth one point.
A. Ensure the .app file is digitally signed.
B. Use the OnBeforeCompanyOpen event for improved sign in time.
C. Use data classification on all tables and extension fields.
D. Include extension translation files with the submission.
E. Code all date fields in the mm-dd-yyyy format.
Show Answer
Correct Answer: A, C, D
Explanation:
Before submitting a Business Central extension to AppSource, Microsoft requires several technical checks. The .app file must be digitally signed to verify publisher identity and integrity. All tables and extension fields must use data classification to comply with data privacy and governance requirements. Translation (XLIFF) files must be included so the app supports localization. The other options are either best practices or irrelevant to AppSource technical validation.
Question 23
Case study -
This is a case study. Case studies are not timed separately from other exam sections. You can use as much exam time as you would like to complete each case study. However, there might be additional case studies or other exam sections. Manage your time to ensure that you can complete all the exam sections in the time provided. Pay attention to the Exam Progress at the top of the screen so you have sufficient time to complete any exam sections that follow this case study.
To answer the case study questions, you will need to reference information that is provided in the case. Case studies and associated questions might contain exhibits or other resources that provide more information about the scenario described in the case. Information provided in an individual question does not apply to the other questions in the case study.
A Review Screen will appear at the end of this case study. From the Review Screen, you can review and change your answers before you move to the next exam section. After you leave this case study, you will NOT be able to return to it.
To start the case study -
To display the first question in this case study, select the "Next" button. To the left of the question, a menu provides links to information such as business requirements, the existing environment, and problem statements. Please read through all this information before answering any questions. When you are ready to answer a question, select the "Question" button to return to the question.
Company background and technical environment
Current environment -
Fabrikam Inc. is a medium-sized company that plans to implement Dynamics 365 Business Central as an ERP system. The company has a development department that will help with the ERP implementation.
Most employees work remotely from different countries or regions and speak different languages. The various locations and languages cause issues with the current on-premises software.
Planned improvements -
Fabrikam Inc. plans to implement new and modern software to manage the company. The company wants to use Business Central because it is cloud-based and meets all company requirements.
The company intends to improve reporting and integration functionality by using modern tools such as Power BI and APIs. To reduce the amount of information sent by email, the company plans to expose vendor information to be consumed from external users.
Technical specifications -
The development department installed Visual Studio Code to create Business Central extensions so the ERP system could be customized according to company needs. All extensions must be developed for the Business Central 2024 wave 1 online version.
The development department plans to use telemetry to control the appropriate use of each new development and works directly in licensed sandbox environments supplied by Microsoft.
Department-specific requirements
The following departments at Fabrikam Inc. have multiple requirements:
• Development
• Control
• Accounting
• Quality
Development department -
The development department designed an extension for the purchase department. Because the developers plan to work with telemetry for monitoring operations, they need the Application Insights information. To accomplish this, the department must add a setting in the corresponding file.
The quality department does not want to receive any warning about the Application Insights setting when the extension is compiled.
Control department -
The control department requires customizations to Business Central by using a per-tenant extension (PTE) named Subcontract Docs. The PTE includes a table named Subcontract Documents. The table has the following fields:
ID: A unique identifier -
Subcontract No.: Related to the standard Vendors table
Description: A short description of a received document
Document: A media type that has the document
Comments: Comments about the document
Date: When the document was imported
Amount: Amount related with the imported document
Posted: Indicates if the document is managed
The extension must be in English - United States (ENU) and Spanish Traditional Sort (ESP) so the application can be used in both languages. The translations must be on the table, not on the page, to avoid repeating them. The control department does not want to use translation files.
The control department manager requires a brief guide for the Description and Comments fields when employees create a new record so users know what to include in the fields. The guide must disappear as soon as users add a value in the fields.
The Subcontract Documents table must be displayed on a new page named Subcontract Document List through an action from the standard Vendor page.
The Amount field, included in the Subcontract Document List, must be formatted in bold format when the record is posted (field Posted = true).
The control department also requires a report to display a list of subcontract documents named Subcontract Documents Excel List. The report must meet the following requirements:
• Downloads a file only in Microsoft Excel.
• Includes a predefined format with two worksheets: one with the posted subcontract documents and another with the unposted subcontract documents.
Accounting department -
The accounting department plans to use Power BI to analyze information generated by the control department. The accounting department plans to expose an API named API Customer Lines. To improve the performance, the API must use read-only information and work with a Query object to summarize the data.
You have the following code:
The accounting department must expose data such as the following:
The qty column must be the sum of the Outstanding quantity field of Sales Order Lines. It must be in descending order by quantity.
The department also exposes a page named Fabrikam Vendor API that includes vendor information from the Vendor table, such as number and name. The API must use the replica database to improve performance.
Because Fabrikam Inc. is based in multiple countries and regions, the company periodically must send accounting movements between two dates to the local tax offices named Fabrikam Accounting.
The format for this file must be an XML file generated by an XMLport object. For security reasons, it is not possible to receive data from this XMLport.
The generated XML file must have a schema like this:
Quality department -
The quality department requires that every new app or extension is designed to meet standard company guidelines. The quality department plans to follow the standard Business Central data model. The quality development must be able to use triggers correctly.
The department must ensure that when a vendor is deleted, the system also removes each record in the Subcontract Documents table related to the vendor. If the subcontract document record has the field Posted = false, it must not be possible to delete the record.
The department has a version 1.0.0.1 installed for an extension named Quality Control. The department develops a new version 1.0.0.2 and uses a codeunit with the subtype Upgrade to update it. The department requires the values for AppVersion and DataVersion on the trigger OnUpgradePerCompany after using NavApp.GetCurrentModuleInfo(myinfo).
You need to add a property to the Description and Comments fields with corresponding values for the control department manager.
Which property should you add?
A. InstructionalText
B. ToolTip
C. Description
D. Caption
Show Answer
Correct Answer: A
Explanation:
The requirement is to show brief guidance in the Description and Comments fields when users create a new record, and to have that guidance disappear as soon as a value is entered. In Business Central, the InstructionalText property is designed exactly for this purpose: it displays placeholder-style instructional guidance in empty fields and automatically disappears once the user enters data. ToolTip, Description, and Caption do not provide this behavior.
Question 13
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. Check which server the instance is installed on and replace http://localhost with the correct IP address.
B. Add the port: 7149 parameter.
C. Change the name parameter to TEST.
D. Change the authentication parameter to UserPassword.
E. Change the serverInstance parameter to TEST.
Show Answer
Correct Answer: B, E
Explanation:
To download symbols from an on-premises Business Central instance, the launch.json must correctly point to the developer services endpoint. You must specify the developer services port (7149) so VS Code can connect, and the serverInstance parameter must match the actual instance name (TEST). The authentication type is already Windows, localhost is valid since VS Code is on the same server, and the name parameter does not affect symbol download.
Question 24
A company plans to change a field on the Resource Card page in a Base Application.
You need to hide the field “Unit Price” from the Resource Card page.
Which code snippet should you use?
Show Answer
Correct Answer: D
Explanation:
To hide a field on a Base Application page in Business Central, you must use a page extension and modify the existing control. The correct snippet uses `modify("Unit Price")` with `Visible = false;` inside a `pageextension` targeting the Resource Card page. This is the supported and upgrade-safe way to hide an existing field.
Question 6
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 sets 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 in the review screen.
A company plans to optimize its permission sets.
The company has the following permission sets:
You need to provide the following implementation for a third permission set:
• Create a new Permission Set C that is a composite of Permission Set A and Permission Set B.
• Assign Permission Set C to a user.
You need to ensure that the user has only read access to the Job table.
Solution: Set the ExcludedPermissionSets property to Permission Set B.
Does the solution meet the goal?
Show Answer
Correct Answer: B
Explanation:
No. Setting only the ExcludedPermissionSets property to Permission Set B does not create a composite permission set. Permission Set C would not include Permission Set A at all, so it would not grant the intended baseline permissions. To form a composite and then restrict access, Permission Set A must be included, and conflicting permissions from Permission Set B must be excluded. Therefore, the proposed solution does not meet the goal.