Versions, decisions and sources

Architecture decisions, selected exam objectives, costs and official documentation.

Reference · use as needed
Implementation decisions

The core deliberately favors explicit code: Java 21, supported Spring Boot, Maven Wrapper, JdbcClient/SQL, Thymeleaf and Flyway; Python 3.12, direct Azure SDK clients and small HTTP model calls; PostgreSQL 17 and an exact pgvector cosine scan. Application source is maintained in Products, ProductsEmbedder and ProductsChat. The two Python repositories vendor the same small rag_core package; the integration checks compare them.

PostgreSQL is private to the VNet, with a delegated subnet and private DNS. AKS and Functions use explicit NAT egress for public, identity-protected Azure endpoints. Storage containers are private and shared-key access is disabled. This core avoids private endpoints for every service and avoids a multi-day network/security course.

One database owner is used by migrations and applications, and TLS sslmode=require encrypts PostgreSQL traffic inside the private network. Production should separate runtime/migration roles and use full certificate/hostname verification appropriate to its trust store. The Products endpoint has self-signed HTTPS, a source-IP restriction and a random password. It is not public anonymous HTTP, nor a production SSO implementation.

Application settings/secrets are read only on startup. Workers are serial with prefetch zero. Messaging is at-least-once with explicit idempotency. Model calls have finite connect/read timeouts; request deadlines and failure states persist independently of the browser.

Version and dependency matrix

VERSIONS.md records the exact direct versions, image tags, API versions and validation-tool versions. constraints.txt locks the resolved Python dependency versions; it constrains only packages that each requirements file actually installs. The Maven parent and Azure BOM manage Java dependency versions.

ComponentSelected baseline
Java / application frameworkJava 21; Spring Boot 4.1.2; Maven Wrapper 3.3.4 / Maven 3.9.11
Python3.12 in the Function and worker; dependencies pinned in canonical requirements + constraints
DataPostgreSQL 17; SQL extension vector; vector(1536); exact cosine query
FunctionFunctions v4, Python v2 programming model, 4.x extension bundle, Flex Consumption FC1, managed-identity deployment storage
Modelsgpt-5-mini / 2025-08-07 and text-embedding-3-small / 1; Azure OpenAI GA v1 REST endpoints; GlobalStandard SKU
KubernetesAKS-supported default version at creation, patch upgrades; one node and a fixed worker replica. Check kubectl minor-version skew after deployment.
Selected AI-200 objectives

Checked against the official AI-200 study guide on 11 November 2026, for the skills dated 7 October 2026. This is a partial exercise mapping, not a coverage guarantee.

ExerciseRelevant objective areaBoundary
Build, tag and pushContainer images and ACRLocal Docker builds; ACR Tasks is not implemented
Manifests, probes, logs, rolloutAKS deployment and monitoringNo Container Apps revisions or App Service deployment
Flyway, explicit SQL, vectorsPostgreSQL data modeling, queries and RAG with metadata filtersSmall exact scans; advanced index tuning is optional
Requests, replies and queue countsService Bus processing and dead lettersQueues, not a full topics/subscriptions lab
Blob notification and FunctionEvent Grid workflows and Function configuration/deploymentBlob triggers, not a general Functions API course
Secrets and ordinary settingsKey Vault retrieval and App ConfigurationNo automatic rotation/live refresh claim
Inspect Function tracesKQL log analysisNo complete distributed OpenTelemetry instrumentation

Autoscaling is reserved for the next workshop. Cosmos DB, Managed Redis, Container Apps/App Service specifics and broader monitoring work remain outside this workshop. Blob Storage and basic model calls support the application; their presence does not make every related service feature a measured exercise.

Cost drivers and cleanup

For one 3½-hour run, expect less than NOK 50 in Azure usage before tax. The estimate uses costs posted during a walkthrough. It assumes one AKS node, a Burstable database, a few uploads and questions, and cleanup at the end. Region, subscription pricing, resource uptime, and model usage affect the total. How Azure reports costs

Azure has no group-wide pause. You can stop and start AKS and PostgreSQL Flexible Server separately to pause their compute charges. PostgreSQL storage and any backup storage above the included allowance stay billable. Azure automatically restarts a stopped PostgreSQL server after seven days. AKS stop and start · PostgreSQL pricing · PostgreSQL stop

  • Provisioned resources Disks, NAT Gateway, public IPs, ACR, Service Bus, and App Configuration can incur charges while the apps are idle. NAT Gateway bills by the hour even without traffic. NAT Gateway pricing
  • Usage-based charges Model tokens, Function execution, storage operations, data transfer, and log ingestion depend on usage. Failed or retried model calls can also cost tokens.
  • Cleanup When you are finished, delete the lab and confirm the lab group and AKS node group are gone. Soft-deleted Key Vault and App Configuration names remain subject to their recovery and retention rules.

Use Azure Pricing Calculator, AKS pricing, PostgreSQL pricing and Azure model pricing before your own run. Budget alerts notify; they are not a hard spending cap.

Official documentation used

For local setup, see Azure CLI on Windows, Azure CLI on Linux, Docker Desktop backends and requirements, and kubectl installation on Windows or Linux.

The following references were checked on 11 November 2026. Script compilation/local tests and live Azure acceptance are different forms of evidence; see the validation report.

Search the workshop