# Offensive Security, Privacy/AI Governance, TOGAF 10 & Cloud Data/AI Guide: CompTIA PenTest+ (PT0-003), Linux+ (XK0-006), CEH, IAPP CIPP/AIGP (EU AI Act), Fabric DP-700 & Azure AI-102

> Textbook-grade certification preparation guide for CompTIA PenTest+ (PT0-003), CompTIA Linux+ (XK0-006), EC-Council CEH v13, IAPP CIPP/E, CIPP/US, CIPM & AIGP (GDPR & EU AI Act Regulation 2024/1689), The Open Group TOGAF Standard 10th Edition, Microsoft Fabric DP-700, Azure AI-102, and Google Cloud ML/Security Engineer.

- **Canonical URL:** https://flashcards.world/guides/en/comptia-pentest-linux-ceh-iapp-cipp-aigp-togaf10-fabric-dp700-ai102-guide-en/
- **Markdown URL:** https://flashcards.world/guides/en/comptia-pentest-linux-ceh-iapp-cipp-aigp-togaf10-fabric-dp700-ai102-guide-en.md
- **Topic / Curriculum:** Offensive Security, Privacy/AI Governance, Enterprise Architecture & Cloud Data/AI — CompTIA PenTest+ (PT0-003) & Linux+ (XK0-006), CEH, IAPP CIPP/AIGP (EU AI Act), TOGAF 10, Fabric DP-700 & Azure AI-102
- **Language:** en
- **Last Updated:** 2026-11-12

# Offensive Security, Privacy/AI Governance, TOGAF 10 & Cloud Data/AI Master Certification Study Guide

Modern security architects, privacy counsel, enterprise architects, and AI/data platform engineers operate across an interconnected regulatory and technical stack: authorized vulnerability assessment (**CompTIA PenTest+ `PT0-003`**, **EC-Council `CEH v13`**, and **CompTIA Linux+ `XK0-006`**), binding global data protection and artificial intelligence law (**IAPP `CIPP/E`**, **`CIPP/US`**, **`CIPM`**, and **`AIGP`** covering **GDPR** and the **EU AI Act `Regulation (EU) 2024/1689`**), structured enterprise transformation (**The Open Group `TOGAF® Standard, 10th Edition`**), and production lakehouse/RAG/ML engineering (**Microsoft Fabric `DP-700`**, **Azure `AI-102`**, and **Google Cloud Professional ML / Cloud Security Engineer**).

