Microsoft MB-500 Dynamics 365 Finance and Operations Apps Developer 1-10

表示モード
画像位置
文字位置
理解度の自動記録
STATUS FILTER

Choose confidence levels to display

Loading...
Q1MB-500
Show answer
Correct answer: B. An attribute

An X++ attribute is metadata that can be applied to classes and methods, and it can be referenced and processed by the compiler or through reflection.
When you want to raise a notification or warning about a specific method at build time and communicate the intent to other developers, declaring it with an attribute is the right approach rather than a comment or the info() function.
Because Supply Chain Management development uses the same X++ development foundation as the Finance & Operations apps, you implement the attribute as method-level metadata.
X++ attribute classes – Finance & Operations | Dynamics 365

Q2MB-500

Drag the required number of items from “Options” on the left into the “Answer area” on the right (or tap). You can drag within the answer area to reorder them.

Options
  • Duplicate the report in the model and add the new field to the duplicated report design.
  • Create an extension of the existing report controller class in the model and update the class logic to reference the new report.
  • Duplicate the existing data provider class in the model and update the class to set a value for the newly added field.
  • Duplicate the existing report controller class in the model and update the class logic to reference the new report.
  • Create an extension of the existing data provider class in the model and update the class to set a value for the newly added field.
Answer area (execution order, top to bottom)
  1. Drag here

Show answer
Correct answer: Correct order: (1) Duplicate the report in the model and add the new field to the duplicated report design. → (2) Create an extension of the existing report controller class in the model and update the class logic to reference the new report. → (3) Create an extension of the existing data provider class in the model and update the class to set a value for the newly added field.

Do not modify the locked standard report directly; handle it on the extension model side instead.
First, duplicate the design of the target report and place the field to be added.
Next, extend the report controller class so that at runtime it redirects to the new duplicated report.
Finally, extend the data provider class and use an extension point or event handler to set a value for the added field.
Using extensions rather than replacing with duplicates is important from an upgrade-resilience standpoint.
Expand an Application Suite report data set – Finance & Operations | Dynamics 365

Q3MB-500
Show answer
Correct answer: A. Yes

When you want a report to run from a Dynamics 365 Finance form, you associate a menu item with the form button.
When the goal is to launch a report, you use an output menu item and specify the target report or report design on that output menu item.
Therefore, creating an output menu item, adding it to the form button, and linking it to the report is the correct way to meet the goal.
Accordingly, the solution is “Yes.”
Application Explorer AOT properties – Finance & Operations | Dynamics 365

Q4MB-500
Name Comment
Development A Visual Studio workspace is configured and connected to an Azure DevOps branch.
Build A build pipeline is configured.
Standard acceptance test This is a sandbox environment used to test customizations.
How should the deployable package be prepared?

In which section of Lifecycle Services (LCS) should the package be saved?

How should the customization be installed?

Show answer
Correct answer: Build the code in the DevOps pipeline. / Asset library / Select Maintain, and then select Apply updates.

Changes that the developer checked in to the Azure DevOps branch are generated as a deployable package by the build pipeline rather than exported manually from the development environment.
The generated package is saved in the Lifecycle Services Asset library.
Because the standard acceptance test is a sandbox environment, you apply the package from the environment details by selecting “Maintain” → “Apply updates.”
Create a deployable model package – Finance & Operations | Dynamics 365

Q5MB-500
Lock a record immediately at the moment it is fetched from the data source

Minimize the resources used when locking a record during an update

Show answer
Correct answer: Pessimistic / Optimistic

Locking a record immediately at the moment it is fetched corresponds to pessimistic concurrency control, which blocks other users’ updates in advance.
On the other hand, when you want to avoid holding a lock until just before the update, reducing lock contention and resource consumption, you use optimistic concurrency control.
For performance optimization, it is important to understand the characteristics of OCC that avoid unnecessary locks.
Select statement – Finance & Operations | Dynamics 365

Q6MB-500
tryMethod(5,2);

tryMethod(4,0);

tryMethod(2,0);

tryMethod(3,0);

Show answer
Correct answer: One, Two, Four, Five / One, Three, Four, Five / One, Three, Four / One, Two, Four, Five

When execution completes normally, One and Two inside try are output, followed by Four in finally and then Five.
On a division by zero, execution enters catch and outputs Three; even if it returns, finally always runs.
When a is 2, catch returns, so Five is not output.
When a is 3, b is changed to 3 and retry re-executes the try block; because retry clears the Infolog from the start of try, the final output is the content of the successful re-execution.
X++ exception handling – Finance & Operations | Dynamics 365

Q7MB-500

Drag the required number of items from “Options” on the left into the “Answer area” on the right (or tap). You can drag within the answer area to reorder them.

Options
  • Build the solution and refresh the browser.
  • Create a query.
  • Create a security policy and set the primary table, the query, and the context type parameter.
  • Add the constrained table to the policy.
  • Build the solution and run a database synchronization for the project.
Answer area (execution order, top to bottom)
  1. Drag here

Show answer
Correct answer: Correct order: (1) Create a query. → (2) Create a security policy and set the primary table, the query, and the context type parameter. → (3) Add the constrained table to the policy. → (4) Build the solution and run a database synchronization for the project.

To display only a specific customer group, you use extensible data security, which restricts access at the record level.
First, create a query that defines the filter conditions, then set the primary table and context on the security policy that uses that query.
Next, add the constrained table that limits the target data to the policy, and finally run the build and database synchronization.
Extensible data security policies – Finance & Operations | Dynamics 365

Q8MB-500
Show answer
Correct answer: B. A company uses an on-premises inventory management system and must receive sales order data once every hour throughout the day.

Asynchronous integration is suited to integrations where the caller can perform subsequent processing in batch without waiting for a response.
Option B only needs to receive sales order data once every hour and requires no immediate response or user waiting, so batch-style asynchronous integration is appropriate.
Options A, C, and D require “near real time” or “just in time,” so you should consider highly immediate synchronous integration.
Asynchronous integration is suited to large volumes of data or processing that can tolerate delay.
Asynchronous integration – Training

Q9MB-500

Drag the required number of items from “Options” on the left into the “Answer area” on the right (or tap). You can drag within the answer area to reorder them.

Options
  • Map the Microsoft Azure DevOps project to the local developer machine.
  • Create a test branch.
  • Create a development branch.
  • Connect to the Microsoft Azure DevOps project.
  • Create a main branch.
Answer area (execution order, top to bottom)
  1. Drag here

Show answer
Correct answer: Correct order: (1) Connect to the Microsoft Azure DevOps project. → (2) Map the Microsoft Azure DevOps project to the local developer machine. → (3) Create a main branch. → (4) Create a test branch. → (5) Create a development branch.

To start working in Team Explorer, you first connect to the Azure DevOps project, then map the workspace to the local development machine.
After that, you create the branch hierarchy.
You first create the main branch that serves as the common baseline, then split off a test branch and a development branch in that order.
This achieves a branching strategy that lets you promote development code to test and, after validation, merge it into the appropriate branch.
Branching overview – Finance & Operations | Dynamics 365

Q10MB-500
Show answer
Correct answer: A. Create a new model that compiles into its own separate assembly., B. Reference the Application Foundation package when you create the extension model.

In Finance and Operations apps, you extend standard objects from a new model rather than modifying them directly.
To extend Application Foundation objects, you create a model in its own package that can be isolated for upgrade and deployment.
In addition, that model must reference Application Foundation as a dependency.
Adding to an existing package is for legacy scenarios, and specifying the USR layer or creating an extension class alone does not meet the requirements.
Models and packages – Finance & Operations | Dynamics 365