Browse Python Institute Certification Guides

Python Institute PCAI Cheat Sheet: AI Basics and Prompt Patterns

Python Institute PCAI cheat sheet for AI basics, prompt patterns, traps, and final review.

Use this cheat sheet for Certified Associate Python Programmer for AI (PCAI) after you know the basics but before you start a timed practice block. The goal is not to memorize a vendor catalog; the goal is to classify the scenario and reject attractive wrong answers quickly.

PCAI answer sequence

Use this when the stem mixes AI basics, data readiness, model fit, or responsible AI.

    flowchart TD
	  S["Scenario"] --> W["Classify the AI workload"]
	  W --> R["Check responsible AI and data readiness"]
	  R --> F["Choose the correct AI family or service"]
	  F --> V["Verify the result against the requirement"]

First-pass question triage

  1. Name the tested lane before reading the answer choices.
  2. Underline the constraint: security, cost, reliability, latency, governance, implementation effort, or evidence.
  3. Reject answers that solve a neighboring problem but not the stated requirement.
  4. Prefer the smallest correct control, service, workflow, or command that satisfies the constraint.
  5. Look for proof: logs, tests, metrics, policy evidence, deployment status, evaluation results, or user-visible recovery.

What to know cold

Lane Decision rule Reject when
Python foundations for AI Use functions, data structures, modules, errors, files, and APIs in small AI programs. Treating AI work as separate from basic code correctness.
AI and ML concepts Recognize features, labels, models, training, evaluation, inference, and common task types. Calling every AI task generative AI.
Data preparation Handle inputs, cleaning, normalization, encoding, splitting, and reproducibility. Training on messy or leaked data without noticing.
Generative AI basics Understand prompts, embeddings, retrieval, model limitations, safety, and evaluation. Trusting output without grounding, validation, or safety checks.
Responsible AI Apply privacy, bias, transparency, security, and human oversight to AI workflows. Ignoring the people and data affected by AI output.

Common traps and better instincts

Trap Better instinct
Magic model thinking AI systems still need data, code, evaluation, and safety controls.
No validation Check model or output behavior against known expectations.
Prompt as policy Use access controls, data boundaries, and human review when needed.
Data leakage Keep training and evaluation information separated.

Final 15-minute review

If the stem says Start with
least privilege, private access, compliance, or audit identity scope, data boundary, policy enforcement, logging, and ownership
least operational effort managed service, native integration, simple workflow, and fewer moving parts
high availability, recovery, or outage failure domain, recovery objective, health check, rollback, and validation
performance, scale, or cost bottleneck evidence, traffic pattern, sizing, caching, batching, and quotas
troubleshoot, diagnose, or investigate symptom, recent change, logs, metrics, status, dependency, and smallest safe test

Practice fit

Use IT Mastery for the exact product route, practice status, spaced review when available, and close-answer explanation practice as coverage expands.

Open the exact IT Mastery route here: PCAI on MasteryExamPrep.

Decision order

Python AI questions combine code tracing with AI judgment: data, model task, prompt or inference, validation, and responsible use.

Revised on Sunday, May 10, 2026