A team changes prompts, retrieval settings and guardrails several times a week, and a change once reached production with broken answers. What should the release process include?
- Exam domain
- Implementation and Integration26% of the exam
- Difficulty
- Medium
- In this mock
- 19 questions on this domainPractise this domain
Why the exam asks this
Task 2.3: Design and implement enterprise integration architectures.
Objective in the exam guide: Skill 2.3.5: Implement CI/CD pipelines and GenAI gateway architectures to implement secure and compliant consumption patterns (for example, by using AWS CodePipeline, AWS CodeBuild, automated testing frameworks with security scans and rollback support).
GenAI components change often, and each change can silently break quality or safety. Enterprises expect the same release controls as for code.
Why D is the answer
A CI/CD pipeline, such as AWS CodePipeline, that runs automated quality and safety tests and supports rollback
GenAI components need the same pipeline discipline as code: automated tests, security checks and rollback.
Remember: Ship prompts and GenAI config through a pipeline with tests and rollback.
How it works
Prompts, retrieval settings and guardrails are part of the application and should be versioned and released like code.
A CI/CD pipeline, for example with AWS CodePipeline and CodeBuild, runs automated evaluation and safety tests before promotion.
Rollback lets the team return to the last good version quickly when something slips through.
Clues in the question
The words that point to the answer, and what each one tells you.
- Several times a week
- Frequent change needs automation.
- Reached production with broken answers
- A missing quality gate.
In detail
- Automated tests for GenAI include evaluation sets, safety checks and output validation.
- A central gateway layer can enforce consistent policies across teams.
Side by side with look-alikes
| Process | Catches broken answers before production? |
|---|---|
| CI/CD with evaluation and rollback | Yes |
| Manual copying | No |
| Yearly release | No |
| Test on customers | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Manual copying of changes into production by the developerWrong
Manual copying skips testing and leaves no record.
B. Releasing only once a yearWrongMost tempting
Yearly releases block fixes and improvements.
Why it tempts: Fewer releases mean fewer chances to break things. But it blocks every fix and does not test the changes that do ship.
C. Testing in production with real customers firstWrong
Customers should not be the test set.
D. A CI/CD pipeline, such as AWS CodePipeline, that runs automated quality and safety tests and supports rollbackRight
Ship prompts and GenAI config through a pipeline with tests and rollback.
In practice
- Store prompts and configs in source control.
- Fail the pipeline when evaluation scores drop below the baseline.
Use case
An illustrative scenario, not a real incident.
A team adds an evaluation stage to CodePipeline, and a prompt change that drops accuracy is stopped before production.
See how it works
flowchart LR
C["Commit prompt or config"] --> B["Build"]
B --> E["Evaluation and safety tests"]
E --> G{"Pass?"}
G -->|"Yes"| P["Deploy to production"]
G -->|"No"| X["Stop the release"]
P -->|"Problem found"| R["Roll back"]How to read this chart
- "Commit prompt or config" leads to "Build".
- "Build" leads to "Evaluation and safety tests".
- "Evaluation and safety tests" leads to "Pass?".
- At "Pass?": if "Yes", go to "Deploy to production"; if "No", go to "Stop the release".
- At "Deploy to production": if "Problem found", go to "Roll back".