A team is setting up CI/CD for an agent. Which two practices fit? (Select TWO.)
- Exam domain
- Assembling and Deploying Apps22% of the exam
- Difficulty
- Medium
- In this mock
- 13 questions on this domainPractise this domain
Why the exam asks this
Section 4: Assembling and Deploying Applications (22%).
Objective in the exam guide: Apply CI/CD best practices such as updating a Vector Search index, promoting prompts across environments, and testing individual components of an agent
CI/CD practices are named in the objective.
Why A and B are the answers
A multiple-response question. Choose two. There is no credit for picking only some of them.
Test individual components, such as the retriever and each tool, before testing the whole agent
Promote prompts across environments by moving a registry alias after evaluation passes
CI/CD for agents tests parts separately and promotes versioned prompts through gated steps.
How it works
Component tests check each part on its own.
Prompt Registry aliases promote approved versions.
Index updates follow the source table through sync.
Clues in the question
The words that point to the answer, and what each one tells you.
- CI/CD for an agent
- Tests and gated promotion.
In detail
- Component tests make failures easy to locate.
- Keep the index updated through its source table and sync, not by hand.
Side by side with look-alikes
| Practice | Sound? |
|---|---|
| Component tests | Yes |
| Alias promotion | Yes |
| Direct production edits | No |
| Manual index rebuilds | No |
| No prompt tests | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Test individual components, such as the retriever and each tool, before testing the whole agentRight
CI/CD for agents tests parts separately and promotes versioned prompts through gated steps.
B. Promote prompts across environments by moving a registry alias after evaluation passesRight
CI/CD for agents tests parts separately and promotes versioned prompts through gated steps.
C. Edit the production prompt directly when a user complainsWrong
Direct edits bypass testing and rollback.
D. Rebuild the vector index by hand whenever someone remembersWrong
Manual rebuilds are slow and easy to forget.
E. Skip tests for prompt changes because they are not codeWrongMost tempting
Prompt changes alter behavior and need tests.
Why it tempts: Prompts change behavior as much as code does.
In practice
- Run the same evaluation set in each environment.