ExamGecko
Home Home / Microsoft / MB-820

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

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

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.


Question 31
Correct answer: Question 31

You create a page with the PageType property set to RoleCenter.

You navigate through the different sections of the page.

You need to add functionalities to the page.

What should you do?

A.

Define actions in the area (reporting) before actions in the area (creation).

A.

Define actions in the area (reporting) before actions in the area (creation).

Answers
B.

Define the navigation menu in the area(processing).

B.

Define the navigation menu in the area(processing).

Answers
C.

Define the navigation bar in the area (embedding).

C.

Define the navigation bar in the area (embedding).

Answers
D.

Add a source table on the Role Center page.

D.

Add a source table on the Role Center page.

Answers
Suggested answer: A

Explanation:

When creating a page with the PageType property set to RoleCenter in Microsoft Dynamics 365 Business Central, it's essential to organize the functionalities and actions in a manner that enhances user experience and efficiency. The best practice is to define actions in the area (reporting) before actions in the area (creation) (A). This organization allows users to access reporting and analytical features quickly, which are commonly used in Role Centers for overview and insight purposes, before moving on to creation or transactional tasks. This logical flow aligns with typical user workflows, where analysis and review precede the creation of new records or transactions. The other options, such as defining the navigation menu in the area(processing) (B), defining the navigation bar in the area (embedding) (C), or adding a source table on the Role Center page (D), do not directly address the need to add functionalities to the Role Center page in a user-friendly manner.

A company has a Business Central online environment.

You are exporting a file from a client by using the DownloadFromStream method.

You need to create an InStream data type to send the data

Which solution should you use?

A.

Use OeatelnStream method from codeunit 'Temp Blob'.

A.

Use OeatelnStream method from codeunit 'Temp Blob'.

Answers
B.

Use OeatelnStream method for BLOB field of 'TempBlob' table.

B.

Use OeatelnStream method for BLOB field of 'TempBlob' table.

Answers
C.

Use CreatelnStream method for File type variable.

C.

Use CreatelnStream method for File type variable.

Answers
Suggested answer: A

Explanation:

When exporting a file from a client using the DownloadFromStream method in a Business Central online environment, you need to create an InStream data type to send the data. The solution is to use the CreateInStream method from codeunit 'Temp Blob' (A). The Temp Blob codeunit provides temporary storage of BLOBs (Binary Large Objects) and is commonly used for handling files and streams in Business Central. By using the CreateInStream method on a Temp Blob, you create an InStream that can then be used with the DownloadFromStream method to send the file data to the client. This approach is efficient for file handling and transfer in Business Central, especially in scenarios involving data export or file manipulation.

A company has a task that is performed infrequently. Users often need to look up the procedure to complete the task.

The company requires a wizard that leads users through a sequence of steps to complete the task.

You need to create the page to enable the wizard creation.

Which page type should you use?

A.

NavigatePage

A.

NavigatePage

Answers
B.

Card

B.

Card

Answers
C.

RoleCenter

C.

RoleCenter

Answers
D.

List

D.

List

Answers
Suggested answer: A

Explanation:

For a task that is performed infrequently and requires users to follow a sequence of steps, a wizard-like interface is ideal. In Microsoft Dynamics 365 Business Central, the NavigatePage page type (A) is best suited for this purpose. NavigatePage is designed to guide users through a series of steps or pages, allowing them to complete a task by making choices or entering data in a structured manner. This page type is often used for setup wizards, data migration tasks, or any other process that benefits from a step-by-step approach. Unlike the other page types like Card (B), RoleCenter (C), or List (D), NavigatePage specifically supports the navigation and decision-making flow required for wizard creation, making it the optimal choice for this requirement.

HOTSPOT

You create a table with fields.

You observe errors in the code

You need to resolve the errors.

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

NOTE: Each correct selection is worth one point.


Question 35
Correct answer: Question 35

HOTSPOT

A company is setting up a custom telemetry trace signal to send traces on failed customer statement emails.

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


Question 36
Correct answer: Question 36

HOTSPOT

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.


Question 37
Correct answer: Question 37

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?

A.

ForceUpgrade

A.

ForceUpgrade

Answers
B.

ForceSync

B.

ForceSync

Answers
C.

Synchronize

C.

Synchronize

Answers
D.

Recreate

D.

Recreate

Answers
Suggested answer: D

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.

You need to allow debugging in an extension to view the source code. In which file should you specify the value of the allowDebugging property?

A.

settings.json

A.

settings.json

Answers
B.

rad.json

B.

rad.json

Answers
C.

app.json

C.

app.json

Answers
D.

launchjson

D.

launchjson

Answers
Suggested answer: C

Explanation:

To enable debugging in an extension and allow the source code to be viewed, the allowDebugging property should be specified in the app.json file (C). The app.json file serves as the manifest for an AL project in Microsoft Dynamics 365 Business Central, defining the project's properties, dependencies, and features. By setting the allowDebugging property to true in this file, developers enable the debugging of the extension's source code, facilitating troubleshooting and development. This is essential for analyzing the behavior of the extension and identifying issues during the development process.

A company uses Business Central.

The company plans to use a translation file in an extension. The extension has a caption that should not be translated.

You need to prevent the caption from being translated.

What should you do?

A.

Use the CaptionML property and copy the same caption for each language used.

A.

Use the CaptionML property and copy the same caption for each language used.

Answers
B.

Set the GenerateLockedTranslations feature in the appjson file.

B.

Set the GenerateLockedTranslations feature in the appjson file.

Answers
C.

Add the Locked = true parameter to the Caption.

C.

Add the Locked = true parameter to the Caption.

Answers
D.

Delete the Caption property.

D.

Delete the Caption property.

Answers
E.

Copy the same caption for each language in the translation file.

E.

Copy the same caption for each language in the translation file.

Answers
Suggested answer: C

Explanation:

To prevent a caption from being translated in an extension for Microsoft Dynamics 365 Business Central, you should add the Locked = true parameter to the Caption (C). This parameter explicitly marks the caption as locked for translation, ensuring that it remains unchanged across different language versions of the extension. This approach is useful for specific terms, brand names, or other elements within the application that should remain consistent regardless of the user's language settings. Unlike the other options, which involve manual manipulation of the translation file or properties, setting Locked = true directly in the AL code provides a clear, maintainable, and error-proof method to exclude specific captions from the translation process.

Total 98 questions
Go to page: of 10