Skip to main content
GAIP • MODULE 22 OF 24 24 Timed Sets • 120 Verified MCQs

Module 22: GenAI Security, Privacy and Responsible AI — GenAI Mock Tests

Harden production LLM, RAG, and Agent applications systematically against OWASP Top 10 for LLM Applications — defending against direct & indirect prompt injection, insecure output handling (XSS/SQLi/SSRF/RCE), excessive agency, retrieval poisoning, PII leakage, cross-tenant breaches, and unlogged mutations.

⚡ START MODULE 22 PRACTICE

OWASP Top 10 Risks for LLM and GenAI Applications

Start your baseline timed assessment for this module

Module 22 Assessment Rules & Format Every Attempt Helps You Improve • Track Your Progress, One Topic at a Time.
Question Bank 120 MCQs
Timed Sets 24 (24 Topics)
Duration 20 min / set
Pass Benchmark 70%
Negative Marking Up to -0.25 / wrong
Daily Access ∞ Unlimited Free

Integrity & Navigation: Questions can be revisited, changed, or flagged for review before final submission; answers auto-save across browser refreshes, and answer keys stay locked server-side until submitted.

Your Module 22 Progress

Completion Status & Revision Focus

Practice Today. Perform Better Tomorrow. No completed attempts recorded in Module 22 yet — start any topic below to generate your topic scorecard and unlock personalized revision suggestions.

Generative AI & Agentic AI • Module 22

Topic-Wise Timed Mock Tests (24 Topics)

Instant scorecard + detailed explanations
Topic 22.1 1 Set

OWASP Top 10 Risks for LLM and GenAI Applications

5 Qs • 20 min • Pass 70%

Topic 22.2 1 Set

Direct Prompt Injection and Instruction Hierarchy

5 Qs • 20 min • Pass 70%

Topic 22.3 1 Set

Indirect Prompt Injection Defense

5 Qs • 20 min • Pass 70%

Topic 22.4 1 Set

Jailbreak Attempts and Policy Bypass Resilience

5 Qs • 20 min • Pass 70%

Topic 22.5 1 Set

Sensitive Information and System-Prompt Disclosure Prevention

5 Qs • 20 min • Pass 70%

Topic 22.6 1 Set

Insecure Output Handling (Preventing XSS, SQLi, SSRF & RCE)

5 Qs • 20 min • Pass 70%

Topic 22.7 1 Set

Excessive Agency and Blast-Radius Containment

5 Qs • 20 min • Pass 70%

Topic 22.8 1 Set

Unsafe Tool Execution Prevention

5 Qs • 20 min • Pass 70%

Topic 22.9 1 Set

Retrieval Data Poisoning Defenses

5 Qs • 20 min • Pass 70%

Topic 22.10 1 Set

Model and Dependency Supply-Chain Security

5 Qs • 20 min • Pass 70%

Topic 22.11 1 Set

Input and Output Guardrail Pipelines

5 Qs • 20 min • Pass 70%

Topic 22.12 1 Set

PII Detection, Masking and Reversible Vault Tokenization

5 Qs • 20 min • Pass 70%

Topic 22.13 1 Set

Document-Level and Row-Level Data Access Controls

5 Qs • 20 min • Pass 70%

Topic 22.14 1 Set

Strict Multi-Tenant Isolation Across Every Layer

5 Qs • 20 min • Pass 70%

Topic 22.15 1 Set

Secrets Management and Zero-Downtime Key Rotation

5 Qs • 20 min • Pass 70%

Topic 22.16 1 Set

Authentication and Role-Based Authorization (RBAC) on AI Endpoints

5 Qs • 20 min • Pass 70%

Topic 22.17 1 Set

Rate Limiting, Token Quotas and Denial-of-Wallet Prevention

5 Qs • 20 min • Pass 70%

Topic 22.18 1 Set

Content Moderation Classifiers

5 Qs • 20 min • Pass 70%

