ExamGecko
Home Home / Microsoft / MB-500

Microsoft MB-500 Practice Test - Questions Answers, Page 11

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

You are creating entities that will have unmapped fields.

You need determine which types of unmapped fields to use.

Which field types should you use? To answer, drag the appropriate field types to the correct requirements. Each field type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.


Question 101
Correct answer: Question 101

Explanation:

Box 1: Computed

Computed field: Value is generated by an SQL view computed column.

During read, data is computed by SQL and is fetched directly from the view.

Box 2: Computed

Box 3: Virtual

Virtual field:

Is a non-persisted field.

Is controlled by custom X++ code.

Read and write happens through custom X++ code.

Virtual fields are typically used for intake values that are calculated by using X++ code and can't be replaced by computed columns.

Box 4: Virtual

Virtual field is a non-persisted field.

Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/data-entity-computed-columns-virtual-fields

DRAG DROP

A company has a Dynamics 365 Finance environment.

You need to implement indices for new tables.

Which types of indexes should you use? To answer, drag the appropriate types of indexes to the correct requirements. Each type of index may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.


Question 102
Correct answer: Question 102

Explanation:

Box 1: Primary

Box 2: Clustered

A clustered index is a special type of index that reorders the way records in the table are physically stored.

Box 3: Non-clustered

Reference:

https://docs.microsoft.com/en-us/sql/relational-databases/indexes/clustered-and-nonclustered-indexes-described

HOTSPOT

You are a Dynamics 365 Finance developer.

You need to add a new status named InTransit to the SalesTable.SalesStatus field and use the status in code.

What should you do? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 103
Correct answer: Question 103

Explanation:

Box 1: Create an extension of SalesStatus

To modify properties on an existing field in a table, you must first create an extension for the table.

Box 2: SalesStatus::InTransit

Incorrect Answers:

Overlay: Overlaying code, the now-outdated way to implement customer-specific functionality under Dynamics AX, involved customizing programming within Microsoft's code and recompiling the application.

Reference:

https://docs.microsoft.com/sv-se/dynamics365/fin-ops-core/dev-itpro/extensibility/modify-existing-field

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/extensible-enums

DRAG DROP

An organization uses Visual Studio to develop customizations for Dynamics 365 Supply chain Management.

You need to create an extension for the CustTable form and add the extension to the Visual Studio project.

Which three 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 104
Correct answer: Question 104

Explanation:

Step 1: In Solution Explorer, drag the CustTable form into the project.

Step 2: In The Application Object Tree (AOT), right-click the CustTable form.

Step 3: Select Create extension.

Note: To create an extension (in general terms), follow these steps:

1. In the Application Explorer window, expand the AOT node.

2. Expand the node for the element that you want to extend. For example, in Classic view, extend the Data Models node, and then extend the Tables node to view all available tables.

3. Right-click the element that you want to extend.

4. Select Create extension to add an extension to your current project. Select Create extension in new project if you want to add the extension to a new project. The element will be added to a project in the Solution Explorer window, and it will open in the element designer.

Reference:

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-extension-example

HOTSPOT

A user reports that a form takes a long time to load. You suspect that the issue relates to a display method.

You need to resolve the issue.

Which actions should you perform? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 105
Correct answer: Question 105

Explanation:

Box 1: Yes

The caching will avoid executing the display method unnecessarily.

To improve the performance of a display method, you can cache the method.

Box 2: No

Box 3: No

Box 4: No

Reference:

https://docs.microsoft.com/en-us/dynamicsax-2012/developer/using-the-display-method-modifier

You have an enumeration named truckStatus that has the following statuses:

Empty

Loaded

Completed

You have the following code:

You need to add the following statuses to the enumeration: Quarantine, InTransit

What should you do?

A.

Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the enumeration value.

A.

Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the enumeration value.

Answers
B.

Add a post handler to the method that checks the enumeration and logic for your new enumeration values using a range comparison for your new values.

B.

Add a post handler to the method that checks the enumeration and logic for your new enumeration values using a range comparison for your new values.

Answers
C.

Add a new case statement in the model of the existing code.

C.

Add a new case statement in the model of the existing code.

Answers
D.

Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the integer value of the enumeration.

D.

Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the integer value of the enumeration.

Answers
Suggested answer: A

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.

You are adding a new field to the SalesTable form.

You must use an extension to add a status field onto the form.

You need to create the extension in the Application Object Tree (AOT) and add the extension to the demoExtensions model.

Solution: Navigate to the Visual Studio user interface forms extensions section for the SalesTable form and create an extension.

Does the solution meet the goal?

A.

Yes

A.

Yes

Answers
B.

No

B.

No

Answers
Suggested answer: A

Explanation:

Reference:

https://stoneridgesoftware.com/how-to-extend-sales-order-update-functionality-to-custom-fields-in-d365-finance-and-operations/

You are a Dynamics 365 Finance developer.

You need to create an extension class.

Which action should you perform?

A.

Decorate the class with the ExtensionOf attribute.

A.

Decorate the class with the ExtensionOf attribute.

Answers
B.

Add the class buffer as the first parameter.

B.

Add the class buffer as the first parameter.

Answers
C.

Mark the class as public.

C.

Mark the class as public.

Answers
D.

Mark the class as private.

D.

Mark the class as private.

Answers
Suggested answer: A

Explanation:

Extension classes are final classes that are adorned with the ExtensionOf attribute and that also have a name that has the _Extension suffix.R

Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/class-extensions

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.

You have an enumeration named truckStatus that has the following statuses:

Empty

Loaded

Completed

You have the following code:

You need to extend this enumeration and add the following statuses to the enumeration: Quarantine, InTransit. You must then modify code that validates the switch statement.

Solution: Add a post handler to the method that checks the enumeration and logic for your new enumeration values using a range comparison for your new values.

Does the solution meet the goal?

A.

Yes

A.

Yes

Answers
B.

No

B.

No

Answers
Suggested answer: A

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.

You have an enumeration named truckStatus that has the following statuses:

Empty

Loaded

Completed

You have the following code:

You need to extend this enumeration and add the following statuses to the enumeration: Quarantine, InTransit. You must then modify code that validates the switch statement.

Solution: Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the integer value of the enumeration.

Does the solution meet the goal?

A.

Yes

A.

Yes

Answers
B.

No

B.

No

Answers
Suggested answer: B
Total 281 questions
Go to page: of 29