Skip to main content
LLMs, Hybrid RAG, Vectors & Agents Free Public Unlimited Practice • Auto-Saved History

Free Generative AI Online Mock Tests & Practice Assessments

Evaluate applied GenAI engineering skills spanning transformer attention, dense vs BM25 hybrid retrieval, vector indexing, MCP tool calling, guardrails, and automated RAG evaluation.

Topic Test Sets 530
Verified Questions 2,650
Set Duration 20 min
Pass Benchmark 70%

Assessment Format, Rules & Instructions

  • Server-Timed Assessments: Each topic test runs on an active server-validated countdown timer with mark-for-review and question palette navigation.
  • Supported Formats: Single-choice MCQs, multi-select questions, and code-output scenarios with post-submission explanations.
  • Security & Integrity: Correct answers and explanations stay hidden on the server until you submit or the timer ends.
  • Difficulty Levels Included: Beginner, Intermediate, Advanced.

Access Requirements

Public visitors can start unlimited free timed mock tests across Generative AI topics without registration or payment (with 30-day browser attempt history). Enrolled cohort learners in Generative AI & Agentic AI Training Course (Python) receive portal tracking and live trainer evaluations.

Topic-Wise Assessments

Generative AI Mock Test Topics

GAIP • 17 Sets • 85 Qs

Module 1: Python Programming Fundamentals

Module Guide & Sample MCQs →

Python Installation, Interpreter, Execution and Virtual Environments — Topic & Module Assessment

Topic: Python Installation, Interpreter, Execution and Virtual Environments

5 Qs • 20 min • Pass 70%

Variables, Identifiers, Keywords and Comments — Topic & Module Assessment

Topic: Variables, Identifiers, Keywords and Comments

5 Qs • 20 min • Pass 70%

Numeric, String, Boolean and None Data Types — Topic & Module Assessment

Topic: Numeric, String, Boolean and None Data Types

5 Qs • 20 min • Pass 70%

Type Conversion and Type Checking — Topic & Module Assessment

Topic: Type Conversion and Type Checking

5 Qs • 20 min • Pass 70%

Operators and Expressions — Topic & Module Assessment

Topic: Operators and Expressions

5 Qs • 20 min • Pass 70%

Conditional Statements and Loops — Topic & Module Assessment

Topic: Conditional Statements and Loops

5 Qs • 20 min • Pass 70%

GAIP • 19 Sets • 95 Qs

Module 2: Advanced Python, OOP and Software Engineering

Module Guide & Sample MCQs →

Classes, Objects, Constructors and Instance Variables — Topic & Module Assessment

Topic: Classes, Objects, Constructors and Instance Variables

5 Qs • 20 min • Pass 70%

Encapsulation, Inheritance and Polymorphism — Topic & Module Assessment

Topic: Encapsulation, Inheritance and Polymorphism

5 Qs • 20 min • Pass 70%

Abstraction, Interfaces and Composition — Topic & Module Assessment

Topic: Abstraction, Interfaces and Composition

5 Qs • 20 min • Pass 70%

Class Methods and Static Methods — Topic & Module Assessment

Topic: Class Methods and Static Methods

5 Qs • 20 min • Pass 70%

Magic Methods and Properties — Topic & Module Assessment

Topic: Magic Methods and Properties

5 Qs • 20 min • Pass 70%

Iterators and Generators — Topic & Module Assessment

Topic: Iterators and Generators

5 Qs • 20 min • Pass 70%

GAIP • 24 Sets • 120 Qs

Module 3: Mathematics, Statistics and Data Analysis for AI

Module Guide & Sample MCQs →

Scalars, Vectors and Matrices — Topic & Module Assessment

Topic: Scalars, Vectors and Matrices

5 Qs • 20 min • Pass 70%

Vector and Matrix Element-Wise Operations — Topic & Module Assessment

Topic: Vector and Matrix Element-Wise Operations

5 Qs • 20 min • Pass 70%

Matrix Multiplication — Topic & Module Assessment

Topic: Matrix Multiplication

5 Qs • 20 min • Pass 70%

Dot Product and Cosine Similarity — Topic & Module Assessment

Topic: Dot Product and Cosine Similarity

