MB-500 study materials
MB-500 study resources

MB-500 practice questions

One question at a time. Build your MB-500 understanding.

First 50 of 200 questions. Each one lists the choices, the correct answer, and an explanation. The checker at the top of this page saves progress in this browser when it is available.

Continue in the practice tool above to load more questions, 50 at a time.

Question 1Plan the architecture and solution design

A team needs a non-production environment with a multi-box topology that can host a copy of production data for user acceptance testing. Which environment should the architect plan for?

  1. A second production environment in the same project
  2. A Tier-2 or higher sandbox environment Correct answer.
  3. A Tier-1 developer environment
  4. A cloud-hosted environment requested through LCS

Explanation

Tier-2 and higher sandboxes provide a multi-box topology and the capacity needed to restore and test with production-sized data, which is why they are the standard choice for UAT and performance validation. Tier-1 environments are single-box and sized for development work rather than production-data testing.

Question 2Plan the architecture and solution design

Which service is the primary place to manage the implementation methodology, environment requests, and deployable packages for a finance and operations project?

  1. Azure DevOps Pipelines
  2. Lifecycle Services Correct answer.
  3. Microsoft Entra admin center
  4. Power Platform admin center

Explanation

Lifecycle Services hosts the project workspace, the methodology, environment deployment and servicing, the shared asset library, and the deployable packages used for sandbox and production updates. The other tools serve identity administration, Power Platform administration, and build orchestration respectively.

Question 3Plan the architecture and solution design

An implementation must change the behavior of a Microsoft-owned model. Which approach keeps the solution compatible with future service updates?

  1. Deploy a script that patches the base model in each environment
  2. Overlay the Microsoft model with a custom copy
  3. Fork the Microsoft model and stop taking updates
  4. Apply extensions from a separate custom model Correct answer.

Explanation

Microsoft models are sealed for overlayering, so all changes must be made through extension points in a custom model that sits in a higher layer. Extensions survive service updates because Microsoft code is never modified or replaced.

Question 4Plan the architecture and solution design

Which integration pattern should be planned for synchronous, near real-time exchange of individual records with an external system?

  1. Nightly file drop to a shared folder
  2. Recurring data export through the data management framework
  3. Excel add-in import performed by a user
  4. OData REST service calls against data entities Correct answer.

Explanation

OData and REST endpoints expose data entities for immediate request and response, which suits synchronous, record-level integration. The other options are batch or manual patterns with latency measured in hours.

Question 5Plan the architecture and solution design

Several developers must work on separate features and merge only tested code into the main line. Which version control approach should the architect recommend?

  1. One long-lived branch per developer merged at go-live
  2. Direct commits by all developers to the shared main branch
  3. Trunk-based development with short-lived feature branches Correct answer.
  4. Storing X++ code only in the LCS asset library

Explanation

Short-lived feature branches isolate work while keeping integration frequent, and the build pipeline validates code before it reaches the main line. Long-lived branches create large, risky merges, and the asset library stores packages rather than source control history.

Question 6Plan the architecture and solution design

In the role-based security model, which artifact groups privileges that belong to a single business task and is then assigned to a role?

  1. A data entity
  2. A record-level security policy
  3. A duty Correct answer.
  4. A user group

Explanation

The hierarchy is privilege, duty, role, and user. A duty bundles the privileges required to perform one business task and is then assigned to one or more roles.

Question 7Plan the architecture and solution design

Which statement describes the One Version service model for finance and operations apps?

  1. All customers run the same software version and must take service updates within the required window Correct answer.
  2. Customers may stay on any release indefinitely if they log a support request
  3. Major version upgrades occur only every five years, as with on-premises deployments
  4. Customers build and apply their own platform patches on a quarterly schedule

Explanation

One Version means every customer runs the same code base, with quality updates and service updates delivered continuously by Microsoft. Customers must remain within the supported update window rather than freezing a release.

Question 8Plan the architecture and solution design

Which feature should the architect plan for loading configuration and master data into a new environment during cutover?

  1. Electronic reporting
  2. Business events
  3. Data management framework projects using data entities Correct answer.
  4. SQL Server Integration Services packages

Explanation

