Topic module

Prompt Engineering Techniques

AIF-C01 tests prompt context, instructions, negative prompts, zero-shot, single-shot, few-shot, templates, guardrails, prompt risks, prompt versioning, and Bedrock Prompt Management.

Long-form learning
Concept to Risk to Memory to Check-up

How to study for AWS Certified AI Practitioner

Treat each question as a business and governance decision: identify the AI pattern, choose the right AWS capability, then add responsible AI, cost, security, and evaluation controls.

Core concepts

Concept 1

Effective prompts give clear instructions, useful context, constraints, and examples when needed.

Exam cue: Use examples when the model needs a pattern to imitate.

Concept 2

Prompt engineering techniques include zero-shot, single-shot, few-shot, templates, and structured experimentation.

Exam cue: Use guardrails and specificity when output safety and consistency matter.

Concept 3

Prompt risks include exposure, poisoning, hijacking, jailbreaking, and weak version control.

Exam cue: Use prompt management when teams need reusable, versioned prompts.

Risk pitfalls and guardrails

Adding vague context instead of clear instructions.

Guardrail: Avoid choosing GenAI because it sounds modern, trusting fluent output without validation, or ignoring privacy, cost, and governance requirements.

Putting sensitive secrets into prompts without a data protection plan.

Guardrail: Avoid choosing GenAI because it sounds modern, trusting fluent output without validation, or ignoring privacy, cost, and governance requirements.

Relying on prompt wording alone to stop malicious input.

Guardrail: Avoid choosing GenAI because it sounds modern, trusting fluent output without validation, or ignoring privacy, cost, and governance requirements.

Memory anchors

Zero-Shot Prompt

A zero-shot prompt asks the model to perform a task without examples.

Single-Shot Prompt

A single-shot prompt provides one example for the model to follow.

Few-Shot Prompt

A few-shot prompt provides multiple examples to shape the response pattern.

Prompt Template

A prompt template standardizes reusable prompt structure with variables.

Negative Prompt

A negative prompt describes what the model should avoid producing.

Prompt Hijacking

Prompt hijacking attempts to override application instructions.

Jailbreaking

Jailbreaking tries to bypass model or application safety controls.

Prompt Versioning

Prompt versioning tracks prompt changes so teams can test and audit behavior.

Checkpoint rule

Do the check-up only after you can summarize each concept in one sentence and identify one dangerous pitfall from memory.

Knowledge Check (after reading)

Short check-up to confirm understanding of this module.

Check-up Questions

1-2 question checkpoint

In a prompt, which component tells the model the task it should perform?

A prompt says, 'You are a support specialist who explains answers to nontechnical customers.' What is the purpose of this statement?

Answer all questions to submit.

Next step personalized recommendations

What is Pass Harbor?

Completely free exam prep for 317 U.S. exams.

  • Practice questions
  • Flashcards
  • Study guides
  • Mock exams
  • No registration
  • No paywall
  • Start instantly
No more expensive exam prep. Quality study tools should be accessible to everyone.