Replicate makes it easy to run and deploy machine learning models in the cloud. These exercises cover the core API concepts every developer needs to know: predictions, version pinning, hardware selection, and fine-tuned model deployment.
0 / 5 completed
1 / 5
At standup, a colleague asks what a Prediction is in the Replicate API. What is the correct answer?
A Prediction is Replicate's term for a single model run. You create one by POSTing to /v1/predictions with a version ID and input object. Replicate queues the job, runs it asynchronously on GPU hardware, and either lets you poll the prediction status or calls your webhook URL when the output is ready. The prediction object contains the output, logs, and timing metadata.
2 / 5
During a PR review, a teammate asks why the code references a specific model version hash rather than just the model name. What is the correct explanation?
In Replicate, a model version is an immutable snapshot of a model's weights, code, and Cog configuration, identified by a SHA256 hash. Pinning to a specific version hash ensures reproducible outputs — the same inputs always produce the same results. Using only the model name would implicitly use the latest version, which could change without notice when the model author pushes an update.
3 / 5
In a design review, the team discusses hardware options on Replicate. A junior engineer asks when you would choose an A100 over an A40. What is correct?
Replicate lets you specify hardware when deploying a model. The A100 uses high-bandwidth HBM2e memory (up to 80GB), making it superior for workloads that are memory-bandwidth-bound, such as large LLM inference or training. The A40 has 48GB of GDDR6, which is lower bandwidth but cost-effective for models that fit in VRAM without needing extreme throughput. Choosing the right hardware affects both cost and latency.
4 / 5
An incident report shows missed prediction results because webhook deliveries failed. A senior engineer asks what the webhook field in a Replicate prediction controls. What is correct?
The webhook field in a Replicate prediction accepts an HTTPS URL. Replicate sends HTTP POST requests to this URL as the prediction changes state — including intermediate output updates (if the model streams output) and a final request when the prediction status reaches succeeded or failed. Using webhooks avoids polling and is the recommended pattern for production deployments.
5 / 5
During a code review, a senior engineer asks what a fine-tuning deployment on Replicate produces. What is the correct answer?
Replicate's training API (trainings.create) runs a fine-tuning job and, upon completion, saves the result as a new model version with a unique hash. You can then create a Deployment from this version (specifying min/max instances and hardware) and run predictions against it exactly like any other Replicate model. The fine-tuned weights are managed by Replicate — you do not need to handle checkpoints yourself.
What does the "Replicate API Deployment Vocabulary" vocabulary exercise cover?
This exercise tests real IT vocabulary related to replicate api deployment vocabulary through 5 multiple-choice questions, each built from realistic workplace sentences rather than abstract definitions.
Is this vocabulary exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is completely free — no account, sign-up, or payment required.
How many questions does this exercise have?
This exercise has 5 questions. Each one shows a real-world sentence or scenario with multiple-choice options and an explanation once you answer.
What happens after I answer a question?
You'll see immediate feedback showing whether your answer was correct, along with a short explanation of why — then a button to move to the next question, and a full results screen at the end.
Can I retry the exercise if I get questions wrong?
Yes. Once you reach the results screen, click "Try again" to reset your answers and go through the exercise from the start as many times as you like.
Do I need to create an account to take this exercise?
No account is needed. Your answers are scored in your browser during the session — nothing is saved to a server, so you can jump straight in.
Is my progress saved if I leave the page?
No — progress within an exercise resets if you navigate away or reload. Each exercise is short enough to complete in a few minutes in one sitting.
Are these vocabulary exercises connected to other topics?
Yes — browse the full vocabulary exercises hub to find related modules covering adjacent IT topics and roles.
How is this different from reading a glossary or blog article?
Exercises like this one are active recall drills — you have to choose the correct term or phrasing yourself, which builds retention faster than passively reading a definition.
Where can I find more vocabulary exercises?
Browse the full Vocabulary exercises hub for hundreds of modules covering Agile, DevOps, security, databases, architecture, and more — organised by IT role and skill.