Flashcardsfor IT Certifications

D1: Formatting & Improving Inputs

AWS Certified Generative AI Developer – Professional exam practice questions · 10 flashcards

Question
Bedrock InvokeModel body?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Formatting & Improving Inputs practice questions and answers
  1. Bedrock InvokeModel body?
    Model-specific JSON payload (e.g. messages, max_tokens, temperature).
  2. Bedrock Converse message format?
    messages list with role (user/assistant) and content blocks; system prompts separate.
  3. Conversation formatting best practice?
    Alternate user/assistant turns, include relevant history, keep system instructions separate.
  4. SageMaker endpoint input format?
    As expected by container (e.g. JSON with inputs/parameters for TGI/LMI).
  5. Tool definitions format?
    JSON schema describing tool name, description and parameters (toolConfig).
  6. Improving input quality with Bedrock?
    Use an FM to reformat/normalize messy text before main task.
  7. Amazon Comprehend for inputs?
    Extract entities/key phrases or detect language to enrich prompts.
  8. Lambda normalization?
    Clean whitespace, encoding, units, dates before prompting.
  9. Structured inputs?
    Present data in labeled sections/XML tags/JSON for clarity.
  10. Scenario: FM confuses instructions with pasted document text. Fix?
    Delimit document with tags and put instructions separately.