What Refined MB-820 Practice Question Is

We provide real MB-820 exam questions and answers braindumps in two formats. Download PDF & Practice Tests. Pass Microsoft MB-820 Exam quickly & easily. The MB-820 PDF type is available for reading and printing. You can print more and practice many times. With the help of our Microsoft MB-820 dumps pdf and vce product and material, you can easily pass the MB-820 exam.

Page: 1 / 9
Total 113 questions Full Exam Access
Question 1
HOTSPOT - (Topic 4)
A company plans to customize its per tenant extension reports. The company has the following requirements for the customization:
• Child data items must not be displayed on the request page for some master detail reports.
• Selecting key filter fields takes users too much time. The customization must decrease the amount of time to select the fields.
You need to optimize the report request page.
Which actions should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
MB-820 dumps exhibit
Solution:
For the given requirements, you should configure the following actions:
✑ For child data items not to be displayed on the request page for some master- detail reports, set the DataItemLinkReference property to the parent data item.
✑ To decrease the amount of time to select key filter fields, specify the RequestFilterHeading property.
In Dynamics 365 Business Central, when customizing report request pages, certain properties can be set to control the behavior and display of the report options:
✑ Hiding Child Data Items:The DataItemLinkReference property is used to link a
child data item to a parent data item in the data model of a report. Setting this property correctly will ensure that the child data items are related to the correct parent data item and will be displayed or hidden accordingly on the request page. If the goal is to prevent child data items from being displayed, you need to make sure they are correctly linked and configured to not appear.
✑ Optimizing Filter Field Selection:The RequestFilterHeading property is used to
group filter fields on the request page. By specifying this property, you can create a more organized and user-friendly interface, which can significantly speed up the process of selecting filters. This property allows you to categorize filters into headings, making it quicker and easier for users to find and set the necessary filters for the report.
By adjusting these properties on the report request page as part of the per tenant extension customization, you will address the company's requirements to optimize the user experience when running reports.

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 2
HOTSPOT - (Topic 4)
You create a table with fields. You observe errors in the code You need to resolve the errors.
MB-820 dumps exhibit
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
MB-820 dumps exhibit
Solution:
✑ 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.

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 3
- (Topic 4)
A company uses Business Central.
The company has sales orders that have a different location in the header than in the customer's card. You plan to add a check on sales order posting.
The check must meet the following requirements.
• Sales Order must have the same Location Code as the Location Code set up on the customer's card.
• Must not be run in preview mode.
• Must be run even if the user is only shipping items and not invoicing.
You create an event subscription for codeunit 80 "Sales-Post" You need to identify which event to subscribe to Which event should you identify?
My answer: -
Reference answer: A
Reference analysis:

✑ This event occurs before posting a sales document.
✑ PreviewMode is available in the parameters, which allows checking whether the process is being run in preview mode.
✑ This event is typically used for sales order posting and can be used for both shipping and invoicing.
This event matches the requirements because:
✑ You can check if PreviewMode is false.
✑ It can run for both shipping and invoicing.

Question 4
HOTSPOT - (Topic 4)
You develop a test application.
You must meet the following requirements:
• Roll back changes to a test method after run time.
• Run an approve action on a test page named TestPageA.
You need to implement the given requirements on the test codeunit
Which actions should you perform? To answer, select the appropriate options in the answer area
NOTE: Each correct selection is worth one point.
MB-820 dumps exhibit
Solution:
To roll back changes to a test method after run time, you should:
✑ Set the TransactionModel attribute to AutoRollback.
To run an approve action on a test page named TestPageA, you should:
✑ Configure TestPageA.Approve.Invoke().
In Business Central's testing framework, the TransactionModel attribute can be set to AutoRollback. This ensures that any changes made during the test are rolled back after the test is complete, leaving the database in its original state.
For running an action on a test page, you would use the 'Invoke' method on the action you wish to perform. In this case, to run an approve action on TestPageA, you would use TestPageA.Approve.Invoke() within your test codeunit. This simulates the user action of approving something on the page.
These actions ensure that the testing environment is properly set up to test specific functionalities without persisting test data and to invoke actions as part of the test scenarios.

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 5
HOTSPOT - (Topic 4)
You are creating a new Business Central report.
You plan to use triggers and functions to dynamically create a dataset and control the report behavior.
You must provide the following implementation.
• Run when the report is loaded.
• Run when the data item is iterated for the last time.
• Skip the rest of the report.
You need to select the triggers and functions for the report.
Which triggers and functions should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
MB-820 dumps exhibit
Solution:
✑ Run when the report is loaded: OnInitReport
✑ Run when the data item is iterated for the last time: OnPostDataItem
✑ Skip the rest of the report: CurrReport.Skip()
Triggers and Functions:
✑ Run when the report is loaded.The correct trigger for running a function when the report is loaded is OnInitReport.
✑ Run when the data item is iterated for the last time.The correct trigger here is
OnPostDataItem.
✑ Skip the rest of the report.The correct function here is CurrReport.Skip().

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 6
- (Topic 4)
A company plans to meet new regulatory requirements. The regulator has issued new tax tiers.
You need to update the base application table by using a table extension. Which table field property can you change?
My answer: -
Reference answer: C
Reference analysis:

