Secure & Monitor
Domain 4 · 20–25% of the AI-200 exam
Keep keys out of code with Azure Key Vault and managed identities, move settings and feature flags into Azure App Configuration, trace requests across services with OpenTelemetry, and find problems with KQL.
Start the first lesson ❯ 4 of 4 lessons ready
Lessons in this module
- 1 Azure Key Vault: Retrieve and Rotate Secrets Read, version and rotate secrets in Azure Key Vault from Python with SecretClient, DefaultAzureCredential, managed identities, RBAC roles and Event Grid.
- 2 Azure App Configuration: Settings and Feature Flags Store settings, labels, feature flags and Key Vault references in Azure App Configuration, then load and refresh them from Python with the provider.
- 3 Distributed Tracing with OpenTelemetry Trace one request across Python services with the Azure Monitor OpenTelemetry Distro, custom spans, attributes, sampling and Application Insights views.
- 4 KQL Queries for Logs and Metrics Write KQL to filter, summarise and chart Application Insights and container logs, join requests to exceptions, and turn a query into a log search alert.
Hands-On Labs
Every section of this domain has guided labs in the practice portal and Cloud Shell. No Azure account, nothing to pay, and your progress stays in this browser.