Microsoft MB-820 Practice Test 22
Question 210
A purchasing user wants item availability details beside a purchase line while keeping the document editing workflow intact. 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.
- Invoke the XMLport from controlled AL code and handle file streams, processing results and errors.
- Open the host page with different records and verify the FactBox context matches each selection.
- Use a relevant FactBox part with a valid record relationship and display context.
- Place unrelated global data in the FactBox and assume selection context is updated automatically.
- Compare licensing and effective permission outcomes under eligible and ineligible test users.
Explanation
Correct Answers
B:This directly checks the failure mode instead of only proving that a build completed. The target result is: The contextual panel follows the selected record without leaking information from the previous selection.
C:FactBoxes display supplementary contextual information, not the primary editable transaction surface. The proposed change is: Use a relevant FactBox part with a valid record relationship and display context. Verification should include: Open the host page with different records and verify the FactBox context matches each selection.
Incorrect Answers
A:The implementation called for here is: Use a relevant FactBox part with a valid record relationship and display context.
D:This proposal is itself unsafe: Place unrelated global data in the FactBox and assume selection context is updated automatically. It undermines the relevant engineering requirement. The appropriate decision is: Use a relevant FactBox part with a valid record relationship and display context.
E:The intended outcome is: The contextual panel follows the selected record without leaking information from the previous selection.
Question 211
A stock management extension repeatedly filters millions of ledger entries by item, location and date but uses no considered key design. 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.
- Create an arbitrary field order for every key without measuring actual filters or selectivity.
- Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
- Define query DataItemLink relations using the correct stable key fields and choose appropriate join behavior.
- Create an assisted setup workflow with a clear sequence, validation and a visible completion outcome.
Explanation
Correct Answer
B:Correct engineering action for this case. Key design should match common access patterns and be validated against realistic data volume.
Incorrect Answers
A:This proposal is itself unsafe: Create an arbitrary field order for every key without measuring actual filters or selectivity. It undermines the relevant engineering requirement.
C:That option concerns Query joins across dataitems. Verification should include: Inspect filtered record access and representative query performance before and after the key change.
D:This decision is relevant to Assisted setup workflow, a different design concern. It does not directly solve the reported Table keys and lookup performance failure.
Question 212
A stock management extension repeatedly filters millions of ledger entries by item, location and date but uses no considered key design. 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.
- Create an arbitrary field order for every key without measuring actual filters or selectivity.
- Automated AL tests turn expected behavior into repeatable checks after code changes.
- Master data describes reusable business entities while transaction data records events or documents.
- Key design should match common access patterns and be validated against realistic data volume.
Explanation
Correct Answer
D:This is the governing design principle. Key design should match common access patterns and be validated against realistic data volume.
Incorrect Answers
A:This proposal is itself unsafe: Create an arbitrary field order for every key without measuring actual filters or selectivity. It undermines the relevant engineering requirement. The governing principle is: Key design should match common access patterns and be validated against realistic data volume. The appropriate decision is: Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
B:That principle relates to Test codeunits and assertions, but it does not explain the current defect. The pertinent rule is: Key design should match common access patterns and be validated against realistic data volume.
C:That principle relates to Master data versus transaction data, but it does not explain the current defect. The pertinent rule is: Key design should match common access patterns and be validated against realistic data volume.
Question 213
A stock management extension repeatedly filters millions of ledger entries by item, location and date but uses no considered key design. 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.
- Compare execution traces, durations and before/after observations for representative workloads.
- Create an arbitrary field order for every key without measuring actual filters or selectivity.
- Inspect filtered record access and representative query performance before and after the key change.
- 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 filtered record access and representative query performance before and after the key change.
Incorrect Answers
A:That test probes Telemetry performance diagnosis, not the case-specific problem. The discriminating diagnostic for Table keys and lookup performance is: Inspect filtered record access and representative query performance before and after the key change.
B:This proposal is itself unsafe: Create an arbitrary field order for every key without measuring actual filters or selectivity. It undermines the relevant engineering requirement. The governing principle is: Key design should match common access patterns and be validated against realistic data volume.
D:That test probes Extension telemetry correlation, not the case-specific problem. The discriminating diagnostic for Table keys and lookup performance is: Inspect filtered record access and representative query performance before and after the key change.
Question 214
A stock management extension repeatedly filters millions of ledger entries by item, location and date but uses no considered key design. 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 high-volume lookup meets its acceptance target without excessive scanning.
- Create an arbitrary field order for every key without measuring actual filters or selectivity.
- Clients can invoke the intended operation with correct scope and predictable service responses.
- The extension reuses the designated service without duplicating Microsoft-owned internals.
Explanation
Correct Answer
A:This is an observable success criterion tied to the requirement. The high-volume lookup meets its acceptance target without excessive scanning.
Incorrect Answers
B:This proposal is itself unsafe: Create an arbitrary field order for every key without measuring actual filters or selectivity.
C:That is an acceptance criterion for OData bound and unbound actions, not the behavior requested here. This change succeeds when: The high-volume lookup meets its acceptance target without excessive scanning.
D:That is an acceptance criterion for Base application versus System Application, not the behavior requested here. This change succeeds when: The high-volume lookup meets its acceptance target without excessive scanning.
Question 215
A stock management extension repeatedly filters millions of ledger entries by item, location and date but uses no considered key design. 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.
- Merge all app.json files into one and discard distinct extension identity boundaries.
- Disable all field validation during import because external source data is trusted by default.
- Delete the standard report object and hardcode a new numeric ID in Microsoft source.
- Create an arbitrary field order for every key without measuring actual filters or selectivity.
Explanation
Correct Answer
D:This is the specific shortcut to reject: Create an arbitrary field order for every key without measuring actual filters or selectivity. It conflicts with the principle: Key design should match common access patterns and be validated against realistic data volume. Prefer: Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
Incorrect Answers
A:This would be a poor shortcut for the separate topic of Multiroot workspaces and symbols; however, it does not identify the specific faulty assumption in this Table keys and lookup performance case. The directly implicated shortcut is: Create an arbitrary field order for every key without measuring actual filters or selectivity.
B:This would be a poor shortcut for the separate topic of XMLport field validation and mapping; however, it does not identify the specific faulty assumption in this Table keys and lookup performance case.
C:This would be a poor shortcut for the separate topic of Report substitution via event; however, it does not identify the specific faulty assumption in this Table keys and lookup performance case. The directly implicated shortcut is: Create an arbitrary field order for every key without measuring actual filters or selectivity.
Question 216
A developer adds a lookup to a high-volume custom table that becomes slow as records grow, despite a small test data set. 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.
- Separate stable master attributes from transaction records and use appropriate keyed relations.
- Create an assisted setup workflow with a clear sequence, validation and a visible completion outcome.
- Create an arbitrary field order for every key without measuring actual filters or selectivity.
- Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
Explanation
Correct Answer
D:Key design should match common access patterns and be validated against realistic data volume. The proposed change is: Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
Incorrect Answers
A:That option concerns Master data versus transaction data. Verification should include: Inspect filtered record access and representative query performance before and after the key change.
B:This decision is relevant to Assisted setup workflow, a different design concern. It does not directly solve the reported Table keys and lookup performance failure. The targeted implementation is: Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
C:This proposal is itself unsafe: Create an arbitrary field order for every key without measuring actual filters or selectivity. The governing principle is: Key design should match common access patterns and be validated against realistic data volume.
Question 217
A developer adds a lookup to a high-volume custom table that becomes slow as records grow, despite a small test data set. 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.
- Telemetry should reveal diagnosable application behavior without exposing unnecessary sensitive data.
- Create an arbitrary field order for every key without measuring actual filters or selectivity.
- Automated AL tests turn expected behavior into repeatable checks after code changes.
- Key design should match common access patterns and be validated against realistic data volume.
Explanation
Correct Answer
D:Key design should match common access patterns and be validated against realistic data volume. It supports the concrete step: Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
Incorrect Answers
A:That principle relates to Extension telemetry correlation, but it does not explain the current defect. The pertinent rule is: Key design should match common access patterns and be validated against realistic data volume. Its implementation is: Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
B:It undermines the relevant engineering requirement. The governing principle is: Key design should match common access patterns and be validated against realistic data volume.
C:That principle relates to Test codeunits and assertions, but it does not explain the current defect. The pertinent rule is: Key design should match common access patterns and be validated against realistic data volume. Its implementation is: Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
Question 218
A developer adds a lookup to a high-volume custom table that becomes slow as records grow, despite a small test data set. 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 filtered record access and representative query performance before and after the key change.
- Use mock service responses for 200, 401, 429 and 500 and verify error handling and resulting business records.
- Exercise the exposed actions with and without entity keys and compare authorized outcomes.
- Create an arbitrary field order for every key without measuring actual filters or selectivity.
Explanation
Correct Answer
A:This directly checks the failure mode instead of only proving that a build completed. Inspect filtered record access and representative query performance before and after the key change. The target result is: The high-volume lookup meets its acceptance target without excessive scanning.
Incorrect Answers
B:That test probes HttpClient request and response handling, not the case-specific problem. The discriminating diagnostic for Table keys and lookup performance is: Inspect filtered record access and representative query performance before and after the key change.
C:That test probes OData bound and unbound actions, not the case-specific problem. The discriminating diagnostic for Table keys and lookup performance is: Inspect filtered record access and representative query performance before and after the key change.
D:This proposal is itself unsafe: Create an arbitrary field order for every key without measuring actual filters or selectivity. The appropriate decision is: Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
Question 219
A developer adds a lookup to a high-volume custom table that becomes slow as records grow, despite a small test data set. 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 high-volume lookup meets its acceptance target without excessive scanning.
- Every reported detail line belongs to the correct parent and sums reconcile with source data.
- The extension reuses the designated service without duplicating Microsoft-owned internals.
- Create an arbitrary field order for every key without measuring actual filters or selectivity.
Explanation
Correct Answer
A:The high-volume lookup meets its acceptance target without excessive scanning. The supporting evidence is: Inspect filtered record access and representative query performance before and after the key change.
Incorrect Answers
B:That is an acceptance criterion for Report dataset and dataitem linking, not the behavior requested here. This change succeeds when: The high-volume lookup meets its acceptance target without excessive scanning.
C:That is an acceptance criterion for Base application versus System Application, not the behavior requested here.
D:It undermines the relevant engineering requirement. The appropriate decision is: Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
Question 220
A developer adds a lookup to a high-volume custom table that becomes slow as records grow, despite a small test data set. 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.
- Put reusable business logic in a codeunit invoked from the necessary application entry points.
- Create an arbitrary field order for every key without measuring actual filters or selectivity.
- Test query results against records with repeated vendor names and different document keys.
- Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
- Inspect filtered record access and representative query performance before and after the key change.
Explanation
Correct Answers
D:Key design should match common access patterns and be validated against realistic data volume. The proposed change is: Review filter patterns and add an appropriate supported secondary key when the workload justifies it. Verification should include: Inspect filtered record access and representative query performance before and after the key change.
E:This directly checks the failure mode instead of only proving that a build completed. The target result is: The high-volume lookup meets its acceptance target without excessive scanning.
Incorrect Answers
A:This action concerns Codeunit separation of business logic, not the present Table keys and lookup performance issue.
B:This proposal is itself unsafe: Create an arbitrary field order for every key without measuring actual filters or selectivity. It undermines the relevant engineering requirement. The appropriate decision is: Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
C:The intended outcome is: The high-volume lookup meets its acceptance target without excessive scanning.