Question 116

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?
  • Question 117

    The system includes the following code: (Line numbers are included for reference only.)

    You need to apply changes to address User2's issues.
    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 118

    A company uses Dynamics 365 Finance.
    You create two methods in a class:
    * MethodA is called only from the class. MethodA is not called from other locations in the code. Within MethodA, you must access class variables.
    * MethodB is called from other places in the app. MethodB does not need to instantiate the class or access the class variables.
    You need to implement the methods.
    Which method types should you use? To answer, drag the appropriate method types to the correct methods.
    Each method 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 119

    A company uses Dynamics 365 finance.
    The company wants to create test cases by using the SysTest framework.
    You need to select the appropriate TestTransactionMode option for each requirement Which options should you use? To answer, drag the appropriate options to the correct requirements. Each option 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 120

    You are working in multiple development environments and are using Team Foundation Version Control to maintain source code You need to enforce a policy requiring that any check-in is approved only after the build pipeline has successfully completed.
    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.