Microsoft

MB-500 Free Practice Questions — Page 6

Question 51

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 51
Show Answer
Correct Answer: Navigate to the Sales order form. Personalize the page. Configure and embed the app. Modify the OnStart function of the app. Refresh the browser.
Explanation:
Open the target form first, personalize it to host the app, then configure and embed the Power Apps app. Update the app’s OnStart logic to handle context and data, and finally refresh to apply and load all changes.

Question 52

DRAG DROP - You are a Dynamics 365 Finance developer. Users can view customers from all customer groups on the customer form. You need to ensure that users can only see customers who belong to a specific customer group. Which four 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. Select and Place:

Illustration for MB-500 question 52
Show Answer
Correct Answer: Create a query. Create a security policy and set primary table, query, and context type parameters. Add a constrained table to the policy. Build the solution and perform a database sync of the project.
Explanation:
Record-level security in Dynamics 365 Finance is implemented by defining a query that filters the allowed records, linking that query to a security policy, constraining the relevant table, and finally building and synchronizing the database so the policy is enforced at runtime.

Question 53

A company requires a Power Apps app that will enable users to view and create new leads in Dynamics 365 from the app. The data is in a custom entity named LeadsTable, which is not accessible outside Dynamics 365. You need to make the data available outside Dynamics 365. What should you do?

A. Enable IsPublic for the data entity linked to the LeadsTable.
B. Assign the create, read, update, and delete operations for the LeadsTable to the sales associate role.
C. Enable all create, read, update, and delete operations on the LeadsTable table.
D. Create an aggregate data entity for the LeadsTable.
E. Enable data management capabilities on the data entity.
Show Answer
Correct Answer: A
Explanation:
To make Dynamics 365 data available outside the application (for example to Power Apps), the data must be exposed through an external endpoint such as OData. Setting the data entity’s IsPublic property to Yes exposes it for external consumption. Role assignments or CRUD settings control internal security only, data management is for import/export scenarios, and aggregate entities are not required for simple access.

Question 54

A company is developing a new solution in Dynamics 365 Supply Chain Management. Customers will be able to use the solution in their own implementations. Several of the classes in the solution are designed to be extended by customers in other implementations to accommodate unique requirements. Certain methods must show up in the output window during the build process to advise other developers about the intent of the methods. You need to implement the statements for the methods. What should you implement?

A. comments
B. attributes
C. global variables
D. properties
E. info() function
Show Answer
Correct Answer: B
Explanation:
In Dynamics 365 Supply Chain Management (X++), attributes can be applied to classes and methods to provide metadata that is evaluated during the build process. Certain attributes (such as SysObsolete or custom attributes) generate warnings or messages in the build output window, which is exactly how developers are advised about the intent, usage, or lifecycle of methods. Comments do not appear in build output, and the other options do not serve this purpose.

Question 55

A company is implementing Dynamics 365 finance and operations apps. You are using the Acceptance test library (ATL) to test code in Visual Studio. You need to create an entity test class to expose the entity properties. Which method should you use?

A. parm
B. with
C. set
Show Answer
Correct Answer: A
Explanation:
In the Acceptance Test Library (ATL) for Dynamics 365 Finance and Operations, entity test classes expose entity properties using parm methods. These methods act as getters/setters for entity fields and are the standard pattern for defining and accessing properties in ATL entity classes. The with method is for fluent setup, and set methods assign values but do not define exposed properties.

Question 56

DRAG DROP - A company has a table named CustTrans that includes a column named AmountCur. You are creating a Power BI analytical report that uses the AmountCur information. The report must show the total transaction amounts recorded in customer transactions for the previous week. The report must also show transaction data for any time during the previous week. You need to develop an aggregate measurement for the report. Which four 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.

Illustration for MB-500 question 56
Show Answer
Correct Answer: Create a view named MyCustTransView. Add a measure named AmountCurSum. Set Column = AmountCur and Default Aggregate = Sum. Set the Date_by dimension relation constraint: Related Field = TransDate. Create an aggregate measurement named MyCustTransAgg and set the measure group Table to MyCustTransView.
Explanation:
First create a view to expose transaction data. Then define a sum measure over AmountCur. Apply the date relationship to enable previous-week filtering. Finally, create the aggregate measurement bound to the view so Power BI can compute totals for the selected period.

Question 57

