GregLab | Exam Prep

Fundamentals of Generative AI

Prompt Engineering

Prompt engineering shapes model output without changing model weights. AIF-C01 commonly tests zero-shot and few-shot prompting, templates, negative prompts, and prompt-injection risk.

Concepts

  • Zero-shot prompting gives instructions without examples.
  • Few-shot prompting includes examples to guide output style or task behavior.
  • Prompt templates standardize reusable prompts with variables.
  • Negative prompts describe content or behavior to avoid, especially in image generation.
  • Chain-of-thought style prompting can improve reasoning but sensitive reasoning traces should be handled carefully.
  • Prompt injection tries to override developer or system instructions or exfiltrate hidden context.

Exam tips

  • Zero-shot prompts include instructions without examples; few-shot prompts include examples.
  • Prompt templates standardize repeated prompts with variables.
  • Prompt injection attempts to override instructions or expose hidden context.

Free AWS Certified AI Practitioner prep

Build focused AIF-C01 quizzes from exam domains, topics, and AWS services.

Practice with exam-style multiple-choice and multiple-response questions, clearly labeled supplemental exercises, score breakdowns, explanations, and a compact reference for this lane's official exam domains.

Build a quiz

Exam Weights

Quiz builder

Choose your practice set

Mode

Exam fidelity: AWS lists multiple choice and multiple response for this exam. Ordering, matching, and case-study items are supplemental learning exercises; their results stay in overall study accuracy but do not count toward exam-style accuracy. Difficulty labels describe this site's scenario complexity, not an AWS-published question rating.

Reference

AIF-C01 topics and service map

Study links

AIF-C01 resources