MB6-890 Exam Details

  • Exam Code
    :MB6-890
  • Exam Name
    :Microsoft Dynamics AX Development Introduction
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :92 Q&As
  • Last Updated
    :Dec 06, 2021

Microsoft MB6-890 Online Questions & Answers

  • Question 11:

    You have an X++ class that has the following code:

    You are writing a static method. You have an object of AssetBookCompareContract named assetBookCompareContractObj that is initialized within this method.

    You need to print the current value of the firstAssetBookld variable from the assetBookCompareContractObj object.

    Which piece of code should you use to achieve this goal?

    A. irvFo(assetBookCompareContractObj : :fIrstAssetBookld);
    B. info(assetBookCompareContractObj.f IrstAssetBookld);
    C. info(assetBookCompareContractObj.panmFirstAssetBookId(""));
    D. info(assetBookCompareContractObj.parmFirstAssel:BookId());

  • Question 12:

    Your Microsoft Dynamics AX implementation is going live. Just before go-live, a sales executive realizes that the customers should not be allowed to remove certain records if they have one or more approved transactions.

    You need to perform additional validation when a record is removed from the table.

    What are two possible actions you can perform to achieve this goal? Each correct answer presents a complete solution.

    A. Override delete() method on the table.
    B. Override exist)() method on the table.
    C. Override ValidateWrite() method on the table.
    D. Override ValidateDelete() method on the table.

  • Question 13:

    You need to determine the output of the following code;

    int i;

    int j = 0;

    for(i =0; i <= 10; i=i+2)

    {

    if (i mod 2 == 0)

    {

    j = j + 1;

    }

    if (i > 4)

    {

    break;

    }

    }

    info (strFmt("%1" , j));

    What is the output in the Infolog after running the code?

    A. 3
    B. 4
    C. 5
    D. 10

  • Question 14:

    You need to create a menu item that can be attached to a form Which type of menu item should you create?

    A. Enum Type Parameter
    B. Display
    C. Output
    D. Linked Permission Object

  • Question 15:

    You need to develop a new XDS policy for employees. You employees' expense records. Where should you apply the filter?

    A. Constrained tables
    B. Query
    C. Policy group
    D. Context string

  • Question 16:

    You are using the Visual Studio development environment to perform a customization for your client.

    You need to keep all relevant elements in one project.

    Which two types of projects does the system allow you to create? Each correct answer presents a complete solution.

    A. a project that is associated with one package
    B. a project that is associated with one model
    C. a project that contains multiple packages, each containing a subset, or all. of the elements
    D. a project that contains multiple models, each containing a subset, or all. of the elements

  • Question 17:

    You are writing a function "SumOflnt(n)" that returns the sum of numbers from 0 to n as shown in the following exhibit:

    SumOflnt(l) = 0 + 1 = 1

    SumOflnt(2) = 0+1 + 2 = 3

    SumOflnt(n) = 0 + 1 + ... (n-1) + n

    The function prototype is the following:

    public static int SumOflnUint n)

    {

    }

    Which two functions return the correct answer? Each correct answer presents a complete solution.

    A. public static int SumOflnt(int n) { int total = O; int i = O; do { I++; total = total + i; } while (i < n); return total; }
    B. public static int SumOfInt(int n) { int total = 0; int i = 0; while(i < n) { total = total + i; i + + ; } return total; }
    C. public static int SumOflnt(int n) { int total = 0; int i = O; do { i++; total = total + i; } while (i
    D. public static int SumOflnt(int n) { int total = 0; int i = 0; while(i

  • Question 18:

    You need to write an expression to calculate the compound interest that a bank needs The formula for compound interest after one period is as follows: I = (P * (1 + R)) - P Where I = Compound interest P = Principal that was invested R = Rate of interest after one period. Which X++ expression is equivalent to the formula above using operator precedence in X+- +-?

    A. I = P* 1 + R- P
    B. I = P*(1 + R-P)
    C. I = P*(1 + R)-P
    D. I = (P* 1) + (R-P)

  • Question 19:

    You have the following X++ classes:

    class ProductDimensionAttribute;

    {

    string attribute

    void getAttribute()

    {

    return "Color";

    }

    }

    Class ColorDiraensionAttnibute extends ProductDimensionAttribute

    {

    void getAttribute( )

    {

    return "Green";

    }

    }

    You also have a runnable class which has the following co

    ProductDimensionAttribute dimension;

    ColorDimensionAttribute color = new ColorDimensionAttribute();

    info(color.getAttnibute());

    dimension = color;

    inf o(dimension . getAttribute()) ;

    Which output is correct if you run the above code that is part of the runnable class?

    A. Green Color
    B. Green Green
    C. Color Color
    D. Color Green

  • Question 20:

    You have a table named SalesTable that stores sales data. The SalesTable table has a field named Deadline, which is of type Date. You need to write X++ code to update the deadlines of all records in the SalesTable and set the value to today's date. Which code segment should you use?

    A. SalesTable Sales!able; ttsBegin; while select forUpdate SalesTable { SalesTable.Deadline - todayO; SalesTable.updateO; } ttsCommit;
    B. SalesTable SalesTable; ttsBegin; do select firstonly forUpdate SalesTable where SalesTable.Deadline != todayO; SalesTable.Deadline = today(); SalesTable.update(); }while(SalesTable.Redd); ttsCommit;
    C. SalesTable SalesTable; while select forUpdate SalesTable { SalesTable.Deadline ?today(); SalesTable.update(); }
    D. SalesTable SalesTable; ttsBegin; while select SalesTable { SalesTable.Deadline = today(); SalesTabte.update(); } ttsCommit;

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your MB6-890 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.