This reference synthesizes the verified 2025/2026/2027 exam blueprints, statutory thresholds, architectural trade-offs, and worked scenarios paired with **192 atomic active-recall flashcards** across six progressive study sets on [flashcards.world](https://flashcards.world).

---

## 1. Official Certification Blueprint & Scoring Comparison Matrix

| Certification | Code / Issuing Body | Item Count & Format | Duration | Passing Score | Core Domain Weights & Focus |
| :--- | :--- | :--- | :--- | :--- | :--- |
| **CompTIA PenTest+** | `PT0-003` (CompTIA) | Max 90 MCQs + PBQs | 165 min | **750 / 900** | Engagement Mgmt (13%), Recon & Enum (21%), Vuln Discovery (17%), **Attacks & Exploits (35%)**, Post-Exploitation (14%) |
| **CompTIA Linux+** | `XK0-006` (CompTIA) | Max 90 MCQs + PBQs | 90 min | **720 / 900** | System Mgmt, Services & Users, Security (PAM/SELinux/AppArmor/LUKS), Automation & Containers (Ansible/Podman/K8s/cloud-init), Troubleshooting (`strace`/`lsof`/`ss`/`ebpf`) |
| **Certified Ethical Hacker** | `CEH v13` (EC-Council) | 125 MCQs (Knowledge) | 240 min | **60%–85%** *(form-cut)* | 5 Phases: Reconnaissance, Scanning, Gaining Access, Maintaining Access, Clearing Tracks + AI-assisted security operations |
| **IAPP Privacy Suite** | `CIPP/E`, `CIPP/US`, `CIPM` (IAPP) | 90 MCQs (75 scored + 15 pretest) | 150 min | **300 / 500** | **CIPP/E**: GDPR (`2016/679`) & ePrivacy; **CIPP/US**: FTC § 5, CCPA/CPRA, HIPAA, GLBA, FCRA, COPPA; **CIPM**: Assess, Protect, Sustain, Respond |
| **IAPP AI Governance Pro** | `AIGP` (IAPP) | 100 MCQs (85 scored + 15 pretest) | 180 min | **300 / 500** | EU AI Act (`2024/1689`) risk tiers & fines, NIST AI RMF 1.0, ISO/IEC 42001 AIMS, OECD AI Principles, fairness metrics, XAI & PETs |
| **TOGAF® EA Foundation & Practitioner** | `TOGAF 10` (The Open Group) | Part 1: 40 MCQs; Part 2: 8 scenario gradient items (open-book) | 60 min / 90 min | **60% (24 / 40)** each | ADM Cycle (Preliminary + Phases A–H + central Requirements Mgmt), Enterprise Continuum, Architecture Repository, ABBs vs. SBBs, Governance |
| **Microsoft Fabric Data Engineer** | `DP-700` (Microsoft; replaces retired `DP-203`) | 40–60 MCQs & case studies | 100 min | **700 / 1000** | Implement & Manage Analytics (30–35%), Ingest & Transform (30–35%: OneLake, Medallion Delta, Eventhouse KQL), Monitor & Optimize (30–35%: Direct Lake, CU Metrics) |
| **Microsoft Azure AI Engineer** | `AI-102` (Microsoft) | 40–60 MCQs & case studies | 100 min | **700 / 1000** | Azure AI Foundry, Azure OpenAI & Hybrid RAG (`BM25 + HNSW + Semantic Ranker`), Content Safety Prompt Shields, Vision, Language, Speech & Doc Intelligence |
| **GCP Professional ML / Cloud Security** | `PMLE` / `PCSE` (Google Cloud) | 50–60 scenario MCQs | 120 min | Pass / Fail (~70% est.) | **PMLE**: Vertex AI Feature Store, Pipelines, Skew vs. Drift; **PCSE**: VPC Service Controls, BeyondCorp IAP, Cloud Armor, CMEK/EKM, Cloud DLP & SCC |

---

## 2. Curated Flashcard Sets on flashcards.world (By Difficulty Tier)

### Foundation Tier (`basic`)
- **[Set 0 — CompTIA PenTest+ (PT0-003) & CEH v13: Engagement Scoping, Recon & Web/API Security](https://flashcards.world/flashcards/sets/450c467d-b2d2-411c-a405-3c2f22e1bf40/)** (`32 cards`) — RoE/MSA/SOW, passive OSINT, `nmap` scan flags, SQLi, XSS, SSRF (`IMDSv1` vs. `IMDSv2`), BOLA/IDOR, JWT security, OWASP `LLM01` prompt injection, and CVSS v4.0 reporting.
- **[Set 1 — Active Directory Security Concepts & CompTIA Linux+ (XK0-006) Administration](https://flashcards.world/flashcards/sets/59443ff7-eb88-4fcc-a70c-593ae5fb2903/)** (`32 cards`) — Kerberoasting, AS-REP Roasting, PtH/PtT, Golden/Silver Tickets, DCSync, SMB signing, BloodHound, SSH pivoting, and Linux+ `XK0-006` PAM, SELinux/AppArmor, LUKS, systemd, Ansible, Podman, Kubernetes, `cloud-init`, and `ebpf`.

### Regulatory & Governance Tier (`intermediate`)
- **[Set 2 — IAPP CIPP/E, CIPP/US & CIPM: GDPR (Regulation 2016/679) & US Privacy Law](https://flashcards.world/flashcards/sets/4689a2b9-8af6-418a-a9b2-22e71609632a/)** (`32 cards`) — GDPR Arts. 3, 5, 6, 9, 12–22, 25, 28, 30, 33/34 (`72-hour` breach notice), 35 (`DPIA`), Chapter V (`EU-US DPF`, `SCCs + TIAs`, `BCRs`), Art. 83 `€20M/4%` fines, ePrivacy Directive, and US FTC § 5, CCPA/CPRA, HIPAA, GLBA, FCRA, COPPA & BIPA.
- **[Set 3 — IAPP AIGP: EU AI Act (Regulation 2024/1689), NIST AI RMF 1.0 & ISO/IEC 42001](https://flashcards.world/flashcards/sets/68b5bab6-e975-444d-aac3-4137a3093e07/)** (`32 cards`) — EU AI Act risk pyramid, Feb 2025–Aug 2027 enforcement dates, `$10^{25}$ FLOPs` systemic-risk GPAI, `FRIA`, `€35M/7%` fines, NIST `GOVERN/MAP/MEASURE/MANAGE`, ISO/IEC 42001 AIMS, fairness theorems, SHAP/LIME, and Differential Privacy.

### Enterprise & Cloud Architecture Tier (`advanced`)
- **[Set 4 — The Open Group TOGAF Standard, 10th Edition: ADM Phases A–H & Enterprise Continuum](https://flashcards.world/flashcards/sets/97f53736-c4ef-4612-ad0f-39a0baa3c119/)** (`32 cards`) — ADM Preliminary & Phases A–H, Requirements Management, Enterprise Continuum, Architecture Repository, ABBs vs. SBBs, ISO/IEC/IEEE 42010 views/viewpoints, Stakeholder Grid, BTRA & Governance.
- **[Set 5 — Microsoft Fabric (DP-700), Azure AI Engineer (AI-102) & Google Cloud ML/Security](https://flashcards.world/flashcards/sets/81bed704-393e-4ee1-ad07-6926d3b6da87/)** (`32 cards`) — OneLake shortcuts, Medallion Delta Lake (`OPTIMIZE` V-Order & `VACUUM`), Direct Lake, Eventstreams/KQL, Azure AI Search hybrid RAG & Prompt Shields, Vertex AI drift, and GCP VPC Service Controls.

---

## 3. Penetration Testing, Active Directory Security & CompTIA Linux+ (`PT0-003`, `CEH v13` & `XK0-006`)

### 3.1 Engagement Scoping, Legal Safe Harbor & CVSS v4.0 Reporting (`PT0-003` Domain 1 — 13%)

- **Contractual Document Hierarchy**:
  - **Master Services Agreement (`MSA`)**: Governs umbrella legal terms—liability caps, indemnification, payment terms, intellectual property, and dispute jurisdiction—often paired with a mutual **Non-Disclosure Agreement (`NDA`)**.
  - **Statement of Work (`SOW`)**: Defines engagement-specific deliverables, milestones, schedules, and pricing.
  - **Rules of Engagement (`RoE`)**: Operational execution playbook specifying exact in-scope CIDR blocks/domains, testing windows, forbidden techniques (e.g., Denial-of-Service or social engineering exclusions), escalation paths, and 24/7 emergency contacts.
- **Authorization & Third-Party Cloud Assets**: Written, signed executive authorization establishes legal safe harbor under anti-computer-trespass statutes (such as the US **Computer Fraud and Abuse Act `CFAA`**). When targets reside on multi-tenant SaaS or MSP infrastructure, explicit provider authorization is mandatory wherever shared components could be affected.
- **CVSS v4.0 Scoring Nomenclature**: Replaces CVSS v3.1's Scope metric with granular **Vulnerable System** vs. **Subsequent System** impact metrics across **4 Metric Groups**: **Base (`CVSS-B`)**, **Threat (`CVSS-BT`)**, **Environmental (`CVSS-BE`)**, and **Supplemental** (contextual safety/automatable metadata that does not alter the numeric 0.0–10.0 score), yielding **`CVSS-BTE`** when Base, Threat, and Environmental are all evaluated.

> [!IMPORTANT]
> **PenTest+ Closeout Mandate**: Prior to engagement sign-off, testers must verify complete removal of temporary accounts, persistence artifacts, and uploaded test files, deliver tailored **Executive** (business risk) and **Technical** (reproduction + remediation) reports, and conduct a **retest attestation** confirming fixes.

### 3.2 Reconnaissance, Enumeration & Web/API/LLM Vulnerability Architecture (`PT0-003` Domains 2–4)

| Scan / Vulnerability Area | Mechanism & Exam Signal | Architectural Mitigation / Remediation |
| :--- | :--- | :--- |
| **`nmap -sS` vs. `-sT`** | `-sS` (TCP SYN half-open) requires raw sockets and sends `RST` after `SYN/ACK`; `-sT` completes the OS 3-way TCP handshake without raw privileges. | Stateful firewall filtering, IDS/IPS threshold rules, and minimizing exposed public ports. |
| **`nmap -sU`, `-sV`, `-Pn`, `--script`** | `-sU` probes UDP (slow due to ICMP Type 3 Code 3 rate-limiting, yielding `open\|filtered`); `-sV` fingerprints versions; `-Pn` skips ping discovery; NSE `safe` avoids outages unlike `intrusive`/`dos`. | Disable unused UDP daemons, upgrade SNMPv1/v2c cleartext strings to **SNMPv3 `authPriv`**, and restrict DNS `AXFR` (`TCP/53`) to secondary servers. |
| **SQLi & XSS** | **Union SQLi** returns inline query rows while **Blind SQLi** infers state via boolean responses or time delays; **XSS** (`Stored`, `Reflected`, `DOM`) executes untrusted scripts in victim browsers. | **Parameterized queries (prepared statements)** for SQLi; **context-aware output encoding** plus strict **Content-Security-Policy (`CSP`)** and `HttpOnly` cookies for XSS. |
| **Cloud SSRF (`169.254.169.254`)** | Coerces a vulnerable web server into querying cloud **IMDSv1** via simple `GET` requests to retrieve temporary IAM role credentials. | Enforce **IMDSv2** (requires a session-oriented HTTP `PUT` token request + default IP **`Hop-Limit = 1`** blocking container/proxy forwarding) and outbound allowlists. |
| **OWASP API `BOLA` & `BOPLA`** | **BOLA (`API1:2023` / IDOR)** accesses unauthorized records by altering IDs; **BOPLA (`API3:2023` / Mass Assignment)** overwrites privileged model fields (`role`/`isAdmin`). | Enforce **server-side object-ownership checks** on every API call (`BOLA`) and bind inputs strictly to explicit **Data Transfer Object (`DTO`) allowlists** (`BOPLA`). |
| **JWT `alg:none` & `RS256 -> HS256`** | `alg:none` strips signatures when headers are trusted; `RS256 -> HS256` tricks a verifier into checking an HMAC signed with its publicly exposed RSA public key. | Hardcode an explicit **server-side algorithm allowlist** (`RS256`/`ES256` only) and bind each key strictly to a single cryptographic primitive. |
| **OWASP `LLM01` Prompt Injection** | **Direct** jailbreaks come from user prompts; **Indirect** injection hides instructions inside external webpages, emails, or RAG documents processed by the model. | Enforce **least-privilege tool scopes**, strict separation/delimiters on untrusted RAG context, output schema validation, and **human-in-the-loop** confirmation for state-changing actions. |

### 3.3 Active Directory Security Posture & CompTIA Linux+ (`XK0-006`) Systems Engineering

- **Active Directory Authentication Exposure & Hardening Matrix**:
  - **Kerberoasting**: Any authenticated domain user can request a Kerberos `TGS` ticket for an account with a registered `SPN`; because the `TGS` is encrypted with the service account's secret key, weak `RC4` service passwords face offline dictionary risk. **Defense**: Use **Group Managed Service Accounts (`gMSAs`)** (120-character auto-rotating passwords) and enforce **Kerberos `AES-256`**.
  - **AS-REP Roasting**: Accounts configured with `UF_DONT_REQUIRE_PREAUTH` return encrypted `AS-REP` material without prior authentication. **Defense**: Enforce Kerberos preauthentication across all accounts.
  - **Pass-the-Hash (`PtH`) vs. Pass-the-Ticket (`PtT`)**: `PtH` authenticates via raw NTLM hashes; `PtT` reuses stolen Kerberos `TGT`/`TGS` tickets. **Golden Tickets** forge domain-wide `TGT`s using the `krbtgt` hash (remediate by **resetting the `krbtgt` password twice** to invalidate both current and `N-1` key history), whereas **Silver Tickets** forge `TGS` tickets for a single service.
  - **DCSync & NTLM Relay**: **DCSync** abuses `DS-Replication-Get-Changes-All` rights to replicate hashes like a Domain Controller (audit Tier-0 ACL paths continuously with **BloodHound**). **NTLM Relay** intercepts authentication to SMB/LDAP; mitigate by mandating **SMB Signing**, **LDAP Signing**, and **Extended Protection for Authentication (`EPA` / Channel Binding)**.
- **CompTIA Linux+ (`XK0-006`) High-Yield Administration & Diagnostics**:
  - **Mandatory Access Control (`SELinux` vs. `AppArmor`) & `PAM`**: **SELinux** (RHEL/Fedora) enforces inode-based `user:role:type:level` labels (`Permissive` logs AVC denials; `Enforcing` blocks; persist labels via `semanage fcontext` + `restorecon`). **AppArmor** (Ubuntu/SUSE) restricts programs via **file-path profiles**. In `/etc/pam.d/`, `requisite` aborts immediately on failure, whereas `required` evaluates remaining modules before failing.
  - **Encryption, Storage & Systemd**: **LUKS** (`cryptsetup luksFormat`/`luksOpen` + `/etc/crypttab`) secures block devices; `lvextend -r -L +10G /dev/vg0/lv_app` expands an LVM volume and its `XFS`/`ext4` filesystem online. Always customize units via `systemctl edit <unit>` drop-ins (`/etc/systemd/system/<unit>.d/override.conf`) so vendor updates in `/usr/lib/systemd/system/` never overwrite changes, and inspect prior-boot errors with `journalctl -u <unit> -p err -b -1`.
  - **Modern Observability & Cloud-Native Automation**: Use `strace` (kernel syscalls) vs. `ltrace` (library calls), `lsof +L1` (deleted-but-open files exhausting `df -h`), `ss -tulnp` (sockets/PIDs), `nftables` (unified firewalling), and **`eBPF`** (in-kernel verified sandboxed tracing/security). Automate fleets via agentless **Ansible** YAML playbooks (`ansible-vault`), first-boot **`cloud-init`**, declarative **GitOps**, and daemonless rootless **Podman** (isolated by kernel **namespaces** and capped by **`cgroups v2`**).

---

## 4. Global Privacy Law & Operations: IAPP `CIPP/E`, `CIPP/US` & `CIPM`

### 4.1 EU GDPR (`Regulation (EU) 2016/679`) & ePrivacy Core Architecture

- **Territorial Scope (`Art. 3`) & Identifiability (`Recital 26`)**: **Art. 3(1)** covers processing in the context of an EU establishment regardless of where processing physically occurs; **Art. 3(2)** extends GDPR extraterritorially to non-EU controllers/processors **offering goods/services** to or **monitoring behavior** of individuals in the EU. **Pseudonymised data** remains personal data under GDPR; only irreversibly **anonymised data** falls outside scope.
- **Principles (`Art. 5`), Lawful Bases (`Art. 6`) & Special Categories (`Art. 9`)**:
  - **7 Principles**: Lawfulness/fairness/transparency, purpose limitation, data minimisation, accuracy, storage limitation, integrity/confidentiality, and **accountability** (`Art. 5(2)`).
  - **6 Lawful Bases (`Art. 6(1)`)**: Consent (`Art. 7` freely given, specific, informed, unambiguous opt-in), Contract performance, Legal obligation, Vital interests, Public task, and **Legitimate Interests** (`Art. 6(1)(f)` — requires a 3-part **Legitimate Interests Assessment `LIA`**: purpose, necessity, balancing test; **barred for public authorities** performing public tasks).
  - **Special Category Data (`Art. 9`)**: Health, genetic, biometric (for unique ID), racial/ethnic, political, religious, trade-union, and sex-life/orientation data—prohibited unless an `Art. 9(2)` exception (e.g., explicit consent, employment/social law, vital interests, substantial public interest, healthcare, archiving/research) is paired with an `Art. 6` basis.
- **Data Subject Rights (`Arts. 12–22`), Breach Deadlines (`Arts. 33–34`), Transfers (`Ch. V`) & Fines (`Art. 83`)**:
  - **DSR SLA**: Respond within **1 month**, extendable by **up to 2 additional months** for complex requests (`Art. 12(3)`). **Portability (`Art. 20`)** applies *only* to automated processing under Consent or Contract. **Right to Object (`Art. 21`)** is **100% absolute** against direct marketing. **Art. 22** restricts solely automated decisions producing legal or similarly significant effects.
  - **Personal Data Breaches**: Controllers notify the competent Supervisory Authority within **72 hours** of awareness unless unlikely to result in risk (`Art. 33`), and notify affected individuals **without undue delay** when likely to result in **high risk** (`Art. 34`). Processors notify the Controller without undue delay.
  - **Chapter V International Transfers**: 1) **Art. 45 Adequacy Decisions** (including the July 2023 **EU-US Data Privacy Framework `DPF`** backed by US **EO 14086** necessity/proportionality limits and the **Data Protection Review Court `DPRC`**); 2) **Art. 46 Appropriate Safeguards** (**SCCs** + post-*Schrems II* **Transfer Impact Assessments `TIAs`** & supplementary encryption, or **BCRs**); 3) **Art. 49 Narrow Derogations**.
  - **Administrative Fines & ePrivacy**: Lower tier (`Art. 83(4)`: controller/processor governance duties like `Art. 25` PbD, `Art. 28` DPA, `Art. 30` RoPA, `Art. 33` breach, `Art. 35` DPIA) = up to **`€10M` or `2%`** global annual turnover (whichever is higher); Upper tier (`Art. 83(5)`: `Arts. 5/6/7/9` principles/bases, `Arts. 12–22` DSRs, `Ch. V` transfers) = up to **`€20M` or `4%`**. Under **ePrivacy Directive `Art. 5(3)`**, non-essential cookies/trackers require prior opt-in consent even if no personal data is processed.

### 4.2 US Privacy Patchwork (`CIPP/US`) & Privacy Operations (`CIPM`)

| US Statute | Primary Regulator | Core Trigger, Scope & Exam-Critical Distinction |
| :--- | :--- | :--- |
| **FTC Act Section 5** | Federal Trade Commission (`FTC`) | Prohibits *"unfair or deceptive acts or practices in or affecting commerce"*; **carves out** banks, savings/loan institutions, common carriers, air carriers, and true non-profits. |
| **CCPA / CPRA** (California) | **CPPA** & California AG | For-profit businesses meeting **any 1**: **`>$25M` revenue**, **`>=100,000` consumers/households**, or **`>=50%` revenue from selling/sharing PI**. Grants rights to Know, Delete, Correct, Opt Out of Sale/Sharing (cross-context behavioral ads), and Limit Sensitive PI. |
| **HIPAA** | HHS Office for Civil Rights (`OCR`) | Covered Entities & Business Associates handling **PHI**; breach notice without unreasonable delay (**max `60 calendar days`**); breaches affecting **`>=500` individuals** require immediate HHS + prominent local media notice. |
| **GLBA** vs. **FCRA** | CFPB, FTC & Banking Regulators | **GLBA** mandates financial privacy notices (`Consumer` vs. ongoing `Customer`) + CISO/encryption **Safeguards Rule**; **FCRA** governs **Consumer Reporting Agencies (`CRAs`)**, permissible purposes, and **Adverse Action** notices. |
| **COPPA** & **Illinois BIPA** | FTC (`COPPA`) / Private Lawsuits (`BIPA`) | **COPPA** requires **verifiable parental consent** before collecting PI online from children **under age 13**; **Illinois BIPA** requires written consent + retention schedules for biometrics and creates a **statutory-damages private right of action**. |

---

## 5. AI Governance & Regulation: IAPP `AIGP`, `EU AI Act (Regulation 2024/1689)`, `NIST AI RMF` & `ISO/IEC 42001`

### 5.1 EU AI Act Risk Pyramid & Phased Enforcement Roadmap

```mermaid
flowchart TD
    Entry["EU AI Act (Regulation 2024/1689) — Entered into Force Aug 1, 2024"]
    Tier1["Unacceptable Risk (Art. 5 Prohibited AI) + Art. 4 AI Literacy — Enforceable Feb 2, 2025"]
    GPAI["General-Purpose AI (GPAI) Models (Ch. V; >10^25 FLOPs Systemic Risk) — Enforceable Aug 2, 2025"]
    Tier2A["High-Risk AI: Standalone Annex III + Art. 27 FRIA + Art. 50 Transparency — Enforceable Aug 2, 2026"]
    Tier2B["High-Risk AI: Annex I Regulated Product Safety Components — Enforceable Aug 2, 2027"]
    Tier4["Minimal / No Risk AI (Voluntary Codes of Conduct)"]

    Entry --> Tier1
    Entry --> GPAI
    Tier1 --> Tier2A
    GPAI --> Tier2A
    Tier2A --> Tier2B
    Tier2B --> Tier4
```

| Enforcement Date | Statutory Provisions Activated | Maximum Penalty Tier (`Art. 99` / `Art. 101`) |
| :--- | :--- | :--- |
| **Aug 1, 2024** | Entry into force (20 days after Official Journal publication; extraterritorial reach when AI output is used in the EU). | N/A *(transition clock starts)* |
| **Feb 2, 2025** *(6 mos)* | **Article 5 Prohibited AI Practices** (social scoring, subliminal distortion, untargeted facial scraping, workplace/school emotion recognition, real-time public RBI subject to narrow judicial exceptions) + **Article 4 AI Literacy**. | **Art. 5 Bans**: Up to **`€35 million` or `7%`** of global annual turnover. |
| **Aug 2, 2025** *(12 mos)* | **Chapter V GPAI Model Rules** (technical docs, copyright/TDM opt-out policy, public training-data summary; **Systemic-Risk GPAI `> 10^25 FLOPs`** adds `Art. 55` adversarial red-teaming & incident reporting), **EU AI Office**, notified bodies & penalties. | **High-Risk / GPAI / Deployer Duties**: Up to **`€15 million` or `3%`** of global annual turnover. |
| **Aug 2, 2026** *(24 mos)* | **Annex III Standalone High-Risk AI** (`Arts. 9–15` Provider duties, `Art. 26` Deployer duties, **`Art. 27` FRIA**), **`Art. 50` Transparency** (chatbots, synthetic-media watermarking, deepfake labels), and regulatory sandboxes. | **Incorrect / Misleading Info to Authorities**: Up to **`€7.5 million` or `1%`** of global annual turnover. |
| **Aug 2, 2027** *(36 mos)* | **Article 6(1) / Annex I High-Risk AI** embedded as safety components in EU harmonized regulated products (medical devices, civil aviation, vehicles, machinery). | Governed under **`€15M / 3%`** High-Risk framework. |

> [!WARNING]
> **Three High-Yield IAPP AIGP Exam Traps on the EU AI Act**:
> 1. **SME & Startup Fine Cap Reversal**: For large enterprises, fines equal the *higher* of the euro amount or turnover percentage—for **SMEs and startups**, the cap is the **LOWER** of the two percentages/amounts!
> 2. **No `Art. 6(3)` Exemption for Profiling**: An Annex III AI system can **never** claim a "narrow procedural / preparatory task" exemption if it performs **profiling of natural persons**.
> 3. **Open-Source GPAI Carve-Out Limits**: Open-weight GPAI models are *not* exempt if they pose **Systemic Risk (`> 10^25 FLOPs`)**, and even non-systemic open-source GPAI providers **must still comply** with EU copyright/TDM rules and publish a training-data summary!

### 5.2 High-Risk Roles (`Provider` vs. `Deployer`), `FRIA`, `NIST AI RMF 1.0`, `ISO/IEC 42001` & Fairness

- **EU AI Act Value-Chain Accountability**:
  - **High-Risk Provider (`Arts. 9–15`)**: Implements a continuous Risk Management System, bias-mitigated data governance, Annex IV technical documentation, automatic logging, instructions for use, **`Art. 14` Human Oversight** design, robustness/cybersecurity, Conformity Assessment, **`CE` marking**, and EU database registration.
  - **High-Risk Deployer (`Arts. 26–27`)**: Operates per instructions, assigns competent human oversight, monitors input relevance, retains logs for **`>= 6 months`**, informs workers prior to workplace deployment, and completes a **Fundamental Rights Impact Assessment (`FRIA`)** (`Art. 27` — mandatory for public bodies, private operators of public services, and Annex III **creditworthiness** or **life/health insurance** pricing deployers).
  - **Role Conversion (`Art. 25`)**: Any deployer, distributor, or importer automatically becomes the legal **Provider** if it puts its trademark on a High-Risk system, makes a **substantial modification**, or modifies a general/non-high-risk system for a High-Risk purpose.
- **Global AI Governance Standards**:
  - **NIST AI RMF 1.0** (+ GenAI Profile `NIST AI 600-1`): Organizes governance into four functions—**`GOVERN`** (cross-cutting culture, roles, policies, third-party oversight), **`MAP`** (context framing & socio-technical impact scoping), **`MEASURE`** (TEVV metrics for bias, robustness, explainability), and **`MANAGE`** (risk prioritization, incident response, decommissioning)—across **7 Trustworthy AI Characteristics** (*Valid & Reliable, Safe, Secure & Resilient, Accountable & Transparent, Explainable & Interpretable, Privacy-Enhanced, Fair with Harmful Bias Managed*).
  - **ISO/IEC `42001:2023` (`AIMS`)**: Certifiable Plan-Do-Check-Act management system standard requiring a **Statement of Applicability (`SoA`)** against Annex A controls and mandating **both** an organizational **AI Risk Assessment** and an external/individual **AI System Impact Assessment**.
- **Algorithmic Fairness, Explainability (`XAI`) & Privacy-Enhancing Technologies (`PETs`)**:
  - **Demographic Parity & `80%` Rule**: Equal positive selection rates across groups $P(\hat{Y}=1 \mid A=a) = P(\hat{Y}=1 \mid A=b)$; US EEOC / NYC Local Law 144 flags adverse impact when a group's selection rate is **`< 80%` (`4/5`)** of the highest-selected group.
  - **Equalized Odds vs. Equal Opportunity**: **Equalized Odds** requires matching *both* True Positive Rate (`TPR`) and False Positive Rate (`FPR`) across groups; **Equal Opportunity** requires matching `TPR` only.
  - **Chouldechova / Kleinberg Fairness Impossibility Theorem**: Whenever underlying base rates $P(Y=1)$ differ across groups and the classifier is imperfect, **Calibration (`Predictive Parity`)** and **Error-Rate Balance (`Equalized Odds`)** cannot be satisfied simultaneously.
  - **XAI & PETs**: **`SHAP`** computes cooperative game-theoretic Shapley values with local accuracy and consistency guarantees, whereas **`LIME`** fits a local linear surrogate around a single prediction. **Federated Learning** trains across decentralized edge devices without centralizing raw data, while **Differential Privacy (`DP-SGD`)** clips per-sample gradients and injects calibrated Gaussian noise bounded by privacy budget $\varepsilon$.

---

## 6. Enterprise Architecture: The Open Group `TOGAF® Standard, 10th Edition`

### 6.1 Architecture Development Method (`ADM`) Cycle & Deliverables

```mermaid
flowchart TD
    Prelim["Preliminary Phase (Architecture Capability, Principles & Tailored Framework)"]
    Req["Requirements Management (Continuous Dynamic Hub Across All Phases A-H)"]
    PhA["Phase A: Architecture Vision (Stakeholder Grid, BTRA & Signed SoAW)"]
    PhB["Phase B: Business Architecture (Value Streams, Capabilities & Gap Matrix)"]
    PhC["Phase C: Information Systems (Data & Application Architectures)"]
    PhD["Phase D: Technology Architecture (Logical/Physical Cloud & Infra Services)"]
    PhE["Phase E: Opportunities & Solutions (Work Packages, SBBs & Transition Arch)"]
    PhF["Phase F: Migration Planning (Prioritized Roadmap & Implementation Plan)"]
    PhG["Phase G: Implementation Governance (Architecture Contracts & Compliance)"]
    PhH["Phase H: Architecture Change Mgmt (Simplification, Incremental or New Cycle)"]

    Prelim --> PhA
    PhA --> PhB --> PhC --> PhD --> PhE --> PhF --> PhG --> PhH
    PhH -.->|"Re-architecting Trigger"| PhA
    Req <--> PhA
    Req <--> PhB
    Req <--> PhC
    Req <--> PhD
    Req <--> PhE
    Req <--> PhF
    Req <--> PhG
    Req <--> PhH
```

- **Modular TOGAF 10 Structure**: Separates timeless **TOGAF Fundamental Content** from evolving **TOGAF Series Guides** (Agile Architecture, Value Streams, Business Capabilities, Digital Enterprise, Microservices, Security & Risk).
- **Signature ADM Phase Deliverables & Decision Points**:
  - **Preliminary Phase**: Establishes *where, what, why, who, and how* architecture is practiced; defines **Architecture Principles** (`Name`, `Statement`, `Rationale`, `Implications`) and seeds the **Architecture Repository**.
  - **Phase A (Architecture Vision)**: Runs **Stakeholder Power/Interest Grid** (`High Power / Low Interest` = *Keep Satisfied*; `High Power / High Interest` = *Key Players*), initiates **Business Transformation Readiness Assessment (`BTRA`)**, and secures executive sign-off on the **Statement of Architecture Work (`SoAW`)**.
  - **Phases B, C, D (`BDAT` Baseline, Target & Gap Analysis)**: **Phase B** models *Value Streams* ("how value flows to stakeholders") and *Business Capabilities* ("what the business does"). **Phase C** develops **Data** and **Application** Architectures (in either order or parallel). **Phase D** maps logical/physical Technology components. Each phase builds a **Gap Analysis Matrix** (Baseline rows vs. Target columns: *Retained*, *Eliminated*, and *New* building blocks).
  - **Phase E (Opportunities & Solutions)**: Consolidates B–C–D gaps into **Work Packages**, selects build-vs-buy **Solution Building Blocks (`SBBs`)**, and designs incremental **Transition Architectures** when a big-bang cutover is too risky.
  - **Phase F (Migration Planning)**: Sequences Work Packages by business value, cost, risk, and dependencies into the finalized **Implementation and Migration Plan**.
  - **Phase G (Implementation Governance)**: Governs active delivery teams through binding **Architecture Contracts** and formal **Architecture Compliance Assessments** (*Compliant* = some spec items unimplemented; *Conformant* = all spec items implemented plus non-conflicting extras; non-conformance requires rework or a time-bound **Architecture Dispensation** from the **Architecture Board**).
  - **Phase H (Architecture Change Management)**: Governs post-deployment evolution—*Simplification* changes (cost reduction), *Incremental* changes (change control), and *Re-architecting* changes (launches a new ADM cycle).

### 6.2 Enterprise Continuum, Architecture Repository & `ISO/IEC/IEEE 42010`

- **Enterprise Continuum Progression** (Generic $\rightarrow$ Specific): `Foundation Architectures` $\rightarrow$ `Common Systems Architectures` $\rightarrow$ `Industry Architectures` $\rightarrow$ `Organization-Specific Architectures`. It comprises two paired views: the **Architecture Continuum** (vendor-neutral **Architecture Building Blocks `ABBs`**, Phases A–D) and the **Solutions Continuum** (product-aware **Solution Building Blocks `SBBs`**, Phase E+).
- **Six Architecture Repository Classes**: 1) *Architecture Metamodel*, 2) *Architecture Capability*, 3) *Architecture Landscape* (3 granularity tiers: **Strategic**, **Segment**, **Capability**), 4) *Standards Library*, 5) *Reference Library*, and 6) *Governance Log*.
- **Content Framework (`Catalogs`, `Matrices`, `Diagrams`) & `ISO/IEC/IEEE 42010`**: An **Architecture Viewpoint** is the reusable library template/convention (like a map legend), whereas an **Architecture View** is the concrete artifact instance built from that viewpoint to address specific stakeholder **Concerns**.