When updating the base application table using a table extension in Microsoft Dynamics 365 Business Central, certain properties of table fields can be modified to meet new requirements, such as regulatory changes. The DecimalPlaces property (B) is one such property that can be adjusted in a table extension. This property determines the number of decimal places that are displayed and stored for decimal fields in the table. Adjusting the DecimalPlaces property can be particularly useful when dealing with financial data and tax calculations that require precision to meet new tax tiers set by a regulator. It's important to note that not all properties can be modified in a table extension; for example, the CalcFormula property (A) cannot be changed as it affects how the field's value is calculated, which could have significant implications on the base application's logic.

Question 7
HOTSPOT - (Topic 2)
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.
MB-820 dumps exhibit
Solution:
Code Segment Analysis:
✑ The AL code is trying to read JSON data from a response and process it to extract subcontracting order numbers. It uses JsonToken, JsonObject, and JsonArray to work with the JSON data.
✑ JToken.ReadFrom(Data): This line reads the incoming JSON data and converts it into a token. It processes the full JSON body so you can start working with it.
✑ JToken.SelectToken("results"): This line selects the part of the JSON containing the results array. The key "results" is where the JSON response data is expected to be found.
✑ JsonArray: Once the results are extracted, they are stored as an array, and each
element in the array (which is expected to contain subcontracting order numbers) is processed.
✑ SubcontractingOrderNo: The extracted order_no from the JSON is stored in this
variable.
Breakdown of Steps:
✑ JToken.ReadFrom(Data): This step reads the entire JSON response.
✑ JToken.SelectToken("results"): This step selects the results array from the JSON response.
✑ JArray.AsArray(): This step converts the selected results token into a JSON array that can be iterated over.
✑ GetValueAsText(JToken, 'order_no'): This step retrieves the order_no from each element in the array.
Correct Code Completion:
✑ JToken.ReadFrom(Data): This is the correct method to read the incoming JSON response, as it will convert the string into a JsonToken that can be further processed.
✑ JToken.SelectToken("results"): This is the correct method to extract the results array from the token. This method looks for the key "results" in the JSON and retrieves the relevant array.
Final Code Segment:
al
Copy code
procedure ReadJsonData(Data: text) var
JToken: JsonToken; JObject: JsonObject; JArray: JsonArray;
SubcontractingOrderNo: Code[20]; begin
if Data = '' then exit;
JToken := JToken.ReadFrom(Data); // Step 1: Read the JSON response data. JToken := JToken.SelectToken('results'); // Step 2: Select the "results" array.
JArray := JToken.AsArray(); // Convert the token into a JSON array. foreach JToken in JArray do begin
SubcontractingOrderNo := GetValueAsText(JToken, 'order_no'); // Retrieve the order
number. end; end;
✑ JToken.ReadFrom(Data): This reads the raw JSON data string and converts it into a JSON token that can be processed.
✑ JToken.SelectToken("results"): This extracts the results array from the JSON data.
✑ JArray.AsArray(): Converts the token into an array so we can iterate over it.
✑ GetValueAsText(JToken, 'order_no'): Extracts the order_no value from each item in the array.

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 8
HOTSPOT - (Topic 4)
You have a per tenant extension that contains the following code.
MB-820 dumps exhibit
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
MB-820 dumps exhibit
Solution:
✑ Codeunit "Discount Mgmt." compiles successfully. = NO
✑ VariantLine in line 17 must be changed to Line and the DiscountAmount removed for the codeunit to compile. = NO
✑ The DiscountIsValid method must be defined in the interface for the code to
compile. = YES
The codeunit "Discount Mgmt." will not compile successfully as is because the DiscountIsValid method is not defined in the "IDiscount Calculation" interface, yet it is being declared in the codeunit which implements this interface. AL requires that all
procedures in the codeunit that implements an interface must be defined in the interface itself.
The VariantLine in line 17 does not need to be changed to Line, nor does the DiscountAmount need to be removed for the codeunit to compile. These are valid declarations in AL and they are correctly implemented in the codeunit. The Variant data type in AL is used to handle various data types and DiscountAmount is a valid return type for a procedure.
For the code to compile successfully, the DiscountIsValid method must be included in the interface because AL enforces that any codeunit implementing an interface must implement all the methods defined in that interface.

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 9
- (Topic 2)
You need to call the Issue API action from the mobile application. Which action should you use?
My answer: -
Reference answer: C
Reference analysis:

