Operating, Monitoring, and Securing ML and AI Solutions

An AWS Step Functions inference workflow catches primary endpoint errors and successfully returns fallback predictions. Operators need an alert when primary inference failures increase, even though workflow executions succeed. Which monitoring approach BEST meets this requirement?

Show the answer

Correct answerD. Emit a primary-inference failure metric from the catch path and alarm on it.

AWhy not this: Prediction comparisons assess output quality rather than detecting an increase in handled inference failures.

BWhy not this: Handled endpoint errors do not necessarily cause failed workflow executions, so this metric misses the required signal.

CWhy not this: Input distribution changes do not measure whether primary inference attempts failed and triggered fallback.

DWhy this is right: The catch path identifies handled primary failures directly, allowing an alarm independent of final workflow status.

A metric emitted from the catch path exposes primary inference failures even when fallback handling makes the execution succeed. Failed-execution counts miss handled errors because those executions finish successfully.