Versions, decisions and sources
Architecture decisions, selected exam objectives, costs and official documentation.
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.
| Component | Selected baseline |
|---|---|
| Java / application framework | Java 21; Spring Boot 4.1.2; Maven Wrapper 3.3.4 / Maven 3.9.11 |
| Python | 3.12 in the Function and worker; dependencies pinned in canonical requirements + constraints |
| Data | PostgreSQL 17; SQL extension vector; vector(1536); exact cosine query |
| Function | Functions v4, Python v2 programming model, 4.x extension bundle, Flex Consumption FC1, managed-identity deployment storage |
| Models | gpt-5-mini / 2025-08-07 and text-embedding-3-small / 1; Azure OpenAI GA v1 REST endpoints; GlobalStandard SKU |
| Kubernetes | AKS-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.
| Exercise | Relevant objective area | Boundary |
|---|---|---|
| Build, tag and push | Container images and ACR | Local Docker builds; ACR Tasks is not implemented |
| Manifests, probes, logs, rollout | AKS deployment and monitoring | No Container Apps revisions or App Service deployment |
| Flyway, explicit SQL, vectors | PostgreSQL data modeling, queries and RAG with metadata filters | Small exact scans; advanced index tuning is optional |
| Requests, replies and queue counts | Service Bus processing and dead letters | Queues, not a full topics/subscriptions lab |
| Blob notification and Function | Event Grid workflows and Function configuration/deployment | Blob triggers, not a general Functions API course |
| Secrets and ordinary settings | Key Vault retrieval and App Configuration | No automatic rotation/live refresh claim |
| Inspect Function traces | KQL log analysis | No 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.
- Spring Boot requirements and Maven Wrapper.
- AKS workload identity.
- Flex Consumption hosting and trigger constraints, Function infrastructure/deployment storage, and CLI deployment and VNet integration.
- Event Grid-backed Blob trigger webhook and Function host/binding identity requirements.
- PostgreSQL private networking/DNS, Extension allowlisting, and pgvector's operators and dimension types.
- Azure OpenAI GA v1 chat REST contract, Model quota and Model retirement schedule.
- Service Bus locks and settlement, Dead-letter handling.