Exam Information
Free practice questions with explanations
Microsoft MB-820 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 13
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Multiple choice Develop by using AL objects
A developer must set up permissions for a custom job queue codeunit that updates inventory on a schedule. The codeunit must run under a service account with access only to the required tables, and administrators should be able to grant the same access to other users without editing the codeunit. Which TWO actions should the developer take? (Choose two.)
Correct Answer: A, EExplanationA custom permission set limited to the inventory tables lets administrators assign that access to other users without changing code, and the codeunit's Permissions property enforces the required minimal permissions at execution. SUPER and full access sets violate least privilege. Removing codeunit permissions causes failures when the job runs under a user lacking table access, so it does not meet the reliability requirement.
-
2 Question 2 Single choice Describe Business Central
A manufacturer runs Business Central online for its finance team and has a custom AL extension that adds a costing report. The company is evaluating whether to move the extension to a sandbox for testing before production updates. Its IT governance requires that customizations never be modified directly in production and that the team can validate each Business Central monthly update before it reaches production users. The company has no on-premises servers and wants to minimise infrastructure management. Which approach best meets these requirements?
Correct Answer: AExplanationBusiness Central online supports sandbox environments that mirror production and can receive the upcoming update ahead of production, so the extension can be validated without any on-premises infrastructure. Running a local on-premises server contradicts the no-infrastructure constraint. Modifying base objects violates the extension-only customization rule, and restoring production copies into another production tenant is not a supported update-testing pattern.
-
3 Question 3 Single choice Develop by using AL
A developer is building a tenant-wide setup experience for a distribution extension. The setup record must be configured before any user can post sales orders, and the Business Central Assisted Setup page should guide an administrator through the steps. The extension must work for administrators who open the setup page in any order, and the developer wants the completion status to be reflected automatically once the setup record has valid data. Which design best meets these requirements?
Correct Answer: AExplanationAssisted Setup is integrated by registering a guided setup entry that points to a setup page, with a completion check that evaluates the actual configuration, so status updates automatically regardless of order. An OnOpenPage flag with a manual button does not reflect real data state. Teaching tips are onboarding aids, not completion tracking. Using the first posting to record completion is too late, since setup must precede posting.
-
4 Question 4 Single choice Develop by using AL objects
A logistics company needs an XMLport that imports shipment confirmations from a partner system. The file contains a header element and many line elements, and each line must be imported into a custom table only when its quantity is greater than zero. The import must not fail the whole file because of blank lines, and the company wants the import to run in a codeunit called by a job queue entry. Which design should the developer choose?
Correct Answer: BExplanationAn import XMLport with a table element for the lines can use the element's OnBeforeInsertRecord or trigger logic to skip zero-quantity lines, and the XMLport can be run from AL code with its Import method inside a codeunit. Setting Direction to Export would not read the file at all. XMLports are callable from codeunits, so the report alternative is unnecessary. A page-based parse ignores the job queue requirement and is not the intended pattern for this file-handling task.
-
5 Question 5 Single choice Develop by using AL
A developer is writing a codeunit that calls a web service and must handle the case where the HTTP response indicates a server error. The code must avoid leaving partially written records in the database if a later step fails, and it must show a meaningful message to the user. Which error-handling approach best meets these requirements?
Correct Answer: BExplanationIn AL, an Error call raises a runtime error that rolls back the current write transaction, which is the mechanism that prevents partial data. Wrapping logic in a procedure that returns a Boolean or using a clear error message lets the caller decide on user feedback. Commit after each write defeats the rollback requirement. Ignoring the status code and using Message to continue loses data integrity and reports failures poorly.
-
6 Question 6 Single choice Install, develop, and deploy for Business Central
A partner maintains three AL extensions that share a common base library and must be built together in one Visual Studio Code workspace. Each extension has its own app.json and must have a distinct object ID range. The partner wants builds to resolve dependencies correctly and to compile the shared library before the two dependent extensions. The partner also needs debugging to work on each extension separately. Which configuration should the developer use?
Correct Answer: AExplanationEach AL project needs its own app.json, and dependencies are declared in the dependent app.json so the build order is resolved; a multi-root workspace lets each extension be built and debugged separately. A single app.json cannot represent three apps, and cross-dependency circularity breaks the build. Merging projects removes separate deployment and debugging, and copying source duplicates the library, causing conflicting object definitions.
-
7 Question 7 Single choice Integrate Business Central with other applications
A retailer wants Business Central to pull exchange rates from an external REST service every hour through a job queue. The service returns a JSON array of currency objects. The developer must parse the response and avoid failures caused by unexpected fields in future responses. Which implementation is best?
Correct Answer: BExplanationThe HttpClient and HttpRequestMessage classes issue the call, and JsonArray and JsonObject allow selective reading of required tokens, which tolerates extra fields in future responses. OData pages consume OData services rather than arbitrary JSON. XMLports handle XML, not JSON. Manual entry defeats the scheduled automation requirement.
-
8 Question 8 Single choice Integrate Business Central with other applications
A company exposes Business Central sales order data to a web portal through an API page. Portal users must be able to create orders but must not be able to change the posting date of existing orders. The integration uses OData and the company wants to restrict the operation at the API level rather than through the portal. Which approach best meets the requirement?
Correct Answer: BExplanationAn API page controls which fields are exposed and which operations (insert, modify, delete) are enabled, so a separate create-oriented API page without the posting date field enforces the rule at the service level. Hiding a field client-side does not protect the API. A permission denying Modify on the header table would also block creation of the header for any user needing that operation, failing the requirement. Client-side read-only controls do not restrict OData calls.
-
9 Question 9 Single choice Work with development tools
A team has an extension with a codeunit that calculates discount tiers. Management requires automated regression coverage before every deployment to a sandbox. The team wants to use the standard Business Central Test Toolkit, run the tests in a repeatable way in its pipeline, and ensure that test data does not persist between runs. Which approach should the developer implement?
Correct Answer: BExplanationTest codeunits with the Test subtype and test procedures marked with the Test attribute are run by the Test Toolkit, which supports repeatable execution, and each test runs within a transaction that is rolled back so data does not persist. Manual Message-based checks are not automated or repeatable. Persisting test results in a custom table violates the no-persistence requirement, and telemetry is for monitoring production behaviour rather than pre-deployment regression testing.
-
10 Question 10 Single choice Work with development tools
A support team reports that an extension's posting routine has slowed down in production over the past two weeks. The developer must identify where time is being spent without changing the code, must avoid exposing customer data in the logs, and must keep the diagnostic data within the Business Central telemetry pipeline. Which action should the developer take first?
Correct Answer: BExplanationBusiness Central telemetry, viewed through Application Insights or the telemetry pipeline, reports operation durations and dimensions without any code change, and it can be filtered to keep personal data out. Adding Message statements with customer fields exposes data and changes behaviour. Copying production data violates the scope of diagnosing without exposing data. Disabling telemetry removes the very evidence needed and does not address the cause.
-
11 Question 11 Single choice Develop by using AL
A developer is designing a custom list page that shows only the sales orders created by the signed-in user's sales team. The team membership is stored in a custom table, and a user can belong to several teams. The page must not display orders that the user cannot see, and the filtering must be applied even if the user navigates from another page. Which technique should the developer use?
Correct Answer: BExplanationA query or view in AL that joins the orders with the team membership table and is used as the page source enforces the filtering at the data source, so it applies regardless of navigation. A filter on Salesperson Code only covers one user and ignores team membership. Making the page non-editable does not hide records. A warning message still displays records the user is not permitted to see.
-
12 Question 12 Multiple choice Develop by using AL objects
A developer is building a report that prints customer statements in several languages. The report must use a request page that lets users choose the language, the statement must print labels in the chosen language, and the data must not be duplicated for each language. Which TWO actions should the developer take? (Choose two.)
Correct Answer: B, EExplanationMultilanguage reports use layouts for each language (such as RDLC or Word layouts) with translations, and CurrReport.Language is used to set the output language at runtime so one report object serves all languages without duplicating data processing. Duplicate report objects multiply maintenance. Hard-coding English labels fails the requirement. Copying data into the dataset for each language is unnecessary and wasteful.
-
13 Question 13 Multiple choice Build and extend tables
A distributor has a custom table that stores warehouse picking tasks. The table will be extended by a partner extension that adds a new field. The development team must avoid breaking the existing data model and must ensure the primary key remains stable for integrations that already reference it. Which TWO design decisions should the developer make? (Choose two.)
Correct Answer: B, EExplanationTable extensions add fields to an existing table without altering the base object, which is the supported extensibility route. Keeping the primary key and existing fields unchanged preserves integrations that rely on them. Changing the primary key breaks references and data uniqueness for current integrations. Deleting and recreating the table risks data loss and breaks dependent objects. Marking the field Internal would hide it from the partner who needs to use it.
These are 13 of the 122 questions in the full MB-820 pack.
Get All 122 QuestionsGet all 122 questions & answers
Full access options for Microsoft MB-820
Self-study
PDF Version
- 122 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 122 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 122 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the MB-820 Exam (Microsoft Dynamics 365 Business Central Developer) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.