5 Qs • 20 min • Pass 70%

Transpose and Matrix Inverse Concepts — Topic & Module Assessment

Topic: Transpose and Matrix Inverse Concepts

5 Qs • 20 min • Pass 70%

Norms and Vector Magnitude (L1, L2, Max Norm) — Topic & Module Assessment

Topic: Norms and Vector Magnitude (L1, L2, Max Norm)

5 Qs • 20 min • Pass 70%

GAIP • 19 Sets • 95 Qs

Module 4: NumPy, Pandas, Data Visualization and SQL

Module Guide & Sample MCQs →

NumPy Arrays, Dimensions, Shapes and Data Types — Topic & Module Assessment

Topic: NumPy Arrays, Dimensions, Shapes and Data Types

5 Qs • 20 min • Pass 70%

Array Indexing, Slicing and Broadcasting — Topic & Module Assessment

Topic: Array Indexing, Slicing and Broadcasting

5 Qs • 20 min • Pass 70%

Vectorized Operations — Topic & Module Assessment

Topic: Vectorized Operations

5 Qs • 20 min • Pass 70%

Matrix Operations and Linear Algebra with NumPy — Topic & Module Assessment

Topic: Matrix Operations and Linear Algebra with NumPy

5 Qs • 20 min • Pass 70%

Pandas Series and DataFrames — Topic & Module Assessment

Topic: Pandas Series and DataFrames

5 Qs • 20 min • Pass 70%

Reading CSV, Excel, JSON and Parquet — Topic & Module Assessment

Topic: Reading CSV, Excel, JSON and Parquet

5 Qs • 20 min • Pass 70%

GAIP • 21 Sets • 105 Qs

Module 5: Machine Learning Fundamentals

Module Guide & Sample MCQs →

Introduction to AI, Machine Learning, Deep Learning and Generative AI — Topic & Module Assessment

Topic: Introduction to AI, Machine Learning, Deep Learning and Generative AI

5 Qs • 20 min • Pass 70%

Supervised, Unsupervised and Reinforcement Learning Overview — Topic & Module Assessment

Topic: Supervised, Unsupervised and Reinforcement Learning Overview

5 Qs • 20 min • Pass 70%

Features, Labels and Tabular/Text Datasets — Topic & Module Assessment

Topic: Features, Labels and Tabular/Text Datasets

5 Qs • 20 min • Pass 70%

Training, Validation and Testing Datasets — Topic & Module Assessment

Topic: Training, Validation and Testing Datasets

5 Qs • 20 min • Pass 70%

Data Leakage and Overfitting — Topic & Module Assessment

Topic: Data Leakage and Overfitting

5 Qs • 20 min • Pass 70%

Underfitting, Bias-Variance Trade-Off and Generalization — Topic & Module Assessment

Topic: Underfitting, Bias-Variance Trade-Off and Generalization

5 Qs • 20 min • Pass 70%

GAIP • 21 Sets • 105 Qs

Module 6: Deep Learning with PyTorch

Module Guide & Sample MCQs →

Deep Learning Architecture and Representation Learning — Topic & Module Assessment

Topic: Deep Learning Architecture and Representation Learning

5 Qs • 20 min • Pass 70%

Artificial Neurons and Linear Combinations — Topic & Module Assessment

Topic: Artificial Neurons and Linear Combinations

5 Qs • 20 min • Pass 70%

Perceptrons and the XOR Non-Linearity Insight — Topic & Module Assessment

Topic: Perceptrons and the XOR Non-Linearity Insight

5 Qs • 20 min • Pass 70%

Input, Hidden and Output Layers — Topic & Module Assessment

Topic: Input, Hidden and Output Layers

5 Qs • 20 min • Pass 70%

Weights, Biases and Initialization (Xavier / Kaiming) — Topic & Module Assessment

Topic: Weights, Biases and Initialization (Xavier / Kaiming)

5 Qs • 20 min • Pass 70%

Sigmoid, Tanh, ReLU, GELU and Softmax Activations — Topic & Module Assessment

Topic: Sigmoid, Tanh, ReLU, GELU and Softmax Activations

5 Qs • 20 min • Pass 70%

