Microsoft MB-820 Practice Test 12
Question 110
A consultant needs to debug two cooperating AL apps in one Visual Studio Code workspace without flattening their manifests. The risk committee is identifying shortcuts that might pass a short demonstration yet undermine upgrade safety, data integrity, security, maintainability or expected Business Central behavior. It wants either the specific false assumption rejected or complementary engineering controls demonstrated. Which TWO complementary steps jointly address the risk and verify the implementation? Select TWO answers.
- Run the report with restrictive and broad criteria and compare dataset counts and totals.
- Use a multi-root workspace with distinct AL projects and explicit references between their apps.
- Implement a page action whose AL handler passes the current record context to the target page.
- Inspect workspace folders, individual app.json files and compiled dependency resolution.
- Merge all app.json files into one and discard distinct extension identity boundaries.
Explanation
Correct Answers
B:Correct engineering action for this case. Related extensions can share a developer workspace while keeping independent app identities and dependencies. The proposed change is: Use a multi-root workspace with distinct AL projects and explicit references between their apps. Verification should include: Inspect workspace folders, individual app.json files and compiled dependency resolution.
D:This directly checks the failure mode instead of only proving that a build completed. The target result is: Both projects build independently and reference only declared published symbols.
Incorrect Answers
A:The intended outcome is: Both projects build independently and reference only declared published symbols.
C:This action concerns Page actions and navigation, not the present Multiroot workspaces and symbols issue. The implementation called for here is: Use a multi-root workspace with distinct AL projects and explicit references between their apps. Its key check is: Inspect workspace folders, individual app.json files and compiled dependency resolution.
E:This proposal is itself unsafe: Merge all app.json files into one and discard distinct extension identity boundaries. It undermines the relevant engineering requirement. The appropriate decision is: Use a multi-root workspace with distinct AL projects and explicit references between their apps.
Question 111
A developer sets a production tenant as the only launch profile and triggers debugging while attempting to reproduce a pricing defect. The implementation meeting demands a concrete engineering decision that can survive the next platform update, rather than merely a reassuring design statement. The developer must decide which change resolves this business request with the smallest unsupported customization footprint. Which implementation decision most directly resolves the requirement or risk? Select ONE best answer.
- Use a processing-only report with controlled data selection, error handling and a dry-run or audit strategy.
- Put reusable business logic in a codeunit invoked from the necessary application entry points.
- Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context.
- Debug an unknown production tenant by repeatedly publishing changes directly to it.
Explanation
Correct Answer
C:Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session.
Incorrect Answers
A:This decision is relevant to Processing-only reports and execution, a different design concern. It does not directly solve the reported Launch profiles and debugging failure.
B:This decision is relevant to Codeunit separation of business logic, a different design concern. It does not directly solve the reported Launch profiles and debugging failure.
D:This proposal is itself unsafe: Debug an unknown production tenant by repeatedly publishing changes directly to it. It undermines the relevant engineering requirement. The governing principle is: Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session. The appropriate decision is: Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context.
Question 112
A developer sets a production tenant as the only launch profile and triggers debugging while attempting to reproduce a pricing defect. During architectural review, the team is evaluating the underlying Business Central or AL rule that makes one approach sound. The answer must explain the lifecycle or execution principle, even before any code is committed or a release ticket is opened. Which platform or AL development principle BEST explains the correct engineering approach? Select ONE best answer.
- Permission-set objects declare allowed operations and must be evaluated with effective user authorization.
- Guided setup helps administrators configure dependent settings before using new functionality.
- Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session.
- Debug an unknown production tenant by repeatedly publishing changes directly to it.
Explanation
Correct Answer
C:Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session.
Incorrect Answers
A:That principle relates to Permission sets for owned objects, but it does not explain the current defect.
B:That principle relates to Assisted setup workflow, but it does not explain the current defect. The pertinent rule is: Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session.
D:This proposal is itself unsafe: Debug an unknown production tenant by repeatedly publishing changes directly to it. It undermines the relevant engineering requirement.
Question 113
A developer sets a production tenant as the only launch profile and triggers debugging while attempting to reproduce a pricing defect. A skeptical test lead requires reproducible proof from the affected tenant or extension artifact. A successful compilation alone is insufficient; the team must name a targeted trace, inspection, test result or configuration record connected to the reported behavior. What investigation or test evidence most directly verifies that the issue was addressed? Select ONE best answer.
- Inspect launch.json and confirm breakpoint hits, environment name and call stack in an isolated reproduction.
- Review table types, primary keys, data ownership and repeated transactions for the same master record.
- Unit test parameter behavior and compare outputs across every call site using identical inputs.
- Debug an unknown production tenant by repeatedly publishing changes directly to it.
Explanation
Correct Answer
A:This directly checks the failure mode instead of only proving that a build completed. Inspect launch.json and confirm breakpoint hits, environment name and call stack in an isolated reproduction.
Incorrect Answers
B:That test probes Master data versus transaction data, not the case-specific problem. The discriminating diagnostic for Launch profiles and debugging is: Inspect launch.json and confirm breakpoint hits, environment name and call stack in an isolated reproduction.
C:That test probes AL procedures and parameter semantics, not the case-specific problem. The discriminating diagnostic for Launch profiles and debugging is: Inspect launch.json and confirm breakpoint hits, environment name and call stack in an isolated reproduction.
D:This proposal is itself unsafe: Debug an unknown production tenant by repeatedly publishing changes directly to it. It undermines the relevant engineering requirement. The governing principle is: Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session.
Question 114
A developer sets a production tenant as the only launch profile and triggers debugging while attempting to reproduce a pricing defect. After a controlled deployment rehearsal, the product owner must distinguish a measurable, usable business outcome from mere delivery of an extension package. The acceptance criterion should remain meaningful when tested again after a platform update or service restart. Which observable acceptance outcome BEST demonstrates that the solution meets the requirement? Select ONE best answer.
- The defect is reproducible with source-level traces without modifying production records.
- Support can isolate recurring failures and compare affected operations by release.
- Failed service calls are handled predictably without creating false success records.
- Debug an unknown production tenant by repeatedly publishing changes directly to it.
Explanation
Correct Answer
A:This is an observable success criterion tied to the requirement. The defect is reproducible with source-level traces without modifying production records.
Incorrect Answers
B:That is an acceptance criterion for Extension telemetry correlation, not the behavior requested here. This change succeeds when: The defect is reproducible with source-level traces without modifying production records.
C:That is an acceptance criterion for HttpClient request and response handling, not the behavior requested here. This change succeeds when: The defect is reproducible with source-level traces without modifying production records.
D:This proposal is itself unsafe: Debug an unknown production tenant by repeatedly publishing changes directly to it.
Question 115
A developer sets a production tenant as the only launch profile and triggers debugging while attempting to reproduce a pricing defect. The risk committee is identifying shortcuts that might pass a short demonstration yet undermine upgrade safety, data integrity, security, maintainability or expected Business Central behavior. It wants either the specific false assumption rejected or complementary engineering controls demonstrated. Which flawed shortcut most directly creates the specific risk described? Select ONE best answer.
- Change a non-extensible base enum directly and rely on future upgrades to preserve the modification.
- Debug an unknown production tenant by repeatedly publishing changes directly to it.
- Use a processing-only report as the primary interactive record-editing page.
- Fork the Microsoft base application and deploy the fork as the normal SaaS customization strategy.
Explanation
Correct Answer
B:It conflicts with the principle: Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session.
Incorrect Answers
A:This would be a poor shortcut for the separate topic of Enum extension compatibility; however, it does not identify the specific faulty assumption in this Launch profiles and debugging case. The directly implicated shortcut is: Debug an unknown production tenant by repeatedly publishing changes directly to it.
C:This would be a poor shortcut for the separate topic of List versus Card page selection; however, it does not identify the specific faulty assumption in this Launch profiles and debugging case. The directly implicated shortcut is: Debug an unknown production tenant by repeatedly publishing changes directly to it.
D:This would be a poor shortcut for the separate topic of Architecture of extension-first customization; however, it does not identify the specific faulty assumption in this Launch profiles and debugging case. The directly implicated shortcut is: Debug an unknown production tenant by repeatedly publishing changes directly to it.
Question 116
An AL extension builds successfully but the developer cannot attach breakpoints because launch.json points to the wrong environment. The implementation meeting demands a concrete engineering decision that can survive the next platform update, rather than merely a reassuring design statement. The developer must decide which change resolves this business request with the smallest unsupported customization footprint. Which implementation decision most directly resolves the requirement or risk? Select ONE best answer.
- Debug an unknown production tenant by repeatedly publishing changes directly to it.
- Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
- Put reusable business logic in a codeunit invoked from the necessary application entry points.
- Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context.
Explanation
Correct Answer
D:Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session. The proposed change is: Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context.
Incorrect Answers
A:This proposal is itself unsafe: Debug an unknown production tenant by repeatedly publishing changes directly to it. The governing principle is: Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session.
B:That option concerns Permission sets for owned objects. Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session.
C:This decision is relevant to Codeunit separation of business logic, a different design concern. It does not directly solve the reported Launch profiles and debugging failure. The targeted implementation is: Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context.
Question 117
An AL extension builds successfully but the developer cannot attach breakpoints because launch.json points to the wrong environment. During architectural review, the team is evaluating the underlying Business Central or AL rule that makes one approach sound. The answer must explain the lifecycle or execution principle, even before any code is committed or a release ticket is opened. Which platform or AL development principle BEST explains the correct engineering approach? Select ONE best answer.
- Guided setup helps administrators configure dependent settings before using new functionality.
- Debug an unknown production tenant by repeatedly publishing changes directly to it.
- Master data describes reusable business entities while transaction data records events or documents.
- Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session.
Explanation
Correct Answer
D:Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session. It supports the concrete step: Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context.
Incorrect Answers
A:That principle relates to Assisted setup workflow, but it does not explain the current defect. The pertinent rule is: Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session. Its implementation is: Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context.
B:It undermines the relevant engineering requirement. The governing principle is: Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session.
C:That principle relates to Master data versus transaction data, but it does not explain the current defect. The pertinent rule is: Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session.
Question 118
An AL extension builds successfully but the developer cannot attach breakpoints because launch.json points to the wrong environment. A skeptical test lead requires reproducible proof from the affected tenant or extension artifact. A successful compilation alone is insufficient; the team must name a targeted trace, inspection, test result or configuration record connected to the reported behavior. What investigation or test evidence most directly verifies that the issue was addressed? Select ONE best answer.
- Debug an unknown production tenant by repeatedly publishing changes directly to it.
- Test edge values, empty identifiers, decimal precision and differing locale settings.
- Inspect launch.json and confirm breakpoint hits, environment name and call stack in an isolated reproduction.
- Review Application Insights traces, relevant custom dimensions and correlation identifiers.
Explanation
Correct Answer
C:This directly checks the failure mode instead of only proving that a build completed. Inspect launch.json and confirm breakpoint hits, environment name and call stack in an isolated reproduction. The target result is: The defect is reproducible with source-level traces without modifying production records.
Incorrect Answers
A:This proposal is itself unsafe: Debug an unknown production tenant by repeatedly publishing changes directly to it. The appropriate decision is: Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context.
B:That test probes AL types and conversion safety, not the case-specific problem. The discriminating diagnostic for Launch profiles and debugging is: Inspect launch.json and confirm breakpoint hits, environment name and call stack in an isolated reproduction.
D:That test probes Extension telemetry correlation, not the case-specific problem. The discriminating diagnostic for Launch profiles and debugging is: Inspect launch.json and confirm breakpoint hits, environment name and call stack in an isolated reproduction.
Question 119
An AL extension builds successfully but the developer cannot attach breakpoints because launch.json points to the wrong environment. After a controlled deployment rehearsal, the product owner must distinguish a measurable, usable business outcome from mere delivery of an extension package. The acceptance criterion should remain meaningful when tested again after a platform update or service restart. Which observable acceptance outcome BEST demonstrates that the solution meets the requirement? Select ONE best answer.
- Debug an unknown production tenant by repeatedly publishing changes directly to it.
- The field appears at the intended position while standard page features remain available.
- Failed service calls are handled predictably without creating false success records.
- The defect is reproducible with source-level traces without modifying production records.
Explanation
Correct Answer
D:The defect is reproducible with source-level traces without modifying production records. The supporting evidence is: Inspect launch.json and confirm breakpoint hits, environment name and call stack in an isolated reproduction.
Incorrect Answers
A:It undermines the relevant engineering requirement. The appropriate decision is: Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context.
B:That is an acceptance criterion for Page extension field insertion, not the behavior requested here. This change succeeds when: The defect is reproducible with source-level traces without modifying production records.
C:That is an acceptance criterion for HttpClient request and response handling, not the behavior requested here.
Question 120
An AL extension builds successfully but the developer cannot attach breakpoints because launch.json points to the wrong environment. The risk committee is identifying shortcuts that might pass a short demonstration yet undermine upgrade safety, data integrity, security, maintainability or expected Business Central behavior. It wants either the specific false assumption rejected or complementary engineering controls demonstrated. Which TWO complementary steps jointly address the risk and verify the implementation? Select TWO answers.
- Verify filtered record counts, action logs and before/after data samples in a sandbox.
- Debug an unknown production tenant by repeatedly publishing changes directly to it.
- Inspect launch.json and confirm breakpoint hits, environment name and call stack in an isolated reproduction.
- Model a derived value with a suitable FlowField and calculate it when needed, considering filters.
- Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context.
Explanation
Correct Answers
C:This directly checks the failure mode instead of only proving that a build completed. The target result is: The defect is reproducible with source-level traces without modifying production records.
E:Debug configuration selects the target server and execution context; compilation alone does not establish a correct debug session. The proposed change is: Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context. Verification should include: Inspect launch.json and confirm breakpoint hits, environment name and call stack in an isolated reproduction.
Incorrect Answers
A:The intended outcome is: The defect is reproducible with source-level traces without modifying production records.
B:This proposal is itself unsafe: Debug an unknown production tenant by repeatedly publishing changes directly to it. It undermines the relevant engineering requirement. The appropriate decision is: Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context.
D:The implementation called for here is: Configure the launch profile for an authorized sandbox and use debugger breakpoints and session context.