Home › Studies › AI-200 › Commonly Confused Pairs

Commonly Confused Pairs

The look-alike terms the AI-200 exam uses as distractors.

Terms that get mixed up. Tick each pair once you can explain the difference.

Containers

Stable tag vs Unique tag: Stable tags (:1, :1.0) keep receiving updates and suit base images. Unique tags (for example a build ID) are never reused and suit deployments that scale on multiple nodes.

az acr build vs az acr run: az acr build is a quick task that builds an image from a Dockerfile in Azure and by default pushes it. az acr run runs a container command or a multi-step YAML task (build, push, cmd steps).

az acr build vs az acr pack build: az acr build builds from a Dockerfile. az acr pack build (preview) builds from an application source tree with Cloud Native Buildpacks, with no Dockerfile.

Untag an image vs Delete an image: az acr repository untag removes only the tag; the manifest and layer data stay and no space is freed. az acr repository delete removes unique layers and the associated tags.

Registry admin user vs Managed identity pull: The admin account is disabled by default, has full push and pull permissions and is one shared account. A managed identity with the AcrPull role pulls without stored credentials.

App setting vs Connection string: Both reach the app as environment variables. Connection strings get a type prefix such as MYSQLCONNSTR_ or CUSTOMCONNSTR_. For non-.NET languages use app settings, unless Azure database types should be backed up along with the app.

Revision-scope change vs Application-scope change: Revision-scope changes (properties.template: image, scale rules, suffix) create a new revision. Application-scope changes (properties.configuration: secrets, ingress, revision mode) apply to all revisions and create none.

Revision label vs Traffic splitting: A label gives one revision its own URL that keeps the same URL when you move it. Traffic splitting spreads requests between revisions by percentage; the weights must total 100%.

Single revision mode vs Multiple revision mode: Single (default): one active revision, a failed update leaves traffic on the old revision. Multiple: several active revisions, traffic splitting, and you decide when to deprovision.

Scale rule auth vs Scale rule identity: auth maps Container Apps secrets to scaler parameters (--scale-rule-auth). identity uses a managed identity, system or a resource ID (--scale-rule-identity), and isn't supported in the portal.

Internal ingress vs External ingress: Internal is directly reachable only from within the same environment, such as other container apps. External exposes the app through the environment's inbound IP address.

ClusterIP vs LoadBalancer: ClusterIP is an internal IP for use within the cluster and is the default; LoadBalancer creates an Azure load balancer with an external IP address.

System node pool vs User node pool: System node pools host critical system pods such as CoreDNS; user node pools host your application pods (kubernetes.azure.com/mode: user).

LoadBalancer Service vs Ingress controller: A LoadBalancer Service works at layer 4 and can't do complex routing; an ingress controller works at layer 7 and can route by URL path.

--attach-acr vs Image pull secret: --attach-acr grants AcrPull to the agent pool managed identity for an Azure Container Registry; a private external registry needs an image pull secret.

kubectl get events vs kubectl describe pod: get events lists the events of the cluster; describe pod shows the events of one named pod. Events last one hour unless Container insights is enabled.

Console logs (Container Apps) vs System logs (Container Apps): Console logs come from your containers' stdout and stderr (ContainerAppConsoleLogs_CL); system logs come from the Container Apps service (ContainerAppSystemLogs_CL).

AI Data Services

Cosmos DB point read (read_item) vs Cosmos DB query (query_items): A point read needs the id and the partition key and costs fewer RUs (about 1 RU for a 1 KB item). A query is for multiple items and costs more.

Strong / Bounded staleness vs Session / Consistent prefix / Eventual: Strong and bounded staleness read from two replicas, so reads cost about twice the RUs. The other three use single-replica reads.

Vector index quantizedFlat vs Vector index diskANN: quantizedFlat is brute force over compressed vectors and is recommended for 50,000 or fewer vectors in scope. diskANN is approximate and performs best above 50,000. Both need at least 1,000 vectors and allow up to 4096 dimensions; flat allows only 505.

Change feed processor vs Change feed pull model: The processor (.NET and Java only) tracks progress with leases and checkpoints automatically. The pull model (Python, Node.js) uses continuation tokens you manage, and can read a single partition key.

Latest version mode vs All versions and deletes mode: Latest version shows the latest insert or update and no deletes. All versions and deletes shows every change including deletes, and needs continuous backups.

volatile-lru vs allkeys-lru: volatile-lru (the default) can evict only keys that have a TTL. allkeys-lru lets any key be evicted under memory pressure.

Redis data persistence vs Redis import/export: Persistence is a quick recovery point on a managed disk you can't access. Import/export writes RDB copies to your storage account and is the way to take periodic backups.

OSS clustering policy vs Enterprise clustering policy: OSS connects clients directly to shards (needs Redis Cluster API support) and doesn't support RediSearch. Enterprise uses a single proxy endpoint and supports RediSearch.

FLAT index vs HNSW index: FLAT is an exact brute-force search. HNSW is an approximate nearest-neighbor graph index for larger datasets where latency matters more than exhaustive precision.

