Microsoft MB-820 Practice Test 66
Question 650
An external shipping API returns a number as text for one region; AL code reads the token without checking type and causes wrong charges. 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.
- Assign minimal permission sets for extension objects and verify access under realistic user roles.
- Validate translated captions, generated XLF resources and runtime labels in target languages.
- Parse JSON using supported AL JSON objects and validate optional properties and expected data types.
- Test missing fields, null values, wrong types and valid payloads against the parser.
- Concatenate raw JSON strings and assume every property exists with the same type forever.
Explanation
Correct Answers
C:External JSON payloads are data contracts whose schema variation must be handled explicitly. The proposed change is: Parse JSON using supported AL JSON objects and validate optional properties and expected data types. Verification should include: Test missing fields, null values, wrong types and valid payloads against the parser.
D:This directly checks the failure mode instead of only proving that a build completed. The target result is: Supported responses map to accurate Business Central data and invalid payloads fail clearly.
Incorrect Answers
A:Its key check is: Test missing fields, null values, wrong types and valid payloads against the parser.
B:Verify instead: Test missing fields, null values, wrong types and valid payloads against the parser.
E:This proposal is itself unsafe: Concatenate raw JSON strings and assume every property exists with the same type forever. It undermines the relevant engineering requirement. The appropriate decision is: Parse JSON using supported AL JSON objects and validate optional properties and expected data types.
Question 651
An external webhook retries an order-create request after a timeout and the extension creates two identical sales orders. 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 List page for collection navigation and a Card page for focused single-record editing, matching the workflow.
- Create a new order for each callback without checking whether the external transaction was processed.
- Stage compatible dependency versions first and rehearse both clean installs and upgrades.
- Use a stable external correlation key and idempotent processing with controlled retry handling.
Explanation
Correct Answer
D:Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
Incorrect Answers
A:This decision is relevant to List versus Card page selection, a different design concern. It does not directly solve the reported Integration resilience and idempotency failure.
B:This proposal is itself unsafe: Create a new order for each callback without checking whether the external transaction was processed. It undermines the relevant engineering requirement. The governing principle is: Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects. The appropriate decision is: Use a stable external correlation key and idempotent processing with controlled retry handling.
C:That option concerns Version maintenance and deployment order. Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
Question 652
An external webhook retries an order-create request after a timeout and the extension creates two identical sales orders. 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.
- Enum extension enables separately packaged values where the base enum supports extensibility.
- Report substitution should be controlled through extension points rather than a direct edit to Microsoft-owned source.
- Create a new order for each callback without checking whether the external transaction was processed.
- Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
Explanation
Correct Answer
D:Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects. It supports the concrete step: Use a stable external correlation key and idempotent processing with controlled retry handling. In this scenario, check: Replay identical payloads and inspect correlation records, created documents and response handling.
Incorrect Answers
A:That principle relates to Enum extension compatibility, but it does not explain the current defect. The pertinent rule is: Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects. Its implementation is: Use a stable external correlation key and idempotent processing with controlled retry handling.
B:That principle relates to Report substitution via event, but it does not explain the current defect. The pertinent rule is: Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
C:This proposal is itself unsafe: Create a new order for each callback without checking whether the external transaction was processed. It undermines the relevant engineering requirement.
Question 653
An external webhook retries an order-create request after a timeout and the extension creates two identical sales orders. 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 results across page, API and background codepaths using the same inputs.
- Create a new order for each callback without checking whether the external transaction was processed.
- Replay identical payloads and inspect correlation records, created documents and response handling.
- Use positive and negative import fixtures and compare target records, errors and validation outcomes.
Explanation
Correct Answer
C:This directly checks the failure mode instead of only proving that a build completed. Replay identical payloads and inspect correlation records, created documents and response handling.
Incorrect Answers
A:That test probes Codeunit separation of business logic, not the case-specific problem. The discriminating diagnostic for Integration resilience and idempotency is: Replay identical payloads and inspect correlation records, created documents and response handling.
B:This proposal is itself unsafe: Create a new order for each callback without checking whether the external transaction was processed. It undermines the relevant engineering requirement. The governing principle is: Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
D:That test probes XMLport field validation and mapping, not the case-specific problem. The discriminating diagnostic for Integration resilience and idempotency is: Replay identical payloads and inspect correlation records, created documents and response handling.
Question 654
An external webhook retries an order-create request after a timeout and the extension creates two identical sales orders. 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.
- Users see actionable remaining steps and can identify what prevents readiness.
- Create a new order for each callback without checking whether the external transaction was processed.
- One logical external event produces one intended business transaction despite retries.
- A report consumes a consistent performant dataset without unnecessary manual row-by-row joins.
Explanation
Correct Answer
C:This is an observable success criterion tied to the requirement. One logical external event produces one intended business transaction despite retries.
Incorrect Answers
A:That is an acceptance criterion for Onboarding checklist stages, not the behavior requested here.
B:This proposal is itself unsafe: Create a new order for each callback without checking whether the external transaction was processed.
D:That is an acceptance criterion for Queries as source for reporting, not the behavior requested here. This change succeeds when: One logical external event produces one intended business transaction despite retries.
Question 655
An external webhook retries an order-create request after a timeout and the extension creates two identical sales orders. 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.
- Treat successful compilation as a substitute for automated functional tests.
- Treat every Microsoft business module as part of the platform runtime and bypass dependency boundaries.
- Delete and recreate the custom storage table on every upgrade to simplify schema maintenance.
- Create a new order for each callback without checking whether the external transaction was processed.
Explanation
Correct Answer
D:It conflicts with the principle: Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
Incorrect Answers
A:This would be a poor shortcut for the separate topic of Test codeunits and assertions; however, it does not identify the specific faulty assumption in this Integration resilience and idempotency case. The directly implicated shortcut is: Create a new order for each callback without checking whether the external transaction was processed.
B:This would be a poor shortcut for the separate topic of Base application versus System Application; however, it does not identify the specific faulty assumption in this Integration resilience and idempotency case.
C:This would be a poor shortcut for the separate topic of Data ownership and upgrade continuity; however, it does not identify the specific faulty assumption in this Integration resilience and idempotency case.
Question 656
A payment gateway repeats a callback for the same transaction and the app posts both copies because it does not track external IDs. 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 stable external correlation key and idempotent processing with controlled retry handling.
- Use a List page for collection navigation and a Card page for focused single-record editing, matching the workflow.
- Create a new order for each callback without checking whether the external transaction was processed.
- Use an enumextension on an extensible enum and keep owned values in a valid extension namespace.
Explanation
Correct Answer
A:Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects. The proposed change is: Use a stable external correlation key and idempotent processing with controlled retry handling.
Incorrect Answers
B:This decision is relevant to List versus Card page selection, a different design concern. It does not directly solve the reported Integration resilience and idempotency failure. The targeted implementation is: Use a stable external correlation key and idempotent processing with controlled retry handling.
C:This proposal is itself unsafe: Create a new order for each callback without checking whether the external transaction was processed. The governing principle is: Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
D:That option concerns Enum extension compatibility. Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
Question 657
A payment gateway repeats a callback for the same transaction and the app posts both copies because it does not track external IDs. 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 a new order for each callback without checking whether the external transaction was processed.
- Report substitution should be controlled through extension points rather than a direct edit to Microsoft-owned source.
- Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
- Data exchange must preserve business semantics, not merely transfer text between nodes and fields.
Explanation
Correct Answer
C:Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
Incorrect Answers
A:It undermines the relevant engineering requirement. The governing principle is: Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
B:That principle relates to Report substitution via event, but it does not explain the current defect. The pertinent rule is: Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects. Its implementation is: Use a stable external correlation key and idempotent processing with controlled retry handling.
D:That principle relates to XMLport field validation and mapping, but it does not explain the current defect. The pertinent rule is: Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
Question 658
A payment gateway repeats a callback for the same transaction and the app posts both copies because it does not track external IDs. 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.
- Unit test each implementation against the same interface expectations and provider-specific inputs.
- Create a new order for each callback without checking whether the external transaction was processed.
- Replay identical payloads and inspect correlation records, created documents and response handling.
- Compare query output and execution behavior to the required report rows and filtered totals.
Explanation
Correct Answer
C:This directly checks the failure mode instead of only proving that a build completed. Replay identical payloads and inspect correlation records, created documents and response handling. The target result is: One logical external event produces one intended business transaction despite retries.
Incorrect Answers
A:That test probes Interfaces for interchangeable processors, not the case-specific problem. The discriminating diagnostic for Integration resilience and idempotency is: Replay identical payloads and inspect correlation records, created documents and response handling.
B:This proposal is itself unsafe: Create a new order for each callback without checking whether the external transaction was processed. The appropriate decision is: Use a stable external correlation key and idempotent processing with controlled retry handling.
D:That test probes Queries as source for reporting, not the case-specific problem. The discriminating diagnostic for Integration resilience and idempotency is: Replay identical payloads and inspect correlation records, created documents and response handling.
Question 659
A payment gateway repeats a callback for the same transaction and the app posts both copies because it does not track external IDs. 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.
- One logical external event produces one intended business transaction despite retries.
- Create a new order for each callback without checking whether the external transaction was processed.
- Users see actionable remaining steps and can identify what prevents readiness.
- The new behavior remains available after an update without a modified Microsoft base application.
Explanation
Correct Answer
A:One logical external event produces one intended business transaction despite retries. The supporting evidence is: Replay identical payloads and inspect correlation records, created documents and response handling.
Incorrect Answers
B:It undermines the relevant engineering requirement. The appropriate decision is: Use a stable external correlation key and idempotent processing with controlled retry handling.
C:That is an acceptance criterion for Onboarding checklist stages, not the behavior requested here. This change succeeds when: One logical external event produces one intended business transaction despite retries. In this scenario: usiness outcome from mere delivery of an extension package. The acceptance criterion should remain meaningful when tested again after a platform update or service restart.
D:That is an acceptance criterion for Architecture of extension-first customization, not the behavior requested here. This change succeeds when: One logical external event produces one intended business transaction despite retries.
Question 660
A payment gateway repeats a callback for the same transaction and the app posts both copies because it does not track external IDs. 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.
- Replay identical payloads and inspect correlation records, created documents and response handling.
- Use a stable external correlation key and idempotent processing with controlled retry handling.
- Install the AL Language extension and configure a supported AL project with target environment and symbol references.
- Capture dependency versions, deployment sequence, installation logs and migration test results.
- Create a new order for each callback without checking whether the external transaction was processed.
Explanation
Correct Answers
A:This directly checks the failure mode instead of only proving that a build completed. The target result is: One logical external event produces one intended business transaction despite retries.
B:Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects. The proposed change is: Use a stable external correlation key and idempotent processing with controlled retry handling. Verification should include: Replay identical payloads and inspect correlation records, created documents and response handling.
Incorrect Answers
C:This action concerns AL toolchain configuration, not the present Integration resilience and idempotency issue. The implementation called for here is: Use a stable external correlation key and idempotent processing with controlled retry handling. Its key check is: Replay identical payloads and inspect correlation records, created documents and response handling.
D:The intended outcome is: One logical external event produces one intended business transaction despite retries.
E:This proposal is itself unsafe: Create a new order for each callback without checking whether the external transaction was processed. It undermines the relevant engineering requirement. The appropriate decision is: Use a stable external correlation key and idempotent processing with controlled retry handling.