MLA-C02

Introduction to CI/CD and Testing for ML and AI

AWS developer tools for MLOps, deployment strategies and rollback, automated testing in ML pipelines, prompt management with Amazon Bedrock and testing prompts and AI models.

  • 5 lessons
  • Module quiz

Machine learning and generative AI systems contain more than application code. Containers, training scripts, models, prompts and agent configurations all change over time, and each change can break the system. Continuous integration and continuous delivery (CI/CD) builds, tests and releases every one of these components through an automated, repeatable process.

The AWS developer tools provide the pipeline: source in AWS CodeCommit or in third-party Git repositories through AWS CodeConnections, builds and tests in AWS CodeBuild, releases with AWS CodeDeploy and orchestration with AWS CodePipeline. SageMaker AI deployment guardrails shift traffic gradually and roll back on CloudWatch alarms, and Amazon Bedrock Prompt Management versions prompts so they can be tested and released like code.

What the exam expects

Questions test the role of each developer tool, the deployment guardrail modes, all at once, canary, linear and rolling, and when each suits, automatic rollback on alarms, and testing prompts by combining deterministic checks with judge scores.

How this module is organised

Configuring AWS Developer Tools for MLOps explains the CI/CD services. Deploying Models with Guardrails and Automatic Rollback explains safe releases. Automating Tests Across ML Pipelines explains what to test at each stage. Managing Prompts Centrally with Amazon Bedrock and Testing Prompts and AI Models in CI/CD explain how prompts are versioned and tested.

  1. Configuring AWS Developer Tools for MLOps Lesson 1
  2. Deploying Models with Guardrails and Automatic Rollback Lesson 2
  3. Automating Tests Across ML Pipelines Lesson 3
  4. Managing Prompts Centrally with Amazon Bedrock Lesson 4
  5. Testing Prompts and AI Models in CI/CD Lesson 5
  6. Practise and review
  7. Checkpoint Practice activities across the module
  8. Test your knowledge 4 questions