The data management framework provides data entities, staging tables, and reusable projects designed for importing and exporting configuration and master data between environments. The other options relate to notifications, regulatory documents, and unsupported direct database access.

Question 9Plan the architecture and solution design

An external order system will send up to 2,000 messages per hour, and no message may be lost if the receiving app is unavailable. Which integration approach fits best?

  1. Direct inserts into the production database through a linked server
  2. A synchronous OData call for each order line from the external system
  3. A nightly CSV export of the sales order data entity
  4. Queue-based messaging through Azure Service Bus with retry and dead-letter handling Correct answer.

Explanation

A durable queue decouples the sender from the app, buffers messages while the app is down, and provides retry and dead-letter handling so nothing is lost. Synchronous calls fail immediately when the receiver is unavailable, and batch exports cannot handle hourly volumes with guaranteed delivery.

Question 10Plan the architecture and solution design

A custom model uses objects from a second custom model, and both ship in the same deployable package. What must be configured so the build order is correct?

  1. A model reference from the consuming model to the referenced model Correct answer.
  2. A separate deployable package for each of the two models
  3. A startup object set to the referenced model
  4. A shared project file that lists both models

Explanation

Model references in the model descriptor declare compile-time dependencies, which determines the order in which models are compiled inside a package. Without the reference the build cannot guarantee that the referenced model is available first.

Question 11Plan the architecture and solution design

A form owned by Microsoft must show an added field and run custom validation when a new button is clicked. Which design keeps the customization upgrade-safe?

  1. Copying the Microsoft form into a custom model and editing the copy
  2. A form extension plus an event handler for the click Correct answer.
  3. Applying a SQL script that adds the field and button in every environment
  4. A table extension alone, because forms regenerate automatically

Explanation

A form extension adds controls to the Microsoft form without modifying it, and an event handler on the button's clicked event supplies the custom logic. This approach survives service updates because the base form remains untouched.

Question 12Plan the architecture and solution design

Which promotion path should the architect define for a deployable package before it reaches production?

  1. Asset library applied directly to production without testing
  2. Build environment, then a UAT sandbox, then production Correct answer.
  3. Production, then the UAT sandbox, then the build environment
  4. Developer VM, then production, then the UAT sandbox

Explanation

Code should be compiled in a build environment, validated in a sandbox that mirrors production, and only then promoted to production. This sequence ensures the same tested artifact is what goes live.

Question 13Plan the architecture and solution design

Data created in the finance and operations app must appear in Microsoft Dataverse within seconds, with no custom synchronization code. Which technology should be planned?

  1. A Dataverse virtual entity over the app database
  2. A data management framework export project
  3. Dual-write Correct answer.
  4. An Azure Data Lake export

Explanation

Dual-write provides near real-time, bidirectional synchronization between finance and operations apps and Dataverse without custom code. The other options are batch exports or unsupported direct-access patterns.

Question 14Plan the architecture and solution design

Which repository should be the source of truth for X++ code that an Azure Pipelines build compiles into a deployable package?

  1. A SharePoint document library
  2. An Azure Repos Git repository Correct answer.
  3. A developer's local workspace folder
  4. The LCS shared asset library

Explanation

Source control in Azure Repos provides versioning, branching, and the trigger for the build pipeline that produces the package. The asset library stores finished packages, not source history.

Question 15Plan the architecture and solution design

Model A depends on Model B, and both use Chain of Command to extend the same Microsoft method. Which extension runs first?

  1. Only one extension can exist, so the build fails
  2. Model A, because the most dependent extension wraps the others Correct answer.
  3. Execution order is random and cannot be relied upon
  4. Model B, because it is closer to the base model

Explanation

Chain of Command builds a call chain ordered by model dependency, so the extension in the most dependent model is outermost and executes first before calling the next extension and eventually the base method. Architects must account for this order when multiple models extend the same method.

Question 16Plan the architecture and solution design

Users in each of three regions must see only the customer records that belong to their own region. Which security mechanism should be planned?

  1. A separate legal entity per region with no shared data
  2. A separate role for each region with full table permissions
  3. An extensible data security policy filtering on region Correct answer.
  4. Menu item restrictions on the customer list page

