Modal is a serverless cloud platform built for GPU workloads and ML inference. These exercises test your understanding of Modal's core abstractions: functions, volumes, hardware selection, concurrency, and deployment.
0 / 5 completed
1 / 5
At standup, a colleague asks what the @app.function decorator does in Modal. What is the correct answer?
@app.function is Modal's primary decorator for defining remotely executable functions. When called, Modal serialises the arguments, schedules the function on the specified cloud infrastructure (CPU or GPU), runs it in the defined container image, and returns the result. You can specify GPU type, memory, timeout, concurrency, and secrets directly in the decorator, making it the core building block of Modal applications.
2 / 5
During a PR review, a teammate asks what Modal Volumes are used for. Which answer is correct?
Modal Volumes are persistent, network-attached filesystems that you mount into function containers using the volumes parameter. Data written to a volume persists across invocations, unlike the ephemeral container filesystem. Volumes can be shared between multiple concurrent function instances, making them useful for caching model weights, storing datasets, or maintaining state across runs.
3 / 5
In a design review, the team debates GPU selection. A senior engineer asks when to choose H100 over A100 on Modal. What is correct?
The H100 (Hopper architecture) delivers roughly 2–3× the FP16/BF16 throughput and higher memory bandwidth (HBM3) compared to the A100, making it the best choice for latency-critical LLM inference or large training runs. In Modal you specify GPU type via gpu="H100" or gpu=modal.gpu.H100(). The tradeoff is higher cost per hour, so A100s or A10Gs remain cost-effective for workloads that are not throughput-bound.
4 / 5
An incident report shows a Modal web endpoint returning 529 errors under load. A senior engineer asks what concurrency_limit and allow_concurrent_inputs control. What is the correct answer?
concurrency_limit caps the total number of container instances Modal will provision for a function — important for cost control. allow_concurrent_inputs enables a single container to process multiple requests in parallel (useful for async Python code or batched inference), reducing cold-start overhead. A 529 error means Modal hit the concurrency cap; increasing concurrency_limit or enabling allow_concurrent_inputs can relieve the pressure.
5 / 5
During a code review, a senior engineer asks what modal deploy does differently from modal run. What is accurate?
modal deploy creates a persistent deployment: web endpoints stay live, scheduled functions keep running, and the app is accessible after your terminal closes. modal run is for ephemeral execution — it runs the specified function or entrypoint, streams logs to your terminal, and tears everything down on exit. Use modal deploy for production services and modal run for development and one-off jobs.
What does the "Modal Labs GPU Functions Vocabulary" vocabulary exercise cover?
This exercise tests real IT vocabulary related to modal labs gpu functions 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.