Question 290
At fictional Summit Parts, the Business Central development team is supporting after-sales order processing and reviewing automated testing and diagnostics during a production readiness review (MB820-5.2-180). The observed development issue is that a background AL job intermittently fails on invalid source records but the exception is swallowed before observability. Which Business Central or AL development principle best explains the right response?
Explanation
Correct Answer
The governing principle is that silent background failures require explicit diagnostics. The engineering response is to emit safe failure signals and preserve actionable error outcomes in the job path. Verification should show that operations can identify failed batches and trace their cause without leaked payloads.
Incorrect Answers
“Performance telemetry needs meaningful operation-level segmentation” supports the separate task “measure report-specific duration and relevant operation dimensions over comparable periods”, not the reported problem: a background AL job intermittently fails on invalid source records but the exception is swallowed before observability. This case instead calls for “emit safe failure signals and preserve actionable error outcomes in the job path”.
“Telemetry event contracts should be versioned deliberately” concerns the alternative task “use stable event identifiers and a controlled schema for emitted telemetry”, but the stated failure is that a background AL job intermittently fails on invalid source records but the exception is swallowed before observability. The required measure is to emit safe failure signals and preserve actionable error outcomes in the job path.
The proposed “Telemetry should balance useful signal and operational overhead” tests a different control: use appropriate verbosity and targeted instrumentation for meaningful events. The reported condition is that a background AL job intermittently fails on invalid source records but the exception is swallowed before observability; the more direct action is to emit safe failure signals and preserve actionable error outcomes in the job path.