Question 720
At fictional Fairview Commerce, the Business Central development team is supporting online sales processing and reviewing extension environment and deployment preparation during a production readiness review (MB820-2.2-041). The observed development issue is that a new extension requires creating setup records only at first installation. Which observed result would most clearly show the intended correction works?
Explanation
Correct Answer
This is the outcome that directly verifies the intended correction: initial deployment creates required setup once without duplicating it on repeated operations. The related solution is to use an installation codeunit with appropriate company initialization and idempotent setup; it is based on the principle that installation lifecycle hooks differ from ordinary page execution and upgrades.
Incorrect Answers
“The production package hash matches the artifact that passed tests” concerns the alternative task “promote a versioned extension artifact through sandbox acceptance before production deployment”, but the stated failure is that a new extension requires creating setup records only at first installation. The required measure is to initial deployment creates required setup once without duplicating it on repeated operations.
The proposed “The extension's installed version reflects the new artifact and data remains consistent” tests a different control: increment the extension version and follow the supported package publish/upgrade path. The reported condition is that a new extension requires creating setup records only at first installation; the more direct action is to initial deployment creates required setup once without duplicating it on repeated operations.
“The app remains installed or is removed only by an explicit supported lifecycle action” concerns the separate step “separate debugger lifecycle from extension publish, install and uninstall procedures”. The reported issue is that a new extension requires creating setup records only at first installation, so the direct response is to initial deployment creates required setup once without duplicating it on repeated operations.