Explanation

Extensible data security applies a policy with a query filter so that users see only the rows that satisfy the condition, such as their own region. Roles and menu items control access to objects, not which rows are returned.

Question 17Plan the architecture and solution design

An external application must read data from the app through OData but must never modify records. What should the architect plan?

  1. A shared interactive user account that is assigned the system administrator role
  2. A service account that is assigned the data management role in every environment
  3. Direct read-only access to the production SQL database for the vendor
  4. An Entra app registration mapped to an application user with a read-only role Correct answer.

Explanation

Non-interactive integrations should authenticate through an Entra ID app registration that is mapped to an application user, and that user should receive a role granting only read access. This enforces least privilege and keeps the integration auditable.

Question 18Plan the architecture and solution design

Five million historical sales records must be migrated with minimal business downtime. Which approach should the architect plan?

  1. A one-off import executed during business hours without staging
  2. Dual-write of the historical records from Dataverse
  3. Manual entry through the Excel add-in by the business users
  4. Recurring data management projects that stage files and run in batches Correct answer.

Explanation

Large volumes are handled by staging the source files and processing them in batches so the work runs in the background and can be resumed if it fails. Staging plus batching shortens the cutover window and keeps the source data validated before import.

Question 19Plan the architecture and solution design

What does an Azure Pipelines build for a finance and operations solution produce for deployment to a sandbox?

  1. A SQL Server backup of the model database
  2. A deployable package uploaded to the LCS asset library Correct answer.
  3. An XPO file for each modified table
  4. A managed solution imported through the Power Platform admin center

Explanation

The build compiles the models and produces a deployable package, which is uploaded to the project asset library in Lifecycle Services and then applied to the target environment. Managed solutions and XPO files belong to other platforms and export formats.

Question 20Plan the architecture and solution design

After each monthly service update, the team must verify that key business processes still work before releasing to production. Which approach should be planned?

  1. Automated regression tests run in a sandbox with the Regression suite automation tool Correct answer.
  2. Reviewing the update release notes only
  3. Regression testing in production during business hours
  4. Manual smoke testing on a Tier-1 developer environment

Explanation

Task recordings converted to automated tests and executed with the Regression suite automation tool in a sandbox provide repeatable, evidence-based validation of critical processes after each update. Documentation review and manual spot checks do not prove that the processes still execute.

Question 21Plan the architecture and solution design

An implementation must cover statutory reporting for three countries. Which approach should the architect plan?

  1. Disable localization features and produce filings manually
  2. Use the built-in country-specific features and Electronic reporting configurations Correct answer.
  3. Export raw data nightly to a separate system for all filings
  4. Write custom X++ reports for each country's statutory output

Explanation

Statutory requirements are met through the localized country features plus Electronic reporting configurations that Microsoft and partners maintain and update. Custom report development for regulated output increases maintenance cost and regression risk with every service update.

Question 22Plan the architecture and solution design

An external system must be notified when a specific business process completes, without polling the app. Which approach should be planned?

  1. Change tracking with a nightly export to a file share
  2. A recurring integration job that queries a data entity every minute
  3. A business event published to an endpoint such as Azure Service Bus Correct answer.
  4. A SQL Server trigger on the related table

Explanation

Business events emit a notification when a business process reaches a defined point, and the event can be routed to an endpoint such as Azure Service Bus, Event Grid, or a webhook. This gives event-driven notification without polling or database-level triggers.

Question 23Plan the architecture and solution design

No user may both create and approve vendor payments. How should the architect enforce this in the security design?

  1. Separate conflicting duties into different roles and validate with the segregation of duties report Correct answer.
  2. Personalize the approval form so the button is hidden from those users
  3. Create a separate legal entity for each payment approver
  4. Grant organization-wide delete permission to the payment role

Explanation

Segregation of duties is enforced by designing roles so that conflicting duties are never granted to the same user, then using the segregation of duties analysis to detect violations. Hiding user interface elements is not a security control.

Question 24Plan the architecture and solution design