---

## 7. Cloud Data, GenAI & Zero-Trust Security: Fabric `DP-700`, Azure `AI-102` & GCP `ML/Security`

### 7.1 Microsoft Fabric Data Engineering (`DP-700` — Succeeding Retired `DP-203`)

- **OneLake, Lakehouse vs. Warehouse & Medallion Delta Maintenance**:
  - **OneLake Shortcuts**: Zero-copy virtual pointers linking external **ADLS Gen2**, **Amazon S3**, **Google Cloud Storage**, **Dataverse**, or peer Fabric workspaces directly into a Lakehouse without copying bytes.
  - **Lakehouse vs. Data Warehouse**: A **Lakehouse** writes via **Spark** (Python/Scala/Spark SQL) and exposes a *read-only* T-SQL analytics endpoint; a **Fabric Warehouse** provides full multi-table ACID transactional **T-SQL DML (`INSERT`/`UPDATE`/`DELETE`)** over open Delta Parquet.
  - **Medallion Architecture**: **Bronze** (raw append-only source fidelity) $\rightarrow$ **Silver** (deduplicated, schema-enforced, conformed entities) $\rightarrow$ **Gold** (star-schema dimensional models). Run **`OPTIMIZE`** with **V-Order** to bin-pack small Parquet files and apply columnar compression, and **`VACUUM`** to purge unreferenced files older than the retention window (default **7 days / 168 hours**).
