跳到正文
DEV Community· Nordic Cyber Compliance·· 1 小時前AI 評分52

Linux Foundation 與 OpenSSF SAIA(2026)備考指南:六大考試領域決策表及五道實戰情境題

Linux Foundation & OpenSSF SAIA (2026) Study Guide: 6-Domain Decision Tables + 5 Realistic Practice Scenarios

AI 導讀

這份 Linux Foundation 與 OpenSSF Secure AI Associate(SAIA)備考指南,整理六個官方考試領域的技術考點與決策規則,並提供五道原創情境題。SAIA beta 將於 2026 年 11 月 24 日開始,正式版預計於 2026 年 12 月推出。五道情境題涵蓋 MCP SSRF、Docker 憑證、RAG 語料清理、量化安全測試及概念漂移。

正文

The Linux Foundation and OpenSSF Secure AI Associate (SAIA) exam enters beta on November 24, 2026 (ahead of December 2026 GA). Unlike generic AI-governance quizzes, SAIA targets practicing AI/ML engineers, DevSecOps engineers, and application security teams who actually build, deploy, and operate LLM, RAG, and agentic pipelines.

This guide condenses all 6 official SAIA exam domains into concrete exam-day decision tables—plus 5 original scenario questions modeled on real architectural trade-offs.


Official SAIA Exam Blueprint at a Glance

Domain Official Weight High-Yield Technical Traps
1. AI/ML Security Foundations & Threat Modeling 16% MITRE ATLAS kill chains (AML.T0020 poisoning vs. AML.T0015 evasion vs. AML.T0024.002 extraction), deterministic vs. probabilistic boundaries, CSA Shared Responsibility
2. Secure AI Application, RAG & Agent Design 20% OWASP LLM01–LLM10 (2025), MCP OAuth RFC 8707 audience binding & tool-schema rug pulls, RAG pre-retrieval ACLs, microVM code sandboxes
3. Secure MLOps, Deployment & Supply Chain 16% OpenSSF Model Signing (OMS/Sigstore Fulcio + Rekor + TUF), Safetensors vs. Pickle (weights_only=True), CycloneDX ML-BOM / SPDX 3.0 AI, SLSA Build provenance, K8s GPU hardening
4. Monitoring, Incident Response & Governance 20% OpenTelemetry GenAI trace redaction, Shadow AI SWG/CASB + sanctioned gateway, covariate vs. concept drift, EU AI Act Art. 73 clocks, volatile microVM forensics
5. Secure Data & Dataset Governance 14% DVC/LakeFS cryptographic lineage, split-view web poisoning, HTML/Unicode Tag (U+E0000–U+E007F) sanitization, GDPR Art. 17 RAG tombstones, MinHash/LSH deduplication
6. Secure Model Development & Evaluation 14% DP-SGD cumulative epsilon accounting (NIST SP 800-226), PyRIT multi-turn CI red-teaming, benign LoRA alignment drift, matched-stack INT4 vs. FP16 quantization gates

5 High-Yield Exam-Day Decision Rules

1. Deterministic Boundaries Beat Probabilistic Guardrails Every Time

Prompt delimiters, instruction hierarchy, and LLM-based safety classifiers are defense-in-depth, never your primary authorization boundary.

  • RAG Access Control (OWASP LLM08): Enforce document ACLs and server-derived tenant_id predicates before similarity ranking—never ask the LLM to redact unauthorized chunks already in context.
  • Tool Execution (OWASP LLM06 / MCP): Pin reviewed MCP tool-schema digests (to stop silent description "rug pulls"), enforce RFC 8707 audience-bound tokens (zero raw token passthrough), and validate parameters server-side.

2. Model Serialization & Supply Chain: Format Safety vs. Cryptographic Provenance

A frequent exam trap confuses signature verification with deserialization safety:

  • A valid Sigstore signature proves who built the bytes, not that a Pickle/Joblib file cannot execute arbitrary Python during torch.load(..., weights_only=False).
  • Best practice: Migrate to Safetensors, reject trust_remote_code=True in production, disable untrusted ONNX custom .so operators, and verify OpenSSF Model Signing (OMS/Sigstore) digests + Fulcio issuer identity + Rekor inclusion proofs against the exact read-only bytes loaded at runtime (avoiding init-container emptyDir TOCTOU swaps).

