You want a vision-language model to describe a product photo in exactly three bullet points for a catalogue. Which prompt is best?
- Exam domain
- Core Machine Learning and AI Knowledge20% of the exam
- Difficulty
- Easy
- In this mock
- 10 questions on this domainPractise this domain
Why the exam asks this
Core Machine Learning and AI Knowledge (20% of the exam)
Objective in the exam guide: Apply prompt engineering principles to craft prompts that achieve desired results.
Prompting is the cheapest way to shape model output.
Why D is the answer
"List three bullets on the product's colour, material and use, for shoppers."
Good prompts state the task, the format, the content and the audience. The third prompt does that.
Remember: State task, format, content and audience.
How it works
Prompt engineering crafts instructions, context and format to get the desired result.
In detail
- Be specific about format and content.
- Name the audience.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. "Picture?"Wrong
No task at all.
B. "Describe."Wrong
Too vague.
C. "Tell me about the picture in as much detail as you possibly can, covering everything."Wrong
Asks for the opposite of three bullets.
D. "List three bullets on the product's colour, material and use, for shoppers."Right
State task, format, content and audience.
Use case
An illustrative scenario, not a real incident.
Illustrative: catalogue descriptions become consistent across 10,000 product photos.
See it in different ways
mindmap
root(("Prompt"))
n1["Task"]
n2["Describe the product"]
n3["Format"]
n4["Three bullets"]
n5["Content"]
n6["Colour, material, use"]
n7["Audience"]
n8["Shoppers"]How to read this chart
- The centre is "Prompt".
- "Task" covers "Describe the product".
- "Format" covers "Three bullets".
- "Content" covers "Colour, material, use".
- "Audience" covers "Shoppers".
flowchart LR S0["Write a first prompt"] --> S1["Check output"] --> S2["Add format and audience"] --> S3["Check again"]
How to read this chart
- Read it in order: Write a first prompt, then Check output, then Add format and audience, then Check again.
Related questions
Learn more
- Our lesson: Deep learning foundations for multimodal models
- Practise Core Machine Learning and AI Knowledge questions in the mock exam
- Source: Fundamentals of Deep Learning (NVIDIA DLI)
- Fundamentals of Deep Learning (NVIDIA DLI)
- PyTorch documentation
- Deep Residual Learning for Image Recognition (arXiv)
- Transfer learning tutorial (PyTorch)