GAIP • 21 Sets • 105 Qs

Module 7: Natural Language Processing Fundamentals

Module Guide & Sample MCQs →

Introduction to Natural Language Processing (NLP) — Topic & Module Assessment

Topic: Introduction to Natural Language Processing (NLP)

5 Qs • 20 min • Pass 70%

Text Normalization and Unicode Preprocessing — Topic & Module Assessment

Topic: Text Normalization and Unicode Preprocessing

5 Qs • 20 min • Pass 70%

Word and Whitespace/Rule-Based Tokenization — Topic & Module Assessment

Topic: Word and Whitespace/Rule-Based Tokenization

5 Qs • 20 min • Pass 70%

Sentence Segmentation — Topic & Module Assessment

Topic: Sentence Segmentation

5 Qs • 20 min • Pass 70%

Stop Words and Stemming — Topic & Module Assessment

Topic: Stop Words and Stemming

5 Qs • 20 min • Pass 70%

Lemmatization and POS Awareness — Topic & Module Assessment

Topic: Lemmatization and POS Awareness

5 Qs • 20 min • Pass 70%

GAIP • 22 Sets • 110 Qs

Module 8: Transformers and Attention Architecture

Module Guide & Sample MCQs →

Limitations of Traditional Sequence Models — Topic & Module Assessment

Topic: Limitations of Traditional Sequence Models

5 Qs • 20 min • Pass 70%

RNN, GRU and LSTM Overview — Topic & Module Assessment

Topic: RNN, GRU and LSTM Overview

5 Qs • 20 min • Pass 70%

Transformer Architecture Overview — Topic & Module Assessment

Topic: Transformer Architecture Overview

5 Qs • 20 min • Pass 70%

Encoder and Decoder Roles — Topic & Module Assessment

Topic: Encoder and Decoder Roles

5 Qs • 20 min • Pass 70%

Self-Attention Intuition and Contextual Representations — Topic & Module Assessment

Topic: Self-Attention Intuition and Contextual Representations

5 Qs • 20 min • Pass 70%

Query, Key and Value (Q, K, V) Projections — Topic & Module Assessment

Topic: Query, Key and Value (Q, K, V) Projections

5 Qs • 20 min • Pass 70%

GAIP • 16 Sets • 80 Qs

Module 9: Large Language Models and Generative AI Fundamentals

Module Guide & Sample MCQs →

Generative AI Concepts and High-ROI Enterprise Use Cases — Topic & Module Assessment

Topic: Generative AI Concepts and High-ROI Enterprise Use Cases

5 Qs • 20 min • Pass 70%

LLM Architecture and 3-Stage Training Lifecycle — Topic & Module Assessment

Topic: LLM Architecture and 3-Stage Training Lifecycle

5 Qs • 20 min • Pass 70%

Pretraining, Instruction Tuning and Alignment Nuances — Topic & Module Assessment

Topic: Pretraining, Instruction Tuning and Alignment Nuances

5 Qs • 20 min • Pass 70%

Tokenization and Programmatic Token Counting — Topic & Module Assessment

Topic: Tokenization and Programmatic Token Counting

5 Qs • 20 min • Pass 70%

Context Window and Context Management Strategies — Topic & Module Assessment

Topic: Context Window and Context Management Strategies

5 Qs • 20 min • Pass 70%

Temperature, Top-P and Generation Parameters — Topic & Module Assessment

Topic: Temperature, Top-P and Generation Parameters

5 Qs • 20 min • Pass 70%

GAIP • 18 Sets • 90 Qs

Module 10: Prompt Engineering and Structured Outputs

Module Guide & Sample MCQs →

Prompt Design Principles for Software Engineers — Topic & Module Assessment

Topic: Prompt Design Principles for Software Engineers

5 Qs • 20 min • Pass 70%

Zero-Shot and Few-Shot Prompting — Topic & Module Assessment

Topic: Zero-Shot and Few-Shot Prompting

5 Qs • 20 min • Pass 70%

Role, Persona and Instruction Framing — Topic & Module Assessment

Topic: Role, Persona and Instruction Framing

5 Qs • 20 min • Pass 70%

