Microsoft

MB-500 Free Practice Questions — Page 7

Question 33

A company uses Dynamics 365 Finance. You must create a process that updates the following: • A single record for customer number A0001 in the customer table. • The value of its customer group to 10. You need to implement the process. Which code segment should you use?

A.
B.
C.
D.
Show Answer
Correct Answer: D
Explanation:
To update a single customer record in Dynamics 365 Finance using X++, the record should be selected with both a where clause targeting customer A0001 and the forUpdate keyword, and the update should be performed inside a ttsBegin/ttsCommit transaction before calling update(). This ensures the record is locked and the change is committed correctly.

Question 34

You are a Dynamics 365 Finance developer. You create an integer variable named inventQantity. You need to display the value from inventQantity in an info statement. Which code segment can you use?

A. info(int2str(inventQantity));
B. info(inventQantity);
C. info(strLen(int2str(inventQantity));
Show Answer
Correct Answer: A
Explanation:
In X++ for Dynamics 365 Finance, the info() function expects a string argument. Use int2str() to convert the integer variable to a string before passing it to info(). Option B passes an integer directly, and option C returns the length of the converted string rather than the integer value itself.

Question 35

HOTSPOT - You are implementing record-level security by using Extensible Data Security (XDS) in Dynamics 365 Finance. Users must be permitted to view sales orders only from customers they manage. You need to configure the CustGroup form. Which options should you use? To answer select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for MB-500 question 35
Show Answer
Correct Answer: Simple query Context string Primary table RoleName
Explanation:
Use a simple query for a fixed constraint, context string to determine policy applicability, primary table as the secured table, and RoleName to target a specific role.

Question 36

DRAG DROP - You create a Power Apps app to display customer feedback. You need to submit and display customer feedback for each sales order. In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.

Illustration for MB-500 question 36
Show Answer
Correct Answer: Configure and embed the app. Navigate to the Sales order form. Personalize the page. Refresh the browser.
Explanation:
In model-driven apps, first embed/configure the canvas app, then open the target Sales order form, personalize the form to display the embedded app, and finally refresh so the changes are loaded.

Question 37

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. A company is implementing Dynamics 365 finance and operations apps. The company must test the functionality of its native Dynamics 365 finance and operations apps by using the Acceptance test library (ATL). You need to implement ATL classes on test data within a development environment. Solution: Record business process steps and save as developer documentation by using Task recorder. Does the solution meet the goal?

A. Yes
B. No
Show Answer
Correct Answer: B
Explanation:
Task Recorder is used to capture and document business processes and can generate task guides or developer documentation, but it does not implement Acceptance Test Library (ATL) classes or create ATL test data entities. Implementing ATL classes for test data requires using the ATL framework and its classes, not Task Recorder.

Question 38

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. A company is implementing Dynamics 365 finance and operations apps. The company must test the functionality of its native Dynamics 365 finance and operations apps by using the Acceptance test library (ATL). You need to implement ATL classes on test data within a development environment. Solution: Use the ATL Code generation wizard to create the required queries, specifications, and entities. Does the solution meet the goal?

A. Yes
B. No
Show Answer
Correct Answer: A
Explanation:
The Acceptance Test Library (ATL) Code Generation wizard is designed to generate ATL artifacts such as queries, specifications, and entities from existing tables, which are then used to build ATL-based tests. Using it to create the required queries, specifications, and entities on test data in a development environment meets the stated goal.

Question 39

A company is implementing Dynamics 365 finance and operations apps. The company must test the custom enhancements for its native Dynamics 365 finance and operations apps. You need to create a test case within a development environment. Which base class should the test class extend?

A. SysTestSuite
B. SysTest
C. SysTestCase
D. SysTestExecute
Show Answer
Correct Answer: C
Explanation:
In Dynamics 365 Finance and Operations, unit test classes are created by extending the SysTestCase base class. SysTestCase provides the framework for defining test methods, setup/teardown behavior, and assertions. SysTestSuite is for grouping tests rather than serving as the base class for individual test cases, and the other options are not the standard base class for test implementation.

Question 40

DRAG DROP - 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.

Illustration for MB-500 question 40
Show Answer
Correct Answer: MethodA — Private instance MethodB — Public static
Explanation:
MethodA must access class variables and is only used within the class, so it should be a private instance method. MethodB is called from elsewhere and does not require an object instance or instance state, so it should be a public static method.

Question 41

You need to set up the recurring data integration to pull data from the SFTP site into Dynamics 365 Finance. Which API architecture type should you use?

A. SOAP
B. JSON
C. RPC
D. REST
Show Answer
Correct Answer: D
Explanation:
REST is the appropriate API architecture type for modern Dynamics 365 Finance integrations. JSON is a data format rather than an API architecture, SOAP is a legacy protocol used in some scenarios but is not the preferred modern integration style, and RPC is not the standard architecture for this use case. For recurring data integration involving Dynamics 365 Finance, REST-based endpoints are the expected choice.

Question 42

You need to select an integration strategy to meet the new freight processing requirement. Which two integration strategies can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

A. batch data API
B. OData
C. custom web service
D. asynchronous integration
Show Answer
Correct Answer: B, C
Explanation:
The requirement describes two distinct integration needs: real-time integration using OData and file-based XML exchange via an SFTP location. OData satisfies the real-time data integration requirement, while a custom web service can be used to implement the required custom integration pattern alongside the SFTP/XML processing. Batch Data API is intended for high-volume data import/export rather than this scenario, and asynchronous integration does not match the stated real-time OData requirement.

$19

Get all 296 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.