Microsoft MB-820 Practice Test 39
Question 380
An app's installation routine overwrites existing configuration in a tenant where the package was reinstalled during recovery. 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.
- Test first installation and controlled reinstall with edited setup data and inspect resulting records.
- Rerun tests individually and together, comparing initial state, expected outputs and cleanup.
- Use a well-scoped reusable procedure with intentional parameters, return values and state changes.
- Unconditionally delete and recreate setup on every application startup.
- Use install codeunit logic with existence checks and idempotent setup initialization.
Explanation
Correct Answers
A:This directly checks the failure mode instead of only proving that a build completed. The target result is: Required default configuration exists without unexpectedly overwriting customer changes.
E:One-time installation setup differs from normal application execution and must preserve existing valid state. The proposed change is: Use install codeunit logic with existence checks and idempotent setup initialization. Verification should include: Test first installation and controlled reinstall with edited setup data and inspect resulting records.
Incorrect Answers
B:The intended outcome is: Required default configuration exists without unexpectedly overwriting customer changes.
C:This action concerns AL procedures and parameter semantics, not the present Install codeunit initialization issue. The implementation called for here is: Use install codeunit logic with existence checks and idempotent setup initialization. Its key check is: Test first installation and controlled reinstall with edited setup data and inspect resulting records.
D:This proposal is itself unsafe: Unconditionally delete and recreate setup on every application startup. It undermines the relevant engineering requirement. The appropriate decision is: Use install codeunit logic with existence checks and idempotent setup initialization.
Question 381
An expense-report extension introduces a custom table and codeunit, but staff cannot access them using a normal accounting role. 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.
- Add build, analyzer and automated test stages to the CI/CD workflow before release approval.
- Grant all authenticated principals unrestricted access to every standard and extension table.
- Log bounded operational signals and safe correlation identifiers without secrets or unnecessary personal data.
- Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
Explanation
Correct Answer
D:Permission-set objects declare allowed operations and must be evaluated with effective user authorization.
Incorrect Answers
A:That option concerns Pipeline quality checks for AL. Permission-set objects declare allowed operations and must be evaluated with effective user authorization.
B:This proposal is itself unsafe: Grant all authenticated principals unrestricted access to every standard and extension table. It undermines the relevant engineering requirement. The governing principle is: Permission-set objects declare allowed operations and must be evaluated with effective user authorization. The appropriate decision is: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
C:This decision is relevant to Custom telemetry data governance, a different design concern. It does not directly solve the reported Permission sets for owned objects failure.
Question 382
An expense-report extension introduces a custom table and codeunit, but staff cannot access them using a normal accounting role. 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.
- Grant all authenticated principals unrestricted access to every standard and extension table.
- Distributed retries can deliver the same request more than once; business operations should avoid duplicate effects.
- Permission-set objects declare allowed operations and must be evaluated with effective user authorization.
- Business Central online does not expose arbitrary application-server operating-system access to tenant extensions.
Explanation
Correct Answer
C:Permission-set objects declare allowed operations and must be evaluated with effective user authorization.
Incorrect Answers
A:This proposal is itself unsafe: Grant all authenticated principals unrestricted access to every standard and extension table. It undermines the relevant engineering requirement.
B:That principle relates to Integration resilience and idempotency, but it does not explain the current defect. The pertinent rule is: Permission-set objects declare allowed operations and must be evaluated with effective user authorization. Its implementation is: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
D:That principle relates to Online versus on-premises deployment constraints, but it does not explain the current defect. The pertinent rule is: Permission-set objects declare allowed operations and must be evaluated with effective user authorization.
Question 383
An expense-report extension introduces a custom table and codeunit, but staff cannot access them using a normal accounting role. 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.
- Run page and API operations under test identities, reviewing permission errors and assigned sets.
- Confirm environment type, permissions, test data handling and promotion records.
- Inspect permission-set definitions and execute representative workflows under restricted test identities.
- Grant all authenticated principals unrestricted access to every standard and extension table.
Explanation
Correct Answer
A:This directly checks the failure mode instead of only proving that a build completed. Run page and API operations under test identities, reviewing permission errors and assigned sets.
Incorrect Answers
B:That test probes Tenant and environment lifecycle, not the case-specific problem. The discriminating diagnostic for Permission sets for owned objects is: Run page and API operations under test identities, reviewing permission errors and assigned sets.
C:That test probes Extension isolation and permissions, not the case-specific problem. The discriminating diagnostic for Permission sets for owned objects is: Run page and API operations under test identities, reviewing permission errors and assigned sets.
D:This proposal is itself unsafe: Grant all authenticated principals unrestricted access to every standard and extension table. It undermines the relevant engineering requirement. The governing principle is: Permission-set objects declare allowed operations and must be evaluated with effective user authorization.
Question 384
An expense-report extension introduces a custom table and codeunit, but staff cannot access them using a normal accounting role. 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.
- Existing customer data is transformed correctly, with predictable repeatability and no destructive fresh-start assumption.
- Each role sees relevant tasks and navigation while permissions still control data access.
- Grant all authenticated principals unrestricted access to every standard and extension table.
- Intended users can perform the defined operations without unnecessary broad privileges.
Explanation
Correct Answer
D:This is an observable success criterion tied to the requirement. Intended users can perform the defined operations without unnecessary broad privileges.
Incorrect Answers
A:That is an acceptance criterion for Upgrade codeunit data migration, not the behavior requested here. This change succeeds when: Intended users can perform the defined operations without unnecessary broad privileges.
B:That is an acceptance criterion for Role Center and profile experience, not the behavior requested here. This change succeeds when: Intended users can perform the defined operations without unnecessary broad privileges.
C:This proposal is itself unsafe: Grant all authenticated principals unrestricted access to every standard and extension table.
Question 385
An expense-report extension introduces a custom table and codeunit, but staff cannot access them using a normal accounting role. 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.
- Assume a report layout that opens in the editor is functionally correct without rendering sample data.
- Grant all authenticated principals unrestricted access to every standard and extension table.
- Validate only the field caption and assume programmatic writes cannot bypass the business rule.
- Replace all control captions with lengthy instructional paragraphs and remove normal field labels.
Explanation
Correct Answer
B:This is the specific shortcut to reject: Grant all authenticated principals unrestricted access to every standard and extension table. It conflicts with the principle: Permission-set objects declare allowed operations and must be evaluated with effective user authorization. Prefer: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
Incorrect Answers
A:This would be a poor shortcut for the separate topic of Report layouts and rendering; however, it does not identify the specific faulty assumption in this Permission sets for owned objects case. The directly implicated shortcut is: Grant all authenticated principals unrestricted access to every standard and extension table.
C:This would be a poor shortcut for the separate topic of Field validation triggers; however, it does not identify the specific faulty assumption in this Permission sets for owned objects case. The directly implicated shortcut is: Grant all authenticated principals unrestricted access to every standard and extension table.
D:This would be a poor shortcut for the separate topic of Teaching tips and in-app tours; however, it does not identify the specific faulty assumption in this Permission sets for owned objects case. The directly implicated shortcut is: Grant all authenticated principals unrestricted access to every standard and extension table.
Question 386
A new API page works under a developer's SUPER account but returns permission errors to its service principal. 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.
- Grant all authenticated principals unrestricted access to every standard and extension table.
- Log bounded operational signals and safe correlation identifiers without secrets or unnecessary personal data.
- Use a stable external correlation key and idempotent processing with controlled retry handling.
- Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
Explanation
Correct Answer
D:Permission-set objects declare allowed operations and must be evaluated with effective user authorization. The proposed change is: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
Incorrect Answers
A:This proposal is itself unsafe: Grant all authenticated principals unrestricted access to every standard and extension table. The governing principle is: Permission-set objects declare allowed operations and must be evaluated with effective user authorization.
B:This decision is relevant to Custom telemetry data governance, a different design concern. It does not directly solve the reported Permission sets for owned objects failure. The targeted implementation is: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
C:That option concerns Integration resilience and idempotency. Permission-set objects declare allowed operations and must be evaluated with effective user authorization.
Question 387
A new API page works under a developer's SUPER account but returns permission errors to its service principal. 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.
- Business Central online does not expose arbitrary application-server operating-system access to tenant extensions.
- Permission-set objects declare allowed operations and must be evaluated with effective user authorization.
- Business Central environments separate experimental change from production operational risk.
- Grant all authenticated principals unrestricted access to every standard and extension table.
Explanation
Correct Answer
B:Permission-set objects declare allowed operations and must be evaluated with effective user authorization. It supports the concrete step: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
Incorrect Answers
A:That principle relates to Online versus on-premises deployment constraints, but it does not explain the current defect. The pertinent rule is: Permission-set objects declare allowed operations and must be evaluated with effective user authorization. Its implementation is: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
C:That principle relates to Tenant and environment lifecycle, but it does not explain the current defect. The pertinent rule is: Permission-set objects declare allowed operations and must be evaluated with effective user authorization. Its implementation is: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
D:It undermines the relevant engineering requirement. The governing principle is: Permission-set objects declare allowed operations and must be evaluated with effective user authorization.
Question 388
A new API page works under a developer's SUPER account but returns permission errors to its service principal. 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 prior and new records after a controlled app upgrade and examine upgrade-codeunit execution logs.
- Run page and API operations under test identities, reviewing permission errors and assigned sets.
- Grant all authenticated principals unrestricted access to every standard and extension table.
- Review app.json ID, publisher, name, version, ID ranges and installed-package metadata.
Explanation
Correct Answer
B:This directly checks the failure mode instead of only proving that a build completed. Run page and API operations under test identities, reviewing permission errors and assigned sets. The target result is: Intended users can perform the defined operations without unnecessary broad privileges.
Incorrect Answers
A:That test probes Upgrade codeunit data migration, not the case-specific problem. The discriminating diagnostic for Permission sets for owned objects is: Run page and API operations under test identities, reviewing permission errors and assigned sets.
C:This proposal is itself unsafe: Grant all authenticated principals unrestricted access to every standard and extension table. The appropriate decision is: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
D:That test probes App manifest identity and object ranges, not the case-specific problem. The discriminating diagnostic for Permission sets for owned objects is: Run page and API operations under test identities, reviewing permission errors and assigned sets.
Question 389
A new API page works under a developer's SUPER account but returns permission errors to its service principal. 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.
- Intended users can perform the defined operations without unnecessary broad privileges.
- Intended staff see an efficient role-aligned UI without changing unrelated roles.
- Each role sees relevant tasks and navigation while permissions still control data access.
- Grant all authenticated principals unrestricted access to every standard and extension table.
Explanation
Correct Answer
A:Intended users can perform the defined operations without unnecessary broad privileges. The supporting evidence is: Run page and API operations under test identities, reviewing permission errors and assigned sets.
Incorrect Answers
B:That is an acceptance criterion for Profile-driven page customization, not the behavior requested here. This change succeeds when: Intended users can perform the defined operations without unnecessary broad privileges.
C:That is an acceptance criterion for Role Center and profile experience, not the behavior requested here.
D:It undermines the relevant engineering requirement. The appropriate decision is: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
Question 390
A new API page works under a developer's SUPER account but returns permission errors to its service principal. 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 page and API operations under test identities, reviewing permission errors and assigned sets.
- Inspect pipeline runs for build outputs, analyzer warnings, test counts and required status checks.
- Grant all authenticated principals unrestricted access to every standard and extension table.
- Apply the necessary Record filters before iteration and use suitable AL record access patterns.
- Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
Explanation
Correct Answers
A:This directly checks the failure mode instead of only proving that a build completed. The target result is: Intended users can perform the defined operations without unnecessary broad privileges.
E:Permission-set objects declare allowed operations and must be evaluated with effective user authorization. The proposed change is: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities. Verification should include: Run page and API operations under test identities, reviewing permission errors and assigned sets.
Incorrect Answers
B:The intended outcome is: Intended users can perform the defined operations without unnecessary broad privileges.
C:This proposal is itself unsafe: Grant all authenticated principals unrestricted access to every standard and extension table. It undermines the relevant engineering requirement. The appropriate decision is: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.
D:The implementation called for here is: Create scoped permission-set objects for owned resources and assign them to appropriate users or identities.