Free MB-500 Exam Braindumps (page: 35)

Page 35 of 66
View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You have the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Yes
Add 1 to a date adds one day.

Box 2: No
You cannot do a real2int conversion on a Date.


Reference:

https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/types-of-fields



View Related Case Study

You are using the SysTest framework to test code in Visual Studio.
You need to create a unit test class.
Which three attributes can you use to create the class? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  1. TestFilter
  2. Priority
  3. Owner
  4. EntryPoint
  5. Test Property

Answer(s): B,C,E

Explanation:

The SysTest framework now supports the major test attributes in the adaptor to be on par with the MSTest framework adaptor. This includes attributes like Category, Owner, Priority, and Test Property.

Note:
The Priority attribute SysTestPriority, which requires an integer value, is now available. A priority can only be specified once, but is supported on both the class and method level, with method level taking precedence over class level.

The Owner attribute, SysTestOwner, has also been added. This attribute was technically already supported for filtering in the Test Toolbox window, but the attribute itself was missing in X++. Similar to Priority, an owner can only be specified once and is supported on both the class and method level, with the method level taking precedence.

SysTestProperty specifies a property and a value (two strings), and can now be used in the Test Toolbox window in Visual Studio. Test Property can be specified multiple times, and can exist on both the class and method level.


Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/perf-test/systest-filtering



View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You have the following class definition:

You need to create an extension class and create a new static method in it that converts miles to kilometers and then call the method from another class.

How should you complete the code and call the method? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: final class UnitConv_MyExtension
Box 2: var km = UnitConv::miToKm(62.1371);


Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc



View Related Case Study

You are a Dynamics 365 Finance developer. You create an integer variable named totalSales. You need to display the value from totalSales in an info statement.
Which three code segments can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  1. info(int2str(totalSales));
  2. info(totalSales);
  3. info(any2str(totalSales));
  4. info(strfmt("%1", totalSales));
  5. info(strLine(totalSales, 1));

Answer(s): A,C,D

Explanation:

A: int2Str converts an integer to the equivalent string.
C: any2Str converts an anytype value to a str value. The anytype data type is a placeholder for any data type. D: Example:
void MyMethod()
{
for (int i = 0; i < 10; i++)
{
info(strfmt("i is %1", i));
}
}


Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-variables-data-types
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-data-primitive#anytype



Page 35 of 66



Post your Comments and Discuss Microsoft MB-500 exam with other Community members:

the coder1 commented on December 11, 2024
It helped alot
UNITED KINGDOM
upvote

Ek commented on June 29, 2024
It helped alot
INDIA
upvote

Tom commented on March 18, 2022
i purchased this exam dumps from another website with way more questions but they were all invalid and outdate. this exam dumps was right to the point and all from recent exam. it was a hard pass.
UNITED KINGDOM
upvote

Tom commented on March 18, 2022
I purchased this exam dumps from another website with way more questions but they were all invalid and outdate. This exam dumps was right to the point and all from recent exam. It was a hard pass.
UNITED KINGDOM
upvote

Eddie commented on September 20, 2021
These notes are pretty informative along with the questions. I helped a lot.
UNITED STATES
upvote