You must create an endpoint for a registered custom model from a CI pipeline. Which approach fits?
- Exam domain
- Model Deployment12% of the exam
- Difficulty
- Medium
- In this mock
- 6 questions on this domainPractise this domain
Why the exam asks this
Model Deployment (12% of the exam)
Objective in the exam guide: Deploy custom model objects using MLflow deployments SDK, REST API or user interface.
Deploying custom models via SDK, REST or UI is named.
Why A is the answer
Call create_endpoint through the Deployments SDK or REST
Endpoints can be created by SDK, REST or UI. CI uses the SDK or REST so deployment is automated and repeatable.
Remember: Automate endpoint creation.
How it works
Model Serving offers programmatic deployment.
In detail
- SDK or REST for automation.
- UI for manual work.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Call create_endpoint through the Deployments SDK or RESTRight
Automate endpoint creation.
B. Ask an admin to click through the UI for every releaseWrongMost tempting
Manual clicks do not scale.
Why it tempts: The UI is easiest the first time.
C. Run the model inside the CI runner foreverWrong
CI runners are not serving infrastructure.
D. Copy the model file to a web serverWrong
Raw file copies skip Model Serving.
Use case
An illustrative scenario, not a real incident.
Illustrative: a release pipeline calls create_endpoint and then queries it once.
See it in different ways
flowchart LR S0["Register version"] --> S1["create_endpoint or update config"] --> S2["Wait ready"] --> S3["Smoke test"]
How to read this chart
- Read it in order: Register version, then create_endpoint or update config, then Wait ready, then Smoke test.
flowchart TD
Q{"Who deploys?"}
Q -->|"CI pipeline"| A0["SDK or REST"]
Q -->|"Person exploring"| A1["UI"]How to read this chart
- At "Who deploys?": if "CI pipeline", go to "SDK or REST"; if "Person exploring", go to "UI".