Skip to main content

Quiz: Building with Generative AI

Test your knowledge about APIs, building apps, and no-code solutions.

30 questions - Click on each question to reveal the correct answer.


Questions 1-30​

Question 1: What is an API?

A) A programming language B) How software components communicate C) A database D) A website

Answer: B - API (Application Programming Interface) defines how software components communicate.

Question 2: Which company provides the GPT-4 API?

A) Google B) OpenAI C) Meta D) Amazon

Answer: B - OpenAI provides the GPT-4 API.

Question 3: What are rate limits?

A) Speed of generation B) Restrictions on API calls C) Price limits D) Text limits only

Answer: B - Restrictions on how many API calls you can make.

Question 4: How is API pricing typically calculated?

A) Per user B) Per token C) Flat monthly D) Free

Answer: B - Most AI APIs charge per token processed.

Question 5: Where should API keys be stored?

A) In code B) Environment variables C) Public repos D) Comments

Answer: B - API keys should be stored in environment variables, never in code.

Question 6: What is RAG?

A) Random AI Generation B) Retrieval Augmented Generation C) Rapid AI Growth D) Real AI Graphics

Answer: B - RAG retrieves relevant documents to enhance AI responses.

Question 7: What should you do when hitting rate limits?

A) Give up B) Implement exponential backoff C) Create new accounts D) Ignore errors

Answer: B - Implement retry logic with exponential backoff.

Question 8: What is Custom GPTs?

A) Custom hardware B) Custom ChatGPT configurations C) Custom fonts D) Custom servers

Answer: B - Custom versions of ChatGPT with specific instructions and knowledge.

Question 9: What does Zapier AI enable?

A) Only email B) AI workflow automation without code C) Only images D) Only text

Answer: B - Zapier connects AI to thousands of apps for automation.

Question 10: What is Flowise?

A) Water management B) Visual AI workflow builder C) Flower app D) Music app

Answer: B - Flowise is a drag-and-drop AI workflow builder.

Question 11: What is the temperature parameter?

A) Server heat B) Controls creativity/randomness C) Response time D) File size

Answer: B - Temperature controls how creative vs. predictable outputs are.

Question 12: What is max_tokens?

A) Maximum users B) Response length limit C) API key limit D) Price limit

Answer: B - Maximum number of tokens in the response.

Question 13: What is prompt management?

A) Prompt deletion B) Organizing and versioning prompts C) Prompt generation D) Only storage

Answer: B - Systematically organizing, versioning, and testing prompts.

Question 14: What is caching used for in AI apps?

A) Making slower B) Storing repeated queries to reduce costs C) Adding errors D) Deleting data

Answer: B - Caching stores results to avoid repeated API calls.

Question 15: What is async processing?

A) Synchronous only B) Processing in background without blocking C) No processing D) Manual processing

Answer: B - Handling requests asynchronously without blocking.

Question 16: Who created Claude API?

A) OpenAI B) Anthropic C) Google D) Microsoft

Answer: B - Anthropic provides the Claude API.

Question 17: What is Streamlit used for?

A) Video streaming B) Rapid AI app prototyping C) Music streaming D) File streaming

Answer: B - Streamlit enables quick creation of AI-powered web apps.

Question 18: What skill level is needed for Custom GPTs?

A) Expert only B) Beginner friendly C) PhD required D) Coding required

Answer: B - Custom GPTs require no coding and are beginner-friendly.

Question 19: What is LangChain?

A) A blockchain B) Framework for AI applications C) A language D) A chain store

Answer: B - LangChain is a framework for building AI applications.

Question 20: What is an agent architecture?

A) Real estate B) AI that plans and executes actions C) Only chat D) Only images

Answer: B - Agents autonomously plan and execute actions to achieve goals.

Question 21: What error type occurs with too-long inputs?

A) Rate limit B) Context length exceeded C) Timeout D) Auth error

Answer: B - Context length errors occur when input exceeds model limits.

Question 22: What should happen when API errors occur?

A) Crash B) Retry with backoff and fallback C) Ignore D) Delete app

Answer: B - Implement retry logic and fallback responses.

Question 23: What is Voiceflow?

A) Voice recorder B) Voice/chat assistant builder C) Music maker D) Phone app

Answer: B - Voiceflow is a no-code voice and chat assistant builder.

Question 24: Why use multiple API keys?

A) More expensive B) Load balancing and redundancy C) More errors D) Slower

Answer: B - Multiple keys enable load balancing and redundancy.

Question 25: What is RPM in rate limits?

A) Revolutions per minute B) Requests per minute C) Responses per month D) Records per minute

Answer: B - Requests per minute—how many API calls allowed.

Question 26: What does Hugging Face provide?

A) Only emojis B) Open source model hosting C) Only images D) Only videos

Answer: B - Hugging Face hosts and provides access to many AI models.

Question 27: What is prompt versioning?

A) Deleting prompts B) Tracking changes to prompts over time C) Copying prompts D) Hiding prompts

Answer: B - Maintaining history of prompt changes for testing and rollback.

Question 28: What is a no-code benefit?

A) Requires coding B) Non-developers can build apps C) Slower development D) More expensive

Answer: B - Non-developers can create AI applications without coding.

Question 29: What should you validate in responses?

A) Nothing B) Format, content quality, safety C) Only length D) Only speed

Answer: B - Validate that responses meet expected format and quality.

Question 30: What is the first step with Custom GPTs?

A) Delete data B) Define name and instructions C) Upload code D) Pay first

Answer: B - Start by defining the name, description, and instructions.


Results​

ScoreLevel
27-30Excellent - Strong understanding of building with AI
21-26Good - Some review may be helpful
15-20Average - Review the chapters again
Below 15Needs comprehensive review

Return to Module 10 | Continue to Module 11