Guide-linked quiz · Medium Level
Modal Labs Quiz
Review Modal’s Python-first serverless execution, autoscaling, scheduled and batch jobs, per-second compute, and isolated sandboxes.
Question 1 of 8
How do developers typically run code on Modal?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- How do developers typically run code on Modal?
- By adding a decorator to a Python function
- By writing assembly language
- By mailing in a USB drive
- Only through a drag-and-drop UI
- What well-known serverless problem is Modal especially engineered to solve?
- Email spam
- Slow cold starts
- Screen resolution
- Keyboard latency
- How does Modal bill for compute?
- A flat yearly fee only
- Per email sent
- Per-second for actual compute used
- Per file stored forever
- Who co-founded Modal and is known for earlier open-source tools like Luigi and Annoy?
- Linus Torvalds
- Guido van Rossum
- Satya Nadella
- Erik Bernhardsson
- What does 'scale to zero' mean on Modal?
- Shutting down all containers when there's no traffic, so you stop paying
- Deleting your account
- Running with no internet
- Reducing model accuracy to zero
- Which workload is Modal commonly used for?
- Manufacturing physical chips
- Model inference endpoints and batch jobs
- Running a coffee shop
- Printing newspapers
- How can Modal run batch work across thousands of files?
- Run every file sequentially on a single local CPU
- Convert each file into a text prompt
- Fan out the workload in parallel across many containers
- Send the files to a browser extension
- How can Modal Sandboxes help an agent that must execute untrusted generated code?
- Add the code to the base model’s training set
- Convert the code into an image caption
- Guarantee the code cannot access any resources
- Run the code in an isolated container environment
Keep testing yourself
More quizzes picked for your level.