Topic 22.19 1 Set

Safe Refusal Handling and User-Experience Design

5 Qs • 20 min • Pass 70%

Topic 22.20 1 Set

Human Approval Workflows for High-Risk Operations

5 Qs • 20 min • Pass 70%

Topic 22.21 1 Set

Immutable AI Audit Trails

5 Qs • 20 min • Pass 70%

Topic 22.22 1 Set

Data Retention, Deletion and Responsible AI Limitations

5 Qs • 20 min • Pass 70%

Topic 22.23 1 Set

India DPDP Act 2023, Enterprise AI Governance & EU AI Act Risk-Tier Readiness for Indian MNC & GCC Teams

5 Qs • 20 min • Pass 70%

Topic 22.24 1 Set

Automated Red-Teaming & Adversarial Stress Testing (Garak / PyRIT Concepts, Multi-Turn Crescendo & Unicode Smuggling)

5 Qs • 20 min • Pass 70%

Sample Module 22 Practice Preview

Sample GenAI Security, Privacy and Responsible AI MCQ Questions & Answers

Click “Reveal Answer & Explanation” to check yourself
Q1 • OWASP Top 10 Risks for LLM and GenAI Applications Module 22 Sample

In production GenAI Security & Privacy, what is the primary engineering purpose of 'OWASP Top 10 Risks for LLM and GenAI Applications'?

  • A. Running a structured OWASP LLM threat review before launching any customer-facing RAG or Agent feature.
  • B. Exposing raw unredacted LLM API keys inside client-side browser bundles.
  • C. Running eval() directly on untrusted LLM JSON strings in production.
  • D. Skipping tenant ACL filters and golden evaluation checks to ship faster.
✓ Reveal Answer & Explanation

Correct Answer: Option A

'OWASP Top 10 Risks for LLM and GenAI Applications' is applied in production GenAI Security & Privacy specifically for: Running a structured OWASP LLM threat review before launching any customer-facing RAG or Agent feature.

Q2 • OWASP Top 10 Risks for LLM and GenAI Applications Module 22 Sample

Which critical production pitfall MUST a Generative AI Engineer avoid when implementing 'OWASP Top 10 Risks for LLM and GenAI Applications'?

  • A. Validating schemas with Pydantic v2 and running deterministic pytest checks.
  • B. Securing only traditional web auth while leaving LLM tool calls, retrieved docs, and token spend completely ungoverned!
  • C. Measuring retrieval Recall@K, Faithfulness, latency, and USD cost per 1k requests.
  • D. Understanding underlying Python, vector, and API mechanics before using frameworks.
✓ Reveal Answer & Explanation

Correct Answer: Option B

A high-impact real-world failure mode with 'OWASP Top 10 Risks for LLM and GenAI Applications' is: Securing only traditional web auth while leaving LLM tool calls, retrieved docs, and token spend completely ungoverned!

Q3 • OWASP Top 10 Risks for LLM and GenAI Applications Module 22 Sample

