Flashcardsfor IT Certifications

D3: Prompt Engineering Constructs

AWS Foundational AI Practitioner exam practice questions · 10 flashcards

Question
What is the instruction in a prompt?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Prompt Engineering Constructs practice questions and answers
  1. What is the instruction in a prompt?
    The task the model should perform.
  2. What is context in a prompt?
    Background information or data the model needs.
  3. What is input data in a prompt?
    The specific content to process, e.g. the text to summarize.
  4. What is an output indicator?
    Specifies the desired format, e.g. 'Answer in JSON'.
  5. What is a negative prompt?
    Specifies what to exclude, e.g. in image generation 'no text, no blur'.
  6. What is a system prompt vs user prompt?
    System prompt sets persistent role/rules; user prompt is the specific request.
  7. Why use delimiters or XML tags?
    To clearly separate instructions from data and reduce injection risk.
  8. What is persona/role in a prompt?
    Telling the model who it is, e.g. 'You are a tax expert'.
  9. What is prefill?
    Starting the model's response with given text to steer its format.
  10. Why include constraints?
    Limit length, style or scope to get usable output.