In the context provided by the case study, when calling an API action from a mobile application, the correct format for a POST request to an action in Business Central typically involves specifying the entity (/issues), the ID of the entity (88122e0e-5796-ec11- bb87-000d3a392eb5), and the action to be called (/Copy). The action name should match the exact name as defined in the AL code, which is case-sensitive.
✑ Option A is incorrect because it uses a non-standard format for the action call.
✑ Option B uses the PATCH method, which is generally used for update operations, not for calling actions.
✑ Option C is correct as it uses the POST method, which is appropriate for calling actions, and correctly specifies the entity, ID, and action name.
✑ Option D is incorrect because the action name /copy is in lowercase, while AL is case-sensitive, and it should match the case exactly as defined in the code.
✑ Option E incorrectly adds 'MicrosoftNAV' before the action name, which is not standard for calling actions in Business Central APIs.
Hence, the correct action to use when calling the Issue API action from the mobile application is given in Option C.

Question 10
- (Topic 2)
You need to determine If you have unwanted incoming web service calls in your tenant during the last seven days.
Which two KQL queries should you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
My answer: -
Reference answer: AC
Reference analysis:

The task is to identify unwanted incoming web service calls during the last seven days. To do this, we need to look at KQL (Kusto Query Language) queries that would filter out web service calls based on the timestamp (to ensure the calls are within the last seven days) and by certain characteristics that would indicate they are unwanted, such as the wrong type of protocol (SOAP in this case, as Contoso Ltd. plans to dismiss using it).
Looking at the options:
✑ Option A: This query selects all traces where the timestamp is within the last 7 days and where the custom dimension has a value of 'RT0008', and where the category is either 'ODataV4', 'ODataV3', or 'Api'. This query would show all API calls except SOAP, so it does not directly answer the question about unwanted calls.
✑ Option B: This query filters for traces with a timestamp within the last 7 days, where 'RT0008' is present, and specifically looks for the category 'SOAP'. This query is correct because it directly targets SOAP calls, which are the unwanted calls according to Contoso Ltd.'s plans.
✑ Option C: Similar to option B, this query filters for traces within the last 7 days and looks for 'RT0008' but uses the equality operator for the category 'SOAP'. This would also correctly return the unwanted SOAP calls.
✑ Option D: This query also filters for traces within the last 7 days, but it excludes the 'ODataV4' category, which doesn't necessarily target the unwanted SOAP calls.
✑ Option E: This query selects traces where the timestamp is within the last 7 days and the custom dimension has 'RT0008'. However, it filters out categories 'ODataV4' and 'Api', which does not directly help in identifying the unwanted SOAP calls.
Therefore, the queries that should be used to determine if there are unwanted incoming web service calls (SOAP calls) in the tenant during the last seven days are Options B and C. These queries are specific to identifying SOAP protocol usage, which is what Contoso Ltd. considers unwanted.

Question 11
- (Topic 4)
You ate creating a view for a Business Central app.
The view requires a custom layout that displays only customer records with a balance greater than 500 in local currency.
You need to configure the view to specify that it has a custom layout. Which property combination should you use?
My answer: -
Reference answer: B
Reference analysis:

✑ SharedLayout = true allows for the layout to be shared across views, and it is often used when defining a custom layout that should follow specific filtering conditions.
✑ The Filters property specifies the exact filter criteria for the view, in this case, filtering on Balance > 500 and the Currency Code = LCY (local currency).
✑ A uses incorrect filter syntax and shareLayout = false, which doesn't allow the layout to be shared, so it??s not ideal for this use case.
✑ C and D both have issues with the filter syntax and do not use proper Currency Code filtering or share layout settings.
For more details, check Creating Views in Business Central.

Question 12
- (Topic 3)
You need to add a property to the Description and Comments fields with corresponding values for the control department manager.
Which property should you add?
My answer: -
Reference answer: C
Reference analysis:

None

Question 13
- (Topic 2)
You need to determine why the extension does not appear in the tenant.
What are two possible reasons for the disappearance? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
My answer: -
Reference answer: BD
Reference analysis:

