D1: Prompt Engineering Basics
AWS AI Business Strategist exam practice questions · 12 flashcards
Question
What is prompt engineering?
1 / 12
Tip: Space flips the card, ← / → navigate.
Show all 12 Prompt Engineering Basics practice questions and answers
- What is prompt engineering?Designing and refining the input to a GenAI model to get accurate, relevant, well-formatted outputs.
- What makes a good prompt?Clear task, relevant context, role/audience, desired format, constraints and examples.
- What is zero-shot prompting?Asking for a task with no examples, relying on the model's general knowledge.
- What is few-shot prompting?Providing a few examples of desired input/output so the model follows the pattern.
- What is chain-of-thought prompting?Asking the model to reason step by step, which improves complex reasoning tasks.
- What is role prompting?Assigning a persona, e.g. 'You are a financial analyst', to shape tone and expertise.
- Why specify output format?It makes outputs consistent and usable downstream, e.g. a table or JSON.
- Why is prompt engineering the first adaptation technique to try?It's the cheapest and fastest; no training or new infrastructure is needed.
- What is a prompt template?A reusable prompt with variables, ensuring consistent results across users and use cases.
- What is prompt injection?Malicious input that tries to override instructions, e.g. 'ignore previous instructions'. Guardrails and input validation help.
- How do you iterate on prompts?Test against sample inputs, evaluate outputs against criteria, refine one change at a time.
- Which AWS feature manages and versions prompts?Amazon Bedrock Prompt Management.