Quick revision
AI-200 flashcards and glossary
140 flashcards from 28 topics. Try to answer before you flip the card.
Glossary
- $Default rule
- The rule every new subscription starts with. It's a true filter (1=1) that accepts every message.
- 429 Too Many Requests
- The response when requests need more RUs per second than the container or database has. The SDK retries after the suggested wait.
- AcrPull
- The built-in Azure role that lets an identity pull images from a registry.
- All versions and deletes mode
- A mode that records every create, update and delete within the continuous backup retention period. It needs continuous backup on the account.
- Always-ready instances
- Instances a Flex Consumption app keeps running for chosen trigger groups or functions, to avoid cold starts.
- App Service (custom container)
- Platform as a service that runs one container image as a web app with TLS, slots and autoscale.
- App setting
- A name-value pair on a web app that App Service injects into the container as an environment variable.
- App settings
- Name-value pairs on the function app in Azure, exposed to your code as environment variables.
- Approximate nearest neighbour (ANN)
- A search that uses an index such as DiskANN or HNSW to find most of the closest vectors much faster, trading a little recall.
- Authorization level
- Whether an HTTP function needs a key - ANONYMOUS (none), FUNCTION (a function or host key) or ADMIN (the master key).
- Automated task
- A saved task created with az acr task create that runs when a trigger fires.
- az acr import
- Copies an image from another registry into ACR on the server side, without Docker on your machine.
- Azure App Configuration
- A managed service that stores application settings and feature flags centrally for many apps and environments.
- Azure Container Apps
- Serverless container hosting built on Kubernetes and KEDA, without a cluster to manage.
- Azure Container Registry (ACR)
- A private, managed registry in Azure that stores container images and other OCI artifacts.
- Azure Cosmos DB for NoSQL
- A globally distributed database that stores schema-free JSON items and is queried with a SQL-like language.
- Azure Database for PostgreSQL flexible server
- The managed PostgreSQL service on Azure, where Microsoft runs patching, backups and high availability while you choose compute and storage.
- Azure Key Vault
- A managed service that stores secrets, keys and certificates and controls who can read them.
- Azure Kubernetes Service (AKS)
- Managed Kubernetes where Azure runs the control plane and you deploy workloads with YAML manifests.
- Azure Managed Redis
- Microsoft's managed Redis service built on Redis Enterprise, with Memory Optimized, Balanced, Compute Optimized and Flash Optimized tiers.
- Azure Monitor OpenTelemetry Distro
- Microsoft's packaged OpenTelemetry setup (azure-monitor-opentelemetry for Python) that sends telemetry to Application Insights.
- azure.extensions
- The flexible server parameter that lists which extensions are allowed. An extension must be on this allow-list before CREATE EXTENSION works.
- B-tree index
- The default PostgreSQL index, good for equality, ranges and sorting on normal columns.
- Base image update trigger
- Reruns a task when the image in the Dockerfile FROM line is updated in its registry.
- bin()
- A KQL function that rounds values (usually time) down into fixed-size buckets, such as 5-minute intervals.
- Binding
- A declared connection to another service that passes data in (input) or out (output) without writing SDK code.
- Bounded staleness
- Reads may lag writes by at most K versions or T time, and are otherwise in order.
- Cache-aside
- A pattern where the app reads from the cache, loads from the data store on a miss and writes the result into the cache.
- Change feed
- A persistent, ordered record of changes to items in a Cosmos DB container, read per partition key range.
- Change feed processor
- A library in the .NET and Java SDKs that reads the change feed, distributes the work across instances and checkpoints progress.
- Chunking
- Splitting long documents into smaller passages before embedding, so each vector represents one focused idea.
- Cloud role name
- The service name Application Insights shows on the application map, taken from the service.name resource attribute.
- CloudEvents 1.0
- An open, vendor-neutral event schema from the CNCF that Event Grid supports alongside its own Event Grid schema.
- Composite index
- An index over two or more properties, needed for ORDER BY on several properties and useful for filters plus sorting.
- Compute tiers
- Burstable (cheap, CPU credits, for dev and test), General Purpose (balanced) and Memory Optimized (more RAM per vCore) for flexible server.
- Connection setting
- The name of an app setting that tells a trigger or binding how to reach a service, by connection string or by identity.
- Consistency level
- The guarantee about how fresh and how ordered the data you read is, set on the account and weakened per client or request.
- Console logs (Container Apps)
- Your container's stdout and stderr, stored in ContainerAppConsoleLogs_CL.
- Container
- The unit that holds items, has a partition key, an indexing policy and throughput.
- Container Apps environment
- The boundary that container apps share, with one virtual network and one logging destination.
- Container image
- A read-only package of an app and its dependencies, built from a Dockerfile and run as a container.
- Cooldown period
- How long Container Apps waits after the last event before scaling down to zero (300 seconds by default).
- Correlation filter
- A subscription rule that matches exact values of system or application properties, faster to evaluate than a SQL filter.
- Cosine distance (<=>)
- The pgvector operator that returns 1 minus cosine similarity. Smaller means more similar.
- Cosine similarity
- A measure of how closely two vectors point in the same direction, from -1 (opposite) to 1 (same meaning).
- CrashLoopBackOff
- A pod status meaning the container keeps starting and crashing, and Kubernetes is waiting longer between restarts.
- Cross-partition query
- A query that can't be routed to one logical partition and so runs against every physical partition.
- Custom topic
- An Event Grid endpoint your own app publishes events to.
- Dead-letter queue (DLQ)
- A sub-queue of each queue and subscription that holds messages that couldn't be delivered or processed.
- Dead-lettering
- Saving events that couldn't be delivered to an Azure Storage blob container instead of dropping them.
- Delegate
- Your code that receives each batch of changes and does the work, such as generating an embedding.
- Deployment
- A Kubernetes object that keeps a set number of identical pods running and rolls out new versions.
- Deployment slot setting
- An app setting marked to stay with its slot instead of moving during a swap.
- Digest
- A sha256 hash of the image manifest that uniquely and permanently identifies one image.
- Dimensions
- The length of an embedding vector, for example 1,536 for text-embedding-3-small.
- diskANN index
- An approximate nearest neighbour index from Microsoft Research for fast, low-RU search over large vector sets, up to 4,096 dimensions.
- Duplicate detection
- A queue option that drops a second message with the same MessageId sent within the detection window.
- Embedding
- A fixed-length list of numbers that represents the meaning of a piece of text, an image or other data.
- Endpoints
- The list of pod IPs a Kubernetes Service currently forwards to; empty means no ready pods match.
- Event
- A small record that says something happened, with a type, subject, time and a little data. It's a fact, not a command.
- Event subscription
- The rule that says which events from a topic go to which handler, with filters, retry policy and dead-letter settings.
- Events
- Kubernetes records of what the platform did to an object, such as scheduling, pulling, probe failures and kills.
- Eviction policy
- The rule Redis uses to remove keys when memory is full, such as volatile-lru, allkeys-lru or noeviction.
- EXPLAIN ANALYZE
- Runs a query and shows the real plan, including whether an index or a sequential scan was used and how long each step took.
- Feature flag
- An on or off switch, stored as a key-value with the .appconfig.featureflag/ prefix, that turns code paths on without a redeploy.
- flat index
- An exact (brute-force) vector index with 100% recall, limited to 505 dimensions.
- Flex Consumption plan
- The recommended serverless hosting plan for Functions, with per-function scaling, scale to zero, always-ready instances and VNet support.
- FT.CREATE
- The RediSearch command that defines an index over keys with a prefix, listing fields such as TEXT, TAG, NUMERIC and VECTOR.
- FT.SEARCH
- The RediSearch command that queries an index. Vector queries use KNN syntax and need DIALECT 2.
- func.FunctionApp
- The object in function_app.py that functions are registered on with decorators.
- Function app
- The Azure resource that hosts, scales and deploys a group of functions together.
- GIN index
- A generalised inverted index, used for jsonb containment, arrays and full-text search.
- halfvec
- A pgvector type that stores each number in half precision, roughly halving storage and index size.
- HNSW vs FLAT
- Vector index algorithms in Redis. FLAT compares against every vector (exact); HNSW uses a graph for fast approximate search.
- hnsw.ef_search
- A query-time setting for HNSW indexes (default 40) that controls how many candidates are examined. Higher gives better recall but slower queries.
- host.json
- A project file with runtime settings for every function in the app, such as logging, timeouts and trigger tuning.
- Identity-based connection
- A trigger or binding connection that uses a managed identity, set with a __fullyQualifiedNamespace or similar suffix instead of a connection string.
- ImagePullBackOff
- A pod status meaning the node can't pull the image, usually a wrong name or tag or missing pull permission.
- Indexing policy
- A container setting that decides which property paths are indexed, which are excluded, and which composite, spatial or vector indexes exist.
- Ingress
- The setting that exposes an app over HTTP or TCP, externally to the internet or internally within the environment.
- Invalidation
- Removing or updating a cached value when the source data changes, so readers don't get stale data.
- Iterative index scan
- A pgvector 0.8 feature (hnsw.iterative_scan) that keeps scanning the index when a filter removes too many candidates, so you still get enough rows.
- jsonb
- PostgreSQL's binary JSON type. It can be indexed with GIN and queried with operators such as @>.
- k-nearest neighbours (kNN)
- An exact search that compares the query vector with every stored vector and returns the k closest.
- KEDA
- Kubernetes Event-driven Autoscaling, the open-source scaler that Container Apps uses under the hood.
- Key Vault reference
- A key-value whose value is the URI of a Key Vault secret. The app's provider fetches the secret from Key Vault.
- Key Vault Secrets User
- An Azure RBAC role that lets an identity read secret values, and nothing more.
- Key-value
- One setting in App Configuration, made of a key, a value, an optional label and an optional content type.
- KNN
- K-nearest neighbours. KNN 3 returns the 3 vectors closest to the query vector.
- KQL
- Kusto Query Language, the read-only, pipe-based query language used by Azure Monitor Logs, Application Insights and Azure Data Explorer.
- kubectl apply
- The command that creates or updates objects so they match the manifest.
- Label
- An extra attribute on a key-value that lets the same key hold different values, usually one per environment.
- Latest version mode
- The default change feed mode. It records creates and updates, shows only the latest version of an item, and doesn't record deletes.
- Lease container
- A container that stores one lease per partition key range, recording how far the processor has read and which instance owns it.
- lists and probes
- IVFFlat options. lists is the number of clusters set at build time; ivfflat.probes is how many clusters a query searches.
- local.settings.json
- A local-only file holding app settings for Core Tools. It isn't published and shouldn't go into source control.
- Lock duration
- How long a peek-locked message stays hidden from other receivers. The default is 1 minute and the maximum is 5 minutes.
- Log Analytics workspace
- The Azure Monitor store that holds log tables you query with KQL.
- Log search alert
- An Azure Monitor alert rule that runs a KQL query on a schedule and fires when the result meets a condition.
- Login server
- The registry's address, such as myreg.azurecr.io, used in every image name.
- m and ef_construction
- HNSW build options. m is the maximum connections per node (default 16), ef_construction is the candidate list size while building (default 64).
- maintenance_work_mem
- The memory PostgreSQL may use for maintenance work such as CREATE INDEX. HNSW builds are much faster when the graph fits in it.
- Managed identity
- An identity in Microsoft Entra ID that Azure gives to a resource, so the app can get tokens without a stored password.
- Manifest
- A YAML file that declares a Kubernetes object, such as a Deployment or Service, and its desired state.
- Max delivery count
- How many times a message can be delivered before Service Bus moves it to the dead-letter queue. The default is 10.
- Message session
- A group of messages that share a session ID and are handled in order by one receiver at a time.
- messageCount
- The azure-servicebus scaler setting for how many messages one replica should handle; KEDA adds replicas as the queue passes it.
- Metadata filter
- A normal SQL condition (tenant, language, product, date) applied alongside the vector search so only allowed, relevant rows come back.
- Metric alert
- An Azure Monitor alert rule that evaluates a numeric metric, such as CPU or request count, every minute or so.
- Microsoft Entra authentication
- Signing in to PostgreSQL with an Entra access token as the password instead of a database password.
- Min and max replicas
- The lower and upper bounds for the number of replicas; a minimum of 0 allows scale to zero.
- Monitored container
- The container whose changes the processor reads.
- Multi-step task
- A task defined in a YAML file with build, cmd and push steps that run in order.
- NCRONTAB
- The six-field schedule format used by the timer trigger, with seconds first, such as 0 */5 * * * *.
- OpenTelemetry
- An open, vendor-neutral standard and set of SDKs for collecting traces, metrics and logs from applications.
- ossrdbms-aad scope
- The token scope
https://ossrdbms-aad.database.windows.net/.defaultused to request tokens for Azure Database for PostgreSQL. - Parameterised query
- SQL with placeholders such as %s, where the driver sends the values separately so user input can't change the query.
- Partition key
- An item property (such as /category) whose value decides which logical partition an item lives in. It can't be changed after the container is created.
- Peek-lock
- The default receive mode. The message is locked for the receiver and only removed when the receiver completes it.
- PgBouncer
- A lightweight connection pooler built into flexible server, enabled with pgbouncer.enabled and reached on port 6432.
- pgvector
- The PostgreSQL extension that adds the vector data type, distance operators and vector indexes. Its extension name is vector.
- Pod
- The smallest unit Kubernetes runs; one or more containers that share a network address.
- Point read
- Reading a single item by its id and partition key value, the cheapest operation in Cosmos DB.
- Poison message
- A message that fails every time it's processed, for example because its data is corrupt.
- Premium SSD v2
- Flexible server storage where capacity, IOPS and throughput can be set separately.
- psycopg
- The most used PostgreSQL driver for Python. Version 3 is imported as psycopg and adds a separate psycopg_pool package for pooling.
- psycopg_pool
- The connection pool package for psycopg 3, which keeps open connections ready for reuse inside your app.
- Purge protection
- An optional vault setting that blocks permanent deletion until the soft-delete retention period ends. Once on, it can't be turned off.
- Python v2 programming model
- The decorator-based way to write Python functions in function_app.py, with no function.json files.
- quantizedFlat index
- A brute-force index over compressed vectors, up to 4,096 dimensions, a good fit for about 50,000 vectors or fewer in the search scope.
- Queue
- A Service Bus entity that stores messages in order and delivers each message to one competing receiver.
- Quick task
- A one-off cloud build started with az acr build, the cloud version of docker build plus docker push.
- Readiness probe
- A check that decides whether a pod receives traffic from its Service.
- Recall
- The share of the true closest items that a search actually returns.
- Receive-and-delete
- A receive mode that removes the message as soon as it's delivered, so a crash loses it.
- redis-entraid
- The Python package that plugs Microsoft Entra ID tokens into redis-py and refreshes them automatically.
- RediSearch
- The Redis module that adds secondary indexes, full-text search and vector similarity search. In Azure Managed Redis on Redis 7.4 it's chosen at creation.
- Repository
- A named collection of related images inside a registry, such as ragapi.
- Request Unit (RU)
- A normalised measure of CPU, memory and IOPS. Throughput is provisioned or billed in RUs per second.
- Retrieval-augmented generation (RAG)
- A pattern where the app retrieves relevant passages from your data and gives them to a language model as context, so the answer is grounded in your content.
- Revision
- An immutable snapshot of a container app's template, created whenever a revision-scope setting changes.
- Revision mode
- Single (one active revision, the default) or multiple (several active revisions with traffic splitting).
- Run ID
- A unique ID ACR gives every task run, available as {{.Run.ID}} for tagging images.
- Sampling
- Keeping only a share of traces to cut cost and volume, while keeping each kept trace complete.
- Scale rule
- A rule on a container app that tells KEDA what to watch (HTTP, TCP or a custom event source) and when to add replicas.
- Secret version
- An immutable copy of a secret's value. Each set_secret call creates a new one, and a request without a version returns the latest.
- SecretClient
- The class in the azure-keyvault-secrets Python package that gets, sets, lists and deletes secrets in one vault.
- SecretNearExpiry
- The Event Grid event Key Vault publishes 30 days before a secret's expiry date, used to start rotation.
- secretref
- The way an environment variable points at a container app secret instead of holding the value.
- Semantic cache
- A cache keyed by meaning. It stores prompts, their embeddings and responses, and reuses a response when a new prompt is close enough.
- Sentinel key
- One key you update last after a batch of changes. The app watches it and reloads all settings when it changes.
- Service
- A stable name and IP in front of a set of pods, selected by labels.
- Service Bus namespace
- The container for queues and topics, reached at <name>.servicebus.windows.net, with a pricing tier of Basic, Standard or Premium.
- Session consistency
- The default level. Within one session a client reads its own writes, in order.
- Snapshot
- A named, read-only copy of a set of key-values at one moment, used for safe releases and rollbacks.
- Soft delete
- A Key Vault feature, always on, that keeps a deleted vault or secret recoverable for 7 to 90 days.
- Span
- One timed operation inside a trace, such as an HTTP request, a database query or a model call, with a span ID and a parent.
- SQL filter
- A subscription rule written as a SQL-like condition on message properties, such as tier = 'premium' AND pages > 20.
- sslmode=require
- A connection setting that makes the client refuse to connect without TLS encryption.
- Subject filter
- An event subscription filter on the start or end of the event subject, such as ends with .pdf.
- Subscription
- A named, queue-like view of a topic. Each subscription has its own receivers, settings and dead-letter queue.
- summarize
- The KQL operator that groups rows and calculates aggregates such as count(), avg() and percentile().
- System logs (Container Apps)
- Platform messages about revisions, replicas, image pulls and probes, stored in ContainerAppSystemLogs_CL.
- System topic
- A topic that represents events from an Azure service, such as Blob Storage or Key Vault.
- Tag
- A human-readable label on an image version; it can be moved to a different image.
- TOP N
- The clause that limits how many results a vector query returns. Always include it in vector searches.
- Top-K
- The number of nearest chunks you retrieve, set with LIMIT.
- Topic
- A Service Bus entity that accepts messages from senders and copies each one to every matching subscription.
- Trace
- The full record of one request as it moves through every service, made of spans that share a trace ID.
- traceparent
- The W3C Trace Context HTTP header that carries the trace ID and parent span ID from one service to the next.
- Trigger
- What starts a function run, such as an HTTP request or a queue message. Every function has exactly one.
- TTL (time to live)
- How long a key lives before Redis removes it. Set with SET ... EX seconds or EXPIRE, and read with TTL.
- Upsert
- Insert the item if it doesn't exist, or replace it if an item with the same id and partition key does.
- Validation handshake
- The check Event Grid runs when you subscribe a webhook, to prove the endpoint agrees to receive events.
- Vector embedding policy
- The container setting that lists each vector path with its data type, dimensions and distance function.
- vector(n)
- A pgvector column type holding n single-precision numbers, for example vector(1536) for text-embedding-3-small.
- VectorDistance
- The Cosmos DB query function that returns the similarity score between a stored vector and a query vector.
- WEBSITES_PORT
- The app setting that tells App Service which port the custom container listens on.
- Workspace-based Application Insights
- Application Insights that stores data in a Log Analytics workspace, in tables such as AppRequests and AppDependencies.