- **Direct Lake, Real-Time Intelligence, Security & Capacity Governance**:
  - **Direct Lake Mode**: Loads OneLake Delta Parquet columns directly into Power BI VertiPaq memory without scheduled import refreshes—delivering Import-speed BI with real-time freshness, while automatically falling back to **DirectQuery** if SQL views or incompatible warehouse security rules are queried.
  - **Ingestion & Real-Time Intelligence**: Use **Database Mirroring** for zero-ETL CDC replication (Azure SQL, Cosmos DB, Snowflake, PostgreSQL), **Eventstreams** + **Eventhouse (`KQL Database`)** + **Activator** for sub-second streaming telemetry, and **Git Integration + Deployment Pipelines** (`Dev -> Test -> Prod`) for CI/CD.
  - **Access Control & CU Throttling**: **Contributor** is the least-privilege workspace role to author/run pipelines without sharing items (`Admin`/`Member` share; `Viewer` reads). Combine **RLS** (rows), **CLS** (columns), **OLS** (metadata hiding), and **DDM** (masking). In the **Capacity Metrics App**, *Interactive* operations smooth over **`>= 5 minutes`** while *Background* jobs smooth over **`24 hours`**; sustained `>100%` CU carryforward triggers interactive delay $\rightarrow$ interactive rejection $\rightarrow$ background rejection.

