A team updates its Bedrock agent often and needs to roll back quickly if a new version misbehaves. What should it use?
- Exam domain
- Deployment and Orchestration of ML and AI Workflows24% of the exam
- Difficulty
- Medium
- In this mock
- 22 questions on this domainPractise this domain
Why the exam asks this
Task 3.3: Implement automated orchestration and CI/CD pipelines for MLOps and AI workloads.
Objective in the exam guide: Skill 3.3.8: Implement automated agent deployment pipelines and agent version management.
Agents change often and can misbehave in new ways. Fast, safe rollback is essential for running them in production.
Why A is the answer
Agent versions with an alias that points to the version in production
Versions capture snapshots of an agent, and an alias lets you switch production between them.
Remember: Version agents and point production at an alias, so rollback is one change.
How it works
A Bedrock agent version is a snapshot of its configuration.
An alias points to a version; applications call the alias.
Updating or rolling back production means pointing the alias at a different version.
Clues in the question
The words that point to the answer, and what each one tells you.
- Updates often
- Snapshots per change.
- Roll back quickly
- Switch what production points to.
In detail
- Applications call the alias, so switching versions needs no code change.
- The same idea applies to automated agent deployment pipelines.
Side by side with look-alikes
| Approach | Fast rollback? |
|---|---|
| Versions plus alias | Yes |
| Edit live agent | No |
| New agent per change | Needs app changes |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Agent versions with an alias that points to the version in productionRight
Version agents and point production at an alias, so rollback is one change.
B. Editing the live agent directly each timeWrongMost tempting
Editing the live agent risks users and leaves no snapshot to return to.
Why it tempts: It is the quickest way to make a change. But there is no saved version to return to if it goes wrong.
C. Creating a new agent with a new name for every changeWrong
New names force application changes for every update.
D. Disabling the agent during business hoursWrong
Disabling the agent is not version management.
In practice
- Test a new version through a staging alias before moving the production alias.
Use case
An illustrative scenario, not a real incident.
A bad agent version is rolled back by pointing the production alias at the previous version.
See how it works
flowchart LR A["Application"] --> P["Alias: production"] P --> V3["Version 3"] P -.->|"rollback"| V2["Version 2"]
How to read this chart
- "Application" leads to "Alias: production".
- At "Alias: production": otherwise, go to "Version 3"; if "rollback", go to "Version 2".