ExamGecko
Home / Microsoft / MB-820 / List of questions
Ask Question

Microsoft MB-820 Practice Test - Questions Answers, Page 8

List of questions

Question 71

Report
Export
Collapse

HOTSPOT

You need to create the configuration table and page for the non-conformity functionality.

Which table configurations should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point


Microsoft MB-820 image Question 71 120323 10132024090839000
Correct answer: Microsoft MB-820 image answer Question 71 120323 10132024090839000
asked 13/10/2024
Chan Park
36 questions

Question 72

Report
Export
Collapse

HOTSPOT

You need to populate the Incident Date and Status fields in the Room Incident table.

Which instructions or trigger should you use? To answer, select the appropriate options in the answer area

NOTE: Each correct selection is worth one point


Microsoft MB-820 image Question 72 120324 10132024090839000
Correct answer: Microsoft MB-820 image answer Question 72 120324 10132024090839000
asked 13/10/2024
Alberto Paniagua
30 questions

Question 73

Report
Export
Collapse

You need to create the access modifier for IssueTotal.

Which variable declaration should you use?

Protected vat IssueTotal: Decimal

Protected vat IssueTotal: Decimal

Internal var IssueTotal: Decimal

Internal var IssueTotal: Decimal

Public var IssueTotal: Decimal

Public var IssueTotal: Decimal

Local var IssueTotal: Decimal

Local var IssueTotal: Decimal

Var IssueTotal; Decimal

Var IssueTotal; Decimal

Suggested answer: B

Explanation:

In Business Central development using AL (the language for Business Central extensions), the use of access modifiers defines how variables and procedures are accessed within and outside of an object or codeunit.

Access Modifiers in AL:

Public: A public variable can be accessed from any object or codeunit within the same module or extension.

Protected: This restricts access to the current object and objects that inherit from the current object. However, in AL (at least in versions used for Business Central), the Protected access modifier is used with methods but not variables.

Internal: This modifier restricts the visibility to the current extension. This means that variables or methods declared as internal can only be accessed from within the same extension. This is appropriate when you want to provide functionality that is shared within the extension but not exposed externally.

Local: This restricts the variable or method to the current object or method where it is declared. It cannot be accessed from anywhere else, even within the same extension.

Scenario Justification:

In the scenario for Contoso, Ltd., IssueTotal is a global variable in the ISSUE BASE extension, and the ISSUE EXT extension needs to access it. Therefore, the variable cannot be declared as Local, because this would restrict access to just the current object (or method).

Using Public would expose the variable outside of the extension, which is unnecessary because you only want other parts of the extension (specifically the ISSUE EXT extension) to have access.

The best choice in this case is Internal because it restricts access to the variable to within the same extension, which includes the base extension and any dependent extensions like ISSUE EXT. It strikes the right balance between visibility and encapsulation.

Microsoft Dynamics 365 Business Central Developer

DRAG DROP:

Access Modifiers in AL: Microsoft's documentation on AL provides the details on access modifiers, where it is specified that internal variables can be accessed within the extension, and the public variable is accessible across all extensionssource: Microsoft Learn on AL Programming.

Best Practices for AL Development: Business Central development best practices suggest keeping variables internal unless they need to be accessed outside of the current extensionsource: Microsoft Learn on AL development guidelines.

asked 13/10/2024
Phillip Roos
49 questions

Question 74

Report
Export
Collapse

DRAG DROP

You need to implement the Issue Management module and expose the Postlssue method.

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.

NOTE: Note than one order of answer choices is correct. You will receive credit for any of the correct orders you select.


Microsoft MB-820 image Question 74 120326 10132024090839000
Correct answer: Microsoft MB-820 image answer Question 74 120326 10132024090839000
asked 13/10/2024
Princess Sophia Tuazon
41 questions

Question 75

Report
Export
Collapse

HOTSPOT

You need to log an error in telemetry when the business process defined in the custom application developed for Contoso, Ltd fails.

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.


Microsoft MB-820 image Question 75 120327 10132024090839000
Correct answer: Microsoft MB-820 image answer Question 75 120327 10132024090839000
asked 13/10/2024
Sergio Quintero Angel
36 questions

Question 76

Report
Export
Collapse

HOTSPOT

You need to parse the API JSON response and retrieve each order no. in the response body.

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.


Microsoft MB-820 image Question 76 120328 10132024090839000
Correct answer: Microsoft MB-820 image answer Question 76 120328 10132024090839000
asked 13/10/2024
Piotr Szwajkowski
37 questions

Question 77

Report
Export
Collapse

DRAG DROP

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.


Microsoft MB-820 image Question 77 120329 10132024090839000
Correct answer: Microsoft MB-820 image answer Question 77 120329 10132024090839000
asked 13/10/2024
Mohamed Isaaq
31 questions

Question 78

Report
Export
Collapse

HOTSPOT

You create a 'Contoso Post' procedure to send an http POST request in JSON format. You publish the procedure to your environment.

You write the following procedure code:

Microsoft MB-820 image Question 78 120330 10132024210839000000

The procedure does not work as expected.

You need to find and fix all errors in HTTP class usage.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.


Microsoft MB-820 image Question 78 120330 10132024090839000
Correct answer: Microsoft MB-820 image answer Question 78 120330 10132024090839000
asked 13/10/2024
CATALIN FLORESCU
36 questions

Question 79

Report
Export
Collapse

HOTSPOT

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.


Microsoft MB-820 image Question 79 120331 10132024090839000
Correct answer: Microsoft MB-820 image answer Question 79 120331 10132024090839000
asked 13/10/2024
Thomaz Stepheson
44 questions

Question 80

Report
Export
Collapse

You must simulate the user interaction of selecting a posting option. The options must include:

* Ship

* Invoice

* Ship & Invoice

You need to create a test codeunit to run the test.

What should you use?

Normal attribute

Normal attribute

Handler method

Handler method

Test attribute

Test attribute

Suggested answer: B

Explanation:

Handler methods are used in tests to simulate user interactions, such as responding to dialogs, confirmation messages, or option selections. Since you need to simulate the user interaction of selecting a posting option (Ship, Invoice, Ship & Invoice), a Handler method would be the appropriate choice for capturing this kind of user input.

Normal attribute and Test attribute are used for marking methods for test execution, but they do not simulate user interaction, making Handler method the correct answer.

For more details, see the Microsoft Docs on Test Codeunits and Handler Methods.

asked 13/10/2024
Mohamed Nacer Ferhi
41 questions
Total 113 questions
Go to page: of 12
Search

Related questions