Heads up: opening this section reveals every question, every option, and the correct answer for this round. If you came here to play, scroll up and hit Play first.
Question 1: What is the primary goal of prompt engineering?
- Writing code for AI model training
- Designing the user interface of an app
- Managing server hardware for AI
- Structuring inputs for specific AI outputs
Answer: D. Structuring inputs for specific AI outputs
Explanation: Prompt engineering is the process of structuring and refining natural language inputs to produce specified outputs from a generative AI model.
Question 2: Which technique provides the AI with zero examples to perform a task?
- Chain-of-thought prompting
- One-shot prompting
- Few-shot prompting
- Zero-shot prompting
Answer: D. Zero-shot prompting
Explanation: Zero-shot prompting is a technique where the AI performs a task without being provided any examples in the prompt itself.
Question 3: What is the term for providing exactly one example to an AI?
- One-shot
- Self-consistency
- Few-shot
- Zero-shot
Answer: A. One-shot
Explanation: One-shot prompting is a technique where the AI is given exactly one example to learn from before performing a task.
Question 4: Which technique breaks down complex tasks into smaller reasoning steps?
- Chain-of-thought prompting
- Active Prompt
- Context engineering
- Few-shot prompting
Answer: A. Chain-of-thought prompting
Explanation: Chain-of-thought prompting encourages the model to articulate its internal logic by breaking down complex problems into a series of manageable, sequential reasoning steps to improve overall accuracy.
Question 5: What is a 'token' in the context of generative AI?
- A type of model architecture
- A payment method for subscriptions
- A unit used to process text
- A security key for API access
Answer: C. A unit used to process text
Explanation: A token is the unit models use to process text, roughly equivalent to 0.75 words in English, and drives cost and context limits.
Question 6: What is the 'context window' of an AI model?
- The speed of the internet connection
- The total number of tokens a model can process
- The date the model was last updated
- The graphical user interface layout
Answer: B. The total number of tokens a model can process
Explanation: The context window is the total number of tokens a model can process at once, including system prompts, history, and the response.
Question 7: What does RAG stand for in AI workflows?
- Rapid Automated Generation
- Recursive AI grouping
- Retrieval-augmented generation
- Reasoning-aligned guidance
Answer: C. Retrieval-augmented generation
Explanation: Retrieval-augmented generation, or RAG, is a framework that connects large language models to external, verified data sources to provide accurate information and significantly reduce the occurrence of model hallucinations.
Question 8: Which technique involves generating multiple outputs to select the most consistent one?
- Context engineering
- Self-consistency
- Active Prompt
- Few-shot prompting
Answer: B. Self-consistency
Explanation: Self-consistency is a technique where the AI generates multiple outputs and selects the most consistent one as the final answer.
Question 9: What is the focus of 'context engineering'?
- Training the model from scratch
- Marketing the AI product
- Managing non-prompt context like metadata
- Writing the initial prompt
Answer: C. Managing non-prompt context like metadata
Explanation: Context engineering is the related area focusing on managing non-prompt context such as system instructions, metadata, and tokens supplied to a model.
Question 10: What is a best practice for successful prompt engineering?
- Avoiding all examples in the prompt
- Ignoring the model's context window
- Using only long, complex sentences
- Iteratively refining prompts based on responses
Answer: D. Iteratively refining prompts based on responses
Explanation: Effective prompt engineering is an iterative process that involves crafting clear, context-rich instructions and continuously refining those prompts based on the specific outputs received to achieve the desired results.