引導式測驗 · 中等 等級

使用 Ollama 建立本機 LLM 應用程式測驗

使用 Ollama 的本機 API 進行構建,同時區分本地推理、雲端路由、相容性、安全性和模型許可。

問題 1 的 8

Where can a local Ollama API server run for development?

預覽每個問題8 問題

當您參加測驗時,就會出現答案和解釋。

  1. Where can a local Ollama API server run for development?
    • Only on a hosted third-party endpoint
    • Inside the model weights
    • On the developer’s machine, with a client configured for its local API address
    • Only in a browser extension
  2. What does Ollama mean by OpenAI API compatibility?
    • It supports a subset of the OpenAI API, so feature compatibility should be checked
    • It implements every OpenAI endpoint and feature identically
    • It requires sending every prompt to OpenAI
    • It guarantees model outputs match
  3. When does Ollama’s local privacy statement apply?
    • To every app that calls Ollama, including cloud tools
    • Only when no model is installed
    • Only to account passwords
    • To prompts and responses processed locally; cloud model use has separate handling
  4. Does local execution automatically make an application secure?
    • Yes, all local apps are private by definition
    • No; network exposure, logs, backups, tools, and host controls still matter
    • Yes, because local APIs cannot be reached by other processes
    • No, because models cannot run locally
  5. What should a developer verify if offline use is required?
    • That the API uses JSON
    • That the model has a large context window
    • That model files are present and the app does not call cloud or external services
    • That the client uses an OpenAI SDK
  6. Why check the model’s license separately from Ollama?
    • All model licenses are identical to Ollama’s
    • The runtime and each model can have different license terms
    • The runtime automatically grants commercial rights
    • Licensing only applies to cloud models
  7. How should a local API be configured for safer use?
    • Expose it only to trusted interfaces or clients and apply appropriate host controls
    • Bind it publicly without authentication by default
    • Store API secrets in prompt text
    • Disable operating-system updates
  8. What should be measured before choosing a local model for a device?
    • 僅模型檔案大小
    • Only whether the name contains “instruct”
    • The number of available API routes
    • Memory use, context needs, speed, quality, and supported features