Context Injection and Structural Delimiters — Topic & Module Assessment

Topic: Context Injection and Structural Delimiters

5 Qs • 20 min • Pass 70%

Task Decomposition — Topic & Module Assessment

Topic: Task Decomposition

5 Qs • 20 min • Pass 70%

Prompt Templates and Parameterized Rendering — Topic & Module Assessment

Topic: Prompt Templates and Parameterized Rendering

5 Qs • 20 min • Pass 70%

GAIP • 20 Sets • 100 Qs

Module 11: LLM APIs and Application Development with Python

Module Guide & Sample MCQs →

Model Provider API Fundamentals (Responses & Messages Contracts) — Topic & Module Assessment

Topic: Model Provider API Fundamentals (Responses & Messages Contracts)

5 Qs • 20 min • Pass 70%

API Keys, SecretStr and Environment Configuration — Topic & Module Assessment

Topic: API Keys, SecretStr and Environment Configuration

5 Qs • 20 min • Pass 70%

Python SDK Integration and Client Lifecycle — Topic & Module Assessment

Topic: Python SDK Integration and Client Lifecycle

5 Qs • 20 min • Pass 70%

Request and Response Lifecycle Inspection — Topic & Module Assessment

Topic: Request and Response Lifecycle Inspection

5 Qs • 20 min • Pass 70%

Text Generation APIs — Topic & Module Assessment

Topic: Text Generation APIs

5 Qs • 20 min • Pass 70%

Streaming Responses (Sync & Async Iterators) — Topic & Module Assessment

Topic: Streaming Responses (Sync & Async Iterators)

5 Qs • 20 min • Pass 70%

GAIP • 19 Sets • 95 Qs

Module 12: Hugging Face and Open-Source LLM Ecosystem

Module Guide & Sample MCQs →

Hugging Face Ecosystem Architecture — Topic & Module Assessment

Topic: Hugging Face Ecosystem Architecture

5 Qs • 20 min • Pass 70%

Model Hub and Reading Model Cards Critically — Topic & Module Assessment

Topic: Model Hub and Reading Model Cards Critically

5 Qs • 20 min • Pass 70%

Transformers Library Core (`AutoModel` & `AutoConfig`) — Topic & Module Assessment

Topic: Transformers Library Core (`AutoModel` & `AutoConfig`)

5 Qs • 20 min • Pass 70%

Fast Rust Tokenizers Library — Topic & Module Assessment

Topic: Fast Rust Tokenizers Library

5 Qs • 20 min • Pass 70%

Hugging Face Datasets Library (Arrow Memory-Mapping) — Topic & Module Assessment

Topic: Hugging Face Datasets Library (Arrow Memory-Mapping)

5 Qs • 20 min • Pass 70%

Loading Pretrained Tokenizers and Models Efficiently — Topic & Module Assessment

Topic: Loading Pretrained Tokenizers and Models Efficiently

5 Qs • 20 min • Pass 70%

GAIP • 18 Sets • 90 Qs

Module 13: Embeddings and Semantic Search

Module Guide & Sample MCQs →

What Are Embeddings? Mapping Meaning into Vector Space — Topic & Module Assessment

Topic: What Are Embeddings? Mapping Meaning into Vector Space

5 Qs • 20 min • Pass 70%

Word, Sentence and Document Embeddings — Topic & Module Assessment

Topic: Word, Sentence and Document Embeddings

5 Qs • 20 min • Pass 70%

Dense vs Sparse Vector Representations — Topic & Module Assessment

Topic: Dense vs Sparse Vector Representations

5 Qs • 20 min • Pass 70%

Embedding Model Architecture Overview (Bi-Encoders) — Topic & Module Assessment

Topic: Embedding Model Architecture Overview (Bi-Encoders)

5 Qs • 20 min • Pass 70%

Generating Embeddings Using Hosted APIs — Topic & Module Assessment

Topic: Generating Embeddings Using Hosted APIs

5 Qs • 20 min • Pass 70%

Open-Source Embedding Models (Sentence-Transformers, BGE, E5, Nomic) — Topic & Module Assessment

Topic: Open-Source Embedding Models (Sentence-Transformers, BGE, E5, Nomic)

