Project Management, Agile & AI/Data Certifications Guide: PMI PMP, PRINCE2 7, Scrum, ITIL 4, AWS AI/ML, Databricks & Snowflake SnowPro Core
Comprehensive textbook-grade study guide for global project management, agile, ITSM, and modern AI/data engineering certifications: PMI PMP, PRINCE2 7th Edition, Scrum (PSM/CSPO), ITIL 4 Foundation, AWS Certified AI Practitioner (AIF-C01) & ML Engineer (MLA-C01), Databricks Lakehouse, and Snowflake SnowPro Core (COF-C02).
Interactive Premade Curricula
Project Management, Agile & AI/Data Certifications — PMI PMP, PRINCE2 7th Ed., Scrum (PSM/CSPO) & ITIL 4 + AWS AI/ML, Databricks & Snowflake Flashcard Decks (6)
Select any deck below to study cards with active recall, audio pronunciation, and FSRS spaced repetition, or filter by difficulty level.
PMI PMP — People (42%) & Business Environment (8%) Domains + PMBOK 7th/8th Ed. Principles
PMI PMP — Process Domain (50%): Earned Value Management (EVM), Critical Path & Agile/Hybrid Execution
PRINCE2 7th Edition, Scrum.org (PSM I / PSM II & CSPO) & Axelos ITIL 4 Foundation
AWS Certified AI Practitioner (AIF-C01) & Machine Learning Engineer Associate (MLA-C01)
This textbook-grade reference synthesizes the official 2025/2026 examination blueprints, quantitative formulas, governance frameworks, and cloud data/AI architectures across the world's highest-demand Project Management, Agile/ITSM, and AI/Data Platform certifications:
- Global Project Management & Agile Delivery: PMI Project Management Professional (PMP), PeopleCert/Axelos PRINCE2 7th Edition, and Scrum.org (
PSM I / PSM II&CSPO). - IT Service Management (ITSM): Axelos ITIL 4 Foundation (Service Value System, 4 Dimensions, 7 Guiding Principles, and core ITSM practices).
- Cloud AI/ML & Enterprise Data Platforms: AWS Certified AI Practitioner (
AIF-C01) & Machine Learning Engineer Associate (MLA-C01), Databricks Certified Data Engineer & Generative AI Engineer, and Snowflake SnowPro Core (COF-C02).
1. Master Certification Blueprint & Scoring Comparison
flowchart LR
subgraph PM_Agile["Project Management, Agile & ITSM"]
PMP["PMI PMP (180 Items / 230 Min: People 42%, Process 50%, Business 8%)"]
P2["PRINCE2 7th Ed. (60 MCQs Foundation / 70 Scenario Items Practitioner)"]
SCRUM["Scrum.org PSM I/II & CSPO (80 Items / 60 Min / 85% Pass on PSM I)"]
ITIL["ITIL 4 Foundation (40 MCQs / 60 Min / 65% Pass = 26/40)"]
end
subgraph AI_Data["Cloud AI/ML, Lakehouse & Data Cloud"]
AWS_AI["AWS AIF-C01 (65 Qs / 90m / 700) & MLA-C01 (65 Qs / 130m / 720)"]
DBX["Databricks Data Engineer & GenAI Engineer (Delta Lake, DLT, Unity Catalog)"]
SNOW["Snowflake SnowPro Core COF-C02 (100 Qs / 115m / 750 Scaled Pass)"]
end
PM_Agile --> AI_Data
| Certification | Examining Body | Total Items (Scored + Pretest) | Exam Duration | Passing Threshold | Core Domain Weights |
|---|---|---|---|---|---|
| PMI PMP | PMI | 180 items (175 scored + 5 pretest) | 230 minutes (two 10-min breaks) | Psychometric (AT/T/BT/NI) | People (42%), Process (50%), Business Environment (8%); ~50% Agile/Hybrid |
| PRINCE2 7th Ed. Foundation | PeopleCert | 60 single-best-answer MCQs | 60 minutes | 60% (36 / 60) | 5 Integrated Elements: 7 Principles, People, 7 Practices, 7 Processes, Context |
| Scrum.org PSM I | Scrum.org | 80 MCQs / True-False / Multi-select | 60 minutes | 85% (68 / 80) | 2020 Scrum Guide: 3 Pillars, 5 Values, 3 Accountabilities, 5 Events, 3 Artifacts |
| ITIL 4 Foundation | PeopleCert / Axelos | 40 single-best-answer MCQs | 60 minutes | 65% (26 / 40) | Service Value System (SVS), 4 Dimensions, 7 Guiding Principles, 15 Practices |
AWS Certified AI Practitioner (AIF-C01) |
AWS | 65 items (50 scored + 15 pretest) | 90 minutes | 700 / 1000 | AI/ML Fundamentals (20%), GenAI (24%), FM Apps (28%), Responsible AI (14%), Security (14%) |
AWS ML Engineer Associate (MLA-C01) |
AWS | 65 items (50 scored + 15 pretest) | 130 minutes | 720 / 1000 | Data Prep (28%), ML Model Dev (26%), Deployment/Orchestration (22%), Monitoring/Security (24%) |
| Databricks Data / GenAI Engineer | Databricks | 45–60 MCQs (Associate / Professional) | 90–120 minutes | ~70% | Lakehouse, Delta Lake (_delta_log), Auto Loader, DLT, Unity Catalog, Mosaic AI |
Snowflake SnowPro Core (COF-C02) |
Snowflake | 100 MCQs / Multi-select | 115 minutes | 750 / 1000 | Architecture (24%), Security/Governance (20%), Performance (16%), Loading (16%), Transformations (14%), Protection/Sharing (10%) |
2. PMI PMP: People (42%), Business Environment (8%) & PMBOK 7th/8th Ed.
2.1 Servant Leadership, Team Stages & Conflict Resolution
- Servant Leadership: Prioritizes removing impediments, shielding the team from external scope interruptions, coaching self-organizing teams, and facilitating consensus rather than command-and-control task assignment.
- Tuckman's 5 Stages of Team Development & Situational Leadership:
- Forming: Team members are polite, guarded, and uncertain of roles $\rightarrow$ PM uses a Directive style and facilitates co-creation of the Team Charter (social contract).
- Storming: Interpersonal friction and technical disagreements over architecture or responsibilities $\rightarrow$ PM uses a Coaching style and mediates constructively.
- Norming: Shared habits, trust, and constructive feedback take hold $\rightarrow$ PM shifts to a Supportive / Participative style.
- Performing: High-trust, autonomous synergy delivering consistent value $\rightarrow$ PM uses a Delegating style.
- Adjourning: Project closure, celebration,lessons learned, and resource release.
- Thomas-Kilmann Conflict Mode Instrument (TKI):
- Collaborate / Problem-Solve (Win-Win): High assertiveness + high cooperativeness; investigates root causes openly for consensus. Always the preferred PMP default for technical/schedule conflicts.
- Compromise / Reconcile (Lose-Lose): Both parties concede something to reach a workable middle ground under time pressure.
- Smooth / Accommodate (Lose-Win): Emphasizes common ground and yields position to preserve relationship harmony.
- Force / Direct (Win-Lose): Uses formal authority; appropriate only for safety emergencies or non-negotiable legal/regulatory compliance.
- Withdraw / Avoid (Lose-Lose): Retreats from the conflict; appropriate only when tempers require a cooling-off period or more information is needed.
2.2 Stakeholder Analysis, Motivation Theories & Communication Math
- Stakeholder Power / Interest Grid:
- High Power, High Interest: Manage Closely (active collaboration).
- High Power, Low Interest: Keep Satisfied (executive briefings; avoid overwhelming with minutiae).
- Low Power, High Interest: Keep Informed (newsletters, town halls, sprint demos).
- Low Power, Low Interest: Monitor (minimal effort).
- Salience Model: Classifies stakeholders across Power, Legitimacy, and Urgency; possessing all three defines a Definitive Stakeholder.
- Stakeholder Engagement Assessment Matrix: Tracks C (Current) vs. D (Desired) across five states: Unaware, Resistant, Neutral, Supportive, and Leading.
- Motivation Theories:
- McGregor Theory X vs. Theory Y: Theory X assumes workers dislike work and need strict supervision; Theory Y assumes workers are intrinsically motivated and thrive under autonomy.
- Herzberg Two-Factor Theory: Hygiene Factors (salary, safe working conditions, job security) only prevent dissatisfaction; Motivators (achievement, recognition, growth, autonomy) drive true satisfaction and performance.
- McClelland Three Needs: Achievement ($n\text{Ach}$: give challenging goals with feedback), Affiliation ($n\text{Aff}$: assign to collaborative teams), and Power ($n\text{Pow}$: grant leadership responsibility).
- Communication Channels & Methods:
$$\text{Communication Channels} = \frac{N(N - 1)}{2}$$
- Interactive (real-time meetings/workshops), Push (targeted emails/memos without guaranteed comprehension), and Pull (intranets/wikis for large audiences or voluminous documentation).
2.3 Business Environment Financial Metrics & PMBOK 7th Edition
- Business Case vs. Benefits Management Plan: The Business Case justifies why the investment is economically sound; the Benefits Management Plan defines how, when, and by whom tangible/intangible benefits will be measured and sustained.
- Project Selection Financial Rules:
- Net Present Value (NPV): $\sum \frac{\text{CF}_t}{(1 + r)^t} - C_0$. Always choose the project with the highest positive NPV (already accounts for time value of money, overriding Payback Period).
- Internal Rate of Return (IRR): Discount rate where $\text{NPV} = 0$ (choose highest IRR above the hurdle rate).
- Benefit-Cost Ratio (BCR): $\frac{\text{PV of Benefits}}{\text{PV of Costs}}$ ($\text{BCR} > 1.0$ means benefits exceed costs; $\text{BCR} = 1.4$ means $$1.40$ of present-value benefit per $$1.00$ of cost).
- Opportunity Cost vs. Sunk Cost: Opportunity Cost is the full value of the single best alternative foregone; Sunk Cost is money already spent in the past and must never influence future continuation decisions.
- PMBOK Guide 7th Edition:
- 12 Principles: Stewardship, Team, Stakeholders, Value, Systems Thinking, Leadership, Tailoring, Quality, Complexity, Risk, Adaptability & Resiliency, Change.
- 8 Performance Domains: Stakeholders, Team, Development Approach & Life Cycle, Planning, Project Work, Delivery, Measurement, Uncertainty.
3. PMI PMP Process Domain (50%): Earned Value, CPM, Risk & Agile Metrics
3.1 Complete Earned Value Management (EVM) Formula Suite
| Metric | Symbol | Formula | Interpretation / Exam Rule |
|---|---|---|---|
| Budget at Completion | $\text{BAC}$ | $\sum \text{Planned Value (PV)}$ | Total authorized Cost Baseline (excludes Management Reserve). |
| Planned Value | $\text{PV}$ | $\text{Planned % Complete} \times \text{BAC}$ | Authorized budget assigned to scheduled work as of the status date. |
| Earned Value | $\text{EV}$ | $\text{Actual % Complete} \times \text{BAC}$ | Budgeted value of work actually completed by the status date. |
| Actual Cost | $\text{AC}$ | $\sum \text{Costs Incurred}$ | Total actual money spent for the work performed. |
| Cost Variance | $\text{CV}$ | $\text{EV} - \text{AC}$ | $< 0$: Over budget; $> 0$: Under budget. |
| Schedule Variance | $\text{SV}$ | $\text{EV} - \text{PV}$ | $< 0$: Behind schedule; $> 0$: Ahead of schedule; $= 0$ when project finishes. |
| Cost Performance Index | $\text{CPI}$ | $\frac{\text{EV}}{\text{AC}}$ | $< 1.0$: Over budget; $> 1.0$: Under budget (value earned per $$1$ spent). |
| Schedule Performance Index | $\text{SPI}$ | $\frac{\text{EV}}{\text{PV}}$ | $< 1.0$: Behind schedule; $> 1.0$: Ahead of schedule; $= 1.0$ at completion. |
| Estimate at Completion (Typical) | $\text{EAC}_{\text{typ}}$ | $\frac{\text{BAC}}{\text{CPI}}$ | Used when current cost variances are expected to continue at the same rate. |
| Estimate at Completion (Atypical) | $\text{EAC}_{\text{atyp}}$ | $\text{AC} + (\text{BAC} - \text{EV})$ | Used when past variance was a one-time anomaly; future work at budgeted rate. |
| EAC (Cost + Schedule) | $\text{EAC}_{\text{cpi}\cdot\text{spi}}$ | $\text{AC} + \frac{\text{BAC} - \text{EV}}{\text{CPI} \times \text{SPI}}$ | Used when both cost inefficiency and firm deadline pressure impact remaining work. |
| Estimate to Complete | $\text{ETC}$ | $\text{EAC} - \text{AC}$ | Expected cost required to finish all remaining project work. |
| Variance at Completion | $\text{VAC}$ | $\text{BAC} - \text{EAC}$ | Projected budget surplus ($> 0$) or deficit ($< 0$) at project end. |
| To-Complete Performance Index | $\text{TCPI}$ | $\frac{\text{BAC} - \text{EV}}{\text{BAC} - \text{AC}}$ or $\frac{\text{BAC} - \text{EV}}{\text{EAC} - \text{AC}}$ | Required future CPI to meet target ($\text{TCPI} > 1.0$ is harder to achieve). |
3.2 Critical Path Method (CPM), PERT, Risk, Contracts & Agile Flow
- Critical Path & Float:
- Critical Path: Longest duration path through the network diagram; determines the shortest possible project duration and normally has zero Total Float ($\text{TF} = \text{LF} - \text{EF} = \text{LS} - \text{ES} = 0$).
- Total Float vs. Free Float: Total Float is delay allowed without delaying the project end date; Free Float ($\text{ES}{\text{successor}} - \text{EF}{\text{predecessor}}$) is delay allowed without delaying the Early Start of any immediate successor.
- Crashing vs. Fast-Tracking: Crashing adds resources to critical path tasks (increases cost); Fast-Tracking runs sequential critical path tasks in parallel (increases rework risk).
- PERT Three-Point Estimation: $$\text{Triangular } t_E = \frac{O + M + P}{3}, \qquad \text{Beta (PERT) } t_E = \frac{O + 4M + P}{6}, \qquad \sigma = \frac{P - O}{6}$$
- Reserves, Risk Responses & Contracts:
- Cost Baseline vs. Project Budget: $\text{Cost Baseline (BAC)} = \text{Work Estimates} + \text{Contingency Reserve (known-unknowns)}$; $\text{Total Project Budget} = \text{Cost Baseline} + \text{Management Reserve (unknown-unknowns, requires Change Request)}$.
- Threats: Avoid, Mitigate, Transfer, Escalate, Accept. Opportunities: Exploit, Enhance, Share, Escalate, Accept.
- Fixed Price Incentive Fee (FPIF) Point of Total Assumption (PTA): $$\text{PTA} = \text{Target Cost} + \frac{\text{Ceiling Price} - \text{Target Cost}}{\text{Buyer Share Ratio}}$$
- Agile & Kanban Execution:
- INVEST User Stories: Independent, Negotiable, Valuable, Estimable, Small, Testable.
- Burndown vs. Burnup: Burndown plots remaining work downward; Burnup plots completed work and total scope as two separate lines, making mid-release scope changes immediately visible.
- Little's Law (Kanban): $\text{Cycle Time} = \frac{\text{Work in Progress (WIP)}}{\text{Throughput}}$. Lowering WIP limits reduces context switching and shortens Cycle Time.
4. PRINCE2 7th Edition, Scrum.org (PSM I/II & CSPO) & Axelos ITIL 4 Foundation
4.1 PRINCE2 7th Edition: The 5 Integrated Elements
- 7 Principles (mandatory for a project to be PRINCE2):
- Ensure Continued Business Justification, Learn from Experience, Have Defined Roles, Responsibilities and Relationships, Manage by Stages, Manage by Exception, Focus on Products, and Tailor to Suit the Project.
- People (Central in 7th Edition): Places leadership, organizational culture, collaboration, and change management at the core of the method.
- 7 Performance Targets (Tolerances): Benefits, Costs, Timescales, Quality, Scope, Risk, and Sustainability (newly added 7th target).
- 7 Practices (formerly Themes):
- Business Case (Why?), Organizing (Who? — Project Board = Executive [Business interest, single-point accountability] + Senior User + Senior Supplier), Quality (What?), Plans (How/How much/When? — Product-Based Planning: Project Product Description $\rightarrow$ PBS $\rightarrow$ Product Descriptions $\rightarrow$ Product Flow Diagram), Risk (What if?), Issues (What now? — Request for Change, Off-Specification, Problem/Concern), and Progress (Where are we now?).
- 7 Lifecycle Processes:
- SU (Starting Up a Project) $\rightarrow$ DP (Directing a Project, run by the Project Board throughout) $\rightarrow$ IP (Initiating a Project, produces the PID) $\rightarrow$ CS (Controlling a Stage) $\leftrightarrow$ MP (Managing Product Delivery) $\rightarrow$ SB (Managing a Stage Boundary) $\rightarrow$ CP (Closing a Project).
4.2 2020 Scrum Guide (PSM I / PSM II & CSPO) & EBM
- 3 Empirical Pillars: Transparency, Inspection, Adaptation.
- 5 Scrum Values: Commitment, Focus, Openness, Respect, Courage.
- 3 Accountabilities (10 or fewer people total, no sub-teams or hierarchies):
- Product Owner: One person (never a committee) accountable for maximizing product value and ordering the Product Backlog. Holds sole authority to cancel a Sprint if the Sprint Goal becomes obsolete.
- Scrum Master: Accountable for establishing Scrum as defined in the Scrum Guide and coaching the team/organization in self-management and empiricism.
- Developers: Accountable for creating a usable Increment each Sprint, instilling quality by adhering to the Definition of Done, and adapting their plan daily in the Daily Scrum.
| Scrum Artifact | Associated Commitment | Inspection & Adaptation Events (Timeboxes for a 1-Month Sprint) |
|---|---|---|
| Product Backlog | Product Goal (long-term objective) | Sprint Planning (Max 8 hours): Addresses Why (Sprint Goal), What (selected PBIs), and How (delivery plan). |
| Sprint Backlog | Sprint Goal (single objective for the Sprint) | Daily Scrum (Strictly 15 minutes for Developers): Inspects progress toward the Sprint Goal. |
| Increment | Definition of Done (DoD) (formal quality criteria) | Sprint Review (Max 4 hours): Inspects Increment with stakeholders; Sprint Retrospective (Max 3 hours): Improves team quality and effectiveness. |
- Evidence-Based Management (EBM): Evaluates value through four Key Value Areas (KVAs): Current Value (CV), Unrealized Value (UV), Ability to Innovate (A2I), and Time-to-Market (T2M).
4.3 Axelos ITIL 4 Foundation: SVS, 4 Dimensions & Core Practices
- Core Definitions:
- Service: A means of enabling value co-creation by facilitating outcomes that customers want to achieve, without the customer having to manage specific costs and risks.
- Utility vs. Warranty: Utility is what the service does ("fit for purpose"); Warranty is how the service performs ("fit for use": availability, capacity, security, continuity). Both are required to co-create value.
- Service Value System (SVS): Converts Opportunity & Demand into Value via 5 components:
- 7 Guiding Principles: Focus on value; Start where you are; Progress iteratively with feedback; Collaborate and promote visibility; Think and work holistically; Keep it simple and practical; Optimize and automate (always optimize before automating).
- Governance: Evaluates, directs, and monitors the organization.
- Service Value Chain (6 Activities — PIE-DOD): Plan, Improve, Engage, Design & Transition, Obtain/Build, and Deliver & Support.
- Practices (34 total; 15 tested in depth):
- Incident Management (restores normal service operation rapidly) vs. Problem Management (identifies root causes across Problem Identification, Problem Control $\rightarrow$ creates Known Error in KEDB, and Error Control $\rightarrow$ manages Workarounds / RFCs).
- Change Enablement: Maximizes successful IT changes across Standard (pre-authorized, low-risk), Normal (requires risk assessment + Change Authority authorization), and Emergency (expedited assessment for critical incidents/security fixes).
- Service Desk (single point of contact capturing demand) vs. Service Request Management (fulfills pre-approved catalog requests).
- Service Level Management (SLM): Avoids the "Watermelon SLA" effect (green internal technical metrics masking red customer outcome failures).
- Continual Improvement Model (7 Steps): What is the vision? $\rightarrow$ Where are we now? $\rightarrow$ Where do we want to be? $\rightarrow$ How do we get there? $\rightarrow$ Take action $\rightarrow$ Did we get there? $\rightarrow$ How do we keep the momentum going?
- Four Dimensions of Service Management (surrounded by PESTLE factors): Organizations and People, Information and Technology, Partners and Suppliers, and Value Streams and Processes.
5. AWS Certified AI Practitioner (AIF-C01) & ML Engineer Associate (MLA-C01)
5.1 Amazon Bedrock & Generative AI Architecture
- Invocation Modes: On-Demand (pay-per-token), Batch Inference (asynchronous S3 bulk processing at up to 50% lower cost), and Provisioned Throughput (reserved Model Units required for custom fine-tuned models and guaranteed throughput).
- Inference Parameters:
- Temperature ($\to 0$ for deterministic/factual extraction; higher for creative variance), Top-P (Nucleus Sampling cumulative probability cutoff), Top-K (top $K$ likeliest tokens), Stop Sequences (halt generation immediately upon emitting delimiter strings), and Max Tokens.
- Customization Hierarchy (Ascending Cost & Complexity):
$$\text{Prompt Engineering} < \text{RAG (Knowledge Bases)} < \text{PEFT / LoRA Fine-Tuning} < \text{Continued Pre-Training} < \text{Pre-Training from Scratch}$$
- Knowledge Bases for Amazon Bedrock (RAG): Chunks S3 documents (Fixed-size, Hierarchical child-search/parent-return, or Semantic embedding-shift chunking), embeds via Titan/Cohere, and indexes into vector stores (OpenSearch Serverless HNSW, Aurora PostgreSQL
pgvector, or Pinecone). - Agents for Amazon Bedrock: Orchestrates multi-step workflows via ReAct (Chain-of-Thought reasoning + acting), querying Knowledge Bases and invoking Action Groups (AWS Lambda + OpenAPI schemas).
- Guardrails for Amazon Bedrock: Enforces 6 policies: Content Filters, Denied Topics, Word Filters, Sensitive Information (PII) Redaction/Blocking, Contextual Grounding Checks (detects hallucinations and off-topic responses), and Automated Reasoning Checks.
- Model Distillation: Uses a large Teacher FM to generate high-accuracy synthetic responses that fine-tune a smaller, faster, cheaper Student FM.
- Knowledge Bases for Amazon Bedrock (RAG): Chunks S3 documents (Fixed-size, Hierarchical child-search/parent-return, or Semantic embedding-shift chunking), embeds via Titan/Cohere, and indexes into vector stores (OpenSearch Serverless HNSW, Aurora PostgreSQL
5.2 Amazon SageMaker End-to-End MLOps & Evaluation Metrics
- Data Prep & Feature Management:
- SageMaker Data Wrangler: Detects Target Leakage via the Data Quality and Insights Report and fixes class imbalance via SMOTE.
- SageMaker Feature Store: Online Store (DynamoDB/In-Memory for $<10\text{ ms}$ real-time inference
GetRecord) + Offline Store (S3 Parquet + Glue/Athena for training & time-travel point-in-time queries).
- Bias, Explainability & Drift Monitoring:
- SageMaker Clarify: Computes Pre-Training Bias (CI, DPL), Post-Training Bias (DI, DPPL), and Kernel SHAP feature attributions.
- SageMaker Model Monitor: Data Quality (baseline feature drift, no labels needed), Model Quality (accuracy/F1 drift — requires Ground Truth labels), Bias Drift, and Feature Attribution (SHAP) Drift.
- Inference Endpoints & Deployment Guardrails:
| Endpoint / Strategy | Payload & Timeout Limits | Ideal Workload & Exam Trigger |
|---|---|---|
| Real-Time Endpoint | Up to $6\text{ MB}$ / $60\text{ s}$ | Steady, predictable traffic requiring persistent sub-second low latency (supports Multi-Model MME & Multi-Container). |
| Serverless Inference | Up to $4\text{ MB}$ / $60\text{ s}$ | Intermittent, spiky traffic with idle periods that tolerates cold starts (auto-scales down to 0 instances). |
| Asynchronous Inference | Up to $1\text{ GB}$ / $1\text{ hour}$ | Large payloads (medical 3D imaging, long PDFs) and long processing times using an internal queue + S3 notifications. |
| Batch Transform | Terabytes in S3 / Offline | Offline periodic batch scoring of large datasets stored in Amazon S3 without maintaining persistent endpoints. |
| Blue/Green vs. Shadow | Canary / Linear / All-at-Once | Canary/Linear shifts live user responses with CloudWatch auto-rollback; Shadow Testing mirrors live requests silently without returning shadow outputs to users. |
- ML & LLM Evaluation Metrics:
$$\text{Precision} = \frac{\text{TP}}{\text{TP} + \text{FP}}, \qquad \text{Recall (Sensitivity)} = \frac{\text{TP}}{\text{TP} + \text{FN}}, \qquad F_1 = \frac{2 \cdot \text{Precision} \cdot \text{Recall}}{\text{Precision} + \text{Recall}}$$
- Use PR-AUC (Precision-Recall AUC) over ROC-AUC when positive classes are extremely rare (e.g., $0.1%$ fraud).
- LLM Metrics: ROUGE (recall-oriented $\to$ summarization), BLEU (precision-oriented $\to$ translation), BERTScore (contextual embedding similarity), and Perplexity (token prediction uncertainty; lower is better).
6. Databricks Lakehouse, Delta Lake, DLT & Unity Catalog
- Delta Lake Internals:
- Stores immutable Parquet data files alongside an atomic transaction log (
_delta_log/containing JSON commits and Parquet checkpoints) for ACID isolation, schema enforcement, and Data Skipping (min/max stats on first 32 columns). - Time Travel & Maintenance: Query via
SELECT * FROM t VERSION AS OF 5orTIMESTAMP AS OF '...'; rollback viaRESTORE TABLE t TO VERSION AS OF 5.VACUUMdeletes unreferenced Parquet files older than 7 days (168 hours) by default. - Physical Layout:
OPTIMIZEcompacts small files into $\sim 1\text{ GB}$ files;ZORDER BYco-locates multidimensional keys; Liquid Clustering (CLUSTER BY (col1, col2)) replaces static Hive partitioning andZORDERwith incremental, skew-resistant clustering; Deletion Vectors use Merge-on-Read roaring bitmaps to avoid rewriting whole Parquet files onDELETE/UPDATE/MERGE.
- Stores immutable Parquet data files alongside an atomic transaction log (
- Medallion Architecture, Auto Loader & Delta Live Tables (DLT):
- Bronze (raw append-only payload + metadata) $\rightarrow$ Silver (validated, deduplicated, conformed) $\rightarrow$ Gold (business aggregates/KPIs).
- Auto Loader (
cloudFiles):spark.readStream.format("cloudFiles")incrementally discovers cloud storage files via file notifications or directory listing using RocksDB state checkpoints and handles schema drift viacloudFiles.schemaEvolutionMode(addNewColumns,rescue$\to$_rescued_data,failOnNewColumns,none). - DLT Data Quality Expectations:
CONSTRAINT name EXPECT (cond): Retains invalid rows and logs violation metrics in the DLT Event Log.CONSTRAINT name EXPECT (cond) ON VIOLATION DROP ROW(@dlt.expect_or_drop): Drops violating records and continues processing.CONSTRAINT name EXPECT (cond) ON VIOLATION FAIL UPDATE(@dlt.expect_or_fail): Immediately aborts the pipeline transaction.
- DLT Change Data Capture (CDC):
APPLY CHANGES INTO live.target FROM STREAM(live.cdc_source) KEYS (id) SEQUENCE BY ts STORED AS SCD TYPE 1 | SCD TYPE 2automatically sequences out-of-order updates and tracks__START_AT/__END_AT.
- Unity Catalog & Mosaic AI:
- 3-Level Namespace:
catalog.schema.table(plus Volumes at/Volumes/catalog/schema/volume/for unstructured files, Views, Functions, and Registered Models) attached to a single regional Metastore. - Managed vs. External Tables:
DROP TABLEon a Managed Table deletes both metadata and cloud data files; on an External Table (governed by a Storage Credential + External Location),DROP TABLEremoves only metadata. - Fine-Grained Governance: Attach SQL UDFs using
IS_ACCOUNT_GROUP_MEMBER()directly viaALTER TABLE ... SET ROW FILTERandALTER COLUMN ... SET MASK. - Mosaic AI Vector Search & Agents: Delta Sync Indexes automatically synchronize embeddings from source Delta tables with
delta.enableChangeDataFeed = true; agent tools are registered as Unity Catalog Functions (CREATE FUNCTION) and evaluated viamlflow.evaluateLLM-as-a-Judge metrics.
- 3-Level Namespace:
7. Snowflake SnowPro Core (COF-C02) Architecture & Governance
7.1 3-Layer Architecture, Micro-Partitions, Caching & Virtual Warehouses
- Database Storage Layer: Automatically divides data into immutable, compressed columnar Micro-Partitions ($50\text{--}500\text{ MB}$ uncompressed, $\sim 16\text{ MB}$ compressed).
- Query Processing Layer: Independent MPP Virtual Warehouses (
X-Small= 1 credit/hr, doubling each size up to6X-Large= 512 credits/hr), billed per second after a 60-second minimum.- Scale Up (resize larger) for complex queries or remote SSD spilling; Scale Out (Multi-Cluster Warehouse, Enterprise+) for concurrent user queuing; Query Acceleration Service (QAS) offloads outlier large scans to serverless compute.
- Cloud Services Layer: Stateless control plane managing authentication, RBAC, query compilation/optimization, micro-partition metadata, and the Result Cache (24-hour TTL extended up to 31 days on reuse; billed only when Cloud Services exceeds 10% of daily warehouse compute credits).
7.2 Table Types, Time Travel, Fail-safe, Loading & Pipelines
| Snowflake Table Type | Time Travel Retention | Fail-safe Period | Scope & Storage Characteristics |
|---|---|---|---|
| Permanent Table (Default) | $0\text{--}1$ day (Standard) / $0\text{--}90$ days (Enterprise+) | 7 days (non-configurable, Snowflake Support only) | Highest protection; incurs Time Travel + 7-day Fail-safe storage costs for modified/dropped micro-partitions. |
| Transient Table | $0\text{--}1$ day | 0 days | Persists across sessions until explicitly dropped; ideal for large ETL staging tables to eliminate Fail-safe costs. |
| Temporary Table | $0\text{--}1$ day | 0 days | Session-scoped (invisible to other sessions and dropped automatically when the session closes). |
| External / Iceberg Table | 0 days (Snowflake Time Travel) | 0 days | Reads files in external cloud storage (@ext_stage or EXTERNAL_VOLUME); Hybrid Tables add row-locked OLTP with enforced PK/FK constraints. |
- Zero-Copy Cloning (
CREATE ... CLONE): Instant metadata-only operation sharing source micro-partitions at zero initial storage cost; standalone cloned tables do not inherit source grants unlessCOPY GRANTSis specified. - Bulk
COPY INTOvs. Snowpipe:- Bulk
COPY INTO <table>: Runs on customer Virtual Warehouses, defaults toON_ERROR = ABORT_STATEMENT, and retains load deduplication metadata for 64 days. - Snowpipe (
CREATE PIPE ... AUTO_INGEST = TRUE): Event-driven serverless micro-batch ingestion, defaults toON_ERROR = SKIP_FILE, and retains load metadata for 14 days.
- Bulk
- Streams, Tasks & Dynamic Tables:
- Streams: Zero-copy CDC offset bookmarks adding
METADATA$ACTION,METADATA$ISUPDATE, andMETADATA$ROW_ID(anUPDATEappears as aDELETE+INSERTpair withMETADATA$ISUPDATE = TRUE). Offset advances only inside a committed DML transaction. - Tasks vs. Dynamic Tables: Tasks execute scheduled/DAG SQL (
WHEN SYSTEM$STREAM_HAS_DATA('s'), createdSUSPENDEDby default); Dynamic Tables declaratively materialize multi-table SQL queries to meet aTARGET_LAG.
- Streams: Zero-copy CDC offset bookmarks adding
7.3 RBAC, Data Masking & Secure Data Sharing
- System Roles:
ORGADMIN(multi-account),ACCOUNTADMIN($\text{SECURITYADMIN} + \text{SYSADMIN}$),SECURITYADMIN(global grants, inheritsUSERADMIN),USERADMIN(users/roles),SYSADMIN(warehouses/databases — always wire custom role hierarchies up toSYSADMIN), andPUBLIC. - Managed Access Schemas (
WITH MANAGED ACCESS): CentralizesGRANTprivileges exclusively to the Schema Owner andSECURITYADMIN. - Enterprise Governance & Sharing: Dynamic Data Masking (column redaction, including Tag-Based Masking), Row Access Policies, Projection Policies, and Aggregation Policies. Secure Data Sharing (
SHARE) shares live read-only data (and Secure Views) across accounts with zero data copy; Consumers pay for compute, except in provider-created Reader Accounts where the Provider pays for compute.
8. Worked Exam Scenarios & Rapid-Fire Review Checklist
- PMP EVM & TCPI Calculation: A project has $\text{BAC} = $400,000$, scheduled progress $= 60%$, actual completion $= 45%$, and $\text{AC} = $200,000$.
- $\text{PV} = 0.60 \times 400\text{k} = $240,000$; $\text{EV} = 0.45 \times 400\text{k} = $180,000$.
- $\text{CPI} = \frac{180\text{k}}{200\text{k}} = 0.90$ (over budget); $\text{SPI} = \frac{180\text{k}}{240\text{k}} = 0.75$ (behind schedule).
- Typical $\text{EAC} = \frac{$400,000}{0.90} = $444,444$; $\text{TCPI}_{\text{BAC}} = \frac{400\text{k} - 180\text{k}}{400\text{k} - 200\text{k}} = \frac{220\text{k}}{200\text{k}} = 1.10$ (team must achieve a $1.10$ CPI on remaining work to finish on the original budget).
- AWS MLA-C01 Drift & Deployment Scenario: A real-time credit scoring model on SageMaker exhibits shifting input feature distributions in production, and the team wants to test a retrained XGBoost model against live traffic without affecting customer responses.
- Solution: Configure SageMaker Model Monitor (Data Quality) (requires no ground truth labels) to alert on input drift against
statistics.json, and deploy the retrained model as a Shadow Variant on the Real-Time Endpoint before promoting via a Canary Blue/Green deployment.
- Solution: Configure SageMaker Model Monitor (Data Quality) (requires no ground truth labels) to alert on input drift against
- Databricks DLT & Unity Catalog Scenario: You need to ingest schema-drifting JSON logs from S3 into a Silver table that drops records with a
NULLuser_id, processes out-of-order CDC updates keeping full row history, and masksemailfor non-admin groups.- Solution: Ingest Bronze via Auto Loader (
cloud_files) withaddNewColumns, enforceCONSTRAINT valid_user EXPECT (user_id IS NOT NULL) ON VIOLATION DROP ROW, runAPPLY CHANGES INTO ... SEQUENCE BY updated_at STORED AS SCD TYPE 2, and attach a Unity Catalog Column Mask UDF (ALTER TABLE ... ALTER COLUMN email SET MASK).
- Solution: Ingest Bronze via Auto Loader (
- Snowflake COF-C02 Cost & Pipeline Scenario: A 10 TB staging table is truncated and reloaded nightly, and downstream tables must refresh incrementally only when new rows arrive without wasting warehouse credits.
- Solution: Create the staging table as a Transient Table (0 Fail-safe storage cost), attach an Append-Only Stream, and schedule a Serverless Task gated by
WHEN SYSTEM$STREAM_HAS_DATA('stg_stream')(or define a Dynamic Table with a declarativeTARGET_LAG).
- Solution: Create the staging table as a Transient Table (0 Fail-safe storage cost), attach an Append-Only Stream, and schedule a Serverless Task gated by
Pre-Exam Rapid-Fire Checklist
- PMP: Always assess/analyze impact first before raising a formal Change Request (Predictive) or reprioritizing with the Product Owner (Agile); never ignore risk triggers or let Sunk Cost drive future decisions.
- PRINCE2 7 & Scrum: Verify all 7 PRINCE2 Principles and 7 Performance Targets (including Sustainability); remember that only the Product Owner can cancel a Sprint and undone PBIs never enter the Increment or Sprint Review.
- ITIL 4: Distinguish Utility (fit for purpose) vs. Warranty (fit for use), and Incident Management (restore service fast) vs. Problem Management (root cause, Known Error, KEDB).
- AWS AI/ML (
AIF-C01/MLA-C01): Match Knowledge Bases + Guardrails Contextual Grounding to hallucination prevention, Clarify SHAP to explainability, Model Quality Monitor to ground-truth requirement, and Asynchronous Inference to payloads up to $1\text{ GB}$. - Databricks & Snowflake (
COF-C02): Contrast Delta LakeVACUUM(7-day / 168-hr default), Liquid Clustering (CLUSTER BY), and DLT Expectations (expect/expect_or_drop/expect_or_fail) with Snowflake Micro-Partitions ($50\text{--}500\text{ MB}$), Permanent vs. Transient Fail-safe (7 days vs. 0 days), and Copy Into (64d) vs. Snowpipe (14d).
9. Production Code & SQL Reference Patterns (Databricks & Snowflake)
9.1 Databricks Delta Live Tables (DLT) & Unity Catalog Governance SQL
-- 1. Bronze Streaming Table via Auto Loader (cloud_files)
CREATE OR REFRESH STREAMING TABLE bronze_orders
AS SELECT *, _metadata.file_path AS source_file, current_timestamp() AS ingested_at
FROM cloud_files('s3://corp-lakehouse/landing/orders/', 'json',
map('cloudFiles.inferColumnTypes', 'true',
'cloudFiles.schemaEvolutionMode', 'addNewColumns'));
-- 2. Silver Streaming Table with Data Quality Expectations
CREATE OR REFRESH STREAMING TABLE silver_orders (
CONSTRAINT valid_order_id EXPECT (order_id IS NOT NULL) ON VIOLATION DROP ROW,
CONSTRAINT positive_amount EXPECT (amount > 0) ON VIOLATION FAIL UPDATE
)
CLUSTER BY (customer_id, order_date)
AS SELECT order_id, customer_id, CAST(amount AS DECIMAL(12,2)) AS amount,
CAST(order_ts AS DATE) AS order_date, updated_at
FROM STREAM(LIVE.bronze_orders);
-- 3. Automated CDC into SCD Type 2 Dimension via APPLY CHANGES INTO
CREATE OR REFRESH STREAMING TABLE silver_customers_scd2;
APPLY CHANGES INTO LIVE.silver_customers_scd2
FROM STREAM(LIVE.bronze_customer_cdc)
KEYS (customer_id)
APPLY AS DELETE WHEN op = 'DELETE'
SEQUENCE BY updated_at
COLUMNS * EXCEPT (op, _rescued_data)
STORED AS SCD TYPE 2;
-- 4. Unity Catalog Fine-Grained Row Filter & Column Mask
CREATE FUNCTION main.security.region_row_filter(region STRING)
RETURN IF(IS_ACCOUNT_GROUP_MEMBER('global_execs'), true, region = current_user());
CREATE FUNCTION main.security.ssn_mask(ssn STRING)
RETURN IF(IS_ACCOUNT_GROUP_MEMBER('hr_pii_admins'), ssn, 'XXX-XX-' || RIGHT(ssn, 4));
ALTER TABLE main.hr.employees SET ROW FILTER main.security.region_row_filter ON (region);
ALTER TABLE main.hr.employees ALTER COLUMN ssn SET MASK main.security.ssn_mask;
9.2 Snowflake SnowPro Core (COF-C02) End-to-End SQL Patterns
-- 1. Storage Integration, External Stage, Snowpipe & Time Travel / Cloning
CREATE STORAGE INTEGRATION s3_int
TYPE = EXTERNAL_STAGE
STORAGE_PROVIDER = 'S3'
ENABLED = TRUE
STORAGE_AWS_ROLE_ARN = 'arn:aws:iam::123456789012:role/snowflake-s3-role'
STORAGE_ALLOWED_LOCATIONS = ('s3://enterprise-datalake/events/');
CREATE STAGE ext_events_stage
STORAGE_INTEGRATION = s3_int
URL = 's3://enterprise-datalake/events/'
FILE_FORMAT = (TYPE = PARQUET);
CREATE PIPE events_pipe AUTO_INGEST = TRUE AS
COPY INTO raw_events
FROM @ext_events_stage
MATCH_BY_COLUMN_NAME = CASE_INSENSITIVE
ON_ERROR = 'SKIP_FILE';
-- Zero-Copy Clone at a historical Time Travel point before an accidental DML query
CREATE TABLE orders_restored CLONE prod_db.public.orders
BEFORE (STATEMENT => '01b48f22-0405-9c12-0000-43890012a3b4')
COPY GRANTS;
-- 2. Semi-Structured VARIANT Traversal & LATERAL FLATTEN
SELECT
raw_payload:order_id::VARCHAR AS order_id,
raw_payload:customer.tier::VARCHAR AS customer_tier,
item.value:sku::VARCHAR AS sku,
item.value:qty::NUMBER AS quantity
FROM raw_events,
LATERAL FLATTEN(INPUT => raw_payload:line_items, OUTER => FALSE) item;
-- 3. CDC Stream + Gated Serverless Task vs. Declarative Dynamic Table
CREATE STREAM orders_cdc_stream ON TABLE raw_orders APPEND_ONLY = FALSE;
CREATE TASK merge_orders_task
USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE = 'SMALL'
SCHEDULE = '5 MINUTE'
WHEN SYSTEM$STREAM_HAS_DATA('orders_cdc_stream')
AS
MERGE INTO dim_orders t
USING (SELECT * FROM orders_cdc_stream WHERE NOT (METADATA$ACTION = 'DELETE' AND METADATA$ISUPDATE = TRUE)) s
ON t.order_id = s.order_id
WHEN MATCHED AND s.METADATA$ACTION = 'DELETE' THEN DELETE
WHEN MATCHED THEN UPDATE SET t.status = s.status, t.updated_at = s.updated_at
WHEN NOT MATCHED THEN INSERT (order_id, status, updated_at) VALUES (s.order_id, s.status, s.updated_at);
ALTER TASK merge_orders_task RESUME;
10. Additional Worked Certification Practice Problems (Questions 5–10)
-
PMP Critical Path, Float & FPIF PTA Calculation:
- Scenario: Network paths are Path 1 (
A-B-E= $6 + 8 + 5 = 19\text{ days}$) and Path 2 (A-C-D-E= $6 + 7 + 9 + 5 = 27\text{ days}$). Activity B has an immediate successor E ($\text{ES}_E = 22$). Concurrently, a sub-vendor works under an FPIF contract with $\text{Target Cost} = $200,000$, $\text{Target Fee} = $25,000$, $\text{Ceiling Price} = $245,000$, and an $75 / 25$ Buyer/Seller sharing ratio. - Solution:
- Critical Path is
A-C-D-E($27\text{ days}$, $\text{Total Float} = 0$). Activity B has $\text{EF}_B = 6 + 8 = 14$, $\text{LF}_B = 22$, so Total Float $= 22 - 14 = 8\text{ days}$ and Free Float $= \text{ES}_E - \text{EF}_B = 22 - 14 = 8\text{ days}$. - $\text{PTA} = $200,000 + \frac{$245,000 - $200,000}{0.75} = $200,000 + $60,000 = $260,000$.
- Critical Path is
- Scenario: Network paths are Path 1 (
-
PRINCE2 7th Edition Exception Escalation vs. Scrum Sprint Governance:
- Scenario: In a PRINCE2 delivery stage, a Team Manager realizes a specialist testing Work Package will exceed its agreed $+3\text{-day}$ timescale tolerance, although the overall Stage Plan still has $+10\text{ days}$ of stage tolerance remaining. In a parallel Scrum team, a VP demands that the Scrum Master add an urgent compliance story to the current Sprint Backlog and extend the 2-week Sprint by 4 days.
- Solution:
- In PRINCE2, the Team Manager raises an Issue to the Project Manager (not the Project Board, because Stage tolerance is not breached); the Project Manager resolves it within stage margins using the Issue Register.
- In Scrum, a Sprint timebox is never extended; the Scrum Master shields the team and directs the VP to the Product Owner, who evaluates whether the item can be negotiated with Developers without endangering the Sprint Goal or ordered at the top of the Product Backlog for the next Sprint.
-
ITIL 4 Change Enablement vs. Problem Management:
- Scenario: After an intermittent database deadlock causes three P2 checkout outages in one week, the database team identifies a connection-pool configuration bug, applies a temporary connection-flush script every 4 hours, and submits a request to upgrade the database driver during Saturday's maintenance window.
- Solution: The three outages are Incidents; the underlying connection-pool bug is a Problem; once root-cause analysis finishes, it becomes a Known Error logged in the KEDB; the 4-hour flush script is a Workaround (Error Control); and the Saturday driver upgrade is a Normal Change requiring Change Authority authorization under Change Enablement.
-
AWS Bedrock RAG Chunking & Guardrails Contextual Grounding:
- Scenario: A legal AI assistant built on Knowledge Bases for Amazon Bedrock retrieves isolated sub-clauses from 80-page commercial leases, causing the LLM to miss parent section definitions and occasionally invent penalty percentages.
- Solution: Reconfigure the Knowledge Base to use Hierarchical Chunking (searching fine-grained child chunks for retrieval precision while passing the broader parent chunk to the FM prompt), lower Temperature to $0.0$, and attach Guardrails for Amazon Bedrock with Contextual Grounding Checks (Grounding + Relevance thresholds) enabled.
-
Databricks Delta Lake
VACUUMvs.SHALLOW CLONE& CDF:- Scenario: An engineer creates
CREATE TABLE dev.events SHALLOW CLONE prod.events, then runsVACUUM prod.events RETAIN 0 HOURSon the source table after deleting old rows, and also wants to build a Mosaic AI Vector Search Delta Sync Index onprod.kb_articles. - Solution: Because
SHALLOW CLONEreferences the source table's physical Parquet files without copying them, runningVACUUM ... RETAIN 0 HOURSonprod.eventsdeletes underlying files still referenced bydev.events, breaking queries on the clone (DEEP CLONEcopies files independently). For the Vector Search Delta Sync Index, the engineer must first enableALTER TABLE prod.kb_articles SET TBLPROPERTIES (delta.enableChangeDataFeed = true).
- Scenario: An engineer creates
-
Snowflake
COF-C02Caching, RBAC & Secure Data Sharing:- Scenario: A Data Provider wants to share a subset of a multi-tenant
salestable with an external partner who has a Snowflake account in the same AWS region, ensuring the partner cannot see the SQL logic or infer other tenants' rows via custom UDF divide-by-zero errors. - Solution: Create a Secure View (
CREATE SECURE VIEW) filtering rows by tenant and add it to aSHAREobject (GRANT SELECT ON VIEW ... TO SHARE). The Secure View hides the DDL definition and blocks query-optimizer predicate pushdown before the security filter; the Provider pays only for storage and the Consumer pays for their own Virtual Warehouse compute.
- Scenario: A Data Provider wants to share a subset of a multi-tenant