### 7.2 Azure AI Engineer (`AI-102`) & Google Cloud `Professional ML` / `Cloud Security`

- **Azure AI Foundry, Hybrid RAG & Content Safety (`AI-102`)**:
  - **Foundry Hierarchy & Throughput**: A **Foundry Hub** centralizes VNet/Private Link, Key Vault, and storage governance; child **Projects** isolate team flows and evaluations. Reserve **Provisioned Throughput Units (`PTUs`)** for deterministic production latency SLAs versus Standard token billing.
  - **Three-Stage Enterprise RAG (`Azure AI Search`)**: Combines **`BM25` keyword search** + **`HNSW` vector search** merged via **Reciprocal Rank Fusion (`RRF`)**, then re-orders top candidates with the cross-encoder **L2 Semantic Ranker**. Enforce document-level RBAC **security trimming** by filtering an `Edm.String` collection of Entra ID group IDs via OData `$filter` *before* injecting chunks into the LLM prompt. Choose **RAG** for dynamic facts/citations and **Fine-Tuning** for style/tone/formatting.
  - **Azure AI Content Safety & Multimodal Services**: Scores `Hate`, `Violence`, `Sexual`, and `Self-Harm` (`0, 2, 4, 6`), blocks direct jailbreaks and indirect RAG document attacks via **Prompt Shields**, and catches hallucinations via **Groundedness Detection**. Use **Document Intelligence `Custom Neural`** for unstructured/variable layouts (`Custom Template` for fixed forms) and Speech **`PhraseListGrammar`** for instant custom vocabulary boosting.
- **Google Cloud `PMLE` & `PCSE` Architecture**:
  - **Vertex AI MLOps**: **Vertex AI Feature Store** prevents offline label leakage via point-in-time joins and eliminates online skew via unified serving; **Vertex AI Model Monitoring** distinguishes **Training-Serving Skew** (live inputs vs. training baseline) from **Prediction Drift** (live input/prediction distribution shifts over sliding time windows); **Vertex AI Pipelines** (`KFP v2`) logs lineage in **Vertex ML Metadata**; shard oversized LLMs exceeding single-chip HBM via **Tensor/Pipeline Model Parallelism**.
  - **GCP Zero-Trust & Data Exfiltration Defense**: **VPC Service Controls (`VPC-SC`)** wraps multi-tenant Google APIs (BigQuery, GCS, Vertex AI) in an identity-independent perimeter that blocks data exfiltration even with stolen credentials—prefer directional **Ingress/Egress Rules** over legacy symmetric Perimeter Bridges and test safely in **Dry-Run Mode**. Pair **Cloud Armor** (L3–L7 DDoS/WAF) with **Identity-Aware Proxy (`IAP` / BeyondCorp)**, protect keys via **CMEK** / **CSEK** / external **Cloud EKM**, preserve joinability in **Sensitive Data Protection (`Cloud DLP`)** via **`CryptoDeterministicConfig` / `FPE`**, enable **Data Access Audit Logs** explicitly, and enforce **SCC Toxic Combinations** + **Binary Authorization** pod attestations.