5 Qs • 20 min • Pass 70%

GAIP • 20 Sets • 100 Qs

Module 14: Vector Databases and Information Retrieval

Module Guide & Sample MCQs →

Vector Database Fundamentals — Topic & Module Assessment

Topic: Vector Database Fundamentals

5 Qs • 20 min • Pass 70%

Vector Indexing and Exact vs Approximate Similarity Search — Topic & Module Assessment

Topic: Vector Indexing and Exact vs Approximate Similarity Search

5 Qs • 20 min • Pass 70%

Approximate Nearest Neighbor (ANN) Algorithms: HNSW and IVF — Topic & Module Assessment

Topic: Approximate Nearest Neighbor (ANN) Algorithms: HNSW and IVF

5 Qs • 20 min • Pass 70%

FAISS (Facebook AI Similarity Search) — Topic & Module Assessment

Topic: FAISS (Facebook AI Similarity Search)

5 Qs • 20 min • Pass 70%

Chroma Vector Store — Topic & Module Assessment

Topic: Chroma Vector Store

5 Qs • 20 min • Pass 70%

Qdrant Vector Database — Topic & Module Assessment

Topic: Qdrant Vector Database

5 Qs • 20 min • Pass 70%

GAIP • 23 Sets • 115 Qs

Module 15: Complete RAG Application Development

Module Guide & Sample MCQs →

RAG Architecture, Two-Phase Lifecycle and Use Cases — Topic & Module Assessment

Topic: RAG Architecture, Two-Phase Lifecycle and Use Cases

5 Qs • 20 min • Pass 70%

Document Ingestion Pipeline Design — Topic & Module Assessment

Topic: Document Ingestion Pipeline Design

5 Qs • 20 min • Pass 70%

PDF, DOCX, TXT, CSV and HTML Processing — Topic & Module Assessment

Topic: PDF, DOCX, TXT, CSV and HTML Processing

5 Qs • 20 min • Pass 70%

OCR Fundamentals for Scanned Documents — Topic & Module Assessment

Topic: OCR Fundamentals for Scanned Documents

5 Qs • 20 min • Pass 70%

Document Layout Parsing and Table Extraction — Topic & Module Assessment

Topic: Document Layout Parsing and Table Extraction

5 Qs • 20 min • Pass 70%

Text Cleaning, De-Hyphenation and Normalization — Topic & Module Assessment

Topic: Text Cleaning, De-Hyphenation and Normalization

5 Qs • 20 min • Pass 70%

GAIP • 23 Sets • 115 Qs

Module 16: Advanced RAG, Retrieval Optimization and RAG Security

Module Guide & Sample MCQs →

Conversational Query Rewriting — Topic & Module Assessment

Topic: Conversational Query Rewriting

5 Qs • 20 min • Pass 70%

Query Expansion and Hypothetical Document Embeddings (HyDE) — Topic & Module Assessment

Topic: Query Expansion and Hypothetical Document Embeddings (HyDE)

5 Qs • 20 min • Pass 70%

Multi-Query Retrieval and Sub-Question Decomposition — Topic & Module Assessment

Topic: Multi-Query Retrieval and Sub-Question Decomposition

5 Qs • 20 min • Pass 70%

Metadata-Based Pre-Filtering and Query Routing — Topic & Module Assessment

Topic: Metadata-Based Pre-Filtering and Query Routing

5 Qs • 20 min • Pass 70%

Production Hybrid Retrieval (BM25 + Dense + RRF) — Topic & Module Assessment

Topic: Production Hybrid Retrieval (BM25 + Dense + RRF)

5 Qs • 20 min • Pass 70%

Reranking Models and Two-Stage Retrieval Architecture — Topic & Module Assessment

Topic: Reranking Models and Two-Stage Retrieval Architecture

5 Qs • 20 min • Pass 70%

GAIP • 21 Sets • 105 Qs

Module 17: AI Agents and Tool Calling

Module Guide & Sample MCQs →

What Is an AI Agent? Agency Spectrum and Core Loop — Topic & Module Assessment

Topic: What Is an AI Agent? Agency Spectrum and Core Loop

5 Qs • 20 min • Pass 70%

