Microsoft certification · Exam MB-820

MB-820 Mock Exam Page 2

Microsoft Dynamics 365 Business Central Developer

Free MB-820 mock exam questions 11–20, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free MB-820 questions

11–20 of 34 free
Question 11
You create a table with fields.
You observe errors in the code
You need to resolve the errors.

Show answerHide answer

Explanation



Explanation:
In line 12, declare "Job Task" as a variable. = NO
Add the property FieldClass = FlowField; for field 3. = YES
Add the property FieldClass = FlowFilter; for field 3. = NO
In line 23, assign the "User Setup" table to a field. = YES

For "In line 12, declare 'Job Task' as a variable": In the AL code provided, the "Job Task" appears to be part of a CalcFormula of a FlowField, which means it references a table and not a variable. The "Job Task" does not need to be declared as a variable because it is used to reference a table in a CalcFormula expression.
For "Add the property FieldClass = FlowField; for field 3": The line of code CalcFormula = sum("Job Task"."Recognized Sales Amount" where("Job No." = field("No.")));
indicates that this field is calculated from other table data, which is the definition of a FlowField. Therefore, adding the property FieldClass = FlowField; is necessary for the field to function correctly.
For "Add the property FieldClass = FlowFilter; for field 3": FlowFilters are used to filter data based on the value in a flow field. Since field 3 is using a CalcFormula to sum values, it is a FlowField and not a FlowFilter. Therefore, this statement is not correct.
For "In line 23, assign the 'User Setup' table to a field": The line TableRelation = "User Setup"; suggests that the "Project Manager" field has a relation to the "User Setup" table, which is a method of assigning a table to a field to ensure that the values in "Project Manager" correspond to values in the "User Setup" table. Hence, this statement is true.
Question 12 Choose 1
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 Included Permission Sets property to Permission Set B and the Excluded PermissionSets property to Permission Set A.
Does the solution meet the goal?
Show answerHide answer

Correct answer: B No

Question 13 Choose 1
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 set 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 on 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: Decorate the event subscriber used for inserting data in MyTable by entering (lnherentPermissions(PermissionOb]ectType:TableData. Database:MyTable. 'R')] Does the solution meet the goal?
Show answerHide answer

Correct answer: A Yes

Explanation

Explanation: Using InherentPermissions in an event subscriber with the specified syntax could potentially resolve the permission issues related to MyTable, provided that the permissions specified (in this case, 'R' for Read) align with the minimum necessary for the users to perform their tasks. This approach allows the app to grant permissions dynamically based on the context of the event subscriber, which in this case is involved with inserting data into MyTable. By granting Read permission at the event level, it ensures that users have the necessary permissions to interact with MyTable in the context of the operations facilitated by the event subscriber, without needing to alter existing permission sets or grant broader permissions than necessary. This solution adheres to the principle of least privilege by ensuring that permissions are granted only within the narrow scope needed for specific operations, thereby potentially resolving the reported user issues in a secure and controlled manner.
Question 14 Choose 2
You are customizing Business Central by using Visual Studio Code. You create a project that will extend Business Central. The AL extension contains JSON files, which are automatically generated and are used to store configuration data For testing purposes, you plan to add the following changes to the files:

• Specify that page 21 must be opened after publishing.
• Enable debugging
• Disable the capability to download the source code
You need to add the configurations to the JSON files.

Which two configurations should you add? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Show answerHide answer

Correct answer: C, E Set "start upObjectld": 27 on appjson.In the "resourceExposurePolicy" tag, set "allowDebugging": true and "allowDownloadingSource": false on appjson.

Question 15
A company is examining Connect apps and Add-on apps for use with Business Central.
You need to describe the development language requirements for Connect apps and Addon apps.
How should you describe the app language requirements? To answer, move the appropriate app types to the correct descriptions. You may use each app type 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.

Show answerHide answer

Explanation



Explanation:
Developed by using any coding language: Connect app
Developed by using AL language in Visual Studio Code: Add-on app
In Microsoft Dynamics 365 Business Central, there are distinct types of applications that can be developed: Connect apps and Add-on apps. Each has its own development
language requirements:
Connect apps:
Add-on apps:
The language and environment used for developing these apps are key differentiators between Connect apps and Add-on apps.
Question 16
A company plans to integrate tests with its build pipelines.
The company has two Docket sandbox environments: SandboxA and SandboxB.
You observe the following:

• SandboxA is configured without the Test Toolkit installed.
• SandboxB must be configured from scratch. The Test Toolkit must be installed in SandboxB during configuration.
You need to configure the sandbox environments.
How should you complete the cmdlets? To answer, select the appropriate options in the answer area.

Show answerHide answer

Explanation

Question 17 Choose 2
A company is deploying Business Central on-premises.
The company plans to use a single-tenant deployment architecture.
You need to describe how the data is stored and how the Business Central Server is configured.
In which two ways should you describe the single-tenant architecture? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Show answerHide answer

Correct answer: A, B Each customer has their own Business Central Server.The application and the business data are stored in the same database.

Question 18
A company is implementing Business Central.
The company has the following requirements for a report:

• The report must be loaded for users in a specific location only.
• Data entered in the request page must be validated before any further processing.
• A filter must be defined for users based on the Department field defined in user setup.

You need to implement the given requirements.
Which triggers should you use? To answer, move the appropriate triggers to the correct requirements. You may use each trigger 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.

Show answerHide answer

Explanation

Question 19 Choose 1
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?
Show answerHide answer

Correct answer: D Recreate

Explanation

Explanation: In the context of cleaning up sandbox environments for a company where data needs to be cleared each time an extension is published, the schemaUpdateMode property in the launch.json file should be set to Recreate (D). Setting this property to Recreate ensures that every time the extension is published, the existing tables and data are dropped, and then the tables are recreated based on the current extension's schema. This mode is particularly useful in development and testing environments where you need a clean slate for testing each version of the extension without the remnants of previous data affecting the outcomes. It's important to use this setting cautiously, as it results in the loss of all existing data in the tables defined by the extension, which is suitable for a sandbox environment but not for production environments.
Question 20
You are developing an XMLport to export data from the parent Item table and a related child "Item Unit of Measure' table. The XMLport configuration must provide the following:

• Link the child table to its parent.
• Display a confirmation message after the XMLport runs.
You need to generate the XMLport.

What should you do? To answer, move the appropriate triggers to the correct requirements. You may use each trigger 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.

Show answerHide answer

Explanation

Full mock exam

Sit the MB-820 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real MB-820 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full MB-820 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 117questions in the bank
  • Newmock on every attempt