Which technical scope accurately captures the first-principles mechanics of 'OWASP Top 10 Risks for LLM and GenAI Applications'?

  • A. Training a 1-trillion-parameter frontier foundation model from scratch on 10,000 GPUs.
  • B. Storing plaintext database passwords inside LLM system prompts.
  • C. Complete threat modeling across Prompt Injection (LLM01), Sensitive Info Disclosure (LLM02), Supply Chain (LLM03), Data/Model Poisoning (LLM04), Improper Output Handling (LLM05), Excessive Agency (LLM06), System Prompt Leakage (...
  • D. Disabling timeouts, retries, and max-step loop guards on external APIs.
✓ Reveal Answer & Explanation

Correct Answer: Option C

Core technical coverage of 'OWASP Top 10 Risks for LLM and GenAI Applications' comprises: Complete threat modeling across Prompt Injection (LLM01), Sensitive Info Disclosure (LLM02), Supply Chain (LLM03), Data/Model Poisoning (LLM04), Improper Output Handling (LLM05), Excessive Agency (LLM06), System Prompt Leakage (LLM07), Vector/Embedding Weaknesses (LLM08), Misinformation (LLM09), and Unbounded Consumption (LLM10).

Q4 • OWASP Top 10 Risks for LLM and GenAI Applications Module 22 Sample

What is the expected practical engineering deliverable when completing the hands-on lab for 'OWASP Top 10 Risks for LLM and GenAI Applications'?

  • A. Pushing untested notebook cells with hardcoded API keys to main.
  • B. Relying on 2 manual chat vibe-checks with zero edge-case or negative tests.
  • C. Ignoring token budgets, multi-tenant isolation, and error handling.
  • D. Create a threat-model table mapping all 10 OWASP LLM risks onto specific controls in your Capstone architecture.
✓ Reveal Answer & Explanation

Correct Answer: Option D

Practical mastery of 'OWASP Top 10 Risks for LLM and GenAI Applications' is verified through: Create a threat-model table mapping all 10 OWASP LLM risks onto specific controls in your Capstone architecture.

Q5 • OWASP Top 10 Risks for LLM and GenAI Applications Module 22 Sample

In a Generative AI Engineer technical interview on 'OWASP Top 10 Risks for LLM and GenAI Applications', what demonstrates senior production readiness?

  • A. Explaining 'Complete threat modeling across Prompt Injection (LLM01), Sensitive Info Disclosure (LLM02), Supply Chain (LLM03), Data/Model Poisoning (LLM04), Improper Output Handling (LLM05), Excessive Agency (LLM06), System Prom...
  • B. Calling a black-box framework one-liner without knowing how retrieval, prompts, or tool schemas work underneath.
  • C. Using fine-tuning for rapidly changing daily facts that require per-user RBAC permissions.
  • D. Trusting prompt instructions alone as an authorization boundary.
✓ Reveal Answer & Explanation

Correct Answer: Option A

Interviewers test first-principles Python understanding (Complete threat modeling across Prompt Injection (LLM01), Sensitive Info Disclosure (LLM02), Supply Chain (LLM03), Data/Model Poisoning (LLM04), Improper Output Handling (LLM05), Excessive Agency (LLM06), System Prompt Leakage (LLM07), Vector/Embedding Weaknesses (LLM08), Misinformation (LLM09), and Unbounded Consumption (LLM10)), guardrail awareness, and measured trade-offs.

Need structured guidance on GenAI Security, Privacy and Responsible AI? Review the full GAIP syllabus or practise speaking through GenAI concepts in an AI technical interview.

Generative AI & Agentic AI Engineering

Continue Learning & Explore Related Resources

FAQs — Module 22: GenAI Security, Privacy and Responsible AI (GenAI) Mock Tests

1. How many MCQ Mock Tests are included in Module 22: GenAI Security, Privacy and Responsible AI (GenAI)?

Module 22 of Generative AI & Agentic AI Training Course (Python) includes 24 active timed MCQ mock test sets (120 verified questions across 24 topics), with server-side scoring, instant scorecards, and detailed explanations after submission.

2. What are the attempt rules and answer-key policies for GenAI Security, Privacy and Responsible AI mock tests?

You can preview sample questions on this page and launch up to 2 free timed attempts per topic per day without signup (enrolled cohort learners receive unlimited attempts). During a live test, answers auto-save across refreshes and answer keys remain protected on the server until submission.

3. Does scoring high on this GenAI module test guarantee interview selection?

No — module mock scores measure topic-level conceptual accuracy and highlight specific concepts to revise. Pair topic mocks with GAIP Spoken AI Interviews and hands-on coding practice to build well-rounded interview readiness; hiring decisions rest independently with employers.

Learn. Practise. Prove. Get Career-Ready.

Ready to Build Your IT Career?

Explore industry-led programmes and develop practical skills through training, assessments and interview preparation.