A team is logging a RAG chain with MLflow for deployment. Which two elements should they include? (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: Choose the basic elements needed to create a RAG application: model flavor, embedding model, retriever, dependencies, input examples, model signature
The basic RAG elements are named in the objective.
Why D and E are the answers
A multiple-response question. Choose two. There is no credit for picking only some of them.
A model signature and an input example that show the expected request and response
The Python dependencies the chain needs to run
A served RAG app needs a defined interface, an example input, and its dependencies, alongside its model flavor, embedding model and retriever.
How it works
A RAG app needs a model flavor, embedding model and retriever.
A signature and input example define the endpoint's interface.
Declared dependencies let serving rebuild the environment.
Clues in the question
The words that point to the answer, and what each one tells you.
- Logging for deployment
- Interface and dependencies.
In detail
- The signature defines inputs and outputs for the endpoint.
- Missing dependencies are a common cause of deployment failures.
Side by side with look-alikes
| Element | Include? |
|---|---|
| Signature and input example | Yes |
| Dependencies | Yes |
| Access token | No |
| Source documents | No |
| Screenshots | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. The personal access token used during developmentWrong
Tokens belong in secrets, never in artifacts.
B. A copy of every source document inside the model artifactWrongMost tempting
Documents belong in the index, not the model.
Why it tempts: It seems complete. But documents belong in the index.
C. Screenshots of the notebook outputWrong
Screenshots add nothing to deployment.
D. A model signature and an input example that show the expected request and responseRight
A served RAG app needs a defined interface, an example input, and its dependencies, alongside its model flavor, embedding model and retriever.
E. The Python dependencies the chain needs to runRight
A served RAG app needs a defined interface, an example input, and its dependencies, alongside its model flavor, embedding model and retriever.
In practice
- Pin dependency versions to match testing.