Guide-linked quiz · Medium Level
Deploying Portfolio Demos on Hugging Face Spaces Quiz
Plan a shareable model demo with the right Space SDK, reproducible dependencies, protected secrets, clear limitations and live checks.
Question 1 of 8
Which Space SDK lets you define system packages and startup commands in a Dockerfile?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- Which Space SDK lets you define system packages and startup commands in a Dockerfile?
- Gradio SDK conventions
- Static HTML SDK
- Setting suggested_hardware to a GPU
- Docker SDK
- When is a static HTML Space a natural fit?
- An app requiring a Python server process and installed system packages
- A client-side page that does not need server-side model inference
- A model that must run locally on a Space GPU for each request
- A custom Linux inference runtime inside the Space
- For a server-side Gradio or Docker Space, where should a private API key be stored and accessed?
- In a committed source file
- In Space Secrets and read by server-side code
- In the browser JavaScript bundle
- As a public Space variable
- Which check provides evidence that the deployed Space works end to end?
- Run the deployed URL with representative valid, invalid and boundary inputs
- Inspect the build log without opening the app
- Check repository metadata and commit status only
- Test only a local development copy
- Which information most directly helps users interpret a model result?
- The expected input and output plus known limitations
- A claim that the model cannot fail
- A guarantee that a successful build proves accuracy
- A statement that the interface removes licensing concerns
- Why pin dependencies and test a clean build?
- To guarantee identical predictions on all hardware
- To reduce version drift and catch missing setup assumptions
- To make model outputs independent of data
- To replace evaluation of the live app
- Which detail should the demo disclose about uploaded user content?
- Whether inputs are logged or retained
- The GPU model used by every other Space
- The editor used to write the interface
- The number of lines in the README
- Which statement about a hosted portfolio demo is most accurate?
- A hosted demo is not automatically a production-ready service
- A successful build proves reliability under production load
- A public URL guarantees model validity
- A Gradio interface resolves model licensing concerns
Keep testing yourself
More quizzes picked for your level.