Prompt engineering: Practice Questions — Experimentation (NVIDIA-Certified Associate: Generative AI LLM)
Prompt Engineering Practice Questions Below are multiple-choice questions designed to help you prepare for the Prompt Engineering portion of the...
Prompt Engineering Practice Questions
Below are multiple-choice questions designed to help you prepare for the Prompt Engineering portion of the NVIDIA-Certified Associate: Generative AI LLM exam. Each question includes four options, the correct answer, and a brief explanation to reinforce your understanding.
Which of the following best describes the primary goal of prompt engineering in generative AI?
- A. To optimize the model's training dataset
- B. To design input queries that guide the model to produce desired outputs
- C. To reduce the computational cost of model inference
- D. To increase the model's parameter count
Answer: B
Explanation: Prompt engineering focuses on crafting input prompts that effectively guide large language models to generate relevant and accurate responses.
When designing a prompt to improve factual accuracy, which technique is most effective?
- A. Using ambiguous language to allow model creativity
- B. Including explicit context and constraints within the prompt
- C. Shortening the prompt to a single word
- D. Avoiding any background information
Answer: B
Explanation: Providing clear context and constraints helps the model understand the task and reduces hallucinations or irrelevant outputs.
What is a common strategy to test the effectiveness of different prompts?
- A. Running the same prompt multiple times without changes
- B. Comparing outputs from varied prompts on the same task
- C. Using only the default prompt provided by the model
- D. Ignoring output differences and focusing on speed
Answer: B
Explanation: Experimenting with different prompt formulations and comparing their outputs helps identify the most effective prompt for a given task.
How can prompt templates improve prompt engineering workflows?
- A. By automating model training
- B. By standardizing input structure for repeatable results
- C. By increasing model size
- D. By limiting the model’s vocabulary
Answer: B
Explanation: Prompt templates provide a consistent framework to generate inputs, making it easier to test and refine prompts systematically.
Which of the following is an example of a zero-shot prompt?
- A. "Translate the following sentence into French: 'Hello, how are you?'"
- B. "Given the training data, predict the next word."
- C. "Summarize the text after reading several examples."
- D. "Classify this text after fine-tuning the model."
Answer: A
Explanation: A zero-shot prompt asks the model to perform a task without prior examples or fine-tuning, relying solely on the prompt instruction.
What is the impact of adding few-shot examples in a prompt?
- A. It decreases model accuracy
- B. It provides context that can improve task performance
- C. It increases model training time
- D. It reduces the model’s vocabulary
Answer: B
Explanation: Few-shot prompting includes examples in the prompt to guide the model, often improving output quality without retraining.
Which approach helps reduce bias in model outputs through prompt engineering?
- A. Using neutral and balanced language in prompts
- B. Avoiding any instructions in the prompt
- C. Using highly opinionated or leading prompts
- D. Ignoring output review
Answer: A
Explanation: Carefully crafted neutral prompts help minimize biased or inappropriate responses by guiding the model toward balanced outputs.
Why is iterative prompt refinement important?
- A. It helps identify the best prompt by testing and improving over multiple cycles
- B. It trains the model faster
- C. It reduces the number of model parameters
- D. It eliminates the need for data augmentation
Answer: A
Explanation: Iterative refinement allows prompt engineers to progressively enhance prompt effectiveness based on observed model outputs.
More in this topic
Ready to test your knowledge?
Put what you've learned into practice with a quick quiz and track your progress.
Test your knowledge →