Deterministic LLM Workflow vs Autonomous Agent — Topic & Module Assessment

Topic: Deterministic LLM Workflow vs Autonomous Agent

5 Qs • 20 min • Pass 70%

Agent Architecture and Core Components — Topic & Module Assessment

Topic: Agent Architecture and Core Components

5 Qs • 20 min • Pass 70%

Planning and Task Decomposition (ReAct & Plan-and-Execute) — Topic & Module Assessment

Topic: Planning and Task Decomposition (ReAct & Plan-and-Execute)

5 Qs • 20 min • Pass 70%

Tool Definitions, Strict JSON Schemas and Docstrings — Topic & Module Assessment

Topic: Tool Definitions, Strict JSON Schemas and Docstrings

5 Qs • 20 min • Pass 70%

Native Function Calling in an Iterative Agent Loop — Topic & Module Assessment

Topic: Native Function Calling in an Iterative Agent Loop

5 Qs • 20 min • Pass 70%

GAIP • 26 Sets • 130 Qs

Module 18: LangChain, LangGraph and Multi-Agent Workflows

Module Guide & Sample MCQs →

LangChain Model Integrations and Unified ChatModel Interface — Topic & Module Assessment

Topic: LangChain Model Integrations and Unified ChatModel Interface

5 Qs • 20 min • Pass 70%

LangChain Prompt Templates and MessagesPlaceholder — Topic & Module Assessment

Topic: LangChain Prompt Templates and MessagesPlaceholder

5 Qs • 20 min • Pass 70%

LangChain Structured Outputs and Output Parsers — Topic & Module Assessment

Topic: LangChain Structured Outputs and Output Parsers

5 Qs • 20 min • Pass 70%

Runnable Components and LCEL Chains — Topic & Module Assessment

Topic: Runnable Components and LCEL Chains

5 Qs • 20 min • Pass 70%

LangChain Retrieval Integrations — Topic & Module Assessment

Topic: LangChain Retrieval Integrations

5 Qs • 20 min • Pass 70%

LangChain Tool Integration (@tool & StructuredTool) — Topic & Module Assessment

Topic: LangChain Tool Integration (@tool & StructuredTool)

5 Qs • 20 min • Pass 70%

GAIP • 19 Sets • 95 Qs

Module 19: Model Context Protocol and Enterprise AI Integrations

Module Guide & Sample MCQs →

Introduction to Model Context Protocol (MCP) — Topic & Module Assessment

Topic: Introduction to Model Context Protocol (MCP)

5 Qs • 20 min • Pass 70%

MCP Architecture, Lifecycle and JSON-RPC 2.0 Terminology — Topic & Module Assessment

Topic: MCP Architecture, Lifecycle and JSON-RPC 2.0 Terminology

5 Qs • 20 min • Pass 70%

MCP Hosts, Clients and Servers — Topic & Module Assessment

Topic: MCP Hosts, Clients and Servers

5 Qs • 20 min • Pass 70%

Core MCP Primitives: Tools, Resources and Prompts — Topic & Module Assessment

Topic: Core MCP Primitives: Tools, Resources and Prompts

5 Qs • 20 min • Pass 70%

Building an MCP Server in Python (FastMCP / mcp SDK) — Topic & Module Assessment

Topic: Building an MCP Server in Python (FastMCP / mcp SDK)

5 Qs • 20 min • Pass 70%

Connecting an MCP Client in Python — Topic & Module Assessment

Topic: Connecting an MCP Client in Python

5 Qs • 20 min • Pass 70%

GAIP • 23 Sets • 115 Qs

Module 20: Fine-Tuning LLMs and Model Adaptation

Module Guide & Sample MCQs →

Prompt Engineering vs RAG vs Fine-Tuning Decision Framework — Topic & Module Assessment

Topic: Prompt Engineering vs RAG vs Fine-Tuning Decision Framework

5 Qs • 20 min • Pass 70%

When Fine-Tuning Is Appropriate (and When It Wastes Weeks) — Topic & Module Assessment

Topic: When Fine-Tuning Is Appropriate (and When It Wastes Weeks)

5 Qs • 20 min • Pass 70%

