Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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