Question 670
A partner automatically promotes a payment add-on without retaining its test-run report or source revision. The developer recommends the following change: Gate release promotion on the relevant automated test results and traceable artifact version. Which technical explanation most directly justifies it in this case?
Explanation
Correct Answer
A controlled CI/CD quality gate ties a deployable package to tested source and an acceptable test run. It connects the proposed action to the exact failure or requirement—A partner automatically promotes a payment add-on without retaining its test-run report or source revision. Confirmation would be only a passing test build is promoted, with a verifiable build id and test evidence.
Incorrect Answers
That mechanism explains why the alternative action—create a subtype test codeunit with test methods that assert expected results—helps in another case. It does not justify the proposed fix here; a controlled ci/cd quality gate ties a deployable package to tested source and an acceptable test run. The distinguishing requirement is: A partner automatically promotes a payment add-on without retaining its test-run report or source revision.
That mechanism explains why the alternative action—use suitable test transaction isolation and controlled fixture setup—helps in another case. It does not justify the proposed fix here; a controlled ci/cd quality gate ties a deployable package to tested source and an acceptable test run. The distinguishing requirement is: A partner automatically promotes a payment add-on without retaining its test-run report or source revision.
That mechanism explains why the alternative action—add the appropriate handler methods to simulate expected user interaction in tests—helps in another case. It does not justify the proposed fix here; a controlled ci/cd quality gate ties a deployable package to tested source and an acceptable test run. The distinguishing requirement is: A partner automatically promotes a payment add-on without retaining its test-run report or source revision.





Microsoft Dynamics 365 Business Central Developer (MB-820) Practice Tests