A custom package and an ISV package both extend the same Microsoft table. What should the architect plan before go-live?

  1. Apply both extensions in production first and test afterwards
  2. Install only one of the packages, because table extensions cannot coexist
  3. Install both packages in one sandbox and verify the combined behavior Correct answer.
  4. Manually merge the two packages into a single model

Explanation

Extensions from different packages do not merge automatically, so the combined result must be validated in a single environment that contains both packages. Testing the combination before production reveals field conflicts and duplicate control names.

Question 25Plan the architecture and solution design

Which deliverable should the architect produce to record how requirements are met by standard features, extensions, or workarounds?

  1. A test script library for user acceptance testing
  2. A subscription estimate for the LCS project
  3. A fit-gap analysis with the solution blueprint Correct answer.
  4. A production backup and restore schedule

Explanation

The fit-gap analysis maps each requirement to standard functionality, an extension, or a process workaround, and the solution blueprint documents the resulting design decisions. Operational schedules, test scripts, and capacity estimates are downstream artifacts that follow from that design.

Question 26Plan the architecture and solution design

Users must complete user acceptance testing on realistic data volumes before go-live, and the test data must be a recent copy of production. Which environment should the architect plan?

  1. A Tier-2 or higher sandbox that is refreshed from production Correct answer.
  2. A local virtual machine that each developer runs on a personal laptop
  3. The production environment, with test users given restricted security roles
  4. A cloud-hosted development environment used only by developers for coding

Explanation

Sandbox environments of Tier 2 or higher can be refreshed with a copy of the production database, which is the only way to test against realistic volumes of live data. Development environments and local VMs contain only developer data, and testing in production is not an acceptable substitute.

Question 27Plan the architecture and solution design

A development team of 15 people, plus two ISV partners, contributes to the same X++ codebase with monthly releases. Which version control design should the architect plan?

  1. A branch per customer environment, with fixes applied directly to each branch
  2. A separate repository per ISV partner, synchronized manually before each release
  3. A long-lived branch per developer, merged into main at the end of each month
  4. A single main branch with short-lived feature branches merged through pull requests Correct answer.

Explanation

A single trunk with short-lived feature branches and pull-request validation keeps one source of truth and surfaces integration conflicts continuously rather than at release time. Every environment is then built from the same artifacts, so what is tested is what is deployed.

Question 28Plan the architecture and solution design

A customer requires that scanned invoices attached to purchase orders be available to all users and must not inflate the size of the transactional database. Which design should the architect plan?

  1. Configure document management to store files in Azure Blob storage Correct answer.
  2. Store the files on a file share referenced by a URL field on the purchase order
  3. Store the files in a custom table designed for binary content
  4. Send the files by email to a shared mailbox and reference the message ID

Explanation

Document management can be configured to offload attachments to Azure Blob storage through a storage account connection, keeping binary content out of the database while remaining viewable from the record. The default behaviour stores attachments in the database, which is what the requirement rules out.

Question 29Plan the architecture and solution design

During sales order entry, a clerk must be blocked from confirming an order when an external credit service reports that the customer is over limit, and the check must complete in under one second. Which integration design should the architect choose?

  1. An asynchronous message queue that posts the order once a response arrives
  2. A nightly batch that imports credit status into a custom table
  3. A recurring data management job that pulls credit data every 15 minutes
  4. A synchronous call to the external service during confirmation Correct answer.

Explanation

Only a synchronous call returns the credit decision before the confirm action completes, which is what allows the user to be blocked in the same transaction. The design must also define timeout and failure behaviour so that an unreachable service does not silently allow the order.

Question 30Apply developer tools

Which file format stores X++ source code in version control for a Finance and Operations project?

  1. Compiled assemblies (.dll)
  2. Binary model files (.aod)
  3. Database backup files (.bak)
  4. Text files with an .xpp extension Correct answer.

Explanation

X++ source is kept as individual .xpp text files, while element metadata is stored as XML, so the code can be diffed, merged, and reviewed in Azure DevOps. Compiled output and databases are never used as the source of truth for a model.

Question 31Apply developer tools

Which Visual Studio feature should a developer use to find every location where a specific table method is called?

  1. Error List
  2. Output window
  3. Find references (cross-reference) Correct answer.
  4. Solution Explorer

Explanation