Dataset Preparation and Curation Strategy — Topic & Module Assessment

Topic: Dataset Preparation and Curation Strategy

5 Qs • 20 min • Pass 70%

Data Cleaning, PII Scrubbing and Deduplication — Topic & Module Assessment

Topic: Data Cleaning, PII Scrubbing and Deduplication

5 Qs • 20 min • Pass 70%

Instruction and Chat Dataset Formatting — Topic & Module Assessment

Topic: Instruction and Chat Dataset Formatting

5 Qs • 20 min • Pass 70%

Stratified Training, Validation and Test Splits — Topic & Module Assessment

Topic: Stratified Training, Validation and Test Splits

5 Qs • 20 min • Pass 70%

GAIP • 24 Sets • 120 Qs

Module 21: LLM Evaluation, Testing and Quality Engineering

Module Guide & Sample MCQs →

Why LLM Testing Differs from Conventional Software Testing — Topic & Module Assessment

Topic: Why LLM Testing Differs from Conventional Software Testing

5 Qs • 20 min • Pass 70%

Deterministic Invariants vs Stochastic Metric Thresholds — Topic & Module Assessment

Topic: Deterministic Invariants vs Stochastic Metric Thresholds

5 Qs • 20 min • Pass 70%

Unit and Integration Testing with Mocked LLM Gateways — Topic & Module Assessment

Topic: Unit and Integration Testing with Mocked LLM Gateways

5 Qs • 20 min • Pass 70%

Prompt and Model Regression Testing — Topic & Module Assessment

Topic: Prompt and Model Regression Testing

5 Qs • 20 min • Pass 70%

Curating Golden Datasets — Topic & Module Assessment

Topic: Curating Golden Datasets

5 Qs • 20 min • Pass 70%

Test-Case Design for LLM Applications — Topic & Module Assessment

Topic: Test-Case Design for LLM Applications

5 Qs • 20 min • Pass 70%

GAIP • 24 Sets • 120 Qs

Module 22: GenAI Security, Privacy and Responsible AI

Module Guide & Sample MCQs →

OWASP Top 10 Risks for LLM and GenAI Applications — Topic & Module Assessment

Topic: OWASP Top 10 Risks for LLM and GenAI Applications

5 Qs • 20 min • Pass 70%

Direct Prompt Injection and Instruction Hierarchy — Topic & Module Assessment

Topic: Direct Prompt Injection and Instruction Hierarchy

5 Qs • 20 min • Pass 70%

Indirect Prompt Injection Defense — Topic & Module Assessment

Topic: Indirect Prompt Injection Defense

5 Qs • 20 min • Pass 70%

Jailbreak Attempts and Policy Bypass Resilience — Topic & Module Assessment

Topic: Jailbreak Attempts and Policy Bypass Resilience

5 Qs • 20 min • Pass 70%

Sensitive Information and System-Prompt Disclosure Prevention — Topic & Module Assessment

Topic: Sensitive Information and System-Prompt Disclosure Prevention

5 Qs • 20 min • Pass 70%

Insecure Output Handling (Preventing XSS, SQLi, SSRF & RCE) — Topic & Module Assessment

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

5 Qs • 20 min • Pass 70%

GAIP • 32 Sets • 160 Qs

Module 23: Production Deployment, Observability and System Design

Module Guide & Sample MCQs →

FastAPI Fundamentals and Lifespan Architecture for AI Backends — Topic & Module Assessment

Topic: FastAPI Fundamentals and Lifespan Architecture for AI Backends

5 Qs • 20 min • Pass 70%

Pydantic v2 Request, Response and Error Envelope Models — Topic & Module Assessment

Topic: Pydantic v2 Request, Response and Error Envelope Models

5 Qs • 20 min • Pass 70%

API Routing, Versioning and Dependency Injection (Depends) — Topic & Module Assessment

Topic: API Routing, Versioning and Dependency Injection (Depends)

5 Qs • 20 min • Pass 70%

Async Endpoints vs Event-Loop Blocking Pitfalls — Topic & Module Assessment

Topic: Async Endpoints vs Event-Loop Blocking Pitfalls

5 Qs • 20 min • Pass 70%