In the context of Microsoft Dynamics 365 Business Central, an extension may not appear in the tenant for several reasons, particularly after an upgrade to a new major version.
✑ Option A suggests that the extension was published as a DEV extension, which typically would not cause it to disappear after an upgrade because DEV extensions are intended for development and testing within sandbox environments.
✑ Option B indicates that the extension was not compatible with the new version within 60 days of the first notification. This is a likely reason because Microsoft enforces compatibility rules, and extensions that are not made compatible within the specified timeframe might be removed or disabled.
✑ Option C refers to the extension being published as a PTE (Per-Tenant Extension) and mentions the Platform parameter not being updated. This could cause issues, but not specifically the disappearance of the extension after an upgrade.
✑ Option D expands on Option C by adding that both the Platform and Runtime parameters were not updated in the application file. This is a critical aspect because if these parameters are not correctly set to indicate compatibility with the new version of Business Central, the extension could be disabled or removed.
✑ Option E is similar to Option B but mentions a 90-day period. This option does not align with standard Business Central practices for version compatibility requirements.
Therefore, the two possible reasons for the disappearance of the extension in the tenant after an upgrade are that the extension was not compatible with the new version within the required timeframe (Option B) and that the extension was published as a PTE without the Platform and Runtime parameters being updated (Option D).

Question 14
HOTSPOT - (Topic 3)
You need to develop the report Subcontract Documents Excel List that is required by the control department.
You have the following code:
MB-820 dumps exhibit
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
MB-820 dumps exhibit
Solution:
MB-820 dumps exhibit

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 15
DRAG DROP - (Topic 4)
A company plans to deploy Business Central.
The company has the following deployment requirements:
• Use the company hardware architecture to run the deployment.
• Use sandbox environments to develop extensions.
• Allow tenants to connect to Shopify with the standard connector.
• Use Microsoft Power Automate to create a workflow that calls a business event. You need to identify the deployment type for each requirement.
Which deployment types should you use? To answer, move the appropriate deployment types to the correct requirements. You may use each deployment type once, more than once, or not at all.
MB-820 dumps exhibit
Solution:
✑ Use the company hardware architecture to run the deployment: On-premises
✑ Use sandbox environments to develop extensions: Online
✑ Allow tenants to connect to Shopify with the standard connector: Online
✑ Use Microsoft Power Automate to create a workflow that calls a business event: Online
When deploying Microsoft Dynamics 365 Business Central, there are two main deployment types to consider: On-premises and Online.
✑ On-premises Deployment:
✑ Online Deployment:
Therefore, each requirement aligns with the deployment types as indicated above.

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 16
HOTSPOT - (Topic 4)
A company plans to import and export data with Business Central
You must configure an XMLport that provides the following implementation;
• Specifies import 01 export on the Request page at run time
* Formats the data in a non-fixed length CSV format You need to create the XMLport.
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.
MB-820 dumps exhibit
Solution:
Direction: Both Format: VariableText
You are configuring an XMLport for Business Central with the following requirements:
✑ Specifies import or export on the Request page at runtime.
✑ Formats the data in a non-fixed length CSV format.
XMLport Configuration:
✑ Specifies import or export on the Request page at runtime.The Direction property must be set to Both.
✑ Formats the data in a non-fixed length CSV format.The Format property must be set to VariableText.

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 17
DRAG DROP - (Topic 2)
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.
MB-820 dumps exhibit
Solution:
Here is the most logical sequence of actions for implementing the Issue Management module in Business Central and exposing the PostIssue method: Correct Order:
✑ Create a codeunit named "Issue Management Impl." and set the value of Access property to Internal.
✑ Create a local procedure named PostIssueImpl in the "Issue Management Impl." codeunit.
✑ Create a codeunit named "Issue Management" and set the value of Access property to Public.
✑ Create a PostIssue procedure in the "Issue Management" codeunit, and in it call the PostIssueImpl method.

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 18
HOTSPOT - (Topic 4)
You are writing a procedure to block all inventory items with numbers that do not start with the letter S.
You need to complete the procedure.
How should you complete the code expressions? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
MB-820 dumps exhibit
Solution:
procedure BlockNonSItems() var
Item: Record Item; begin
// Reset the Item record to clear any previous filters. Item.Reset();
// Set the filter to exclude items that start with 'S'. Item.SetFilter("No.", '<>%1*', 'S');
// Find each item that matches the filter. if Item.FindSet() then
repeat
// Set the Blocked field to true to block the item. Item.Blocked := true;
// Save the changes to the Item record. Item.Modify();
until Item.Next() = 0; // Continue until no more items are found.
end;

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 19
DRAG DROP - (Topic 4)
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.
MB-820 dumps exhibit
Solution:
✑ Load the report for users in a specific location: OnInitReport
✑ Validate data before processing: OnPreReport
✑ Define filter based on Department field: OnPreDataItem The requirements for the report are:
✑ 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.
Trigger Matching:
✑ The report must be loaded for users in a specific location only.The correct trigger for loading the report is OnInitReport.
✑ Data entered in the request page must be validated before any further processing.The correct trigger for validation before processing is OnPreReport.
✑ A filter must be defined for users based on the Department field defined in user setup.The correct trigger to define filters is OnPreDataItem.

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Page: 1 / 9
Total 113 questions Full Exam Access