3. MITRE ATLAS Lifecycle Mapping (Don't Mix These IDs)

Attack Pattern Exact MITRE ATLAS Technique Primary Control
Poisoning nightly fine-tuning / crowdsourced RLHF labels AML.T0020 (Poison Training Data) Source provenance, honey-tasks, quarantine anomaly gates
Trigger-conditioned sleeper backdoor in external weights AML.T0018 (Manipulate AI Model / Backdoor) Immutable commit pins, trigger-sweep evals + SAST on outputs
Black-box API distillation / model cloning via queries AML.T0024.002 (Extract ML Model) Strip raw logprobs, principal quotas, cross-account probe correlation
Inference-time evasion via crafted inputs / patches AML.T0015 (Evade AI Model) Input canonicalization, bounded features, adversarial testing

(Exam trap: AML.T0044 is **Full ML Model Access—white-box access to weights—NOT black-box API extraction!)

4. Privacy Budget Composition & Synthetic Data

Under NIST SP 800-226:

  • Running DP-SGD with epsilon = 2.0 weekly over the same patient corpus does not stay at epsilon = 2.0—privacy loss composes cumulatively across every training and hyperparameter-tuning run.
  • Generating synthetic data provides zero automatic privacy guarantee; validate with Distance-to-Closest-Record (DCR) and membership-inference audits against a held-out real split, and guard against recursive model collapse.

5. Post-Incident Forensics & Zero-Retention External APIs

  • For compromised ephemeral agent microVMs (Firecracker/gVisor), network-isolate first, snapshot volatile memory and filesystem state under chain of custody, and terminate only after preservation.
  • When calling zero-data-retention external LLM APIs, your own AI gateway is the forensic source of truth: log redacted/hashed prompt references, retrieved chunk digests, tool calls, and provider x-request-id / dated model-snapshot headers.

5 Original SAIA-Style Practice Scenarios (Test Yourself)

Scenario 1 (Domain 2 — MCP & SSRF)

An AI coding agent uses a fetch_docs(url) tool that validates the supplied hostname resolves to a public IP in Python, then passes the original URL string to requests.get(url). A security reviewer flags a 0-second DNS TTL rebinding attack against 169.254.169.254. What fixes the root cause?

  • A. Check the hostname twice in Python before calling requests.get(url).
  • B. Require https:// URLs and strip the literal string 169.254.169.254 in middleware.
  • C. Resolve DNS once in an egress proxy, reject private/link-local/metadata IPs, and connect directly to the pinned IP with TLS SNI/hostname verification.
  • D. Add a system-prompt rule forbidding internal corporate or cloud metadata URLs.

Reveal Answer & Rationale

Correct Answer: C. Resolving DNS once at the egress proxy/socket layer, validating against private/link-local deny-lists, and connecting to the pinned IP (while keeping TLS SNI/hostname checks + IMDSv2) eliminates the TOCTOU gap exploited by DNS rebinding. Repeated Python lookups (A) still allow a subsequent resolution inside requests.get, string/HTTPS checks (B) fail against 302 redirects and encoded IPs, and prompt rules (D) are non-deterministic.


Scenario 2 (Domain 3 — Container & Secret Hygiene)

A serving Dockerfile downloads gated weights during build using:

ARG HF_TOKEN
ENV HF_TOKEN=$HF_TOKEN
RUN python fetch_weights.py
ENV HF_TOKEN=""

Why does a security gate reject this image?

  • A. Docker refuses to execute Python scripts when ARG and ENV share the same variable name.
  • B. ARG and ENV values persist permanently in committed image layer history and metadata; build secrets must use BuildKit --mount=type=secret or runtime workload identity.
  • C. Setting ENV HF_TOKEN="" breaks Safetensors checksum verification at runtime.
  • D. Clearing an environment variable disables container seccomp profiles.

Reveal Answer & Rationale

Correct Answer: B. Docker image layers are immutable—clearing ENV in a later layer never erases earlier layer metadata (docker history). Use Docker BuildKit secret mounts (--mount=type=secret) or pull weights at runtime with short-lived federated workload identity.


Scenario 3 (Domain 5 — RAG Corpus Hygiene)

A web-scraped internal RAG index begins steering employees toward an attacker portal. Analysts discover instructions hidden inside HTML comments (<!-- ... -->) and invisible Unicode Tag characters (U+E0000–U+E007F) that human spot-checkers never saw in browser view. Which ingestion control best mitigates this?

  • A. Convert all scraped documents to uppercase before embedding.
  • B. Strip HTML comments and non-visible DOM elements via a strict sanitizer, normalize Unicode (NFKC), and strip/quarantine invisible Tag and bidi-override characters before indexing.
  • C. Increase vector chunk size from 512 to 4,096 tokens to dilute hidden comments.
  • D. Switch the vector database distance metric from cosine similarity to L2 distance.

Reveal Answer & Rationale

Correct Answer: B. Extracting only visible rendered text via a strict DOM sanitizer plus NFKC normalization and invisible Unicode Tag/bidi stripping removes covert steganographic instructions before they reach embeddings.


Scenario 4 (Domain 6 — Quantization Verification)

A team quantizes an approved FP16 assistant to INT4 for edge deployment. General QA accuracy drops by only 1.1%. What additional test is required before production promotion under NIST AI RMF MEASURE 2.6–2.7?

  • A. Benchmark FP16 and INT4 side-by-side on the exact same target serving stack across safety refusal, tool prompt-injection, and groundedness suites, gating on agreed regression limits.
  • B. Compare INT4 on the edge stack against the old FP16 cloud report and approve if a composite utility+safety average stays above 90%.
  • C. Verify that INT4 weight files are smaller than FP16 weight files and reuse the FP16 Model Card.
  • D. Lower decoding temperature to 0.0 on INT4 so refusals become deterministic.

Reveal Answer & Rationale

Correct Answer: A. Quantization can erode sparse safety/refusal behavior faster than general accuracy. Matched-stack side-by-side safety and injection evaluation (without hiding regressions inside a composite utility score) is required.


Scenario 5 (Domain 4 — Production Drift)

A fraud classifier's input-feature Population Stability Index (PSI) remains completely flat, yet real-world chargeback losses double over two weeks after attackers change tactics. What occurred, and what detects it?

  • A. Covariate shift—tighten the PSI alert threshold on unchanged input features.
  • B. Concept drift—track delayed ground-truth outcomes, precision/recall, and targeted human-audited cohorts alongside input distributions.
  • C. Embedding drift—increase vector database replicas to lower latency.
  • D. Hardware drift—monitor GPU ECC error counters and fan speeds.

Reveal Answer & Rationale

Correct Answer: B. When the statistical distribution of inputs stays stable while the relationship between inputs and true fraud labels shifts, you have concept drift. Input-distribution metrics (PSI) miss it; ground-truth outcome tracking and audited label cohorts catch it.


Full Timed Practice Before Exam Day

If you are preparing for the Linux Foundation & OpenSSF SAIA beta or GA exam and want full timed practice, I published a 240-question zero-duplication practice exam suite on Udemy:

  • 2 timed 60-question / 90-minute full-blueprint mocks (10/12/10/12/8/8 across all 6 official domains)
  • 4 focused 30-question / 45-minute domain deep dives
  • 16 multi-select (Choose TWO) questions + inline Kubernetes, Python, MCP, and OpenTelemetry configuration snippets
  • Balanced option lengths (no "longest-answer-wins" giveaways), option-by-option rationales with primary standard references, and a standalone Exam-Day Rule of Thumb on every question.

👉 SAIA: Linux Foundation Secure AI Associate Practice Exams (240 Questions)

(Independent study resource; not affiliated with or endorsed by The Linux Foundation or OpenSSF.)

來源:DEV Community · dev.to