Authentication and Workspace RBAC in FastAPI — Topic & Module Assessment

Topic: Authentication and Workspace RBAC in FastAPI

5 Qs • 20 min • Pass 70%

Validated Streaming File Uploads to Object Storage — Topic & Module Assessment

Topic: Validated Streaming File Uploads to Object Storage

5 Qs • 20 min • Pass 70%

GAIP • 40 Sets • 200 Qs

Module 24: Capstone, System Design and Placement Preparation

Module Guide & Sample MCQs →

Technical Interview Review: Python Programming, Typing & OOP — Topic & Module Assessment

Topic: Technical Interview Review: Python Programming, Typing & OOP

5 Qs • 20 min • Pass 70%

Technical Interview Review: Python Data Structures & Algorithms — Topic & Module Assessment

Topic: Technical Interview Review: Python Data Structures & Algorithms

5 Qs • 20 min • Pass 70%

Technical Interview Review: NumPy, Pandas & SQL Data Prep — Topic & Module Assessment

Topic: Technical Interview Review: NumPy, Pandas & SQL Data Prep

5 Qs • 20 min • Pass 70%

Technical Interview Review: Machine Learning Fundamentals — Topic & Module Assessment

Topic: Technical Interview Review: Machine Learning Fundamentals

5 Qs • 20 min • Pass 70%

Technical Interview Review: Neural Networks & PyTorch — Topic & Module Assessment

Topic: Technical Interview Review: Neural Networks & PyTorch

5 Qs • 20 min • Pass 70%

Technical Interview Review: NLP & Transformer Architecture — Topic & Module Assessment

Topic: Technical Interview Review: NLP & Transformer Architecture

5 Qs • 20 min • Pass 70%

Sample Generative AI Mock Questions & Explanations

SAMPLE Q1 • Python Installation, Interpreter, Execution and Virtual Environments

In production Core Python for AI, what is the primary engineering purpose of 'Python Installation, Interpreter, Execution and Virtual Environments'?

Reveal Solution Explanation

'Python Installation, Interpreter, Execution and Virtual Environments' is applied in production Core Python for AI specifically for: Isolating PyTorch, Transformers, and FastAPI dependencies per project inside `.venv`.

SAMPLE Q2 • Python Installation, Interpreter, Execution and Virtual Environments

Which critical production pitfall MUST a Generative AI Engineer avoid when implementing 'Python Installation, Interpreter, Execution and Virtual Environments'?

Reveal Solution Explanation

A high-impact real-world failure mode with 'Python Installation, Interpreter, Execution and Virtual Environments' is: Installing heavy ML packages into global system Python causing version conflicts.

SAMPLE Q3 • Python Installation, Interpreter, Execution and Virtual Environments

Which technical scope accurately captures the first-principles mechanics of 'Python Installation, Interpreter, Execution and Virtual Environments'?

Reveal Solution Explanation

Core technical coverage of 'Python Installation, Interpreter, Execution and Virtual Environments' comprises: Python 3.12 installation, CPython bytecode execution, `python -m venv .venv`, and workspace interpreter selection.

SAMPLE Q4 • Python Installation, Interpreter, Execution and Virtual Environments

What is the expected practical engineering deliverable when completing the hands-on lab for 'Python Installation, Interpreter, Execution and Virtual Environments'?

Reveal Solution Explanation

Practical mastery of 'Python Installation, Interpreter, Execution and Virtual Environments' is verified through: Create `.venv`, verify `sys.executable`, and run an environment diagnostic script.

SAMPLE Q5 • Python Installation, Interpreter, Execution and Virtual Environments

In a Generative AI Engineer technical interview on 'Python Installation, Interpreter, Execution and Virtual Environments', what demonstrates senior production readiness?

Reveal Solution Explanation

Interviewers test first-principles Python understanding (Python 3.12 installation, CPython bytecode execution, `python -m venv .venv`, and workspace interpreter selection), guardrail awareness, and measured trade-offs.

Related Career Programs

Generative AI & Agentic AI Training Course (Python)

6 Months (24 Weeks) + 3 Months Revision, Doubt & OA/HackerRank Support • ₹45,000 + 18% GST

Browse Other Technology Mock Tests

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.