The cross-reference database indexes every element and every usage, and Find references queries it to list all callers of a method. The index must be up to date, which normally happens during a build.

Question 32Apply developer tools

A team must keep a code package so it can be deployed to several environments later. Where should the package be uploaded in Lifecycle Services?

  1. Issue search
  2. Asset library Correct answer.
  3. Business process library
  4. Environment monitoring

Explanation

The Asset library stores deployable packages, data packages, and other artifacts that can then be selected for deployment to an environment. Uploading once lets the same validated artifact be reused across environments.

Question 33Apply developer tools

Which tool is used to record user actions in the client so the actions can later become automated tests?

  1. SQL Server Profiler
  2. Task Recorder Correct answer.
  3. Trace Parser
  4. Performance timer

Explanation

Task Recorder captures clicks and data entry as a recording that can be saved to the Business process library and later replayed or driven by automation. It is the standard starting point for building regression tests.

Question 34Apply developer tools

Which Visual Studio window is used to run X++ unit tests and review their results?

  1. Error List
  2. Task List
  3. Application Explorer
  4. Test Explorer Correct answer.

Explanation

X++ unit tests built on the SysTest framework are discovered and executed from Test Explorer, which reports pass, fail, and duration per test. The same tests can also be executed by the build pipeline.

Question 35Apply developer tools

Which attribute marks an X++ method as a unit test method that the SysTest framework can execute?

  1. [SysTestMethod] Correct answer.
  2. [TestMethod]
  3. [SysTestClass]
  4. [UnitTest]

Explanation

The SysTest framework discovers methods decorated with the SysTestMethod attribute inside a class marked as a test class. Attributes borrowed from other test frameworks are not recognized by SysTest.

Question 36Apply developer tools

A developer must add a new field to a Microsoft-provided table without changing Microsoft's code. What should they create?

  1. A duplicate of the base table
  2. An overlay of the base table
  3. A table extension Correct answer.
  4. A new view over the base table

Explanation

Extensions add fields, indexes, and methods to an existing element while leaving the base element intact, so Microsoft updates are not blocked. Overlayering is deprecated because it conflicts with continuous updates.

Question 37Apply developer tools

Which tool should be used to analyze an .etl trace file that was captured on a Finance and Operations environment?

  1. Trace Parser Correct answer.
  2. Task Recorder
  3. SQL Server Profiler
  4. Fiddler

Explanation

Trace Parser reads the ETL trace produced by the environment's tracing tools and presents call trees, SQL statement timings, and hot paths. It is the standard tool for diagnosing slow X++ code and slow queries.

Question 38Apply developer tools

A pipeline build succeeds and must now be moved to a sandbox environment. Which build output is uploaded to Lifecycle Services?

  1. The deployable package (.zip) Correct answer.
  2. The developer's bin folder
  3. The solution file (.sln)
  4. The model's XML metadata files

Explanation

The build produces a deployable package that contains the compiled models and metadata in the layout the deployment service expects. That package is uploaded to the Asset library and then applied to the target environment.

Question 39Apply developer tools

A team uses the Create model wizard in Visual Studio to add a new model. What must be specified so their code can use elements from another model?

  1. The referenced models (dependencies) Correct answer.
  2. The AOS server name
  3. The label file of the other model
  4. The Azure DevOps repository URL

Explanation

A model can only consume elements from models it references, and those references are selected when the model is created and captured in the model descriptor. Missing references cause compile errors when the dependent elements are used.

Question 40Apply developer tools

Which version control systems can be used with the Finance and Operations development tools in Visual Studio?

  1. Perforce only
  2. Team Foundation Version Control and Git Correct answer.
  3. Team Foundation Version Control only
  4. Subversion and Mercurial

Explanation

The development tools support both Team Foundation Version Control and Git repositories hosted in Azure DevOps or another Git host. The choice affects branching and merging strategy but not the X++ development experience.

Question 41Apply developer tools

A developer must wrap an existing table method so that custom logic runs first and the original logic is then executed by calling next. Which technique should be used?

  1. Apply chain of command to the method Correct answer.
  2. Create a new table that derives from the original table
  3. Copy the method into an extension class
  4. Subscribe a pre-event handler to the table