> [!TIP]
> **Cross-Cloud Exam Strategy**: Whenever a scenario mentions *"stolen credentials or malicious insider copying BigQuery data to an external project,"* IAM cannot stop an authorized identity—select **GCP VPC Service Controls**. Whenever a Power BI semantic model over OneLake needs *"Import-level query speed with zero scheduled refresh lag,"* select **Microsoft Fabric Direct Lake**.

---

## 8. Worked Multi-Domain Certification Scenarios

### Scenario 1 — Cloud SSRF & Active Directory Remediation (`CompTIA PenTest+ PT0-003`)
- **Problem**: During an authorized engagement, an image-preview endpoint fetches arbitrary internal URLs and exposes temporary cloud IAM role credentials from `169.254.169.254`, while internal AD assessment reveals an `RC4`-encrypted `SPN` on `svc_sql` crackable offline. Recommend architectural fixes for both findings.
- **Solution**:
  1. **Cloud SSRF Fix**: Enforce **IMDSv2** (`HttpTokens = required`, requiring a `PUT` session token and `HttpPutResponseHopLimit = 1`) plus strict URL scheme/DNS allowlisting on the application server.
  2. **AD Kerberoasting Fix**: Convert `svc_sql` to a **Group Managed Service Account (`gMSA`)** with automatic 120-character password rotation and enforce **Kerberos `AES-256`** encryption.

### Scenario 2 — Disk-Full Mystery & Persistent SELinux Port Binding (`CompTIA Linux+ XK0-006`)
- **Problem**: On a RHEL 9 server in `Enforcing` mode, `df -h` reports `/var` at `100%` while `du -sh /var` shows only `18%` used, and a custom web daemon fails to bind TCP port `8443`. How do you resolve both persistently?
- **Solution**:
  1. Run `lsof +L1 /var` to identify the process holding open descriptors to unlinked log files and reload/restart that systemd unit to reclaim blocks cleanly.
  2. Authorize port `8443` persistently in SELinux policy via `semanage port -a -t http_port_t -p tcp 8443` and open it in `firewalld` (`firewall-cmd --permanent --add-port=8443/tcp && firewall-cmd --reload`).

### Scenario 3 — Cross-Border Breach & Vendor Chain (`IAPP CIPP/E`)
- **Problem**: On Friday at 14:00 CET, a cloud sub-processor suffers an unencrypted database breach exposing EU patients' medical records (`Art. 9`) and emails, notifying the Processor on Saturday at 10:00 CET, who informs the EU Hospital Controller on Saturday at 16:00 CET. When does the 72-hour clock start, and who must be notified?
- **Solution**:
  1. Under GDPR `Art. 33`, the **72-hour clock** starts when the **Controller** gains awareness (**Saturday 16:00 CET** $\rightarrow$ deadline **Tuesday 16:00 CET**) to notify the Lead Supervisory Authority.
  2. Because unencrypted `Art. 9` medical records pose a **high risk** to individuals' rights and freedoms, the Controller must also notify affected patients **without undue delay** under **`Art. 34`**.

### Scenario 4 — High-Risk Credit AI & GPAI Compute (`IAPP AIGP — EU AI Act`)
- **Problem**: A European retail bank deploys a third-party AI credit-scoring model (`Annex III`), rebrands it under the bank's own trademark, and integrates a foundation model trained with $3 \times 10^{25}\text{ FLOPs}$. Determine the bank's legal role, impact-assessment duty, and the foundation model's tier.
- **Solution**:
  1. By placing its own trademark on an Annex III High-Risk credit-scoring AI system (`Art. 25`), the bank converts from a Deployer into the regulated **High-Risk Provider** (`Arts. 9–15` + `CE` marking) *and* as a credit-scoring user must complete a **Fundamental Rights Impact Assessment (`FRIA`)** (`Art. 27`).
  2. Because $3 \times 10^{25}\text{ FLOPs} > 10^{25}\text{ FLOPs}$ (`Art. 51(2)`), the foundation model is a **GPAI model with Systemic Risk**, triggering `Art. 55` adversarial red-teaming and EU AI Office incident reporting.

### Scenario 5 — Phased ERP Modernization Governance (`TOGAF 10 Practitioner`)
- **Problem**: After completing Phases B, C, and D for a global ERP replacement, the CFO warns that a single weekend cutover across 18 countries carries unacceptable operational risk, and one regional team requests a 6-month waiver from the target API gateway standard. Which ADM phases and mechanisms resolve both?
- **Solution**:
  1. In **Phase E (Opportunities & Solutions)** and **Phase F (Migration Planning)**, group B–C–D gaps into sequenced Work Packages and define incremental **Transition Architectures** anchored by **Business Transformation Readiness Assessment (`BTRA`)** findings.
  2. In **Phase G (Implementation Governance)**, govern delivery via **Architecture Contracts** and escalate the regional team's temporary exception to the **Architecture Board** for a time-bound **Architecture Dispensation**.

### Scenario 6 — Secure Multi-Tenant Enterprise RAG & Lakehouse (`Fabric DP-700` & `Azure AI-102`)
- **Problem**: An enterprise stores HR and Finance Parquet tables in AWS S3 and ADLS Gen2, wants near-instant Power BI dashboards in Fabric without copying storage, and needs an Azure OpenAI assistant that cites internal PDFs while guaranteeing Finance users never retrieve HR-restricted chunks or fall victim to malicious instructions hidden inside external resumes.
- **Solution**:
  1. Mount S3 and ADLS Gen2 via **OneLake Shortcuts**, curate Silver/Gold Delta tables optimized with **`OPTIMIZE` V-Order**, and expose a **Direct Lake** semantic model.
  2. Index PDFs in **Azure AI Search** using **Hybrid (`BM25 + HNSW + RRF`) + L2 Semantic Ranker**, apply an OData `$filter` on Entra ID group claims for **security trimming**, and wrap prompts/documents with **Azure AI Content Safety Prompt Shields** and **Groundedness Detection**.

### Scenario 7 — US Multi-Regime Incident & Youth App Scoping (`IAPP CIPP/US`)
- **Problem**: A California health-tech firm ($32M annual revenue) experiences a ransomware breach exposing 620 California patients' HIPAA Protected Health Information (`PHI`), while its consumer wellness game collects device geolocation from 11-year-olds using an opt-out banner. Identify all violated obligations and notification deadlines.
- **Solution**:
  1. **HIPAA Breach Notification Rule**: Because **`>= 500` individuals** in a state are affected, notify affected individuals, **HHS OCR**, and **prominent local media** without unreasonable delay and **no later than 60 calendar days** (`CIPP/US`).
  2. **COPPA & CCPA/CPRA**: Because the game targets children **under age 13**, **COPPA** mandates prior **verifiable parental consent** (an opt-out banner is unlawful); exceeding **$25M** revenue also subjects non-HIPAA consumer data to **CCPA/CPRA** (`CPPA` enforcement).

### Scenario 8 — Hiring Classifier Adverse Impact & Fairness Math (`IAPP AIGP`)
- **Problem**: An automated résumé-screening tool (`Annex III` High-Risk HR AI) selects `360` of `800` Group A applicants and `140` of `500` Group B applicants. Compute the selection rates, test the **Four-Fifths (`80%`) Rule**, and explain why the vendor cannot simultaneously guarantee both **Predictive Parity** and **Equalized Odds** if historical qualification base rates differ.
- **Solution**:
  1. **Selection Rates**: Group A $= 360 / 800 = 45.0\%$; Group B $= 140 / 500 = 28.0\%$.
  2. **Adverse Impact Ratio**: $28.0\% / 45.0\% = 62.2\% < 80.0\%$, flagging adverse impact under EEOC / NYC Local Law 144 bias audit rules.
  3. **Impossibility Theorem**: By the Chouldechova / Kleinberg theorem, whenever group base rates $P(Y=1)$ differ and the classifier is imperfect, **Calibration (`Predictive Parity`)** and **Error-Rate Balance (`Equalized Odds`)** are mathematically incompatible.

