AI-200

Introduction to Developing with Azure Database for PostgreSQL

How Azure Database for PostgreSQL flexible server is configured, how Python applications connect and query it securely, and how schemas, indexes and connection handling are designed for AI workloads.

  • 5 lessons
  • Module quiz

Azure Database for PostgreSQL flexible server combines relational data, JSON, full-text search and, with pgvector, vector search in one managed database. Using it well requires careful connections, schemas and indexes.

This module covers development with flexible server; vector search follows in the next module.

What the exam expects

Expect questions on tiers and extensions, Microsoft Entra authentication from Python, parameterized queries, data types, index choice, query plans and connection pooling with PgBouncer.

How this module is organized

Understanding Azure Database for PostgreSQL introduces the service. Connecting to PostgreSQL from Python covers psycopg and tokens, Designing PostgreSQL Schemas for AI Workloads covers modelling, Indexing PostgreSQL for Query Latency covers indexes and plans, and Optimizing PostgreSQL Connections covers connections.

  1. Understanding Azure Database for PostgreSQL Lesson 1
  2. Connecting to PostgreSQL from Python Lesson 2
  3. Designing PostgreSQL Schemas for AI Workloads Lesson 3
  4. Indexing PostgreSQL for Query Latency Lesson 4
  5. Optimizing PostgreSQL Connections Lesson 5
  6. Practise and review
  7. Checkpoint Practice activities across the module
  8. Test your knowledge 5 questions