IVFFlat vs HNSW: IVFFlat builds faster with less memory but has the lower speed-recall tradeoff and trains lists with k-means (load data first). HNSW builds slower with more memory, has the better tradeoff and can be built on an empty table.

<=> with vector_cosine_ops vs <-> with vector_l2_ops: <=> is cosine distance, <-> is L2 (Euclidean) and <#> is the negative inner product (vector_ip_ops). The index operator class must match the operator in ORDER BY.

ivfflat / hnsw vs DiskANN: ivfflat and hnsw index at most 2000 dimensions. DiskANN (pg_diskann v0.6 and later, with product quantization, which its page labels Preview) indexes up to 16,000 and is supported on Flexible Server.

Premium SSD vs Premium SSD v2: Premium SSD has dedicated sizes (max 32,767 GiB, 20,000 IOPS, 900 MB/s). Premium SSD v2 has any size from 1 GiB, independent tuning of capacity, throughput and IOPS (max 65,536 GiB, 80,000 IOPS, 1,200 MB/s) and no host caching.

PgBouncer port 6432 vs PostgreSQL port 5432: Built-in PgBouncer listens on 6432 on the same host; change only the port to use it. It is not supported on Burstable.

Transaction pooling vs Statement pooling: Transaction pooling (default in the built-in PgBouncer) holds a server connection for one transaction. Statement pooling holds it per statement and does not support multi-statement transactions or prepared statements.

Messaging & Functions

Service Bus queue vs Service Bus topic: A queue gives each message to one of its competing consumers. A topic copies each message to every subscription, and consumers read from subscriptions.

Receive and delete vs Peek lock: Receive and delete settles the message when it is sent (a crash loses it, at-most-once). Peek lock locks the message until you complete, abandon or dead-letter it (a crash leads to redelivery, at-least-once).

Dead-letter queue vs Transfer dead-letter queue: $deadletterqueue holds messages that cannot be delivered or processed. $Transfer/$DeadLetterQueue on the source entity holds messages that failed to forward in autoforward or send-via scenarios.

Abandon vs Dead-letter: Abandon unlocks the message at once for redelivery and raises its delivery count. Dead-letter moves it to the DLQ when retrying won't help.

Event Grid max attempts (1-30) vs Event Grid event TTL (1-1440 min): Delivery stops at whichever limit is reached first. Defaults are 30 attempts and 1440 minutes.

Service Bus rule without action vs Service Bus rule with action: All rules without actions merge (OR) into one message; each rule with an action produces its own copy with a RuleName property.

Trigger vs Binding: A trigger starts the function and a function has exactly one. Bindings are optional input or output connections, and a function can have several.

authLevel function vs authLevel admin: function needs a function-specific key. admin needs the master key. anonymous needs no key.

Python model 2.x vs Python model 1.x: 2.x declares triggers and bindings with decorators in function_app.py and is recommended. 1.x uses a function.json per function for legacy apps.

Flex Consumption vs Consumption: Flex Consumption is the serverless plan for new apps (Linux only, package deployment, no slots). Consumption is legacy (default timeout 5 minutes, 2 slots).

Deployment slot vs Revision: Slots (Consumption, Premium, Dedicated) hold staging copies you swap into production. Container Apps use revisions and Flex uses rolling updates.

Secure & Monitor

take vs top: take returns arbitrary rows in no order; top sorts on the server side and returns the top records, descending by default.

project vs extend: project keeps only the columns you list; extend keeps all original columns and adds new ones.

== vs =~: == is case-sensitive equality; =~ is case-insensitive equality.

microsoft.fixed_percentage vs microsoft.rate_limited: Fixed percentage takes a value from 0.0 to 1.0; rate limited takes a maximum number of traces per second. Python defaults to rate limited at five per second.

Custom span in dependencies vs Custom span in requests: A custom span is a dependency of type InProc by default; set kind = SpanKind.SERVER to have it appear in requests.

join kind=inner vs join kind=leftanti: inner returns only matching rows from both tables; leftanti returns left rows that don't match the right table.

Key Vault Secrets User vs Key Vault Secrets Officer: Secrets User reads secret contents. Secrets Officer performs any action on secrets except manage permissions.

Key Vault vs App Configuration: Key Vault stores secrets. App Configuration stores application settings and feature flags and complements Key Vault.

Soft-delete vs Purge protection: Soft-delete keeps deleted objects recoverable for 7 to 90 days and is always on. Purge protection blocks permanent purge before that period ends.

App Configuration Data Reader vs App Configuration Reader: Data Reader reads the key-values (data plane). Reader reads the store resource only, not access keys or data.

Key rotation policy vs Secret rotation by Event Grid: Keys rotate by policy (minimum seven days). Secrets rotate through an Event Grid near-expiry event that triggers a function.

Label vs Key prefix: A label creates variants of the same key (for example per environment). A hierarchical key name, with components joined by delimiters, groups related keys, so you can query a prefix.

← AI-200Numbers to Memorize →