Home / Microsoft Dynamics 365 Business Central Developer (MB-820) / Mock exam
Microsoft Dynamics 365 Business Central Developer (MB-820) Exam-style mock test

Microsoft MB-820 Dynamics 365 Business Central Developer Practice Exams|Practice test

Full explanations Exam format Pass line 70%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · AL Development Environment and Fundamentals
A developer at a B2B SaaS firm is preparing a fresh Visual Studio Code workstation to build Business Central extensions. Which component must be installed to enable AL authoring and compilation?
✓The AL Language extension
Correct. The AL Language extension for Visual Studio Code provides the compiler, IntelliSense, and tooling needed to author AL extensions.
・The C/SIDE classic development client
Incorrect. C/SIDE is the legacy development environment and is not used for modern AL extension development.
・The SQL Server Management Studio reporting add-in
Incorrect. SSMS is a database tool and does not provide AL authoring or compilation capabilities.
・The AL Language extension together with the Microsoft Dynamics GP connector
Incorrect. The AL Language extension alone is sufficient; the Dynamics GP connector is unrelated to Business Central AL development.
Explanation
Modern Business Central development uses the AL Language extension in Visual Studio Code, which supplies the compiler and editing tools.
Example2 · Data Model: Tables, Pages, and Extensions
A B2B SaaS company builds a subscription-billing app and needs a new master table storing one record per customer contract. The developer must assign the table an object ID from the extension's reserved range and give each contract a stable unique key. Which table property defines that unique record identifier?
・The DataClassification property applied to each field
Incorrect. DataClassification tags fields for privacy compliance and does not establish record uniqueness.
✓The primary key, listed first in the table's keys section
Correct. The first key declared becomes the primary key and enforces a unique identifier per record.
・The TableType property set on the table object
Incorrect. TableType selects the storage model (Normal, Temporary, CRM) but does not define uniqueness.
・The DrillDownPageId property of the table
Incorrect. DrillDownPageId links a drill-down page and has no role in record identity.
Explanation
Every Business Central table requires a primary key; the first key in the keys section is the primary key that guarantees unique records.
Example3 · Business Logic: Codeunits, Events, and Interfaces
At the SaaS firm NorthReach, a developer wants to group reusable invoice-posting routines into a single callable object that holds no persistent data. Which AL object type should they use?
・A table extension object
Incorrect. A table extension adds fields to an existing table; it does not encapsulate callable business logic.
✓A codeunit object
Correct. A codeunit is the AL object designed to hold reusable procedures and business logic without storing persistent data.
・A query object that joins the involved ledger tables
Incorrect. A query object is for reading and combining data from tables, not for encapsulating posting logic.
・A report object
Incorrect. A report object renders datasets to output, which is not the purpose of grouping callable routines.
Explanation
Codeunits encapsulate business logic as procedures and are the standard container for reusable routines in Business Central.
Example4 · Reports, APIs, and Integration
A developer at a healthcare services firm builds an AL report that lists patient invoices. The dataset must iterate every posted invoice and output its lines. Which element defines the iteration over the Sales Invoice Header table?
✓A data item referencing the Sales Invoice Header table
Correct. A dataitem defines the table the report loops over, so referencing Sales Invoice Header makes the report iterate each posted invoice.
・A request page control bound to the header
Incorrect. The request page collects filter and option input from the user; it does not drive dataset iteration.
・A global variable set in OnPreReport
Incorrect. A global variable holds a value but does not cause the report engine to loop over table records.
・A labels section declared in the report
Incorrect. Labels define reusable caption text for rendering, not record iteration.
Explanation
Report iteration is controlled by dataitem elements; each dataitem binds to a table and loops its filtered records.
Example5 · Testing, Debugging, Deployment, and AppSource
A developer at a healthcare services firm writes an automated test for a patient-invoicing extension. They need the test method to be discovered and executed by the Business Central test runner. Which attribute should decorate the procedure?
・The [Normal] attribute on the procedure
Incorrect. [Normal] is not a valid AL test attribute and does not register the procedure with the test runner.
✓The [Test] attribute on the procedure
Correct. The [Test] attribute marks a procedure in a test codeunit so the runner discovers and executes it as a test.
・The [Business] attribute on the procedure
Incorrect. [Business] is not an AL attribute and has no role in test discovery.
・The [HandlerFunctions] attribute on the procedure
Incorrect. [HandlerFunctions] links UI handlers to a test but does not by itself mark a procedure as a test.
Explanation
Only procedures decorated with [Test] inside a codeunit of subtype Test are run by the Business Central test runner.
Example6 · AL Development Environment and Fundamentals
A developer at a healthcare services firm needs to start building an AL extension for Business Central. Which tool is required to author AL code with IntelliSense and compile the extension?
✓Visual Studio Code with the AL Language extension installed
Correct. Visual Studio Code with the AL Language extension is the supported environment that provides AL IntelliSense, compilation, and packaging.
・The in-client Designer surface for drag-and-drop changes
Incorrect. The in-client Designer only moves existing page elements and cannot author or compile AL source code.
・Business Central administration center
Incorrect. The administration center manages environments and tenants, not source authoring.
・SQL Server Management Studio
Incorrect. SSMS queries the database directly and cannot compile AL extensions.
Explanation
AL development requires Visual Studio Code with the AL Language extension, which supplies IntelliSense and the compiler.
Example7 · AL Development Environment and Fundamentals
A developer at the retail brand UrbanThread starts a new Business Central extension in VS Code. Which file holds the extension's id, publisher, version, and dependency declarations?
・launch.json
Incorrect. launch.json stores debug and server connection configuration, not the extension manifest metadata.
✓app.json
Correct. app.json is the extension manifest and declares the id, publisher, version, idRanges, and dependencies.
・settings.json
Incorrect. settings.json holds user or workspace editor preferences, not the extension's package manifest.
・rad.json
Incorrect. rad.json is a generated state file used for Rapid Application Development, not the manifest.
Explanation
Every AL extension carries an app.json manifest describing its identity, version, and dependencies on other apps.
Example8 · AL Development Environment and Fundamentals
The UrbanThread team must connect VS Code to their Business Central sandbox for publishing and debugging. Which configuration file stores the server, authentication, and environment settings?
・app.json
Incorrect. app.json is the manifest describing the extension's identity and dependencies, not the server connection.
✓launch.json
Correct. launch.json defines the launch configuration, including server, tenant, environment type, and authentication.
・package.json
Incorrect. package.json is a Node.js project file and is not used by AL to connect to Business Central.
・AppSourceCop.json
Incorrect. AppSourceCop.json governs analyzer rules for AppSource validation, not server connectivity.
Explanation
launch.json holds the environment and authentication details that AL uses to publish and attach the debugger.
Example9 · AL Development Environment and Fundamentals
UrbanThread needs to add fields to the standard Customer table without replacing it. Which object type should the developer create?
・A new table that duplicates the Customer fields
Incorrect. Duplicating the Customer table would break standard logic and is not how fields are added to base tables.
✓A table extension object
Correct. A table extension adds fields and logic to an existing table without modifying the base object.
・A page extension on the Customer Card
Incorrect. A page extension changes a page's layout but cannot add storage fields to the underlying table.
・A profile that customizes the role center
Incorrect. A profile assigns a role center and permissions but does not add fields to a table.
Explanation
Table extensions let you add fields to standard tables while preserving upgradeability.
Example10 · AL Development Environment and Fundamentals
A developer at a financial services firm must build AL extensions for Business Central online. Which code editor does Microsoft support for the AL Language extension?
・Visual Studio Code with the AL Language extension installed from the Marketplace
Incorrect. The editor is correct, but this phrasing is the long marketing variant; the concise supported product name is the expected answer.
・The built-in C/AL editor
Incorrect. C/AL is the legacy language for the classic C/SIDE environment, replaced by AL for modern extension development.
✓Visual Studio Code
Correct. Visual Studio Code hosts the AL Language extension and is the supported AL development editor.
・RapidStart Services
Incorrect. RapidStart Services is a configuration and data migration feature, not a code editor.
Explanation
AL development targets Business Central and is performed in Visual Studio Code with the AL Language extension.
Example11 · AL Development Environment and Fundamentals
A developer scaffolds a new AL project for a lending-platform extension. Which file stores the server and authentication details used to publish and debug?
・app.json
Incorrect. app.json holds the extension manifest such as id, name, version, and dependencies, not server connection settings.
・The launch.json file in the .vscode folder of the AL project
Incorrect. The path description is accurate, but the terse configuration file name is the answer expected here.
・settings.json
Incorrect. settings.json stores editor and AL preferences, not the publish and debug server configuration.
✓launch.json
Correct. launch.json defines the server, tenant, and authentication used to publish and debug the extension.
Explanation
Server and authentication connection details for publishing and debugging live in launch.json.
Example12 · AL Development Environment and Fundamentals
A manufacturing distributor wants to customize Business Central online so their changes survive future Microsoft updates without altering base code. Which development approach should the developer adopt?
・Modifying the base application objects in place through the designer
Incorrect. Base application objects are sealed in the online environment and cannot be edited directly.
✓Building an AL extension that uses events and table extensions
Correct. The extension model with events and table extensions lets customizations coexist with the base app and upgrade safely.
・Replacing the standard objects with custom per-tenant copies
Incorrect. Business Central online does not support replacing standard objects with custom copies of the base app.
・Exporting base objects to C/AL and editing them locally
Incorrect. C/AL and C/SIDE are legacy to the on-premises classic model and are not used for modern AL development.
Explanation
Modern Business Central development relies on AL extensions that augment rather than modify the base application, preserving upgradeability.
Example13 · AL Development Environment and Fundamentals
A developer scaffolds a new AL project for the distributor's warehouse extension and must set the publisher, version, and ID range before compiling. Which file holds this information?
・The launch.json file in the project's .vscode folder
Incorrect. launch.json configures the debugging and publishing target, not the extension's identity metadata.
✓The app.json manifest in the project root
Correct. The app.json manifest defines the extension's name, publisher, version, and object ID range.
・The settings.json file for the workspace
Incorrect. settings.json stores editor and AL extension preferences, not the manifest.
・The AL-Go workflow configuration file
Incorrect. AL-Go workflow files drive CI/CD pipelines and are unrelated to the app manifest.
Explanation
Every AL extension's metadata, including ID ranges and dependencies, is declared in app.json.
Example14 · AL Development Environment and Fundamentals
A telecom operator's dev team migrates legacy customizations to Business Central online. They must package new objects so they install without touching the base product. Which deployment artifact do they build?
✓A compiled AL extension package (.app file)
Correct. AL customizations ship as extension packages (.app) that install alongside the base app without modifying it.
・A C/SIDE object import FOB file
Incorrect. FOB files belong to the deprecated C/SIDE model and are not supported in modern AL online development.
・A direct base application table modification
Incorrect. Directly editing base application tables is blocked in the extension model; changes must be additive.
・A SQL Server stored procedure deployment
Incorrect. Business logic lives in AL objects within the extension, not in database stored procedures.
Explanation
The modern Business Central development model packages AL objects into .app extension files deployed without altering the base application.
Example15 · AL Development Environment and Fundamentals
A new developer at the telecom operator installs Visual Studio Code to build AL extensions for Business Central but has no AL commands available. What must they install first?
✓The AL Language extension for VS Code
Correct. The AL Language extension adds AL IntelliSense, compilation, and debugging support to VS Code.
・The full on-premises Business Central server role
Incorrect. Online development does not require installing the server role on the developer workstation.
・The NAV 2018 development C/SIDE client toolset
Incorrect. C/SIDE is legacy and is not used for modern AL development in VS Code.
・The SQL Server Management Studio package
Incorrect. SSMS manages databases and provides no AL authoring capability.
Explanation
AL development in VS Code requires the AL Language extension, which provides the compiler and language services.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)