Introduction to Quality Assurance and Deployment Validation
Maintaining consistent FM quality with continuous evaluation, regression testing and automated quality gates, validating deployments of FM updates with synthetic workflows and drift checks, and reporting results to stakeholders.
- 3 lessons
- Module quiz
The quality of a generative AI application can change whenever anything that affects its outputs changes: a prompt, a model version, inference parameters, retrieval settings, guardrails or tool definitions. It can also change when nothing is deployed at all, because providers update models, documents change and users ask new kinds of questions. Quality must therefore be protected at every release and monitored continuously in between.
Quality assurance combines several practices. Regression suites run fixed test inputs on every change and compare the results with a baseline. Continuous evaluation runs on a schedule to catch changes that no deployment caused. Quality gates in CI/CD pipelines block releases that fail defined criteria. During deployment, CloudWatch Synthetics canaries exercise user journeys, semantic drift and consistency checks compare the new version's behaviour with the old one, and alarms trigger automatic rollback. Results are reported to stakeholders in forms suited to each audience.
What the exam expects
Questions test the components of this process and how they fit together, for example measuring semantic drift with the embedding similarity of old and new answers, defining gate criteria from thresholds, baseline comparisons, safety tests and budgets, and attaching alarms to rollouts so that a degraded release is reversed automatically.
How this module is organised
Running Continuous Evaluation and Regression Tests explains regression suites, scheduled evaluation and quality gates. Validating Foundation Model Updates During Rollout explains how releases are validated and rolled back. Reporting Evaluation Results to Stakeholders explains dashboards, comparison views and automated reports.