Explanation

Chain of command creates an extension method with the same signature that can run logic before and after a call to next, which invokes the original method body. It is the supported way to wrap existing X++ logic without overlayering.

Question 42Apply developer tools

A developer must display the same text in several user interface elements across multiple languages. What should they create?

  1. A separate display method for each language
  2. A table that stores one record per language
  3. A label in a label file, referenced by its label ID Correct answer.
  4. A hard-coded string on each form

Explanation

Labels are stored in language-specific label files and referenced from code or properties by ID, so the text can be translated without changing code. This is also a best practice requirement for user-facing strings.

Question 43Apply developer tools

A developer adds a new field to a table extension on a development machine. Which action makes the field available in the local database?

  1. Build the model and synchronize the database Correct answer.
  2. Restart the AOS service
  3. Recycle the IIS application pool
  4. Export the model as a deployable package

Explanation

Database synchronization compares the model metadata with the SQL schema and applies the differences, and it runs as part of a full build. Until synchronization completes, the column does not exist and queries against it fail.

Question 44Apply developer tools

A sandbox environment must receive a custom code package. Which Lifecycle Services page is used to apply it?

  1. Environment monitoring > Activity trace
  2. Maintain > Apply updates on the environment details page Correct answer.
  3. Business process library
  4. Issue search

Explanation

Applying a package is done from the environment's maintenance page, where the package from the Asset library is selected and deployed. The environment must be in a state that allows servicing, such as a deployed sandbox.

Question 45Apply developer tools

Where must a developer check in X++ changes so that the automated build in Azure DevOps can compile them?

  1. On the sandbox environment's file share
  2. In the local model store only
  3. In the Asset library of Lifecycle Services
  4. In the Azure DevOps repository that the pipeline is configured to build Correct answer.

Explanation

The pipeline pulls source from the repository configured in the build definition, so changes must be committed and pushed to that repository. Code that exists only on a developer machine is never seen by the build agent.

Question 46Apply developer tools

Which form property must be assigned so that a new form passes best practice validation?

  1. Title
  2. Pattern Correct answer.
  3. Caption
  4. Form template

Explanation

Every form design must have a pattern that describes its intended layout, and best practice checks report a violation when the property is empty. The pattern also determines which child controls are considered valid.

Question 47Apply developer tools

A developer must call a third-party .NET assembly from X++. What must be done before the call can be written?

  1. Convert the assembly to X++ source
  2. Create a deployable package for the assembly
  3. Add a reference to the assembly to the project and model Correct answer.
  4. Register the assembly in Lifecycle Services

Explanation

X++ can consume .NET types once the assembly is referenced by the project and by the model, so the compiler can resolve the types. The assembly must also be present in the runtime bin folder of the environment.

Question 48Apply developer tools

A build fails with an error stating that model 'ContosoExt' does not reference model 'ContosoCore'. What is the correct fix?

  1. Delete the ContosoCore model
  2. Move the element to the ContosoCore model
  3. Add ContosoCore to the referenced models of ContosoExt Correct answer.
  4. Rename ContosoExt

Explanation

A model may only use elements from models listed in its own references, and the compiler enforces this rule. Adding the missing dependency to the model descriptor resolves the error without moving code between models.

Question 49Apply developer tools

Which Visual Studio window shows all metadata elements available in the current model and its references, such as tables and classes?

  1. Solution Explorer
  2. Test Explorer
  3. Error List
  4. Application Explorer Correct answer.

Explanation

Application Explorer presents the metadata tree of the models in the development environment, and elements can be dragged from it into a project. Solution Explorer, by contrast, shows only items already added to the open projects.

Question 50Apply developer tools

Which artifact links an RSAT automated test to a recorded business process?

  1. A best practice report produced by the build
  2. An ETL trace downloaded from environment monitoring
  3. A SysTest method compiled into the model
  4. A BPM recording linked to an Azure DevOps test case Correct answer.

Explanation

RSAT drives the client by replaying a Task Recorder recording that is stored in the Business process library and associated with an Azure DevOps test case. The test case supplies the test steps and parameters, while the recording supplies the automation.