Microsoft Certified:Dynamics 365 Business Central Developer Associate
Domain 4Objective 3
Use AL to Extend Business Central MB-820 Practice Questions (Page 5)
Part of the Develop by using AL domain, which accounts for 15–20% of the MB-820 exam. Microsoft does not publish an official question count, but from its 100-minute exam (~40–65 total, ~6–13 in this domain), expect 2–4 from this objective — we provide 33 practice questions to prepare you well beyond it. (estimate)
33questions here
7free pages
10concepts
15–20%of the exam
Questions 21–25
- 21
A developer is writing a procedure that calculates the total price of a sales order, including a discount that is applied only if the order total exceeds a certain threshold. The developer uses the following expression: TotalPrice := IF Subtotal > 1000 THEN Subtotal * 0.9 ELSE Subtotal;. Which data type should the variable TotalPrice be?
Select an answer first - 22
A developer is creating an AL extension that exports sales orders to a file. The file must be saved to a network share that is accessible from the Business Central server. The developer needs to ensure that the file is written atomically so that other processes do not read a partially written file. Which approach should the developer use?
Select an answer first - 23
A developer is writing AL code to delete all sales lines for a given sales order. The code must be efficient and handle the case where there are no lines. Which approach should the developer use?
Select an answer first - 24
A developer is extending a Business Central extension that processes incoming sales orders. The current code inserts a Sales Header record and then calls a custom procedure to calculate discounts. If the discount calculation fails, the Sales Header record remains inserted, causing orphaned data. The developer needs to ensure that if any error occurs during the order processing, all changes are rolled back. What should the developer do?
Select an answer first - 25
A developer is writing a codeunit that updates inventory quantities for multiple items. The update process must be efficient and minimize locking conflicts. The developer needs to update the quantity for each item based on a temporary table of changes. Which approach should the developer use?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Microsoft. “MB-820” is a trademark of its owner, used for identification only.