### Scenario 9 — GCP Exfiltration Perimeter & Vertex AI Skew vs. Drift (`GCP PMLE / PCSE`)
- **Problem**: A financial ML team trains fraud models on BigQuery tables encrypted with external HSM keys and serves real-time predictions on Vertex AI. Security must block a compromised developer credential from copying BigQuery tables to an external project, and MLOps notices live feature values diverging from last quarter's training distribution even before chargeback labels arrive.
- **Solution**:
  1. **Key Custody & Exfiltration Defense**: Use **Cloud EKM** for external HSM key custody and wrap BigQuery, Cloud Storage, and Vertex AI inside a **VPC Service Controls (`VPC-SC`)** perimeter (testing first in **Dry-Run Mode** and granting cross-project API flows via directional **Ingress/Egress Rules**).
  2. **Model Monitoring**: Configure **Vertex AI Model Monitoring** for **Training-Serving Skew** (comparing live feature distributions against the training baseline) alongside **Prediction Drift** (tracking sliding-window shifts without ground-truth labels).

### Scenario 10 — Rootless Containers, LVM Online Growth & Ansible Vault (`CompTIA Linux+ XK0-006`)
- **Problem**: A Linux platform engineer must grow `/dev/vg_data/lv_containers` by `20 GiB` online without unmounting `XFS`, run rootless **Podman** containers managed by `systemd` across reboots, and store encrypted database credentials inside an **Ansible** GitOps repository.
- **Solution**:
  1. **Online LVM Expansion**: Run `lvextend -r -L +20G /dev/vg_data/lv_containers` (`-r` invokes `xfs_growfs` online automatically).
  2. **Rootless Podman + Systemd**: Define a user-level **Podman Quadlet** (`~/.config/containers/systemd/*.container`), reload user systemd (`systemctl --user daemon-reload`), and enable `loginctl enable-linger <user>` so containers survive logout/reboot.
  3. **Secrets in GitOps**: Encrypt variable files with `ansible-vault encrypt group_vars/prod/vault.yml` so declarative playbooks remain safe in Git.

### Scenario 11 — JWT Algorithm Confusion & API Object Authorization (`CompTIA PenTest+ PT0-003`)
- **Problem**: Code review of a REST microservice shows it verifies `RS256` JWTs using a dynamically parsed `alg` header and exposes its RSA public key at `/.well-known/jwks.json`, while `GET /api/v1/invoices/{id}` checks only that the bearer token is valid before returning the invoice PDF. Name both vulnerabilities and their exact code-level fixes.
- **Solution**:
  1. **JWT `RS256`-to-`HS256` Algorithm Confusion**: Hardcode an explicit server-side algorithm allowlist (`algorithms=["RS256"]`) and bind asymmetric RSA public keys strictly to RSA signature verification so they can never be treated as symmetric `HS256` HMAC secrets.
  2. **OWASP `API1:2023` Broken Object Level Authorization (`BOLA` / `IDOR`)**: Enforce an object-level ownership/tenant authorization check (`invoice.owner_id == token.sub`) on every request before returning the record.

### Scenario 12 — Stakeholder Grid & Gap Analysis Matrix (`TOGAF 10 Foundation & Practitioner`)
- **Problem**: During ADM Phase A and Phase B, an enterprise architect identifies the Corporate Legal Counsel as having **High Power** to halt cloud migration but **Low Interest** in day-to-day microservice design, and builds a Phase B Gap Analysis Matrix where two legacy billing modules appear in Baseline rows with no Target column match, while a real-time tax engine appears in a Target column with no Baseline row match. Classify the stakeholder strategy and both matrix findings.
- **Solution**:
  1. **Mendelow Stakeholder Power/Interest Grid**: Engage `High Power / Low Interest` stakeholders using the **Keep Satisfied** strategy—deliver concise regulatory/compliance views addressing their concerns without flooding them with low-level engineering diagrams.
  2. **Gap Analysis Matrix**: The two unmatched Baseline billing modules belong in the **Eliminated** column (to be retired/decommissioned), whereas the unmatched Target real-time tax engine belongs in the **New** row (gap to be built or procured as a Work Package in Phase E).

---

## 9. Multi-Platform Engineering & Governance Reference Commands

```sql
-- Microsoft Fabric (DP-700): Delta Lake Maintenance & Granular Warehouse Security
OPTIMIZE silver_sales VORDER;
VACUUM silver_sales RETAIN 168 HOURS;

GRANT SELECT (OrderID, Region, OrderTotal) ON dbo.FactSales TO [FinanceAnalysts];
ALTER TABLE dbo.DimCustomer ALTER COLUMN Email ADD MASKED WITH (FUNCTION = 'email()');
```

```bash
systemctl edit custom-api.service
journalctl -u custom-api.service -p err -b -1
lsof +L1 /var
ss -tulnp
lvextend -r -L +20G /dev/vg_data/lv_containers
semanage fcontext -a -t httpd_sys_content_t '/srv/webapp(/.*)?' && restorecon -Rv /srv/webapp

gcloud access-context-manager perimeters dry-run create prod-ml-perimeter \
  --resources="projects/123456789" \
  --restricted-services="bigquery.googleapis.com,storage.googleapis.com,aiplatform.googleapis.com"
```

---

## 10. 8-Week Spaced Repetition Roadmap & Exam-Day Verification Checklist

- **Weeks 1–2 (`basic` — Sets 0 & 1, `64 cards`)**: Master `PT0-003` scoping (`MSA/SOW/RoE`), `nmap` flags, web/API/LLM defenses (`IMDSv2`, `BOLA`, `JWT`), Active Directory Kerberos/NTLM protections (`gMSA`, `krbtgt` double reset, SMB signing), and `Linux+ XK0-006` (`PAM`, `SELinux/AppArmor`, `LUKS`, `systemd`, `Ansible`, `Podman`, `eBPF`).
- **Weeks 3–5 (`intermediate` — Sets 2 & 3, `64 cards`)**: Drill `CIPP/E`, `CIPP/US`, and `CIPM` statutory articles (`GDPR Arts. 3–83`, `72h` breach vs. `60-day` HIPAA, `EU-US DPF`, `SCCs + TIAs`, `CCPA/CPRA`) alongside `AIGP` (`EU AI Act` Feb 2025 / Aug 2025 `10^25 FLOPs` / Aug 2026 `FRIA`, `€35M/7%`–`€15M/3%`–`€7.5M/1%` fines, `NIST AI RMF 1.0`, `ISO/IEC 42001`, fairness theorems).
- **Weeks 6–7 (`advanced` — Sets 4 & 5, `64 cards`)**: Consolidate `TOGAF 10` (`Preliminary` + `Phases A–H` + central `Requirements Management`, `Enterprise Continuum`, `ABBs` vs. `SBBs`, `Views` vs. `Viewpoints`, `Architecture Contracts`) and Cloud Data/AI (`Fabric DP-700` OneLake/Medallion/Direct Lake/Eventhouse, `Azure AI-102` Hybrid Semantic RAG & Prompt Shields, `GCP` Vertex AI & `VPC-SC`).
- **Week 8 (Interleaved Full-Suite Review)**: Clear daily spaced-repetition queues across all `192` cards at `>= 90%` accuracy and re-work all 12 multi-domain scenarios under timed exam pacing.

> [!NOTE]
> **Final Exam-Day Sanity Checks**: Verify whether a privacy question asks about **EU GDPR** (`72 hours` to SA, `€20M/4%` *higher* cap) vs. **EU AI Act** (`€35M/7%` max, *lower* cap for SMEs/startups) vs. **US HIPAA** (`max 60 calendar days`, `>=500` media trigger); and distinguish **TOGAF Phase E** (*creates Work Packages & Transition Architectures*) from **Phase F** (*finalizes prioritized Migration Plan*) and **Phase G** (*enforces Architecture Contracts & Dispensations*).

---

## 11. High-Yield Sample Flashcards Preview

