ExamGecko
Home Home / Microsoft / MB-820

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

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

A company is setting up a sandbox environment.

You observe the following issues in Visual Studio Code:

* When you open the User Settings window, no AL command is available

* In the Problems tab. the error 'The target page Customer List for the extension object is not found' is displayed.

You need to identify a solution for each issue.

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

NOTE: Each correct selection is worth one point.


Question 61
Correct answer: Question 61

DRAG DROP

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.


Question 62
Correct answer: Question 62

HOTSPOT

You are developing a codeunit for a company that uses Business Central.

The code unit must be run only during installation of an extension package.

You need to create the codeunit.

How should you complete the code' To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 63
Correct answer: Question 63

HOTSPOT

You need to use a query data type to retrieve requited data.

How should you complete the code' To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 64
Correct answer: Question 64

DRAG DROP

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.


Question 65
Correct answer: Question 65

HOTSPOT

You need to provide the endpoint to the PMS provider for the RoomsAPI page.

How should you complete the API page endpoint? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point


Question 66
Correct answer: Question 66

You need to define the tables used for the non-conformity entity.

What should you use?

A.

document history table to introduce the non-conformity entities

A.

document history table to introduce the non-conformity entities

Answers
B.

document table to introduce the non-conformity entities

B.

document table to introduce the non-conformity entities

Answers
C.

supplemental table to introduce the non-conformity lines

C.

supplemental table to introduce the non-conformity lines

Answers
Suggested answer: B

Explanation:

Table Structure in Business Central: When creating entities such as 'non-conformity' entities in Business Central, you use document tables to represent entities that have a header and line structure. In this case, the non-conformity entity has:

A header with common information (Non-conformity Number, Date, Vendor No., etc.).

One or more lines representing the detailed information for each non-conforming item.

Document Table Usage:

Document Table: A document table is the correct table type for scenarios where you have a header (with general information like vendor details) and lines (with detailed, item-specific information).

Document tables are typically used for entities such as Sales Orders, Purchase Orders, or any other transactional data where you have both header and line information.

Supplemental Table (Option C):

Supplemental tables are usually used to add supplementary information to existing data in Business Central. In this case, we need to store detailed line information, which is a core part of the entity rather than supplementary data, so a supplemental table would not be appropriate here.

Document History Table (Option A):

Document history tables are used to track changes and historical data for entities but are not suitable for the main introduction of the entity and its lines. This option is also not appropriate.

Reference Documentation:

Introduction to Business Central Tables

Document Tables in Business Central

HOTSPOT

You need to define the properties for the Receipt No. field in the Non-conformity table when storing the information to the purchasing department

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.


Question 68
Correct answer: Question 68

You need to access the RoomsAPI API from the canvas app.

What should you do?

A.

Use the default API configuration in Business Central

A.

Use the default API configuration in Business Central

Answers
B.

Enable the APIs for the Business Central online environment.

B.

Enable the APIs for the Business Central online environment.

Answers
C.

Open the Web Services page and publish the RoomsAPI page as a web service.

C.

Open the Web Services page and publish the RoomsAPI page as a web service.

Answers
D.

Include in the extension a codeunit of type Install that publishes RoomsAPI.

D.

Include in the extension a codeunit of type Install that publishes RoomsAPI.

Answers
Suggested answer: D

Explanation:

API Publishing for Extensions:

In Business Central, when creating custom APIs like RoomsAPI, it is important to ensure that they are automatically published during the installation or upgrade of the extension.

To achieve this, you can include a codeunit of type Install in the extension that explicitly publishes the custom API (RoomsAPI) as a web service. This ensures that it is available for use immediately after the extension is deployed without requiring manual intervention.

Codeunit Type:

A codeunit of type Install runs when the extension is installed or upgraded. This type of codeunit can be used to perform setup tasks such as publishing web services or APIs like RoomsAPI.

Why Not Other Options?

Option A (default API configuration): This would not automatically publish the RoomsAPI. Default APIs do not cover custom APIs.

Option B (enable APIs for the environment): Enabling APIs in Business Central allows the standard APIs to be used, but custom APIs still need to be manually published.

Option C (publish via Web Services page): This would work but requires manual intervention to publish RoomsAPI, which does not fulfill the requirement of automatic publishing during installation.

Reference Documentation:

Publishing APIs in Extensions

Codeunit Types in Business Central

You need to improve performance when ticketAPI is used to analyze the POS data. What should you do?

A.

Set the ODataReadonlyGetEnabled parameter to True in the Business Central admin center.

A.

Set the ODataReadonlyGetEnabled parameter to True in the Business Central admin center.

Answers
B.

Set the AceesByPermission property to Read on the ticketAPI API page.

B.

Set the AceesByPermission property to Read on the ticketAPI API page.

Answers
C.

Enable read scale-out on the Business Central database.

C.

Enable read scale-out on the Business Central database.

Answers
D.

Set the DataAccesslntent property to Readonly on the ticketAPI API page.

D.

Set the DataAccesslntent property to Readonly on the ticketAPI API page.

Answers
Suggested answer: C

Explanation:

Read Scale-Out:

Read scale-out is a feature in Business Central that allows you to improve performance by distributing read-only queries (such as the ones from the ticketAPI) across multiple read replicas in the cloud database. This reduces the load on the primary database and helps improve the response time for read-intensive operations, like analyzing POS data through the ticketAPI.

Data Access Intent - ReadOnly:

When enabling read scale-out, you can configure the DataAccessIntent property of APIs to be ReadOnly. This directs the system to use read replicas to handle read-only queries, which enhances performance by offloading such queries from the primary database.

Why Not Other Options?

Option A (ODataReadonlyGetEnabled): This parameter is unrelated to read scale-out and primarily affects OData services behavior, not API performance tuning.

Option B (AccessByPermission): Setting the permission to Read does not directly affect the performance. It only controls access based on user permissions.

Option D (DataAccessIntent ReadOnly): While setting this property to ReadOnly helps in read-only operations, enabling read scale-out (option C) ensures the underlying infrastructure is optimized to handle such read operations, which is the fundamental action required.

Reference Documentation:

Read Scale-Out in Business Central

Data Access Intent in AL

Total 98 questions
Go to page: of 10