Case study - This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study - To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. When you are ready to answer a question, click the Question button to return to the question. Background - Munson's Pickles and Preserves Farm produces and sells jarred food goods. The organization has several production and warehouse locations across the United States. Each location runs both production and warehousing operations. The company has three locations: East, Central, and West. The company is upgrading its Dynamics AX 2009 system to Dynamics 365 Finance. Current environment. General - Munson's Pickles and Preserves Farm plans to migrate customizations, data, and integration from its legacy system into Dynamics 365 finance and operations apps. The Dynamics 365 finance and operations environment includes: • multiple cloud-hosted development environments using Microsoft Visual Studio 2017 • a Microsoft Azure DevOps project for source control • two tier 2 environments for user acceptance testing and staging, as well as production Munson's Pickles and Preserves Farm is currently in the planning and development phase of the upgrade process. The company's internal development team needs additional development resources to address issues. The company already created a project that is set up to use a custom model named GPExtensions. Current environment. Integrations Munson's Pickles and Preserves Farm has a new integration for its freight processing information. The internal development team created the secure file transfer protocol (SFTP) site for the source information to be stored and the staging table to house the source information once the data is added to Dynamics 365 Finance. Information from the source will be transferred once a day from the source system and integrated with the target system. More than 10,000 records will be transferred over the integration. The company created an aggregate entity for the integration to minimize the amount of transmitted data. Munson's Pickles and Preserves Farm has added a new integration for freight processing where all item weights, dimensions, and other factors will be configured in the external portal while planning the loads. Once the load is planned, it will be integrated into Dynamics 365 finance and operations apps for the freight invoice processing to occur. No duplicate invoices or posting are associated with the freight invoice charges. The integration of this information from the source system is intended only for report creation and compilation purposes. Current environment. Planned changes Munson's Pickles and Preserves Farm wants to change inventory forms to fit its current needs. Any modifications or enhancements must follow the existing functionality for forms in Dynamics 365 Finance. Requirements. Integrations - All data from integrations have the same format as an existing Dynamics 365 Finance apps field. All enhancements or customizations must use existing assets before creating new functionality. Munson's Pickles and Preserves Farm wants to change its integration strategy to include real-time data from the freight processing source system. The inventory must update as it is sold from the system. That information will be updated in Dynamics 365 Finance. The freight processing integration requires the use of an SFTP site to store XML files from the source system. The additional integration will use OData and must be transferred in real time. A periodic batch job must: • Pull data from the SFTP site. • Import the data to a staging table used to hold the information from the source system. • Map source data to the target table in Dynamics 365 Finance. The imported Load ID field must be added to the Sales Order header for all processed orders. Additional requirements for integrations, including other integration strategies, may be necessary as the company grows. Existing tables must be changed to include the Load ID. The database will need to be synched before adding the Load ID field. Requirements. Changes - Munson's Pickles and Preserves Farm must change the Inventory Status form to include more columns. It plans to create a table to enter the data for the Inventory Status form as a new data source. The company wants to add both the Product Name field and Batch ID field to this new table. The current form includes the item number, location, license plate, product inventory dimensions, and quantity. The grid on the Inventory Status form must include the product name by using the item number and legal entity. The user interface must be created to include the new columns and the data must be available to add to the grid. The form must have only an Action Pane, a Navigation List, a List Style Grid, a Details Header, and a Details Tab in the design and include the Load ID field. Munson's Pickles and Preserves Farm is currently in the process of adding the other required fields: one for Product Name and one for Batch ID. The new fields must be related to extended data types for the original fields on the existing data source for the Inventory Status form. Munson's Pickles and Preserves Farm plans to add the EcoResProductName and Batch ID data to the extended table for WHSTmpStatusChange. The fields on the table extension must be populated with data and visible on the Inventory Status form on insert. Issues - • The internal development team has created the SFTP site connections, the staging table, and the batch jobs for the new integration for freight processing. The development team needs to map the source data to the target table and the data management workspace. The development team notices errors with mapping target fields in the data management workspace. The team needs another developer to configure the table extensions, class extensions, and form extensions that are required for the planned changes. • The internal development team has issues adding the required fields to the Inventory Status standard form. The team needs another developer to configure the table extensions, class extensions, and form extensions that are required for the planned changes. You need to test and map the freight processing integration. Which data management concept is used for the XML file to import the freight processing data?

A. data project
B. data job
C. data entity
D. data package
Show Answer
Correct Answer: C
Explanation:
In Dynamics 365 Finance, XML imports via the Data management workspace are defined and mapped through data entities. The XML file structure is mapped to a data entity, which handles field mapping, validation, and persistence. Data projects, jobs, and packages are containers or execution artifacts, but the core concept used to import and map the XML data is the data entity.

Question 58

DRAG DROP - A company uses Dynamics 365 Finance. The company needs to track deletions of purchase order header records only. You need to enable the change tracking. Which four 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.

Illustration for MB-500 question 58
Show Answer
Correct Answer: Select Configure entity export to database from the Data management workspace. Select the database to export data to and then select Publish. Select the published entity and then select Change tracking. Select the Enable primary table option.
Explanation:
To track deletions only for purchase order header records, you must first configure and publish entity export to a database. After the entity is published, change tracking is enabled on the entity, and selecting the primary table ensures only header-level (not line-level) changes such as deletions are tracked.

Question 59

Accompany is implementing Dynamics 365 Supply Chain Management. A developer creates a new form in Visual Studio. The developer must conduct manual unit testing on the functionality of the form before releasing it for functional testing by non-developers. You need to preview the new form to conduct manual unit testing. Which action should you conduct first on the form object?

A. Performance Profiler
B. Debug
C. Set as Startup Object
D. Attach to process
E. Scope to this
Show Answer
Correct Answer: C
Explanation:
To manually unit test a new form in Dynamics 365 Supply Chain Management from Visual Studio, the form must be runnable. Setting the form as the Startup Object ensures that it opens directly when the project is run, allowing the developer to preview and interact with the form. Other options like Debug or Attach to process are subsequent steps and do not by themselves make the form launchable.

Question 60

You extend the insert method of the CustTable by using Chain of Command. You need to print a message after creating a record if the Sales tax group is complete. Which code segment should you use?

A.
B.
C.
D.
Show Answer
Correct Answer: A
Explanation:
When extending CustTable.insert() using Chain of Command, the record must be inserted by calling next insert() before any post-insert logic. Option A correctly calls next insert() first and then checks whether the Sales tax group is complete and displays an infolog message afterward. The other options either evaluate the condition before the record is created or do not respect the correct Chain of Command pattern.

$19

Get all 280 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.