| Level | Front (Prompt / Target) | Back (Answer / Explanation) |
|---|---|---|
| `basic` | What are the five official exam domains and percentage weights on CompTIA PenTest+ (PT0-003)? | Engagement Mgmt (13%), Recon & Enum (21%), Vuln Discovery (17%), Attacks & Exploits (35%), Post-Exploitation (14%). |
| `basic` | How does AWS Instance Metadata Service Version 2 (IMDSv2) architecturally mitigate SSRF credential theft? | IMDSv2 requires a session-oriented HTTP PUT token request and defaults the IP packet hop limit (TTL) to 1. |
| `basic` | What Kerberos protocol behavior makes Active Directory service accounts vulnerable to Kerberoasting? | Any domain user can request an SPN's Kerberos TGS ticket, which is encrypted with the service account's password hash. |
| `basic` | How does SELinux differ architecturally from AppArmor as a Linux Mandatory Access Control (MAC) framework? | SELinux enforces inode-level security context labels (user:role:type:level), whereas AppArmor restricts processes by file path. |
| `intermediate` | How do the breach notification thresholds and timelines differ between GDPR Article 33 and Article 34? | Art. 33 requires supervisory notice within 72h unless unlikely to cause risk; Art. 34 requires subject notice if high risk. |
| `intermediate` | What are the two maximum administrative fine tiers under GDPR Article 83(4) and Article 83(5)? | Lower tier: up to €10M or 2% of global annual turnover; upper tier: up to €20M or 4% of global annual turnover (whichever higher). |
| `intermediate` | What compute threshold presumes a GPAI model poses 'Systemic Risk' under EU AI Act Article 51(2), and what extra duties apply? | Cumulative training compute > 10^25 FLOPs; triggers Art. 55 adversarial red-teaming, serious incident reporting, and security. |
| `intermediate` | What are the three maximum administrative fine tiers under the EU AI Act (Article 99), and how do SME caps differ from GDPR? | €35M/7% (Art. 5 bans), €15M/3% (High-Risk/GPAI), €7.5M/1% (false info); for SMEs/startups, the LOWER of % or € applies. |
| `advanced` | Why is ADM Phase E (Opportunities & Solutions) considered the bridge between architecture definition and implementation? | It consolidates B–C–D gaps into Work Packages, decides build-vs-buy Solution Building Blocks, and defines Transition Architectures. |
| `advanced` | How do Architecture Building Blocks (ABBs) differ from Solution Building Blocks (SBBs), and in which ADM phases do SBBs appear? | ABBs specify vendor-neutral required capabilities (Phases A–D); SBBs are product/implementation-aware components chosen in Phase E. |
| `advanced` | How does Power BI / Fabric Direct Lake semantic model mode combine the strengths of Import and DirectQuery, and when does it fall back? | It loads OneLake Delta columns directly into VertiPaq memory without refresh copies, falling back to DirectQuery on SQL views/RLS. |
| `advanced` | How does Azure AI Search execute three-stage Hybrid + Semantic retrieval for enterprise RAG pipelines? | It fuses BM25 keyword and HNSW vector hits via Reciprocal Rank Fusion (RRF), then re-scores top results with the L2 Semantic Ranker. |

---

## Frequently Asked Questions (FAQ)

### How does CompTIA PenTest+ (PT0-003) differ from previous PenTest+ versions and CompTIA CySA+?
Launched in December 2024, **CompTIA PenTest+ (`PT0-003`)** concentrates **35%** of the exam on **Attacks and Exploits**—adding OWASP LLM prompt injection, modern API authorization flaws (`BOLA`/`BOPLA`), cloud `IMDSv2` defenses, Active Directory graph pathing, and **CVSS v4.0** scoring—whereas defensive **CySA+** focuses on SOC threat detection, SIEM analytics, and incident response.

### What changed on CompTIA Linux+ (XK0-006) compared to XK0-005?
**CompTIA Linux+ (`XK0-006`, launched July 2025)** expands cloud-native automation, rootless containerization (**Podman** + systemd Quadlets, Kubernetes troubleshooting), declarative **GitOps**, **Ansible** playbooks, **`cloud-init`**, and kernel-safe **`eBPF`** observability alongside core `SELinux`/`AppArmor`, `LUKS`, `LVM`, and `systemd` administration.

### Should I take IAPP CIPP/E or IAPP AIGP first for AI and data governance roles?
Taking **`CIPP/E` (or `CIPP/US`)** first builds a strong foundation in lawful bases (`Art. 6`), `DPIAs` (`Art. 35`), automated decision-making (`Art. 22`), and international data transfers (`Chapter V`), which directly complements **`AIGP`**'s deep dive into the **EU AI Act (`Regulation 2024/1689`)**, `FRIA` (`Art. 27`), **NIST AI RMF 1.0**, and **ISO/IEC 42001**.

### What are the exact EU AI Act penalty tiers and key enforcement dates tested on IAPP AIGP?
Prohibited AI practices (`Art. 5`) and AI Literacy (`Art. 4`) took effect **February 2, 2025** (fines up to **`€35M` or `7%`**); GPAI rules (`> 10^25 FLOPs` systemic-risk threshold) took effect **August 2, 2025**; standalone Annex III High-Risk AI, `FRIA`, and `Art. 50` transparency rules apply **August 2, 2026** (**`€15M` or `3%`**); and Annex I product-safety AI applies **August 2, 2027** (misleading info carries **`€7.5M` or `1%`**).

### Can I take TOGAF® Enterprise Architecture Foundation and Practitioner together as a combined exam?
Yes—The Open Group offers both separate Part 1 (**Foundation**: 40 MCQs, 60 minutes, closed-book, pass `60% = 24/40`) and Part 2 (**Practitioner**: 8 complex scenario gradient-scored questions, 90 minutes, open-book, pass `60% = 24/40`) exams as well as a single **Combined Bridge/Foundation + Practitioner** sitting.

### Did Microsoft Fabric DP-700 officially replace Azure Data Engineer Associate DP-203?
Yes—following the retirement of `DP-203`, **Microsoft Certified: Fabric Data Engineer Associate (`DP-700`, pass `700/1000`)** is Microsoft's flagship data engineering certification, testing **OneLake** shortcuts, **Medallion Delta Lake** (`OPTIMIZE` V-Order & `VACUUM`), **Direct Lake** semantic models, **Eventstreams / KQL Eventhouse**, CI/CD pipelines, and **Capacity Metrics** CU throttling.

---

**[Explore All Offensive Security, Privacy/AI Governance, TOGAF 10 & Cloud Data/AI Flashcard Sets on flashcards.world →](https://flashcards.world/flashcards/?q=Offensive+Security%2C+Privacy%2FAI+Governance%2C+Enterprise+Architecture+%26+Cloud+Data%2FAI+%E2%80%94+CompTIA+PenTest%2B+%28PT0-003%29+%26+Linux%2B+%28XK0-006%29%2C+CEH%2C+IAPP+CIPP%2FAIGP+%28EU+AI+Act%29%2C+TOGAF+10%2C+Fabric+DP-700+%26+Azure+AI-102&back_lng=en)**

## Curated Flashcard Decks & Practice Sets

- **CompTIA PenTest+ (PT0-003) & CEH v13 — Engagement Scoping, Recon & Web/API Security**: [Interactive Deck](https://flashcards.world/flashcards/sets/450c467d-b2d2-411c-a405-3c2f22e1bf40/) | [Markdown (.md)](https://flashcards.world/flashcards/sets/450c467d-b2d2-411c-a405-3c2f22e1bf40.md)
- **Active Directory Security Concepts & CompTIA Linux+ (XK0-006) Administration**: [Interactive Deck](https://flashcards.world/flashcards/sets/59443ff7-eb88-4fcc-a70c-593ae5fb2903/) | [Markdown (.md)](https://flashcards.world/flashcards/sets/59443ff7-eb88-4fcc-a70c-593ae5fb2903.md)
- **IAPP CIPP/E, CIPP/US & CIPM — GDPR (Regulation 2016/679) & US Privacy Law**: [Interactive Deck](https://flashcards.world/flashcards/sets/4689a2b9-8af6-418a-a9b2-22e71609632a/) | [Markdown (.md)](https://flashcards.world/flashcards/sets/4689a2b9-8af6-418a-a9b2-22e71609632a.md)
- **IAPP AIGP — EU AI Act (Regulation 2024/1689), NIST AI RMF 1.0 & ISO/IEC 42001**: [Interactive Deck](https://flashcards.world/flashcards/sets/68b5bab6-e975-444d-aac3-4137a3093e07/) | [Markdown (.md)](https://flashcards.world/flashcards/sets/68b5bab6-e975-444d-aac3-4137a3093e07.md)
- **The Open Group TOGAF Standard, 10th Edition — ADM Phases A–H & Enterprise Continuum**: [Interactive Deck](https://flashcards.world/flashcards/sets/97f53736-c4ef-4612-ad0f-39a0baa3c119/) | [Markdown (.md)](https://flashcards.world/flashcards/sets/97f53736-c4ef-4612-ad0f-39a0baa3c119.md)
- **Microsoft Fabric (DP-700), Azure AI Engineer (AI-102) & Google Cloud ML/Security**: [Interactive Deck](https://flashcards.world/flashcards/sets/81bed704-393e-4ee1-ad07-6926d3b6da87/) | [Markdown (.md)](https://flashcards.world/flashcards/sets/81bed704-393e-4ee1-ad07-6926d3b6da87.md)
