Microsoft MB-820 Practice Test 65
Question 640
A carrier rotates access credentials and a partner must republish its whole app because secret material was hardcoded in code. 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.
- Inspect source for embedded tokens and test credential rotation without exposing values in logs.
- Put the production API secret in app.json source control and print it on request errors.
- Use supported secure secret management and an authorized authentication flow for outbound integrations.
- Plan persistent table design and versioned upgrade logic that preserves customer data.
- Review deployment logs, installed-extension versions and an end-user feature smoke test.
Explanation
Correct Answers
A:This directly checks the failure mode instead of only proving that a build completed. The target result is: The service authenticates correctly while secrets stay out of repositories and telemetry.
C:Credentials should be protected and rotated independently of application source code. The proposed change is: Use supported secure secret management and an authorized authentication flow for outbound integrations. Verification should include: Inspect source for embedded tokens and test credential rotation without exposing values in logs.
Incorrect Answers
B:This proposal is itself unsafe: Put the production API secret in app.json source control and print it on request errors. It undermines the relevant engineering requirement. The appropriate decision is: Use supported secure secret management and an authorized authentication flow for outbound integrations.
D:The implementation called for here is: Use supported secure secret management and an authorized authentication flow for outbound integrations.
E:The intended outcome is: The service authenticates correctly while secrets stay out of repositories and telemetry.
Question 641
A supplier API adds optional JSON fields and an extension fails because it assumes every response contains a nested property. 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.
- Concatenate raw JSON strings and assume every property exists with the same type forever.
- Use labels and translation resources with the supported AL multilanguage workflow.
- Parse JSON using supported AL JSON objects and validate optional properties and expected data types.
- Add custom fields with a tableextension and expose them through appropriate supported pages.
Explanation
Correct Answer
C:Correct engineering action for this case. External JSON payloads are data contracts whose schema variation must be handled explicitly.
Incorrect Answers
A: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 governing principle is: External JSON payloads are data contracts whose schema variation must be handled explicitly. The appropriate decision is: Parse JSON using supported AL JSON objects and validate optional properties and expected data types.
B:That option concerns Translation files and localization. External JSON payloads are data contracts whose schema variation must be handled explicitly.
D:This decision is relevant to Table extension data modeling, a different design concern. It does not directly solve the reported JSON parsing and schema validation failure.
Question 642
A supplier API adds optional JSON fields and an extension fails because it assumes every response contains a nested property. 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.
- Concatenate raw JSON strings and assume every property exists with the same type forever.
- External JSON payloads are data contracts whose schema variation must be handled explicitly.
- Report data extraction and presentation layout are separate concerns that both require validation.
- Key design should match common access patterns and be validated against realistic data volume.
Explanation
Correct Answer
B:External JSON payloads are data contracts whose schema variation must be handled explicitly. It supports the concrete step: Parse JSON using supported AL JSON objects and validate optional properties and expected data types. In this scenario, check: Test missing fields, null values, wrong types and valid payloads against the parser.
Incorrect Answers
A: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.
C:That principle relates to Report layouts and rendering, but it does not explain the current defect. The pertinent rule is: External JSON payloads are data contracts whose schema variation must be handled explicitly. Its implementation is: Parse JSON using supported AL JSON objects and validate optional properties and expected data types.
D:That principle relates to Table keys and lookup performance, but it does not explain the current defect.
Question 643
A supplier API adds optional JSON fields and an extension fails because it assumes every response contains a nested property. 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.
- Test real partner fixtures, multiple lines, empty optional values and malformed inputs.
- Concatenate raw JSON strings and assume every property exists with the same type forever.
- Test missing fields, null values, wrong types and valid payloads against the parser.
- Inspect stream handling, execution logs and sample exported/imported files against a stable contract.
Explanation
Correct Answer
C:This directly checks the failure mode instead of only proving that a build completed. Test missing fields, null values, wrong types and valid payloads against the parser.
Incorrect Answers
A:That test probes XMLport data exchange format, not the case-specific problem. The discriminating diagnostic for JSON parsing and schema validation is: Test missing fields, null values, wrong types and valid payloads against the parser.
B: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 governing principle is: External JSON payloads are data contracts whose schema variation must be handled explicitly.
D:That test probes XMLport integration in AL code, not the case-specific problem. The discriminating diagnostic for JSON parsing and schema validation is: Test missing fields, null values, wrong types and valid payloads against the parser.
Question 644
A supplier API adds optional JSON fields and an extension fails because it assumes every response contains a nested property. 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 user can discover the feature and complete the intended task without opening a separate manual.
- Concatenate raw JSON strings and assume every property exists with the same type forever.
- Supported responses map to accurate Business Central data and invalid payloads fail clearly.
- The KPI reports accurate totals per requested grouping without line-level double-counting.
Explanation
Correct Answer
C:This is an observable success criterion tied to the requirement. Supported responses map to accurate Business Central data and invalid payloads fail clearly.
Incorrect Answers
A:That is an acceptance criterion for Teaching tips and in-app tours, not the behavior requested here. This change succeeds when: Supported responses map to accurate Business Central data and invalid payloads fail clearly.
B:This proposal is itself unsafe: Concatenate raw JSON strings and assume every property exists with the same type forever.
D:That is an acceptance criterion for Query aggregation and grouping, not the behavior requested here. This change succeeds when: Supported responses map to accurate Business Central data and invalid payloads fail clearly.
Question 645
A supplier API adds optional JSON fields and an extension fails because it assumes every response contains a nested property. 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.
- Use an absolute Windows drive path in Business Central online AL code and assume every tenant sees it.
- Concatenate raw JSON strings and assume every property exists with the same type forever.
- Use the live production company as the sole workspace for experimental AL changes.
- Assume an online AL extension can install native executables on Microsoft's application tier.
Explanation
Correct Answer
B:This is the specific shortcut to reject: Concatenate raw JSON strings and assume every property exists with the same type forever. It conflicts with the principle: External JSON payloads are data contracts whose schema variation must be handled explicitly. Prefer: Parse JSON using supported AL JSON objects and validate optional properties and expected data types.
Incorrect Answers
A:This would be a poor shortcut for the separate topic of Streams and supported file access; however, it does not identify the specific faulty assumption in this JSON parsing and schema validation case.
C:This would be a poor shortcut for the separate topic of Tenant and environment lifecycle; however, it does not identify the specific faulty assumption in this JSON parsing and schema validation case. The directly implicated shortcut is: Concatenate raw JSON strings and assume every property exists with the same type forever.
D:This would be a poor shortcut for the separate topic of Online versus on-premises deployment constraints; however, it does not identify the specific faulty assumption in this JSON parsing and schema validation case.
Question 646
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 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.
- Concatenate raw JSON strings and assume every property exists with the same type forever.
- Review filter patterns and add an appropriate supported secondary key when the workload justifies it.
- Parse JSON using supported AL JSON objects and validate optional properties and expected data types.
- Add custom fields with a tableextension and expose them through appropriate supported pages.
Explanation
Correct Answer
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.
Incorrect Answers
A:This proposal is itself unsafe: Concatenate raw JSON strings and assume every property exists with the same type forever. The governing principle is: External JSON payloads are data contracts whose schema variation must be handled explicitly.
B:That option concerns Table keys and lookup performance. External JSON payloads are data contracts whose schema variation must be handled explicitly.
D:This decision is relevant to Table extension data modeling, a different design concern. It does not directly solve the reported JSON parsing and schema validation failure. The targeted implementation is: Parse JSON using supported AL JSON objects and validate optional properties and expected data types.
Question 647
An external shipping API returns a number as text for one region; AL code reads the token without checking type and causes wrong charges. 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.
- Report data extraction and presentation layout are separate concerns that both require validation.
- XMLports describe structured import and export mapping, including format-specific nodes.
- External JSON payloads are data contracts whose schema variation must be handled explicitly.
- Concatenate raw JSON strings and assume every property exists with the same type forever.
Explanation
Correct Answer
C:This is the governing design principle. External JSON payloads are data contracts whose schema variation must be handled explicitly.
Incorrect Answers
A:That principle relates to Report layouts and rendering, but it does not explain the current defect. The pertinent rule is: External JSON payloads are data contracts whose schema variation must be handled explicitly.
B:That principle relates to XMLport data exchange format, but it does not explain the current defect. The pertinent rule is: External JSON payloads are data contracts whose schema variation must be handled explicitly. Its implementation is: Parse JSON using supported AL JSON objects and validate optional properties and expected data types.
D:It undermines the relevant engineering requirement. The governing principle is: External JSON payloads are data contracts whose schema variation must be handled explicitly.
Question 648
An external shipping API returns a number as text for one region; AL code reads the token without checking type and causes wrong charges. 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.
- Concatenate raw JSON strings and assume every property exists with the same type forever.
- Test missing fields, null values, wrong types and valid payloads against the parser.
- Reconcile aggregate totals and row counts against independently calculated sample data.
- Inspect the event signature, subscriber attribute and results for both matching and nonmatching transactions.
Explanation
Correct Answer
B:This directly checks the failure mode instead of only proving that a build completed. Test missing fields, null values, wrong types and valid payloads against the parser. The target result is: Supported responses map to accurate Business Central data and invalid payloads fail clearly.
Incorrect Answers
A:This proposal is itself unsafe: Concatenate raw JSON strings and assume every property exists with the same type forever. The appropriate decision is: Parse JSON using supported AL JSON objects and validate optional properties and expected data types.
C:That test probes Query aggregation and grouping, not the case-specific problem. The discriminating diagnostic for JSON parsing and schema validation is: Test missing fields, null values, wrong types and valid payloads against the parser.
D:That test probes Event subscribers and extensions, not the case-specific problem. The discriminating diagnostic for JSON parsing and schema validation is: Test missing fields, null values, wrong types and valid payloads against the parser.
Question 649
An external shipping API returns a number as text for one region; AL code reads the token without checking type and causes wrong charges. 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 user can discover the feature and complete the intended task without opening a separate manual.
- Supported responses map to accurate Business Central data and invalid payloads fail clearly.
- Concatenate raw JSON strings and assume every property exists with the same type forever.
- Read workloads can scale appropriately while operational writes retain correct transaction behavior.
Explanation
Correct Answer
B:Supported responses map to accurate Business Central data and invalid payloads fail clearly. The supporting evidence is: Test missing fields, null values, wrong types and valid payloads against the parser.
Incorrect Answers
A:That is an acceptance criterion for Teaching tips and in-app tours, not the behavior requested here.
C: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.
D:That is an acceptance criterion for API read scale-out considerations, not the behavior requested here. This change succeeds when: Supported responses map to accurate Business Central data and invalid payloads fail clearly.
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.