Microsoft Dynamics 365 Business Central Developer (MB-820) Free Practice Test
Question 1
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.


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.

Correct Answer:

Explanation:
dataitem(Item; Item)
SqlJoinType = InnerJoin;
DataItemLink = "Vendor No." = Vendor.Vendor_No;
Question 2
You are cleaning up sandbox environments for a company.
The company requires data to be cleared from the environments each time an extension is published.
You need to configure the launch.json file.
Which schemaUpdateMode property should you set?
The company requires data to be cleared from the environments each time an extension is published.
You need to configure the launch.json file.
Which schemaUpdateMode property should you set?
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 3
You have a query object named Items Query. You write code using an Items Query query variable. You need to export the Items Query query data to a file. Which SaveAs function should you use?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 4
You need to create the codeunit to read the POS terminal APIs.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE; Each correct selection is worth one point.

How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE; Each correct selection is worth one point.

Correct Answer:

Explanation:

codeunit 52102 "POS API Management"
{
Access = Public;
Permissions = TableData "POS Information" = rwdx;
trigger OnRun()
begin
readAPI();
end;
procedure readAPI()
begin
// Your code here to read from the POS API
end;
}

Question 5
You plan to call a web service by using the data type HttpClient from a Business Central AL extension You must provide the following implementation for the web service call:
* The web service must authenticate the client with a certificate.
* The certificate must include a password.
* The password must be hidden when you debug the code
You need to include the certificate in the web service call. Which instruction should you use?
* The web service must authenticate the client with a certificate.
* The certificate must include a password.
* The password must be hidden when you debug the code
You need to include the certificate in the web service call. Which instruction should you use?
Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 6
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?
You need to create an HTTP GET request that connects to an external REST service.
Which solution should you use?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 7
You are treating an app tor Business Central.
You plan to specify the following parameters and properties of the server and app.
* Startup object type and object ID
* Runtime
* Dependencies
You need to configure the JSON file for the specified parameters and properties Which JSON files should you configure? To answer, move the appropriate files to the correct object purposes You may use each file 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.

You plan to specify the following parameters and properties of the server and app.
* Startup object type and object ID
* Runtime
* Dependencies
You need to configure the JSON file for the specified parameters and properties Which JSON files should you configure? To answer, move the appropriate files to the correct object purposes You may use each file 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.

Correct Answer:

Explanation:

Question 8
You plan to run a debug for a client.
You extend the Standard Sales - Invoice report to add a new requirement.
You create a Report Extension 'Ext Standard Sales - Invoice' with ID = 50100 and add the following lines of code. (Line numbers are included for reference only.)

The client informs you that the value of the New Total VATBaseLCY column is incorrect.
You need to run a debug to identify the cause.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

You extend the Standard Sales - Invoice report to add a new requirement.
You create a Report Extension 'Ext Standard Sales - Invoice' with ID = 50100 and add the following lines of code. (Line numbers are included for reference only.)

The client informs you that the value of the New Total VATBaseLCY column is incorrect.
You need to run a debug to identify the cause.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Correct Answer:

Explanation:

Question 9
You need to access the RoomsAPI API from the canvas app.
What should you do?
What should you do?
Correct Answer: A
Question 10
A company uses Azure Application Insights for Business Central online in its production environment.
A user observes that some job queues go into the failed state and require manual intervention.
You need to analyze job queue lifecycle telemetry.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

A user observes that some job queues go into the failed state and require manual intervention.
You need to analyze job queue lifecycle telemetry.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:

KQL Code Segment:
* First command (traces):
* The query begins with traces to analyze telemetry data logs. The next command determines how the results are filtered or displayed.
* take 100: This is the correct option to retrieve the top 100 rows from the traces table.
* Command for selecting fields:
* project: This command is used to select specific fields from the telemetry data, allowing you to retrieve and display only the fields relevant to the job queue telemetry.
* The correct answer is project, as it allows you to choose fields like jobQueueObjectId, jobQueueObjectType, etc., from the customDimensions table.