Courseiva

CCNA Data Management Services And Vector Search Questions

75 of 116 questions · Page 1/2 · Data Management Services And Vector Search topic · Answers revealed

1
MCQeasy

Which distance metric in Azure Cosmos DB vector search calculates the inner product of two vectors, measuring both magnitude and angle?

A.dotproduct
B.cosine
C.euclidean
D.manhattan
AnswerA

The dotproduct metric computes the inner product of two vectors, combining both magnitude and angle rather than angle alone. This satisfies the stem's requirement for a metric measuring both properties, distinguishing it from cosine, which normalises magnitudes away.

Why this answer

The dotproduct distance metric in Cosmos DB vector search computes the inner product of two vectors, which incorporates both magnitude and angle. It is commonly used when vector magnitudes carry meaning, such as in recommendation systems where popularity or confidence scores matter.

Exam trap

AI-200 often tests the confusion between cosine and dotproduct — the trap is forgetting that cosine ignores magnitude while dotproduct includes it, which changes ranking when vectors are not normalized.

How to eliminate wrong answers

Option B is wrong because cosine similarity measures only the angle between vectors, ignoring magnitude (it normalizes vectors to unit length). Option C is wrong because euclidean distance measures straight-line distance between vector endpoints, not inner product. Option D is wrong because manhattan distance sums absolute differences along each dimension, which is unrelated to inner product.

2
Multi-Selecthard

You are evaluating data layer architectures for an enterprise AI application that requires both vector search and structured transactional data management. Which THREE criteria favor choosing Azure Cosmos DB over Azure AI Search as the primary database? (Choose three)

Select 3 answers
A.Need for sub-10 millisecond point reads and writes on operational business records
B.Requirement to store and query arbitrary JSON operational documents alongside vectors
C.Requirement for advanced BM25 keyword search and neural semantic re-ranking
D.Requirement for multi-document ACID transactions within a transactional boundary
E.Requirement to generate automatic PDF text extraction and document chunking via indexers
AnswersA, B, D

Cosmos DB guarantees single-digit millisecond point reads and writes at the 99th percentile for operational records, backed by SLA. Azure AI Search is optimised for query and ranking workloads, not low-latency transactional access to business data.

Why this answer

Option A is correct because Azure Cosmos DB is designed as a low-latency operational database, offering single-digit millisecond point reads and writes (by key and partition key) for business records, whereas Azure AI Search is a search index optimized for query throughput rather than transactional point operations. Option B is correct because Cosmos DB natively stores schema-flexible JSON documents and, with vector indexing/vector search support, can hold operational documents and their embeddings together in the same container. Option D is correct because Cosmos DB supports multi-document ACID transactions within a single logical partition (transactional batch), which Azure AI Search cannot provide since it is not a transactional database.

Option C is not correct because advanced BM25 keyword ranking and neural semantic re-ranking are core capabilities of Azure AI Search, not differentiators of Cosmos DB. Option E is not correct because automatic PDF text extraction, OCR, and document chunking via indexers are Azure AI Search (AI enrichment/indexer) features, not Cosmos DB features.

Exam trap

AI-200 often tests whether candidates can separate the operational database role (Cosmos DB: transactions, point reads, JSON documents) from the search index role (Azure AI Search: BM25, semantic ranker, indexers, skillsets), since both now support vector search and the overlap causes confusion.

3
MCQhard

Your team is implementing hybrid search in Azure AI Search combining full-text keyword search and vector search. Users report that certain exact product serial numbers are missing from the semantic ranking results. Which query parameter should you adjust to balance the influence of BM25 text search scores against vector cosine similarity scores?

A.Increasing the efSearch parameter in the index definition.
B.Enabling semantic ranking and providing a semanticConfiguration with targeted weight overrides.
C.Adjusting the top parameter to retrieve a larger candidate pool before RRF combination.
D.Switching the vector similarity metric from cosine to euclidean distance.
AnswerB

Adding a semantic configuration with designated title, content, and keyword fields ensures that exact alphanumeric serial numbers are correctly captured via secondary lexical boosting and reranked properly.

Why this answer

When performing hybrid queries in Azure AI Search, the search engine uses Reciprocal Rank Fusion (RRF) to combine results from text and vector searches. You can influence the weighting or use standard RRF parameters, but adjusting semantic ranking configurations or ensuring proper semantic configuration boosts can address relevance blending. Specifically, adjusting query parameters like semantic configuration or custom scoring profiles allows fine-tuning.

4
MCQhard

You manage an Azure Cosmos DB for NoSQL container that stores product documents with a vector embedding property. You need to query for products similar to a given embedding while also filtering by a category partition key. Which query approach should you use?

A.Use a stored procedure that loads all documents and computes cosine similarity in JavaScript.
B.Use a user-defined function that calls an external Azure AI Search service.
C.Use a SQL query with VectorDistance and a WHERE clause on the partition key.
D.Use the MongoDB API's $vectorSearch aggregation stage.
AnswerC

Cosmos DB for NoSQL supports the VectorDistance function in SQL queries. Combining it with a filter on the partition key restricts the search to a single logical partition, improving performance and reducing RU cost. This is the recommended way to perform vector similarity search with additional filters.

Why this answer

Cosmos DB for NoSQL provides the VectorDistance function for vector similarity search directly in SQL queries. When you also filter on the partition key, the query is scoped to a single logical partition, which optimizes performance and RU consumption. This is the most efficient and supported method for combining vector search with attribute filters.

Exam trap

The trap here is thinking that vector search in Cosmos DB for NoSQL requires external services or custom code, when the native VectorDistance function supports it directly.

5
Multi-Selecthard

You are troubleshooting slow query performance in an enterprise Azure AI Search vector deployment. Which THREE architectural or configuration adjustments can improve query throughput and latency? Choose three.

Select 3 answers
A.Scale out the number of search service replicas
B.Replace all vector fields with standard ASCII folding tokenizers
C.Ensure the search service is deployed on a Standard tier or higher with adequate RAM
D.Tune the efSearch parameter lower to trade off marginal recall for faster search traversal
E.Configure the index to use exhaustive KNN exclusively for high-QPS production workloads
AnswersA, C, D

Adding replicas distributes query load across more nodes, directly raising concurrent query throughput and reducing per-query latency. This satisfies the stem's throughput and latency constraint, since replicas serve read traffic in parallel while the index partition count stays fixed.

Why this answer

Option A is correct because adding replicas to an Azure AI Search service distributes query load across more nodes, directly increasing query throughput (QPS) and reducing per-query latency, since each replica holds a full copy of the index and can serve queries independently. Option C is correct because vector search is memory-intensive: the HNSW graph and vector indexes must reside in RAM, so deploying on Standard tier or higher (rather than Basic/Free, which have limited memory and no vector support at scale) ensures adequate RAM to avoid disk-bound traversal and throttling. Option D is correct because lowering the efSearch parameter reduces the size of the HNSW candidate list explored during query-time traversal, trading a small amount of recall for faster search and lower latency, which is a standard tuning lever for throughput-sensitive vector workloads.

Option B is not correct because ASCII folding tokenizers apply to text/lexical fields, not vector fields, and cannot replace vector embeddings or improve vector similarity search. Option E is not correct because exhaustive KNN scans the entire vector space and is far slower than HNSW approximate search, making it unsuitable for high-QPS production workloads.

Exam trap

The trap is treating exhaustive KNN as a 'more accurate' upgrade for production — candidates pick it thinking accuracy always wins, but the exam tests whether you know exhaustive search destroys QPS and is only appropriate for small indexes or offline evaluation.

6
Multi-Selecthard

You are implementing a robust data layer architecture for an enterprise generative AI application. Which THREE factors should you evaluate when deciding between Azure AI Search and Azure Cosmos DB for vector search? (Choose three)

Select 3 answers
A.Need for automated multi-region replication with single-digit millisecond latency reads
B.Need for advanced full-text search, BM25 ranking, and semantic re-ranking
C.Requirement to run Hadoop MapReduce jobs directly over the vector indexes
D.Requirement to store vector embeddings as relational SQL tables with foreign key constraints
E.Requirement for low-latency transactional CRUD operations alongside vector search
AnswersA, B, E

Cosmos DB natively supports turnkey multi-region replication with single-digit millisecond read latency through its global distribution model. Azure AI Search does not offer equivalent automatic multi-region write replication, so this factor favours Cosmos DB when that latency and replication profile is required.

Why this answer

Option A is correct because Azure Cosmos DB is designed for global distribution with turnkey multi-region replication and single-digit millisecond read/write latencies at the 99th percentile, which is a decisive factor when the vector store must serve globally distributed users; Azure AI Search does not provide the same multi-master, multi-region replication model. Option B is correct because Azure AI Search natively provides full-text search with BM25 ranking, scoring profiles, and semantic re-ranking (semantic ranker/L2 reranking), capabilities that Cosmos DB's vector search does not offer out of the box. Option E is correct because Cosmos DB is a transactional NoSQL database offering low-latency CRUD operations (point reads/writes, optimistic concurrency via ETags) in the same store as vector indexes, which matters when the application must mutate documents and query embeddings together.

Option C is not relevant because neither service runs Hadoop MapReduce jobs directly over vector indexes, and vector search is not a MapReduce workload. Option D is incorrect because Cosmos DB is a NoSQL document database, not a relational engine with SQL tables and foreign key constraints, and Azure AI Search is not relational either.

Exam trap

AI-200 often tests the misconception that either service supports relational or Hadoop-style analytics, when the real decision factors are replication/latency, full-text ranking, and transactional CRUD.

7
MCQmedium

You are configuring vector search in Azure Cosmos DB for NoSQL. You want to ensure that vectors are indexed using the DiskANN algorithm for high recall and fast search performance. Which index type should you specify in the vector embedding policy?

A.faissHNSW
B.diskANN
C.hnsw
D.ivfFlat
AnswerB

Specifying diskANN in the vector embedding policy configures Cosmos DB for NoSQL to build the DiskANN index, which delivers high recall and low-latency approximate nearest-neighbour search. Other index types, such as flat or quantizedFlat, do not provide the same performance at scale.

Why this answer

Azure Cosmos DB for NoSQL supports the DiskANN algorithm for vector indexing, which is specified as `diskANN` in the vector embedding policy. DiskANN is optimized for high recall and low-latency search on large-scale vector datasets, making it the correct choice for the requirement.

Exam trap

AI-200 often tests whether candidates assume that common vector index names like HNSW or IVF are supported in Cosmos DB, but the only supported index type for NoSQL vector search is DiskANN.

How to eliminate wrong answers

Option A is wrong because `faissHNSW` is not a valid index type in Cosmos DB's vector embedding policy; FAISS is a separate library and not an option in Cosmos DB. Option C is wrong because `hnsw` is not a supported index type in Cosmos DB for NoSQL vector search; while HNSW is a common algorithm, Cosmos DB uses DiskANN. Option D is wrong because `ivfFlat` is an inverted file index variant not offered by Cosmos DB's vector search feature.

8
MCQhard

You are managing an Azure Cosmos DB for NoSQL database containing vector embeddings. You need to perform a migration of embeddings from one container to another without taking the application offline. Which Azure feature should you use?

A.Azure Cosmos DB Change Feed processor
B.Azure Data Factory tumbling window triggers over Blob Storage
C.SQL Server Integration Services (SSIS) file import
D.Taking a manual offline portal backup and restoring to a new account
AnswerA

The Change Feed processor streams inserts and updates from the source container in order, letting a separate consumer write embeddings into the target container while the application keeps reading and writing. This satisfies the stem's no-downtime migration requirement without offline export or restore.

Why this answer

The Azure Cosmos DB Change Feed processor provides an ordered, continuous stream of inserts and updates from a source container, which a consumer can read and write into a target container in near real time. This enables online migration of vector embeddings without taking the application offline, since the source container keeps serving reads and writes while the change feed replicates data. It is the canonical pattern for live container-to-container migration in Cosmos DB for NoSQL.

Exam trap

AI-200 often tests whether candidates recognize that 'without taking the application offline' rules out any backup/restore or batch ETL option and points to a streaming, native Cosmos DB mechanism — the Change Feed processor.

How to eliminate wrong answers

Option B is wrong because Azure Data Factory tumbling window triggers over Blob Storage operate on batch schedules against blob data and do not natively stream Cosmos DB container changes, making them unsuitable for a live, low-latency migration. Option C is wrong because SSIS file import is an on-premises/ETL file-based mechanism with no native Cosmos DB change-feed integration and would require offline exports. Option D is wrong because a manual offline portal backup and restore explicitly requires taking the application offline, directly violating the stated requirement.

9
MCQeasy

You need to ensure that your vector data in Azure AI Search is protected at rest. Which setting should you verify?

A.Configure Customer-Managed Keys (CMK) for the search service.
B.Enable TLS 1.3 on the search service.
C.Disable public network access.
D.Enable Always Encrypted on the Cosmos DB container.
AnswerA

Customer-Managed Keys in Azure AI Search encrypt indexes and vector data at rest using a key held in Azure Key Vault, satisfying the requirement for control over encryption keys. Microsoft Entra ID governs access, not encryption, so verifying CMK configuration directly addresses the at-rest protection constraint in the stem.

Why this answer

Customer-Managed Keys (CMK) in Azure AI Search provide encryption at rest for the service's data, including vector indexes, by allowing you to use your own Azure Key Vault key to encrypt the service's internal storage. This ensures that vector data is protected at rest with a key you control, meeting compliance requirements. The other options address in-transit encryption (TLS), network access, or a different service (Cosmos DB), not at-rest encryption for Azure AI Search.

Exam trap

AI-200 often tests the distinction between encryption at rest and in transit, and candidates may confuse network security settings with data encryption, leading them to choose TLS or network restrictions instead of CMK.

How to eliminate wrong answers

Option B is wrong because TLS 1.3 encrypts data in transit between clients and the search service, not data at rest. Option C is wrong because disabling public network access restricts network connectivity but does not encrypt data at rest. Option D is wrong because Always Encrypted is a feature of Azure Cosmos DB that protects data within that database, not Azure AI Search vector data.

10
Multi-Selectmedium

When configuring vector search in Azure AI Search, which TWO components are required to successfully define and execute a vector search query? (Choose two)

Select 2 answers
A.A Cosmos DB container partition key
B.An Azure SQL Server database connection string
C.A vector query payload specifying the query vector and target field
D.A vector field defined in the index schema
E.An HDInsight Hadoop cluster endpoint
AnswersC, D

The query payload carries the query vector and names the target vector field, which the search service needs to compute similarity against indexed vectors. This satisfies the stem's requirement by supplying the input and field reference that execute the vector search.

Why this answer

Option D is correct because Azure AI Search requires the index schema to include a vector field (created with the Collection(Edm.Single) data type and a dimensions value) before any vector search can be performed against it; without a defined vector field there is nothing to query. Option C is correct because executing a vector search requires a query payload that supplies the query vector (for example, "vectorQueries" with "kind": "vector", "vector": [...], and "fields": "<vectorFieldName>") along with the target vector field, which the search engine uses to compute similarity. Options A, B, and E are incorrect because a Cosmos DB partition key, an Azure SQL connection string, and an HDInsight Hadoop endpoint are unrelated to Azure AI Search vector query definition and execution; vector search relies on the search index schema and query payload, not on those external data-store or big-data components.

Exam trap

AI-200 often tests whether candidates conflate indexer prerequisites (data source connection strings) with query-time prerequisites — the trap is picking a database connection string when the question is about executing a vector query, not ingesting data.

11
Multi-Selectmedium

When designing an Azure AI Search index schema, which TWO properties must be defined for every field in the index? (Choose two)

Select 2 answers
A.analyzerName
B.name
C.scoringProfile
D.vectorDimensions
E.type
AnswersB, E

Every field in an Azure AI Search index requires a name, which uniquely identifies it within the schema and is used in queries, filters, and scoring profiles. It is mandatory alongside type; attributes such as searchable, filterable, and retrievable are optional.

Why this answer

Option B (name) is correct because every field in an Azure AI Search index schema requires a unique name that identifies the field within the fields collection, and this name is used in queries, filters, and result documents. Option E (type) is correct because each field must declare an Edm data type (such as Edm.String, Edm.Int32, Edm.Boolean, Edm.DateTimeOffset, or Collection(Edm.String)) so the search engine knows how to index, store, and query the field's values. Option A (analyzerName) is not required for every field; analyzers apply only to searchable string fields and default to the standard Lucene analyzer when omitted.

Option C (scoringProfile) is not a field-level property at all; scoring profiles are defined at the index level to influence relevance ranking. Option D (vectorDimensions) is only required for fields of type Collection(Edm.Single) that participate in vector search, not for every field.

Exam trap

AI-200 often tests whether candidates confuse optional field attributes (analyzer, scoring profile, dimensions) with the two truly mandatory properties — name and type — which must be present on every field regardless of its role.

12
MCQeasy

When designing an Azure AI Search solution, you need to store high-dimensional embeddings. Which field type must be used to store these vector representations correctly?

A.Edm.Double
B.Collection(Edm.Single)
C.Edm.String
D.Collection(Edm.Int32)
AnswerB

Collection(Edm.Single) stores a single-precision float array, which is precisely the vector format Azure AI Search requires for high-dimensional embeddings. It satisfies the stem's constraint that embeddings be stored correctly, since Edm.Single maps to 32-bit floats and the Collection wrapper holds the multiple dimensions each embedding needs.

Why this answer

Azure AI Search stores vector embeddings in fields of type Collection(Edm.Single), which is a collection of single-precision floats. This matches the float32 output of models like text-embedding-ada-002 and is the required type for vector fields. The field must also have a vector search profile and dimensions defined.

Exam trap

AI-200 often tests whether candidates remember the exact EDM type for vectors; many pick Edm.Double or Edm.String by analogy with other data types, missing that Collection(Edm.Single) is required.

How to eliminate wrong answers

Option A is wrong because Edm.Double is a scalar double, not a collection, and Azure AI Search vector fields require a collection type; also double precision is not the supported vector type. Option C is wrong because Edm.String is for text and cannot store numeric vector arrays for vector search. Option D is wrong because Collection(Edm.Int32) stores integers, but embeddings are floating-point values; using int32 would lose precision and is not the supported vector type.

13
Multi-Selectmedium

You are planning a data layer architecture for an AI application on Azure that requires both relational transactional storage and vector search capabilities. Which TWO Azure database services natively support vector data types and similarity search functions? Choose two.

Select 2 answers
A.Azure SQL Database
B.Azure Queue Storage
C.Azure Cosmos DB for NoSQL
D.Azure Table Storage
E.Azure Cache for Redis (Basic tier without modules)
AnswersA, C

Azure SQL Database supports native VECTOR data types and similarity search functions, letting the same relational engine handle transactional workloads and vector queries. This satisfies the requirement for combined relational transactional storage and vector search without a separate dedicated vector store.

Why this answer

Azure SQL Database (A) is correct because it natively supports a VECTOR data type and vector similarity functions such as VECTOR_DISTANCE, enabling cosine and Euclidean similarity search directly in T-SQL alongside relational transactional workloads. Azure Cosmos DB for NoSQL (C) is correct because it provides native vector indexing and vector search (including DiskANN-based indexing) with similarity functions like VectorDistance, so it can store and query embeddings alongside JSON documents. Azure Queue Storage (B) is a simple message-queue service with no data types or query engine, so it cannot store vectors or perform similarity search.

Azure Table Storage (D) is a key-value/NoSQL table store without vector data types or similarity functions. Azure Cache for Redis Basic tier (E) lacks the RediSearch/vector modules, so it cannot perform vector similarity search in that tier.

Exam trap

AI-200 often tests the misconception that any Azure storage service supports vectors, when only specific databases like Azure SQL Database and Cosmos DB for NoSQL have native vector capabilities.

14
Multi-Selecthard

You are designing a secure data layer architecture for financial documents using Azure Cosmos DB for NoSQL and Azure AI Search. Which THREE compliance and security controls should you implement? (Choose three)

Select 3 answers
A.Store all database backup files in unencrypted public blob storage containers
B.Enable diagnostic logging and audit log streaming to Azure Monitor / Log Analytics
C.Disable authentication keys and allow anonymous public access for easy integration
D.Configure Customer-Managed Keys (CMK) using Azure Key Vault for data at rest encryption
E.Restrict network access using Virtual Network service endpoints and private link
AnswersB, D, E

Diagnostic logging and audit log streaming to Azure Monitor or Log Analytics capture control-plane and data-plane operations, providing the audit trail and monitoring evidence required for financial compliance. This satisfies the stem's compliance and security control requirement by making database activity traceable and alertable.

Why this answer

Option B is correct because enabling diagnostic logging and streaming audit logs to Azure Monitor / Log Analytics provides the tamper-evident activity trail and monitoring required for regulatory compliance (e.g., PCI DSS, SOX) on financial document workloads. Option D is correct because configuring Customer-Managed Keys (CMK) via Azure Key Vault gives the organization control over the encryption keys protecting data at rest in Cosmos DB, satisfying requirements for key ownership, rotation, and revocation that Microsoft-managed keys do not meet. Option E is correct because restricting network access with Virtual Network service endpoints and Azure Private Link removes public internet exposure, ensuring only approved private endpoints within the VNet can reach the Cosmos DB and Azure AI Search resources.

Option A is wrong because storing backups in unencrypted public blob containers directly violates encryption-at-rest and access-control mandates. Option C is wrong because disabling authentication keys and allowing anonymous public access eliminates authentication and authorization, which is unacceptable for sensitive financial data.

Exam trap

AI-200 often tests whether candidates recognize that compliance requires encryption, logging, and network isolation together, while distractors offer convenience features (anonymous access, public backups) that are actually severe security violations.

15
MCQeasy

Which Azure AI Search metric or tool helps administrators monitor query volume, latency, and throttling rates across search units?

A.Azure Monitor metrics and diagnostic logs
B.App Service stream logs
C.Azure Storage Explorer
D.Cosmos DB Data Explorer
AnswerA

Azure Monitor metrics expose query volume, latency, and throttling counters per search service and search unit, while diagnostic logs capture detailed operation records. Together they satisfy the stem's monitoring requirement, unlike index statistics or relevance scores, which describe content rather than service health.

Why this answer

Azure Monitor metrics and diagnostic logs are the native observability tools for Azure AI Search, exposing query volume (SearchQueriesPerSecond), latency (SearchLatency), and throttling (ThrottledSearchQueriesPercentage) broken down by search unit. Diagnostic logs can be routed to Log Analytics, Event Hubs, or Storage for deeper analysis of query and indexing operations. These are the only options that directly instrument the search service itself.

Exam trap

AI-200 often tests whether candidates confuse monitoring tools for the search service with monitoring tools for adjacent services (App Service, Storage, Cosmos DB), so pick the option that names Azure Monitor metrics and diagnostic logs explicitly.

How to eliminate wrong answers

Option B is wrong because App Service stream logs only capture logs from Azure App Service web apps and have no visibility into Azure AI Search service internals. Option C is wrong because Azure Storage Explorer is a GUI client for managing blob, file, queue, and table storage — it does not monitor search service metrics. Option D is wrong because Cosmos DB Data Explorer is a query and data-management tool for Cosmos DB containers and provides no telemetry on Azure AI Search query volume, latency, or throttling.

16
Multi-Selectmedium

You are configuring vector search in Azure AI Search for a knowledge mining solution. You need to ensure that the vector search queries return results efficiently and accurately. Which TWO components must be defined in the index schema? (Choose two.)

Select 2 answers
A.A suggester for autocomplete functionality.
B.A scoring profile to boost certain fields.
C.A vector search profile that specifies the algorithm and parameters.
D.A semantic configuration for ranking results.
E.A vector field with dimensions matching the embedding model.
AnswersC, E

A vector search profile defines the algorithm (e.g., HNSW) and its parameters, as well as the similarity metric. It is referenced by the vector field and determines how vector search is executed. Without a profile, the vector field cannot be properly configured for search. This is a required component for vector search in Azure AI Search.

Why this answer

To enable vector search in Azure AI Search, the index must include a vector field that stores the embeddings with the correct dimensions, and a vector search profile that defines the algorithm and parameters. These two components are essential for indexing vectors and executing similarity queries. Other features like semantic ranking or suggesters are optional and not required for basic vector search.

Exam trap

The trap here is confusing optional enhancements like semantic ranking with the core requirements for vector search, which are the vector field and the vector search profile.

17
MCQmedium

You are configuring an Azure AI Search index where text fields are automatically analyzed using language-specific rules. Which property on an Edm.String field specifies the language analyzer (e.g., 'en.microsoft')?

A.tokenizerType
B.languageMapping
C.vectorProfile
D.analyzer
AnswerD

The analyzer property on an Edm.String field names the language analyzer applied at indexing and query time, such as en.microsoft for English linguistic rules. It governs tokenisation, stemming and stop-word handling for that specific field.

Why this answer

In Azure AI Search, the 'analyzer' property on an Edm.String field specifies the language analyzer (e.g., 'en.microsoft', 'fr.lucene') that governs tokenization, stemming, and stop-word removal for that field. Setting it per-field enables language-specific text processing so queries match documents correctly across languages.

Exam trap

AI-200 often tests whether candidates confuse field-level analyzer configuration with tokenizer or vector profile settings, so distractors use plausible-sounding but non-existent property names.

How to eliminate wrong answers

Option A is wrong because tokenizerType is not a field-level property in Azure AI Search; tokenization is configured inside a custom analyzer definition, not directly on the field. Option B is wrong because languageMapping is not a valid Azure AI Search field property — it is a fabricated name. Option C is wrong because vectorProfile is used in vector search configurations to define HNSW/algorithm parameters, not text analyzers.

18
MCQhard

You are configuring vector search on an Azure AI Search index using a custom vectorizer that points to an external embedding endpoint. Which authentication method is recommended and natively supported for securely connecting Azure AI Search to the Azure OpenAI endpoint?

A.Managed Identity (system-assigned or user-assigned)
B.OAuth2 client credentials grant with Azure AD tenant federation
C.Shared Access Signature (SAS) tokens
D.Basic authentication with API keys stored in index metadata
AnswerA

Managed Identity lets Azure AI Search obtain Microsoft Entra ID tokens for the Azure OpenAI endpoint without storing secrets, and the custom vectorizer natively supports this credential. It satisfies the secure connection constraint while avoiding key rotation overhead.

Why this answer

Managed Identity is the recommended and natively supported authentication method for Azure AI Search to securely connect to Azure OpenAI when using a custom vectorizer. It leverages Azure AD to provide an identity for the search service, eliminating the need to manage credentials. The identity is automatically managed by Azure and can be granted permissions to the Azure OpenAI resource, ensuring secure access without storing secrets.

Exam trap

AI-200 often tests the misconception that any OAuth2 flow or API key is acceptable for service-to-service authentication, but the exam expects knowledge that managed identity is the natively supported and recommended method for Azure AI Search to Azure OpenAI connections.

How to eliminate wrong answers

Option B is wrong because OAuth2 client credentials grant with Azure AD tenant federation is not natively supported by Azure AI Search for connecting to Azure OpenAI; it requires manual token acquisition and management, which is not integrated into the vectorizer configuration. Option C is wrong because Shared Access Signature (SAS) tokens are used for delegated access to Azure Storage, not for authenticating to Azure OpenAI endpoints. Option D is wrong because basic authentication with API keys stored in index metadata is insecure and not recommended; API keys are static secrets that can be leaked, and Azure AI Search does not support storing them in index metadata for vectorizer authentication.

19
MCQhard

You are designing a high-availability RAG architecture where search queries must succeed even if an entire Azure region experiences an outage. You deploy Azure AI Search in a primary region and a secondary region. How should client applications handle failover?

A.Hardcode the secondary search IP address in client application configuration files
B.Rely on Cosmos DB automatic failover to replicate search indices
C.Use Azure Traffic Manager or Azure Front Door in front of regional search service endpoints with health probes
D.Configure SQL replication between search indexes
AnswerC

Azure Traffic Manager and Azure Front Door perform DNS or anycast routing with health probes, automatically redirecting client traffic to the secondary Azure AI Search endpoint when the primary region fails. This satisfies the stem's requirement that queries succeed despite a full regional outage, without client-side failover logic.

Why this answer

Azure Traffic Manager and Azure Front Door are the correct global load-balancing services to place in front of regional Azure AI Search endpoints, using health probes to detect regional outages and route client traffic to a healthy secondary region. Traffic Manager operates at the DNS layer with priority or performance routing, while Front Door provides anycast-based Layer 7 routing with faster failover and additional WAF/TLS offload. Both support health probe configuration that automatically removes an unhealthy regional endpoint from rotation.

Exam trap

AI-200 often tests whether candidates understand that Azure AI Search has no built-in cross-region replication, so they mistakenly assume Cosmos DB or SQL replication can replicate search indexes.

How to eliminate wrong answers

Option A is wrong because hardcoding a secondary IP address in client configuration files does not provide automatic failover, requires manual intervention, and breaks when the secondary endpoint's IP changes. Option B is wrong because Cosmos DB automatic failover replicates Cosmos DB data, not Azure AI Search indexes — search indexes are a separate service and are not replicated by Cosmos DB. Option D is wrong because SQL replication is a relational database technology and has no relationship to Azure AI Search index replication; search indexes are not SQL databases.

20
Multi-Selecthard

You are optimizing an enterprise Azure Cosmos DB for NoSQL vector database. Which THREE administrative or architectural practices help ensure high availability and predictable performance? (Choose three)

Select 3 answers
A.Choose a partition key that evenly distributes data and query load across physical partitions
B.Enable multi-region write replication for global low-latency availability
C.Store all documents in a single partition without a partition key
D.Disable automatic indexing entirely across all properties
E.Provision adequate Request Units (RUs) or configure autoscale throughput
AnswersA, B, E

A well-chosen partition key spreads items and RU consumption evenly across physical partitions, preventing hot partitions that throttle requests and cause unpredictable latency. Even distribution is the foundational requirement for predictable performance and availability in Azure Cosmos DB for NoSQL vector workloads.

Why this answer

Option A is correct because a well-chosen partition key that evenly distributes data and query load across physical partitions prevents hot partitions, which is essential for predictable performance and scalability in Cosmos DB for NoSQL. Option B is correct because enabling multi-region write replication (multi-master) provides global low-latency writes and improves availability by allowing the account to continue serving requests even if a region becomes unavailable. Option E is correct because provisioning adequate Request Units (RUs) or configuring autoscale throughput ensures the database has enough throughput capacity to handle workload demands, preventing throttling (429 errors) and maintaining predictable performance.

Option C is incorrect because storing all documents in a single logical partition without a partition key creates a hot partition and limits scalability, harming both availability and performance. Option D is incorrect because disabling automatic indexing entirely removes the default indexing policy that supports efficient queries, which would degrade query performance rather than improve it.

Exam trap

The trap is thinking 'no partition key' simplifies design; in Cosmos DB it creates a single hot partition and is a classic anti-pattern, while the exam rewards even distribution, multi-region writes, and proper RU provisioning.

21
MCQeasy

Which Azure AI Search capability allows you to extract text from images and PDF documents during indexer execution using AI cognitive skills?

A.Semantic configurations
B.Scoring profiles
C.Skillsets
D.Vector profiles
AnswerC

A skillset defines the AI enrichment pipeline an indexer runs on each document: OCR to read printed and handwritten text in images, including images inside PDFs, text merge to combine it with the document's own text, plus skills such as language detection, entity recognition, key phrase extraction, text splitting and embedding generation. The indexer needs image extraction enabled for OCR to receive images.

Why this answer

Skillsets in Azure AI Search define a pipeline of cognitive skills (such as OCR, image analysis, entity recognition, and text translation) that run during indexer execution to enrich content. To extract text from images and PDFs, you attach a skillset to the indexer, and skills like OCR or Document Extraction process the content. Semantic configurations, scoring profiles, and vector profiles do not perform content extraction.

Exam trap

AI-200 often tests whether candidates confuse query-time features (semantic configurations, scoring profiles) with index-time enrichment (skillsets) for OCR and document extraction.

How to eliminate wrong answers

Option A is wrong because semantic configurations enable semantic ranking (L1/L2 reranking) on query results, not content extraction during indexing. Option B is wrong because scoring profiles customize relevance scoring (boosting by field, freshness, etc.) and do not extract text. Option D is wrong because vector profiles define vector search algorithms and compression (e.g., HNSW, scalar quantization) and do not perform OCR or document extraction.

22
MCQmedium

You are designing an application that stores vector embeddings in Azure Cosmos DB for NoSQL. You want to ensure that vectors are stored securely and that all data at rest is encrypted using customer-managed keys (CMK). How is this achieved in Cosmos DB?

A.Enable encryption inside the vector embedding policy JSON definition
B.Encrypt each individual vector array in client application code before inserting
C.Store vectors in Azure Blob Storage with a CMK policy
D.Configure customer-managed keys (CMK) at the Azure Cosmos DB account level referencing Azure Key Vault
AnswerD

Cosmos DB customer-managed keys are configured at the account level, wrapping the account's encryption key with a key held in Azure Key Vault. This satisfies the stem's requirement that all data at rest, including vector embeddings, is encrypted under CMK.

Why this answer

Customer-managed keys (CMK) for Azure Cosmos DB are configured at the account level, referencing an Azure Key Vault. This enables encryption of all data at rest, including vector embeddings, with keys managed by the customer. This is the correct and only way to achieve CMK encryption for Cosmos DB.

Exam trap

AI-200 often tests the misconception that encryption can be configured per vector or in the embedding policy, when in fact CMK is an account-level setting; candidates may confuse client-side encryption with native CMK.

How to eliminate wrong answers

Option A is wrong because the vector embedding policy JSON definition does not include encryption settings; it defines how vectors are generated and indexed. Option B is wrong because encrypting individual vector arrays in client code is application-level encryption, not the same as CMK for data at rest, and does not leverage Azure's native encryption. Option C is wrong because storing vectors in Azure Blob Storage with CMK is a different service and does not apply to Cosmos DB; the question specifies Cosmos DB for NoSQL.

23
MCQeasy

Which Azure service provides a fully managed NoSQL database with native vector search capabilities and turnkey multi-region replication?

A.Azure Table Storage
B.Azure Blob Storage
C.Azure Cosmos DB
D.Azure SQL Database
AnswerC

Azure Cosmos DB is a fully managed NoSQL database offering native vector search and turnkey multi-region replication, so it satisfies both constraints in the stem without additional infrastructure. Its vector indexing integrates directly with the core database engine rather than requiring a separate search service.

Why this answer

Azure Cosmos DB is Microsoft's globally distributed, multi-model NoSQL database service that natively supports vector search through its integrated vector indexing and querying capabilities. It offers turnkey multi-region replication with configurable consistency levels and single-digit millisecond latency at the 99th percentile. The native vector search feature allows storing and querying high-dimensional embeddings directly alongside JSON documents without a separate vector store.

Exam trap

AI-200 often tests the distinction between services that merely store data (Blob, Table) and those that provide a queryable database engine with native vector indexing, so candidates confuse 'storage' with 'database with vector search'.

How to eliminate wrong answers

Option A is wrong because Azure Table Storage is a simple key-attribute NoSQL store that lacks vector search capabilities and only supports basic single-region or manually configured geo-redundant storage without turnkey multi-region writes. Option B is wrong because Azure Blob Storage is object storage for unstructured data and does not provide a queryable NoSQL database engine or native vector search. Option D is wrong because Azure SQL Database is a relational database that supports vector data types via preview features but is not a NoSQL service and does not offer turnkey multi-region write replication.

24
Multi-Selecthard

You are designing an enterprise search architecture on Azure that requires hybrid search capabilities. Which THREE components or features must be configured to successfully execute a hybrid query with semantic ranking in Azure AI Search? (Choose three)

Select 3 answers
A.Azure Blob Storage configured as an external data source
B.A searchable Edm.String text field for keyword matching
C.A vector field defined with Edm.SingleCollection and a vector profile
D.An Azure Functions application for manual score merging
E.A semantic configuration defined on the index
AnswersB, C, E

Hybrid queries need a searchable Edm.String field so BM25 keyword matching can run alongside vector similarity. Without it, only the vector half executes, so the keyword leg of the hybrid query and its semantic reranking input are missing.

Why this answer

Option B is correct because hybrid search always includes a keyword (full-text) component, which requires at least one searchable Edm.String field in the index so the query can perform BM25-scored term matching via the inverted index. Option C is correct because the vector half of a hybrid query needs a vector field of type Collection(Edm.Single) (Edm.SingleCollection) plus an attached vector profile (with HNSW or exhaustive KNN algorithm and a vectorizer if integrated vectorization is used) so the query engine can run the approximate nearest neighbor search. Option E is correct because semantic ranking is not automatic — it requires a semanticConfiguration defined on the index (specifying title, content, and keyword priority fields) that is referenced in the query's semanticSearch settings to invoke the L2 semantic reranker.

Option A is not required: Azure Blob Storage is only an optional data source for indexers/pull-based ingestion, and hybrid queries can run against any populated index regardless of origin. Option D is not required: Azure AI Search natively performs reciprocal rank fusion (RRF) to merge keyword and vector scores internally, so no external Azure Functions score-merging logic is needed.

Exam trap

AI-200 often tests whether candidates confuse ingestion components (blob data sources, indexers) with query-time components (text field, vector field, semantic config) — only the latter are required to execute a hybrid semantic query.

25
MCQmedium

You are integrating Azure OpenAI Service's text-embedding-ada-002 model with Azure AI Search. You want to automate the generation of embeddings directly inside the search service during data ingestion. Which component of Azure AI Search should you configure?

A.Semantic ranker configuration profile
B.Azure AI Search Indexer with integrated vectorization
C.Azure Function scheduled trigger for batch updates
D.Custom Web API skill in Azure AI Services enrichment pipeline
AnswerB

An indexer with integrated vectorization invokes the embedding model during ingestion, chunking and vectorising documents automatically. This satisfies the requirement to generate embeddings inside the search service, rather than pushing vectors from an external application.

Why this answer

Azure AI Search's indexer with integrated vectorization natively invokes an embedding model (such as Azure OpenAI's text-embedding-ada-002) during the enrichment pipeline, so vectors are generated and written to the index automatically at ingestion time. This removes the need for external code to pre-compute embeddings and push them into the index. Configuring the indexer's vectorizer and embedding skill is the supported, first-party mechanism for this automation.

Exam trap

AI-200 often tests whether candidates confuse query-time features (semantic ranker, vectorizers) with ingestion-time automation (indexers with integrated vectorization), causing them to pick the semantic ranker option.

How to eliminate wrong answers

Option A is wrong because the semantic ranker only re-orders an existing result set using deep-learning models at query time; it does not generate embeddings during ingestion. Option C is wrong because an Azure Function scheduled trigger is an external, custom orchestration approach that requires you to write and maintain code to call Azure OpenAI and push vectors, rather than using the search service's built-in automation. Option D is wrong because a Custom Web API skill calls an external endpoint for enrichment but is not the purpose-built integrated vectorization feature; it adds latency, cost, and custom code where the indexer's native vectorizer suffices.

26
MCQeasy

You are storing vector embeddings generated by Azure OpenAI in Azure Cosmos DB for NoSQL. Which built-in SQL function must you use within your query to compute vector distance when executing a similarity search?

A.EmbeddingDistance()
B.GetVectorDistance()
C.VectorDistance()
D.CosineSimilarity()
AnswerC

VectorDistance() is the built-in Cosmos DB for NoSQL function that computes cosine, dot product or Euclidean distance between stored vectors and a query vector, satisfying the similarity-search requirement. No other native SQL function performs vector maths, so it is mandatory for ranking embeddings.

Why this answer

Azure Cosmos DB for NoSQL exposes the built-in VectorDistance() function, which computes the distance between a stored vector and a query vector using the configured distance function (cosine, dot product, or Euclidean). It is used in the ORDER BY clause of a query to return the nearest neighbors. This is the only correct built-in function name for vector similarity in Cosmos DB for NoSQL.

Exam trap

The trap here is that candidates recall generic vector terminology like 'cosine similarity' and pick CosineSimilarity(), not realizing Cosmos DB exposes a single VectorDistance() function whose metric is configured separately.

How to eliminate wrong answers

Option A is wrong because EmbeddingDistance() is not a Cosmos DB SQL function; it is a fabricated name that resembles other vector APIs. Option B is wrong because GetVectorDistance() does not exist in the Cosmos DB SQL grammar; the correct prefix is Vector, not GetVector. Option D is wrong because CosineSimilarity() is not a built-in Cosmos DB function — cosine is a distance metric selected in the vector policy, not a callable SQL function.

27
MCQhard

You are building an AI search solution in Azure AI Search. You need to ensure that when documents are deleted from the primary database, they are also automatically removed from the search index without requiring manual API calls. How should you configure the indexer?

A.Write a custom Azure Function triggered by every delete event to issue an HTTP DELETE to the search index
B.Configure a soft-delete policy on the indexer referencing a deletion tracking column or flag in the data source
C.Re-create the entire search index from scratch daily
D.Set the index retention policy to auto-purge every 24 hours
AnswerB

A soft-delete policy detects deletions via a designated tracking column or flag in the source data, so the indexer removes corresponding documents from the index automatically during scheduled runs, satisfying the requirement for no manual API calls.

Why this answer

Configuring a soft-delete policy on the indexer referencing a deletion tracking column or flag in the data source allows Azure AI Search to automatically detect and remove documents from the index when they are deleted or marked as deleted in the source. This is the native, automated way to handle deletions without manual API calls.

Exam trap

AI-200 often tests the misconception that manual API calls or custom code are needed for deletions, when in fact soft-delete policies provide automated deletion detection; candidates may overlook this built-in feature.

How to eliminate wrong answers

Option A is wrong because writing a custom Azure Function is a manual, code-heavy approach that requires additional infrastructure and is not the built-in method; it also may not be reliable or scalable. Option C is wrong because re-creating the entire search index daily is inefficient, causes downtime, and does not specifically handle deletions. Option D is wrong because there is no index retention policy that auto-purges every 24 hours in Azure AI Search; this is not a feature.

28
MCQmedium

You are building a chat application with memory using Azure AI Search. You want to retrieve previous conversation turns that are semantically similar to the current user prompt. What search mode should you use if you want to execute both a vector search and a keyword search simultaneously and combine their results?

A.Exhaustive k-NN search
B.Wildcard search
C.Hybrid search
D.Fuzzy search only
AnswerC

Hybrid search runs vector and keyword queries in parallel and merges the result sets using reciprocal rank fusion. That satisfies the requirement to combine semantic similarity with lexical matching in a single query against Azure AI Search, improving recall over either mode alone.

Why this answer

Hybrid search in Azure AI Search runs a vector (k-NN) query and a keyword (BM25) query in parallel against the same index, then merges the two result sets using Reciprocal Rank Fusion (RRF) to produce a single ranked list. This is exactly what the scenario requires: semantic similarity from embeddings plus lexical precision from keyword matching. It is the recommended default for chat-with-memory and RAG patterns because it captures both conceptual and exact-term matches.

Exam trap

AI-200 often tests the assumption that 'vector search' and 'hybrid search' are interchangeable — candidates pick exhaustive k-NN thinking it combines modes, when only hybrid search actually fuses vector and keyword results via RRF.

How to eliminate wrong answers

Option A is wrong because exhaustive k-NN only performs brute-force vector comparison over the entire vector space — it is a vector-only mode and does not execute keyword search or fuse results. Option B is wrong because wildcard search is a lexical query feature (e.g., 'eng*') that expands term matching in the inverted index; it has nothing to do with vector similarity or hybrid ranking. Option D is wrong because fuzzy search only handles lexical misspellings/typos via edit-distance expansion and does not perform vector search or RRF fusion.

29
MCQeasy

Which distance metric in Azure Cosmos DB vector search calculates the shortest straight-line segment between two points in a multi-dimensional space?

A.dotproduct
B.hamming
C.cosine
D.euclidean
AnswerD

Euclidean distance measures the straight-line (L2) separation between two vectors in multi-dimensional space, matching the stem's requirement precisely. Cosmos DB offers it alongside cosine and dot product, so selecting euclidean satisfies the shortest straight-line segment criterion.

Why this answer

Euclidean distance (D) measures the straight-line (L2) distance between two vectors in multi-dimensional space, computed as the square root of the sum of squared differences across dimensions. It is the metric that literally corresponds to the geometric 'shortest straight-line segment' between two points, making it the correct answer for Cosmos DB vector search.

Exam trap

AI-200 often tests the confusion between distance metrics — candidates must know that euclidean is the literal straight-line L2 distance, while cosine measures angle and dotproduct measures projection.

How to eliminate wrong answers

Option A is wrong because dotproduct (inner product) measures the projection/alignment of one vector onto another and is sensitive to vector magnitude — it is not a straight-line distance and can be negative. Option B is wrong because hamming distance counts the number of differing positions between two equal-length strings or binary vectors, not a geometric distance in continuous multi-dimensional space. Option C is wrong because cosine similarity measures the angle between vectors (direction only, ignoring magnitude), not the straight-line segment separating them.

30
Multi-Selectmedium

When configuring vector search in Azure AI Search, which TWO components are defined within the vectorSearch object of an index definition? (Choose two)

Select 2 answers
A.sqlPartitionKey
B.storageAccountConnectionString
C.algorithms
D.profiles
E.cosmosContainerName
AnswersC, D

The algorithms array sits inside the vectorSearch object and defines the approximate nearest neighbour method, such as HNSW or exhaustive KNN, that vector profiles reference. It satisfies the stem's requirement by being one of the two components configured directly within vectorSearch.

Why this answer

Option C (algorithms) is correct because the vectorSearch object in an Azure AI Search index definition contains an algorithms array where you configure the approximate nearest neighbor (ANN) algorithm used for vector indexing, such as HNSW (with parameters like m, efConstruction, efSearch) or exhaustive KNN. Option D (profiles) is correct because the same vectorSearch object contains a profiles array that defines named vector search profiles, each combining an algorithm configuration with a vectorizer, which fields then reference via their vectorSearchProfile property. Options A (sqlPartitionKey), B (storageAccountConnectionString), and E (cosmosContainerName) are incorrect because they are not properties of the vectorSearch object; they relate to data source or indexer configuration for external data stores (e.g., Azure SQL or Cosmos DB), not to vector search configuration within an index definition.

Exam trap

AI-200 often tests the confusion between index-level vector configuration (algorithms, profiles) and data source properties (sqlPartitionKey, storageAccountConnectionString, cosmosContainerName), causing candidates to incorrectly select data source elements as part of vectorSearch.

31
MCQmedium

You are using Azure OpenAI Service to generate embeddings for your documents before storing them in Azure Cosmos DB for NoSQL. The embedding model outputs vectors with a length of 1536. When defining the vector embedding policy in Cosmos DB, what value should you specify for the dimensions property?

A.3072
B.1536
C.512
D.768
AnswerB

The dimensions property must match the embedding model's output vector length exactly, since Cosmos DB validates every stored vector against this declared size. Specifying 1536 aligns the policy with the model's fixed 1536-dimension output, ensuring embeddings are accepted and vector search queries return correct results.

Why this answer

The dimensions property in Cosmos DB's vector embedding policy must match the exact length of the vectors produced by the embedding model. Since the Azure OpenAI embedding model outputs 1536-dimensional vectors, you must specify 1536. Mismatched dimensions cause indexing failures or query errors.

Exam trap

AI-200 often tests the assumption that dimensions can be arbitrary or that larger is better — the trap is not matching the dimensions exactly to the embedding model's output, which causes silent indexing failures.

How to eliminate wrong answers

Option A is wrong because 3072 corresponds to larger models like text-embedding-3-large, not the model described. Option C is wrong because 512 is not a standard dimension for Azure OpenAI embedding models. Option D is wrong because 768 is typical of some open-source models (e.g., BERT-based), not the Azure OpenAI model outputting 1536.

32
MCQeasy

Which tool in Azure Portal allows you to test search queries, inspect index schemas, and view JSON responses for Azure AI Search?

A.Metrics Advisor
B.Data Explorer
C.Log Analytics
D.Search explorer
AnswerD

Search explorer in the Azure portal lets you submit queries against an index, inspect its field schema, and view raw JSON responses, directly satisfying the need to test queries and examine index structure for Azure AI Search.

Why this answer

Search explorer is the built-in query console in the Azure portal for Azure AI Search. It lets you submit simple, full, or Lucene queries against a selected index, inspect the index schema (fields, attributes, analyzers), and view the raw JSON response documents returned by the service. This makes it the correct tool for testing search queries and validating index behavior directly from the portal.

Exam trap

AI-200 often tests whether candidates can distinguish Azure AI Search's own tooling (Search explorer, Import data wizard) from unrelated Azure monitoring and analytics services like Log Analytics, Metrics Advisor, and Data Explorer.

How to eliminate wrong answers

Option A is wrong because Metrics Advisor is an AIOps/anomaly-detection service for time-series monitoring data, not a search index query tool. Option B is wrong because Data Explorer in the Azure portal is associated with services like Azure Data Explorer (Kusto) and Log Analytics query experiences, not Azure AI Search index testing. Option C is wrong because Log Analytics is a monitoring service that stores and queries log/telemetry data using KQL, and has no role in querying Azure AI Search indexes.

33
MCQmedium

You are writing a query in Azure Cosmos DB for NoSQL that sorts results by vector similarity and also filters results by a category property. How must you order the clauses in your SQL statement?

A.The WHERE clause must come before the ORDER BY VectorDistance() clause
B.VectorDistance must be placed in the SELECT clause instead of ORDER BY
C.WHERE and ORDER BY clauses cannot be used in the same query when using vectors
D.The ORDER BY clause must come before the WHERE clause
AnswerA

Placing WHERE before ORDER BY VectorDistance() satisfies the stem's requirement to filter by category and then rank by similarity. Cosmos DB evaluates the filter first, reducing the candidate set, then computes vector distance for ordering. Reversing them would attempt sorting before filtering, which the SQL grammar rejects.

Why this answer

In Azure Cosmos DB for NoSQL, SQL clause order is fixed: SELECT, FROM, WHERE, ORDER BY. When using VectorDistance() in ORDER BY, the WHERE clause must still appear before ORDER BY, so filtering by category happens first and then results are sorted by vector similarity. This is standard SQL clause ordering, not a vector-specific exception.

Exam trap

The trap is thinking vector queries have special syntax rules that override standard SQL clause order — candidates may pick 'ORDER BY before WHERE' or assume the clauses cannot coexist.

How to eliminate wrong answers

Option B is wrong because VectorDistance() in the SELECT clause would compute the distance but not sort by it — you need ORDER BY to rank results by similarity. Option C is wrong because WHERE and ORDER BY can absolutely be combined with vector queries; the restriction is only on clause order. Option D is wrong because placing ORDER BY before WHERE violates SQL syntax and would produce a parse error.

34
MCQeasy

In Azure Cosmos DB for NoSQL, which property in the container definition specifies the path to the property containing the vector array within each document?

A.path
B.propertyLocation
C.field
D.jsonPath
AnswerA

Within the vector embedding policy, the path property names the document field holding the vector array, for example /embedding. Cosmos DB reads that JSON pointer to index the vector, so queries can perform similarity search against it.

Why this answer

In Azure Cosmos DB for NoSQL, the vector embedding policy is defined inside the container's vectorEmbeddingPolicy, and each vector path is declared using the 'path' property, which points to the JSON property in each document that holds the vector array (for example, /embedding). This 'path' value is what the query engine uses to locate the vector for VectorDistance() operations. The other names are not part of the Cosmos DB vector schema.

Exam trap

AI-200 often tests whether candidates confuse the Cosmos DB vector policy field name 'path' with generic JSONPath or property-location terminology from other Azure services.

How to eliminate wrong answers

Option B is wrong because 'propertyLocation' is not a valid Cosmos DB vector policy field — the actual field is 'path'. Option C is wrong because 'field' is not used in the vector embedding policy schema; Cosmos DB uses 'path' with a leading slash. Option D is wrong because 'jsonPath' is a JSONPath terminology used in other systems (and in some Cosmos DB contexts), but the vector embedding policy specifically uses 'path', not 'jsonPath'.

35
MCQmedium

You are building a RAG solution on Azure AI Search. Documents and their embeddings are updated frequently, and you need the vector index to reflect changes within seconds without rebuilding the entire index. Which indexer behavior should you configure?

A.Use a custom skill that writes embeddings directly to the index bypassing the indexer pipeline.
B.Enable incremental enrichment and run the indexer on a schedule with change detection policies.
C.Set the indexer to run once manually after each document update via the Azure portal.
D.Recreate the vector index and re-upload all embeddings whenever a document changes.
AnswerB

Incremental enrichment allows the indexer to process only documents that have changed since the last run, and change detection policies (such as high water mark or soft delete) ensure that updates and deletions are picked up efficiently. This avoids full rebuilds and keeps the vector index synchronized with source data on a recurring schedule, meeting the near-real-time requirement.

Why this answer

Incremental enrichment combined with change detection policies allows the indexer to identify and process only modified or deleted documents, updating the vector index efficiently. Scheduling the indexer ensures periodic synchronization without full rebuilds. This is the recommended approach for RAG pipelines that need fresh embeddings with minimal latency and resource consumption.

Exam trap

The trap here is assuming that any indexer run will automatically detect changes, when change detection policies must be explicitly configured to avoid full reindexing.

36
MCQmedium

You are writing a Python application using the Azure Cosmos DB Python SDK to perform a vector search. You execute a parameterized SQL query containing VectorDistance(). What must be passed as a query parameter for the VectorDistance function to evaluate correctly against the container's vector property?

A.A base64 encoded string of the text
B.A connection string to Azure OpenAI Service
C.A Python list of float values representing the query embedding
D.A file path pointing to a local .npy numpy file
AnswerC

VectorDistance expects the query embedding as a JSON array of numbers, so the SDK parameter must be a Python list of floats; passing a string or tuple fails to serialise into the numeric array the function compares against the stored vector.

Why this answer

VectorDistance() in the Cosmos DB Python SDK expects the query embedding as a native array of floats, which the SDK serializes to the JSON array the server compares against the stored vector property. Passing a Python list of floats (C) is the correct and only supported form for the parameter. The function then computes cosine, dot product, or Euclidean distance per the container's vector policy.

Exam trap

AI-200 often tests the misconception that embeddings can be passed as encoded strings or file references, when the SDK requires a plain list of floats matching the container's vector policy.

How to eliminate wrong answers

Option A is wrong because base64 encoding is a transport encoding, not a numeric vector; the server cannot compute distance over an encoded string. Option B is wrong because a connection string is a credential, not embedding data, and is irrelevant to the query parameter. Option D is wrong because a file path is a client-side reference; the SDK does not read .npy files, and the server never sees local paths.

37
Multi-Selecthard

You are designing a high-scale vector search architecture using Azure AI Search. Which THREE operational and architectural best practices should you follow to ensure optimal performance and cost-efficiency? (Choose three)

Select 3 answers
A.Balance replica and partition counts based on your query throughput and index size requirements
B.Store all raw PDF files inside the vector float32 array fields
C.Use scalar quantization to reduce memory footprint and improve HNSW search throughput
D.Monitor search unit resource utilization (CPU, memory, storage) using Azure Monitor
E.Deploy all indexes on the Free tier to eliminate infrastructure costs
AnswersA, C, D

Replicas serve query throughput and partitions divide index storage; mismatching them wastes cost or throttles queries. Sizing both against measured query load and index size satisfies the optimal performance and cost-efficiency constraint for high-scale vector search in Azure AI Search.

Why this answer

Option A is correct because Azure AI Search scales along two independent dimensions: replicas provide query throughput and high availability, while partitions provide index storage and write parallelism, so right-sizing both to your QPS and index size is the core capacity-planning practice. Option C is correct because scalar quantization compresses float32 vectors to narrower types (for example int8), cutting memory usage and speeding up HNSW graph traversal with only modest recall loss, which improves cost-efficiency at high scale. Option D is correct because Azure Monitor exposes search unit metrics such as CPU, memory, and storage utilization, letting you detect saturation and resize replicas or partitions before performance degrades.

Option B is wrong because vector fields hold numeric embeddings, not raw PDF binaries, which belong in blob storage or a separate content field. Option E is wrong because the Free tier has no SLA, tiny storage and index limits, and cannot support a high-scale production workload.

Exam trap

The trap is treating the Free tier or raw document storage as viable for high-scale vector search; the exam expects you to know that replicas/partitions, quantization, and monitoring are the levers for performance and cost.

38
MCQmedium

You are writing a Python script to query an Azure AI Search index using the azure-search-documents SDK. You want to retrieve both vector matches and keyword matches using hybrid search. Which class should you instantiate to represent the vector query?

A.EmbeddingQueryClient
B.HnswSearchRequest
C.CosmosVectorSearch
D.VectorizedQuery
AnswerD

VectorizedQuery carries the query vector and k-nearest-neighbours parameters for the search client, enabling hybrid retrieval alongside keyword search text. This satisfies the requirement to represent the vector portion of a hybrid query in the azure-search-documents SDK.

Why this answer

In the azure-search-documents Python SDK, a vector query is represented by the VectorizedQuery class, which holds the embedding vector, the k-nearest-neighbors count, and the fields to search. You pass a list of VectorizedQuery objects to the search client's search method alongside a keyword query string to perform hybrid search. This class is the SDK's canonical representation of a vector query payload.

Exam trap

AI-200 often tests whether candidates know the exact SDK class names — distractors like HnswSearchRequest sound plausible because HNSW is a real Azure AI Search algorithm, but it is an index configuration, not a query class.

How to eliminate wrong answers

Option A is wrong because EmbeddingQueryClient is not a class in the azure-search-documents SDK — embeddings are generated externally (e.g., via Azure OpenAI) and supplied as vectors. Option B is wrong because HnswSearchRequest is not a real SDK class; HNSW is the approximate nearest neighbor algorithm configured in the index, not a query request type. Option C is wrong because CosmosVectorSearch is not part of the Azure AI Search SDK — it conflates Azure Cosmos DB vector search with Azure AI Search.

39
MCQmedium

You are designing an AI search architecture that requires handling millions of documents with sub-second vector similarity queries. You choose Azure AI Search. How does Azure AI Search ensure high query throughput for vector indexes?

A.By caching every possible query result indefinitely in memory
B.By executing sequential full table scans across all storage nodes simultaneously
C.By utilizing HNSW approximate nearest neighbor indexing combined with multi-replica scale-out
D.By converting all vectors into relational database tables with SQL foreign keys
AnswerC

HNSW provides approximate nearest neighbour search, trading exact recall for logarithmic query latency, while multiple replicas distribute query load across partitions. Together they satisfy the sub-second latency requirement at millions-of-documents scale, since a single replica could not sustain that throughput.

Why this answer

Azure AI Search ensures high query throughput for vector indexes by using HNSW approximate nearest neighbor indexing, which builds a navigable graph for fast similarity search, combined with multi-replica scale-out that distributes query load across replicas. This architecture supports sub-second queries over millions of documents.

Exam trap

AI-200 often tests the misconception that vector search uses brute-force scans or relational tables; candidates must recognize HNSW and replica scale-out as the correct mechanisms.

How to eliminate wrong answers

Option A is wrong because caching every possible query result indefinitely is infeasible and not how Azure AI Search works; it uses caching selectively, not for all queries. Option B is wrong because sequential full table scans are the opposite of efficient vector search; HNSW avoids full scans. Option D is wrong because converting vectors to relational tables with foreign keys does not support vector similarity search and would be extremely inefficient.

40
MCQhard

You are designing an AI architecture that stores vector embeddings in Azure Cosmos DB for NoSQL. You need to implement role-based access control (RBAC) so that specific application microservices can only execute read-only queries against the database without having permission to write or delete documents. How should you configure this?

A.Configure Azure Blob Storage RBAC permissions on the Cosmos DB container
B.Share the primary master master-key with all microservices
C.Create a custom SQL role definition with read-only data actions and assign it to the microservice's managed identity
D.Disable authentication on the Cosmos DB account during query execution
AnswerC

A custom SQL role definition scoped to read-only data actions, assigned to the microservice's managed identity, grants query access without write or delete permissions. This enforces least privilege for Microsoft Entra ID-backed authentication in Azure Cosmos DB for NoSQL.

Why this answer

Azure Cosmos DB for NoSQL has a native RBAC system built on SQL role definitions and role assignments. A custom role definition can be scoped to specific data-plane actions such as 'Microsoft.DocumentDB/databaseAccounts/readMetadata' and 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read', granting read-only access. Assigning that role to the microservice's managed identity enforces least privilege without exposing keys.

Exam trap

AI-200 often tests the misconception that Cosmos DB access control is done through Azure RBAC or shared keys, when data-plane read/write scoping actually requires SQL role definitions and role assignments.

How to eliminate wrong answers

Option A is wrong because Azure Blob Storage RBAC governs blob containers, not Cosmos DB data-plane operations, and cannot grant or restrict SQL query permissions. Option B is wrong because the primary master key grants full control-plane and data-plane access, so sharing it violates least privilege and cannot be scoped to read-only. Option D is wrong because disabling authentication removes all access control and exposes the account to anonymous access, which is never a valid RBAC configuration.

41
Multi-Selecthard

You are designing a secure enterprise generative AI platform using Azure AI Search and Azure OpenAI. Which THREE security practices should you implement to protect sensitive data and access? (Choose three)

Select 3 answers
A.Implement Azure RBAC to restrict index management and data query permissions
B.Use Microsoft Entra ID managed identities for secure authentication between services
C.Disable transport layer security (TLS) to speed up embedding transmission
D.Store all API keys in plain text configuration files on public web servers
E.Configure Azure Private Endpoints for the Azure AI Search and Azure OpenAI services
AnswersA, B, E

Azure RBAC provides fine-grained role assignments separating index management from data query permissions, enforcing least privilege. This directly satisfies the stem's requirement to restrict who can administer indexes versus query data, protecting sensitive content in the generative AI platform.

Why this answer

Option A is correct because Azure RBAC provides fine-grained authorization over Azure AI Search, allowing you to separate roles such as Search Service Contributor (index management) from Search Index Data Reader/Contributor (query and data access), enforcing least privilege on sensitive indexes. Option B is correct because Microsoft Entra ID managed identities let Azure services authenticate to Azure OpenAI and Azure AI Search without embedding credentials, eliminating secret sprawl and enabling token-based access that can be scoped and audited. Option E is correct because Azure Private Endpoints assign private IP addresses from your VNet to Azure AI Search and Azure OpenAI, keeping traffic on the Microsoft backbone and blocking public internet exposure of these services.

Option C is wrong because disabling TLS would expose embedding payloads and queries to interception; TLS 1.2+ must remain enforced. Option D is wrong because storing API keys in plain text on public web servers directly exposes credentials, violating secret-management best practices such as Azure Key Vault or managed identities.

Exam trap

AI-200 often tests whether candidates recognize obvious security anti-patterns (plain text keys, disabled TLS) as distractors; the trap is picking a plausible-sounding but insecure option.

42
MCQmedium

You are designing the data architecture for an AI-powered document search application. You choose Azure AI Search because you need multi-lingual support, faceted navigation, and vector search. What is the maximum number of vector fields allowed per index in Azure AI Search?

A.Exactly one vector field per index
B.A maximum of two vector fields
C.Multiple vector fields are supported per index
D.Vector fields are not supported in Azure AI Search
AnswerC

Azure AI Search indexes permit many vector fields, each with its own dimensions, algorithm and profile, so a single index can hold multiple embeddings. This supports the multi-lingual, faceted and vector search requirements without splitting data across indexes.

Why this answer

Azure AI Search supports multiple vector fields per index, allowing you to store and query different embeddings (e.g., text, image, or multi-model vectors) within the same index. Each vector field is defined with its own dimensions and similarity metric, and you can target specific fields in vector queries. This flexibility is essential for hybrid and multi-modal search scenarios.

Exam trap

AI-200 often tests assumed limitations, tricking candidates who believe vector search is restricted to one field per index when Azure AI Search actually supports many.

How to eliminate wrong answers

Option A is wrong because Azure AI Search does not restrict indexes to a single vector field — that limitation does not exist in the service. Option B is wrong because there is no hard cap of two vector fields; the actual limit is much higher (up to 1024 fields per index, with vector fields counting toward that). Option D is wrong because vector search is a core, generally available feature of Azure AI Search, not an unsupported capability.

43
MCQhard

You are designing a multi-tenant enterprise RAG system using Azure AI Search. Each tenant requires isolated document retrieval. Which feature should you implement to enforce data security while leveraging vector search?

A.Role-Based Access Control (RBAC) at the index level
B.Dedicated search services per tenant without filters
C.Security trimming using OData filter expressions with vector queries
D.Semantic ranker query throttling
AnswerC

Security trimming applies OData filter expressions on a tenant identifier field alongside the vector query, restricting each tenant's results to its own documents. This enforces retrieval isolation while still leveraging vector search across the shared index.

Why this answer

Security trimming with OData filter expressions applied alongside vector queries enforces per-tenant isolation at query time, ensuring each tenant only retrieves documents matching their tenant ID or security group. Azure AI Search supports combining vector search with OData $filter so the vector similarity search is constrained to the authorized document subset.

Exam trap

AI-200 often tests the misconception that index-level RBAC provides document-level isolation, when true multi-tenant security requires filterable security-trimming fields in the query.

How to eliminate wrong answers

Option A is wrong because RBAC at the index level controls who can query the index, not which documents within a shared index a tenant can see — it cannot enforce row-level document isolation. Option B is wrong because dedicated search services per tenant is prohibitively expensive and operationally unscalable for multi-tenant SaaS, and 'without filters' provides no logical isolation if data is ever co-located. Option D is wrong because semantic ranker throttling is a performance/rate-limit control, not a security mechanism, and has no bearing on tenant data isolation.

44
MCQmedium

You are designing an application that requires low-latency vector search for a high-traffic AI chatbot. You need to ensure the vector index remains performant as the dataset grows into millions of documents. Which index configuration in Azure AI Search should you implement to optimize for speed over absolute recall accuracy?

A.Flat Indexing
B.Exhaustive KNN
C.HNSW
D.Partitioned Indexing
AnswerC

HNSW is an approximate nearest neighbour graph index that trades a small amount of recall accuracy for substantially lower query latency and better scalability, keeping vector search performant as the dataset grows to millions of documents.

Why this answer

HNSW (Hierarchical Navigable Small World) is a graph-based approximate nearest neighbor (ANN) algorithm that builds a multi-layer navigable graph, delivering sub-linear query latency with high recall. In Azure AI Search, HNSW is the recommended index configuration for high-traffic, low-latency vector search over millions of documents when you can trade a small amount of recall for speed.

Exam trap

AI-200 often tests the confusion between exact KNN (Flat/Exhaustive) and approximate ANN (HNSW), causing candidates to pick Flat for accuracy when the question explicitly prioritizes speed over recall.

How to eliminate wrong answers

Option A is wrong because Flat indexing (exhaustive KNN) performs a brute-force scan of every vector, which is accurate but scales linearly — unacceptable for millions of documents and high traffic. Option B is wrong because Exhaustive KNN is the same brute-force approach as Flat; it guarantees exact recall but at prohibitive latency and cost at scale. Option D is wrong because Partitioned Indexing is a horizontal scaling technique for distributing data across shards, not an ANN algorithm — it does not by itself optimize for speed over recall.

45
Multi-Selectmedium

Your team is choosing between using Azure AI Search or Cosmos DB for NoSQL for a new project. Which TWO factors are key considerations that favor Azure AI Search?

Select 2 answers
A.Need for deep integration with full-text search (BM25) and hybrid search.
B.Requirement to store petabytes of data.
C.Requirement for high-frequency transactional ACID updates to metadata.
D.Need for built-in semantic re-ranking for better accuracy.
E.Need for lowest possible latency at the database level.
AnswersA, D

Azure AI Search natively ranks results using BM25 relevance scoring and supports hybrid queries that fuse keyword and vector results, satisfying the stem's full-text and hybrid search requirement. Cosmos DB for NoSQL offers no built-in BM25 ranking or hybrid retrieval, so it cannot meet this constraint without external indexing.

Why this answer

Option A is correct because Azure AI Search is purpose-built as a search engine that natively supports full-text search using the BM25 ranking algorithm as well as hybrid search that combines keyword and vector queries, which Cosmos DB for NoSQL does not provide out of the box. Option D is correct because Azure AI Search includes built-in semantic re-ranking (semantic ranker/L2 reranking) that reorders results using deep-learning models to improve relevance and accuracy, a capability Cosmos DB for NoSQL lacks natively. Option B is not a factor favoring Azure AI Search, since petabyte-scale storage is a strength of Cosmos DB for NoSQL rather than a search service.

Option C is not a factor favoring Azure AI Search, because high-frequency transactional ACID updates to metadata are handled by Cosmos DB for NoSQL's transactional capabilities, not by a search index. Option E is not a factor favoring Azure AI Search, as lowest possible database-level latency is a characteristic of Cosmos DB for NoSQL's globally distributed, low-latency data plane rather than the search service.

Exam trap

AI-200 often tests whether candidates conflate 'vector search' with 'search relevance' — Cosmos DB can do vector search, but only Azure AI Search provides BM25, hybrid fusion, and semantic reranking out of the box.

46
MCQmedium

Your application uses Cosmos DB for NoSQL to store product metadata and vectors. You need to perform a vector search that combines similarity scores with specific filter criteria on the 'category' field. How should you define your index policy to support this?

A.Define a vector index policy and include the 'category' property in the indexing policy's included paths.
B.Create a vector index policy containing only the vector embedding path.
C.Enable auto-indexing for all properties to ensure vector search works.
D.Use a stored procedure to perform the filter after the vector search result set is returned.
AnswerA

Cosmos DB for NoSQL evaluates vector similarity and filter predicates together only when the filtered property is indexed. Adding 'category' to the indexing policy's included paths lets the query engine apply the filter alongside the vector index, avoiding a full scan.

Why this answer

For vector search with pre-filtering in Cosmos DB for NoSQL, the index policy must include both a vector index policy for the embedding path and a regular indexing policy that includes the filter property (e.g., 'category'). This allows the query engine to apply the filter efficiently before or alongside the vector similarity search, reducing the candidate set and improving performance.

Exam trap

AI-200 often tests the misconception that a vector index alone suffices for filtered vector search — candidates must remember to include scalar filter properties in the indexing policy.

How to eliminate wrong answers

Option B is wrong because a vector index policy containing only the embedding path omits the 'category' property, so filter predicates on 'category' cannot be efficiently evaluated and may force a full scan or fail. Option C is wrong because enabling auto-indexing for all properties does not configure the vector index policy required for vector search; vector indexes must be explicitly defined with type, dimensions, and distance function. Option D is wrong because performing filtering after vector search in a stored procedure is inefficient and defeats the purpose of integrated filtering, potentially returning irrelevant results and increasing RU consumption.

47
MCQhard

You are designing a data architecture on Azure where embeddings are generated offline by an Azure Databricks pipeline and stored in Azure AI Search. You want to minimize ingestion latency and optimize throughput when uploading millions of pre-computed vectors. Which client library API pattern should you use?

A.Use SearchClient batch upload APIs with up to 1000 documents per batch
B.Stream vectors directly through the Azure AI Search integrated vectorizer skillset
C.Send documents one-by-one using synchronous CreateOrUpdate API calls
D.Execute direct SQL INSERT statements against the underlying search partition nodes
AnswerA

Batching up to 1000 documents per request via SearchClient's upload APIs maximises throughput for millions of pre-computed vectors, since each call amortises network and indexing overhead across many documents. Because embeddings are generated offline, no enrichment is needed, so this pattern directly minimises ingestion latency against the stated constraint.

Why this answer

The Azure AI Search SDK's SearchClient supports batch indexing via IndexDocumentsBatch or the mergeOrUpload/upload actions, and the service accepts up to 1000 documents (or ~16 MB) per batch request. Batching pre-computed vectors this way amortizes HTTP overhead and maximizes indexing throughput, which is exactly what you want when pushing millions of embeddings generated offline by Databricks. This is the documented, supported high-throughput ingestion pattern.

Exam trap

The trap is assuming the integrated vectorizer is the fastest path for pre-computed vectors; in reality it is a text-to-vector skill at index time, and the correct high-throughput pattern is batched SDK uploads capped at 1000 documents per request.

How to eliminate wrong answers

Option B is wrong because the integrated vectorizer skillset is for generating embeddings at index time from text using an Azure OpenAI or similar skill — it is not a transport for pre-computed vectors and adds latency rather than reducing it. Option C is wrong because one-by-one synchronous CreateOrUpdate calls incur per-request overhead and round-trip latency, making millions of vectors impractically slow. Option D is wrong because Azure AI Search is a managed service with no direct SQL access to underlying partition nodes; such statements are not a supported ingestion mechanism.

48
MCQhard

You are designing an AI application architecture where embeddings are generated on-the-fly by an Azure Function and stored in Azure Cosmos DB for NoSQL. During peak load, the Azure Function times out due to rate limits (HTTP 429) from Azure OpenAI Service. What design pattern should you implement to make the ingestion pipeline resilient?

A.Increase the Azure Function execution timeout limit to 24 hours
B.Disable SSL verification on the Azure OpenAI client connection
C.Switch from Azure OpenAI to local text file storage
D.Implement an asynchronous message queue using Azure Service Bus to buffer ingestion requests and handle rate-limit retries
AnswerD

Azure Service Bus decouples the Function from Azure OpenAI, buffering embedding requests so bursts are absorbed and 429 responses retried with backoff rather than timing out. This satisfies the resilience constraint by smoothing peak ingestion load.

Why this answer

An asynchronous message queue (Azure Service Bus) decouples the ingestion producer from the Azure OpenAI embedding call, buffering requests during bursts and allowing retries with exponential backoff when HTTP 429 rate limits occur. This prevents Function timeouts because the Function can enqueue work quickly and a separate consumer processes at a controlled rate, absorbing peak load without dropping data.

Exam trap

AI-200 often tests the misconception that increasing timeouts or scaling out compute solves rate limiting — the real fix is decoupling with a queue and implementing retry/backoff, since the bottleneck is the downstream service's quota, not your compute.

How to eliminate wrong answers

Option A is wrong because extending the Function timeout to 24 hours does not solve rate limiting — the Function will still receive 429s and hold resources idle, and 24-hour timeouts are not even supported for Consumption-plan Functions (max 10 minutes). Option B is wrong because disabling SSL verification is a security anti-pattern that exposes traffic to MITM and does nothing for rate limits. Option C is wrong because switching to local text file storage abandons the embedding pipeline entirely and does not address resilience or rate-limit handling.

49
Multi-Selectmedium

When configuring vector search in Azure AI Search, which TWO parameters must be defined when creating a vector profile? (Choose two)

Select 2 answers
A.algorithm
B.name
C.sqlConnectionString
D.vmSize
E.cosmosDatabaseName
AnswersA, B

The algorithm parameter binds the vector profile to a specific vector search algorithm configuration, such as HNSW or exhaustive KNN. This linkage determines how similarity queries execute, making algorithm one of the two mandatory parameters when creating a vector profile.

Why this answer

When creating a vector profile in Azure AI Search, the two required parameters are the profile's name and the algorithm configuration it references. Option B (name) is correct because every vector profile must have a unique name within the search index so it can be referenced by vector fields via the vectorSearchProfile property. Option A (algorithm) is correct because a vector profile must point to a configured vector search algorithm (for example, an HNSW or exhaustive KNN configuration defined in the index's algorithms collection) that determines how the vector index is built and queried.

Options C (sqlConnectionString), D (vmSize), and E (cosmosDatabaseName) are incorrect because they are unrelated to Azure AI Search vector profile definitions: sqlConnectionString and cosmosDatabaseName pertain to data source connections for indexers, and vmSize relates to compute sizing in other Azure services, not to vector profile configuration.

Exam trap

AI-200 often tests whether candidates confuse vector profile properties (name + algorithm) with unrelated service-level parameters like SKU, connection strings, or database names that appear plausible but belong to other Azure services.

50
MCQhard

You are configuring data ingestion into an Azure AI Search index using an Azure AI Search indexer. The source data resides in Azure Blob Storage and consists of PDF documents. You want to chunk the documents and generate embeddings during ingestion without writing custom orchestration code. Which feature should you configure?

A.Azure Data Factory mapping data flows with vector transformations
B.A custom WebJob running LangChain
C.Cosmos DB change feed triggers
D.Integrated vectorization with built-in document splitting and vectorizer skillset configuration
AnswerD

Integrated vectorization combines a document-cracking indexer, a built-in text split skill for chunking, and an embedding skill wired to a vectorizer, so PDFs are chunked and embedded during ingestion. This satisfies generating embeddings without custom orchestration code.

Why this answer

Integrated vectorization is a native Azure AI Search indexer capability that combines a document-cracking skill (e.g., Document Extraction), a Text Split skill for chunking, and an AzureOpenAIEmbeddingSkill for embedding generation — all wired together through a skillset attached to the indexer. It also supports the index projection to map chunked content and vectors into the target index without any external orchestration code. This directly satisfies the requirement of chunking PDFs and generating embeddings during ingestion with no custom code.

Exam trap

AI-200 often tests the misconception that you must write custom code (LangChain, ADF, Functions) to chunk and embed documents, when integrated vectorization with a skillset is the managed, no-code answer.

How to eliminate wrong answers

Option A is wrong because Azure Data Factory mapping data flows do not natively produce Azure AI Search vector fields or call embedding models as part of the indexer pipeline — you would still need custom code and the result would not be an Azure AI Search indexer. Option B is wrong because a custom WebJob running LangChain is exactly the kind of custom orchestration code the question says to avoid, and it bypasses the managed indexer/skillset model. Option C is wrong because Cosmos DB change feed triggers are unrelated to Blob Storage ingestion and would require custom code to chunk and embed documents.

51
MCQhard

You are managing an Azure Cosmos DB for NoSQL account that stores vector embeddings. You need to query the database using the VectorDistance function to find the top 10 most similar items to a given vector. The container has a vector index configured. Which query syntax should you use?

A.SELECT * FROM c WHERE VectorDistance(c.embedding, @queryVector) > 0.8
B.SELECT TOP 10 * FROM c ORDER BY VectorDistance(c.embedding, @queryVector)
C.SELECT TOP 10 * FROM c WHERE VectorDistance(c.embedding, @queryVector) ORDER BY c.id
D.SELECT * FROM c ORDER BY VectorDistance(c.embedding, @queryVector) OFFSET 0 LIMIT 10
AnswerB

In Cosmos DB for NoSQL, the VectorDistance function computes the similarity between a stored vector and a query vector. To retrieve the top N most similar items, you use ORDER BY VectorDistance(...) and specify the number of results with TOP. This query leverages the vector index for efficient approximate nearest neighbor search. The syntax is correct and directly addresses the requirement.

Why this answer

To retrieve the top N most similar items using vector search in Cosmos DB for NoSQL, you must use the ORDER BY clause with the VectorDistance function and limit the results with TOP. This allows the query engine to use the vector index to efficiently find the nearest neighbors. The other options either lack ordering, use invalid syntax, or do not limit results correctly.

Exam trap

The trap here is using a WHERE clause with VectorDistance instead of ORDER BY, which is a common mistake for those familiar with traditional similarity search.

52
Multi-Selecthard

You are designing a disaster recovery and backup strategy for Azure Cosmos DB for NoSQL storing vector embeddings. Which THREE backup options or capabilities are available? (Choose three)

Select 3 answers
A.Restoring backed-up data to a new Azure Cosmos DB account
B.Direct SQL Server .bak file restoration
C.Periodic backup mode with customizable retention and backup intervals
D.Continuous backup mode with point-in-time restore (up to 30 days)
E.Manual file export via FTP into local VM storage
AnswersA, C, D

Azure Cosmos DB restores backups only into a new account, not in place over the existing one. This capability satisfies the stem's disaster recovery requirement by letting you recover vector embedding data into a fresh account after corruption or loss.

Why this answer

Option A is correct because Azure Cosmos DB restore operations always create a new account (or restore into a new account) rather than overwriting the existing account, which is the standard mechanism for both periodic and continuous backup restores. Option C is correct because the periodic backup mode supports configurable backup intervals and retention periods (with defaults of every 4 hours and 2 copies retained, extendable via support), letting you tailor the schedule to your RPO needs. Option D is correct because continuous backup mode enables point-in-time restore (PITR) for the last 30 days (or 7 days in some configurations), which is ideal for protecting vector embedding data against accidental deletes or corruption.

Option B is not applicable because Cosmos DB for NoSQL is not SQL Server and does not use .bak files or native SQL Server restore tooling. Option E is not a supported capability because Cosmos DB does not provide FTP-based manual file export into local VM storage as a backup mechanism.

Exam trap

AI-200 often tests the misconception that Cosmos DB backups can be restored in place or exported as files; in reality, all restores target a new account and use service-native formats, not SQL Server .bak or FTP exports.

53
MCQeasy

Which Azure AI Search API parameter allows you to specify a vector query alongside traditional keyword search terms when executing a hybrid search?

A.vectorQueries
B.embeddingQuery
C.knnQuery
D.vectorSearchParam
AnswerA

The vectorQueries parameter carries the vectorised query alongside search text, letting the engine run keyword and similarity ranking together in one hybrid request. Without it, only keyword matching occurs, so the semantic half of the hybrid constraint in the stem is unmet.

Why this answer

In the Azure AI Search REST API and SDKs, the 'vectorQueries' array is the parameter that carries one or more vector query definitions alongside the traditional 'search' text parameter, enabling hybrid search. Each entry in vectorQueries specifies the vector value (or a reference to a vector field), the k-nearest neighbors count, and optional filters. When both 'search' and 'vectorQueries' are present in the same request, Azure AI Search performs hybrid ranking that fuses keyword BM25 scores with vector similarity scores.

Exam trap

AI-200 often tests exact API parameter names, so candidates pick plausible-sounding but nonexistent parameters like 'knnQuery' or 'embeddingQuery' instead of the real 'vectorQueries' array.

How to eliminate wrong answers

Option B is wrong because 'embeddingQuery' is not a valid Azure AI Search API parameter; embeddings are supplied as raw vector arrays inside vectorQueries, not via a parameter named embeddingQuery. Option C is wrong because 'knnQuery' is not the actual parameter name — while the underlying operation is k-nearest neighbor search, the API exposes it through vectorQueries with a 'k' property, not a top-level knnQuery field. Option D is wrong because 'vectorSearchParam' does not exist in the API; vector search configuration is defined in the index schema (vectorSearch profile) and invoked via vectorQueries at query time.

54
Multi-Selectmedium

Which THREE features are common to both Azure AI Search and Azure Cosmos DB for NoSQL when performing vector search?

Select 3 answers
A.Ability to filter results based on non-vector document properties.
B.Support for semantic re-ranking (Semantic Ranker).
C.Support for HNSW indexing algorithms.
D.Automatic translation of SQL to Vector queries.
E.Similarity search based on vector distance metrics.
AnswersA, C, E

Both services support pre-filtering on scalar metadata alongside vector similarity queries, satisfying the requirement for narrowing results by non-vector document properties. Azure AI Search applies OData filter expressions; Cosmos DB for NoSQL uses SQL WHERE clauses on indexed fields. This shared capability distinguishes them from services lacking integrated metadata filtering during vector search.

Why this answer

Option A is correct because both Azure AI Search (via OData filter expressions in the query) and Azure Cosmos DB for NoSQL (via a WHERE clause on non-vector fields in the VectorDistance query) allow pre-filtering results on scalar/non-vector document properties. Option C is correct because both services support HNSW (Hierarchical Navigable Small World) as an approximate nearest neighbor indexing algorithm for vector fields. Option E is correct because both platforms perform similarity search by computing vector distance metrics such as cosine, dot product, or Euclidean distance.

Option B is incorrect because Semantic Ranker is a feature exclusive to Azure AI Search and is not available in Cosmos DB for NoSQL. Option D is incorrect because neither service automatically translates SQL into vector queries; Cosmos DB uses its own SQL-like syntax with the VectorDistance function, and Azure AI Search uses its own query DSL, so no such automatic translation exists.

Exam trap

AI-200 often tests whether candidates over-generalize service-specific features (like Semantic Ranker or SQL-to-vector translation) as shared across Azure AI Search and Cosmos DB vector search.

55
Multi-Selectmedium

When configuring vector search in Azure Cosmos DB for NoSQL, which TWO properties must be defined within the container's vector embedding policy? Choose two.

Select 2 answers
A.Container partition key definition
B.BM25 k1 and b tuning parameters
C.Replication lag threshold
D.Path (the JSON property containing the vector array)
E.DataType (e.g., float32) and Dimensions (e.g., 1536)
AnswersD, E

The vector embedding policy requires a `path` entry naming the JSON property that holds the vector array, so Cosmos DB knows which field to index for similarity queries. Without it, the container cannot locate embeddings, and vector search fails. This satisfies the stem's requirement that the property containing the vector array be declared.

Why this answer

Option D is correct because the vector embedding policy must specify the "path" — the JSON property path in each document that holds the vector array — so Cosmos DB knows which field to index for vector search. Option E is correct because the policy must also declare the vector's "dataType" (e.g., float32, float16, int8) and "dimensions" (e.g., 1536), which define the element type and length of the vector array and must match the actual embeddings. The container partition key definition (A) is set in the container's key definition, not the vector embedding policy, and is unrelated to vector indexing.

BM25 k1 and b parameters (B) belong to full-text search scoring configuration, not vector search. Replication lag threshold (C) is a consistency/global replication setting and has no place in a vector embedding policy.

Exam trap

AI-200 often tests the misconception that partition key or search tuning parameters belong in the vector embedding policy, when only path, dataType, and dimensions are required.

56
Multi-Selecthard

You are designing an enterprise search architecture that combines Azure AI Search and Azure OpenAI. Which THREE strategies help optimize hybrid search relevance and retrieval quality? Choose three.

Select 3 answers
A.Tune HNSW parameters (m and efSearch) based on recall and latency trade-offs
B.Implement Reciprocal Rank Fusion (RRF) to combine lexical and vector ranks
C.Enable Azure AI Search semantic ranker for deep learning re-ranking
D.Disable all OData filters to maximize vector recall
E.Store all embeddings as uncompressed plaintext strings in Blob Storage
AnswersA, B, C

Tuning HNSW parameters directly controls the recall-versus-latency balance in vector queries, satisfying the stem's retrieval-quality constraint. Raising m improves graph connectivity and recall; efSearch trades query latency for accuracy. This makes it a valid hybrid relevance optimisation strategy alongside semantic ranking and scoring profile adjustments.

Why this answer

Option A is correct because HNSW parameters directly control the approximate nearest neighbor graph: increasing m improves recall at the cost of memory and index build time, while efSearch tunes the query-time candidate list to balance recall against latency, making it a core lever for hybrid search relevance. Option B is correct because Reciprocal Rank Fusion (RRF) merges the ranked result lists from keyword (BM25) and vector queries into a single ranking using 1/(k + rank) scoring, which is exactly how Azure AI Search combines lexical and vector results in hybrid mode. Option C is correct because the semantic ranker applies deep-learning re-ranking (Microsoft's cross-encoder models) over the top results, promoting semantically relevant documents that lexical or vector scores alone may rank lower.

Option D is not correct because disabling OData filters does not improve vector recall and removes useful precision controls; filters are applied alongside vector search to narrow the candidate set. Option E is not correct because storing embeddings as uncompressed plaintext in Blob Storage is inefficient and unrelated to search relevance; embeddings should be stored in the search index as Collection(Edm.Single) vectors, ideally with compression such as scalar or binary quantization.

Exam trap

AI-200 often tests the misconception that more data or disabling filters improves recall, when in fact relevance tuning comes from HNSW parameter tuning, RRF fusion, and semantic re-ranking — not from removing constraints or changing storage format.

57
Multi-Selectmedium

Your enterprise application architecture incorporates Azure Cosmos DB for NoSQL as the primary operational data store and Azure AI Search as the vector index for semantic search. Which THREE mechanisms can you use to keep the Azure AI Search vector index synchronized with changes in Azure Cosmos DB?

Select 3 answers
A.Configure an Azure AI Search indexer connected to an Azure Cosmos DB change feed data source.
B.Use Azure Event Grid to capture container mutation events and orchestrate indexing updates.
C.Deploy an Azure Function triggered by the Azure Cosmos DB change feed to push document inserts and updates directly to the Azure AI Search REST API.
D.Execute a full database table scan and drop-rebuild of the search index every 5 minutes using Azure Data Factory batch pipelines.
E.Enable native real-time bidirectional memory-mapped replication between Azure Cosmos DB database partitions and search service replicas.
AnswersA, B, C

An Azure AI Search indexer with an Azure Cosmos DB data source reads the container's change feed, incrementally detecting inserts and updates and pushing them into the index. This provides native, scheduled pull-based synchronisation without custom orchestration code.

Why this answer

Option A is correct because Azure AI Search natively supports an Azure Cosmos DB data source for indexers, which reads the container's change feed (including inserts, updates, and deletes when soft-delete/change-feed policies are configured) and incrementally pushes documents into the vector index. Option B is correct because Azure Cosmos DB emits container mutation events to Azure Event Grid, which can trigger downstream orchestration (for example, Functions, Logic Apps, or custom handlers) that updates Azure AI Search documents via its REST/SDK APIs. Option C is correct because the Azure Cosmos DB change feed can be consumed by an Azure Function trigger, and the function can call the Azure AI Search REST API (for example, the index or merge-or-upload actions) to upsert vectors and fields in near real time.

Option D is not appropriate because a full scan plus drop-and-rebuild every 5 minutes is a costly, high-latency batch pattern rather than an incremental synchronization mechanism, and Azure Data Factory is not the recommended vector-index sync path. Option E is not a real capability: Azure Cosmos DB does not provide native bidirectional memory-mapped replication to Azure AI Search replicas; synchronization must be implemented through indexers, change feed consumers, or event-driven pipelines.

Exam trap

AI-200 often tests whether candidates invent non-existent 'native replication' features between Azure services; the trap is choosing a plausible-sounding but fictional option like memory-mapped bidirectional sync instead of the three documented integration patterns.

58
Multi-Selecthard

You are optimizing an enterprise search architecture using Azure AI Search. Which THREE mechanisms help control latency and resource consumption during heavy vector query loads? (Choose three)

Select 3 answers
A.Tuning HNSW efSearch parameter to balance recall speed and latency
B.Disabling caching and increasing index document count per partition beyond limits
C.Applying scalar quantization to compress vectors and reduce memory overhead
D.Running exhaustive k-NN searches for every query by default
E.Scaling out search replicas to distribute query traffic across nodes
AnswersA, C, E

Raising or lowering efSearch adjusts how many candidate neighbours HNSW explores per query. A lower value cuts latency at some recall cost; a higher value improves recall. This tunable trade-off directly controls query latency under heavy vector load.

Why this answer

Option A is correct because the HNSW efSearch parameter controls the size of the dynamic candidate list during vector search; lowering efSearch reduces the number of distance computations, cutting latency at some cost to recall, which is exactly the recall/latency trade-off needed under heavy vector query loads. Option C is correct because scalar quantization compresses float32 vectors into smaller representations (e.g., int8), reducing memory footprint and memory bandwidth pressure so more vectors fit in RAM and queries execute faster. Option E is correct because adding search replicas horizontally distributes query traffic across multiple nodes, increasing concurrent query throughput and preventing any single node from becoming a latency bottleneck.

Option B is incorrect because disabling caching removes a latency-reducing mechanism and pushing documents per partition beyond limits is unsupported and degrades performance. Option D is incorrect because exhaustive k-NN scans every vector for each query, which dramatically increases compute and latency and is unsuitable as a default under heavy load.

Exam trap

The trap is treating exhaustive k-NN as a performance optimization — it's actually the slowest option, and candidates who confuse 'exact' with 'efficient' pick it incorrectly.

59
Multi-Selecthard

You are designing the data storage and indexing strategy for a multi-tenant AI search solution on Azure. Which TWO architectural practices should you implement to optimize vector search performance and tenant isolation in Azure AI Search?

Select 2 answers
A.Disable the HNSW algorithm and rely exclusively on exhaustive brute-force search across all tenant partitions.
B.Store all tenants' embeddings in a single unpartitioned vector field without metadata tags to maximize index density.
C.Implement security trimming by appending OData filter expressions (e.g., tenantId eq 'tenant-1') to every vector search query.
D.Store raw embeddings exclusively in Azure Blob Storage and perform client-side cosine similarity calculations for all queries.
E.Provision dedicated Azure AI Search indexes or service tiers for enterprise tenants requiring strict isolation and predictable vector search latency.
AnswersC, E

OData filter expressions appended to each vector query restrict results to the caller's tenant at query time, so one shared index can serve many tenants without cross-tenant leakage. This satisfies the stem's tenant isolation requirement while avoiding per-tenant index proliferation.

Why this answer

Option C is correct because Azure AI Search supports security trimming via OData filter expressions such as tenantId eq 'tenant-1' applied to vector queries, which enforces tenant isolation by restricting results to documents matching the caller's tenant identifier while still allowing shared indexes. Option E is correct because provisioning dedicated indexes or service tiers for enterprise tenants provides physical/logical isolation and dedicated compute, ensuring predictable vector search latency and strict data separation for high-compliance customers. Option A is wrong because disabling HNSW and relying on exhaustive brute-force (exhaustive KNN) search sacrifices scalability and latency, and brute-force across all tenant partitions does not provide tenant isolation.

Option B is wrong because storing all tenants' embeddings in a single unpartitioned vector field without metadata tags prevents filtering and security trimming, breaking tenant isolation. Option D is wrong because moving embeddings to Blob Storage and computing cosine similarity client-side eliminates Azure AI Search's optimized vector indexing and integrated filtering, harming performance and isolation.

Exam trap

AI-200 often tests whether candidates understand that vector search isolation requires both a filterable tenant metadata field and, for strict isolation, dedicated indexes — candidates mistakenly believe a single unpartitioned vector field is sufficient.

60
MCQeasy

Which Azure service provides cloud-scale vector search backed by either HNSW or DiskANN algorithms alongside managed NoSQL capabilities?

A.Azure Logic Apps
B.Azure Cosmos DB for NoSQL
C.Azure Functions
D.Azure Virtual Machines
AnswerB

Azure Cosmos DB for NoSQL natively embeds vector indexing, letting you choose HNSW for in-memory speed or DiskANN for large, disk-resident datasets, while retaining its managed NoSQL document store. This single-engine combination satisfies both the cloud-scale vector search and managed NoSQL requirements the stem demands.

Why this answer

Azure Cosmos DB for NoSQL natively supports vector search with HNSW and DiskANN algorithms integrated into its managed, globally distributed NoSQL database. It combines the vector index with the document store, so embeddings and metadata live in the same container and are queried with SQL-like syntax.

Exam trap

The trap is assuming vector search requires a dedicated service like Azure AI Search — candidates miss that Cosmos DB for NoSQL has first-class native vector support with HNSW and DiskANN built in.

How to eliminate wrong answers

Option A is wrong because Azure Logic Apps is a workflow orchestration service with no native vector indexing or similarity search capability. Option C is wrong because Azure Functions is a serverless compute platform for running code, not a database — it can call a vector store but does not provide one. Option D is wrong because Azure Virtual Machines are raw IaaS compute; you could self-host a vector database on a VM, but that is not a managed cloud-scale vector search service.

61
Multi-Selectmedium

You are configuring vector search options in Azure Cosmos DB for NoSQL. Which TWO distance metrics are supported when defining a vector embedding policy? (Choose two)

Select 2 answers
A.hamming
B.manhattan
C.jaccard
D.euclidean
E.cosine
AnswersD, E

Euclidean measures straight-line L2 distance between vectors and is one of the two metrics Azure Cosmos DB for NoSQL accepts in a vector embedding policy, alongside cosine. Specifying it in the policy satisfies the requirement to define a supported distance function.

Why this answer

In Azure Cosmos DB for NoSQL, the vector embedding policy's "distanceFunction" property accepts exactly three values: cosine, dotproduct, and euclidean. Option D (euclidean) is correct because Euclidean distance is one of the natively supported metrics, measuring straight-line distance between vectors and typically used with normalized or unnormalized embeddings. Option E (cosine) is correct because cosine similarity is the default and most commonly used metric, measuring the angle between vectors and ideal for text embeddings where magnitude is irrelevant.

Option A (hamming) is not supported; it applies to binary/categorical string comparison, not the float32 vector indexes Cosmos DB builds. Option B (manhattan) is not supported; only cosine, dotproduct, and euclidean are valid distanceFunction values. Option C (jaccard) is not supported; it is a set-similarity measure used in data mining, not a Cosmos DB vector distance metric.

Exam trap

AI-200 often tests whether candidates know the exact set of supported distance functions in Cosmos DB — the trap is selecting plausible-sounding metrics like Manhattan or Jaccard that are used elsewhere but not supported here.

62
MCQmedium

You are implementing vector search in Azure AI Search for a document retrieval system. You need to ensure that the vector search returns the most relevant results for a query embedding. Which similarity metric should you configure in the vector search profile?

A.Euclidean distance
B.Cosine similarity
C.Dot product
D.Jaccard similarity
AnswerB

Cosine similarity measures the cosine of the angle between vectors, focusing on orientation rather than magnitude. It is widely used for text embeddings because it effectively captures semantic similarity regardless of vector length. Azure AI Search supports cosine as a similarity metric, and it is the recommended choice for most embedding models, ensuring relevant results in retrieval scenarios.

Why this answer

Cosine similarity is the most suitable metric for text embeddings because it normalizes for vector magnitude and focuses on semantic orientation. Azure AI Search supports cosine as a vector similarity metric, and it aligns with common embedding models, ensuring that the most semantically similar documents are retrieved based on the query embedding.

Exam trap

The trap here is assuming that any distance metric works equally well, when the choice must match the embedding model's training objective.

63
MCQmedium

You are implementing vector search in Azure AI Search using the REST API. You want to execute a pure vector query without any keyword matching. What parameter must be omitted or left empty in your query request payload?

A.The 'vectorQueries' parameter
B.The 'search' parameter
C.The 'top' parameter
D.The 'api-version' parameter
AnswerB

Omitting the 'search' parameter removes keyword matching, so the query executes purely against vector fields. Leaving it empty or absent ensures only the vector query runs, satisfying the requirement for a pure vector search without hybrid keyword scoring.

Why this answer

In Azure AI Search, a pure vector query is executed by providing the 'vectorQueries' array and omitting or leaving the 'search' parameter empty (or setting it to null). When 'search' is omitted, the service performs only vector similarity search without keyword matching. This is documented behavior for vector-only queries.

Exam trap

AI-200 often tests the confusion between omitting 'search' versus omitting 'vectorQueries', causing candidates to think 'vectorQueries' should be omitted for a pure vector query when it is actually required.

How to eliminate wrong answers

Option A is wrong because 'vectorQueries' is the parameter that must be included to specify the vector query; omitting it would mean no vector search occurs. Option C is wrong because 'top' controls the number of results returned and is optional; omitting it does not make the query vector-only. Option D is wrong because 'api-version' is a required query string parameter for the REST API call and must be present; omitting it causes an error, not a vector-only query.

64
Multi-Selectmedium

You are configuring an Azure AI Search vector index. Which TWO parameters are part of the HNSW algorithm configuration settings? Choose two.

Select 2 answers
A.efSearch
B.m
C.maxTokenLength
D.clusterCount
E.shingleSize
AnswersA, B

efSearch controls the size of the dynamic candidate list explored during HNSW query execution, trading recall against latency. It is a tunable HNSW parameter in Azure AI Search's vector search configuration, satisfying the stem's request for an HNSW algorithm setting.

Why this answer

Option A, efSearch, is correct because it is the HNSW parameter that controls the size of the dynamic candidate list used during query time, trading off recall against latency in Azure AI Search vector search. Option B, m, is correct because it is the HNSW parameter specifying the number of bi-directional links created for each node in the graph, which affects index build time, memory, and search accuracy. The other options do not belong: maxTokenLength and shingleSize are text-analyzer settings used in custom analyzers for lexical indexing, not vector HNSW configuration, and clusterCount is not an HNSW parameter in Azure AI Search (it relates to partitioning or clustering concepts, not the HNSW graph settings).

Exam trap

AI-200 often tests whether candidates confuse HNSW parameters (m, efSearch, efConstruction) with text-analyzer parameters (maxTokenLength, shingleSize) or exhaustive KNN parameters (clusterCount) that appear in the same index schema.

65
Multi-Selecthard

When migrating data into Azure AI Search for vector search, you encounter issues with ingestion. Which TWO of the following are valid reasons why an indexer might fail to ingest vector data?

Select 2 answers
A.The vector dimensions in the source data exceed the index field's configured dimensions.
B.The embedding model used is deprecated.
C.The 'Collection(Edm.Single)' field is marked as 'filterable'.
D.The source document contains a vector array with an incorrect field type (e.g., array of strings).
E.The indexer is not configured with an 'AzureOpenAI' skill.
AnswersA, D

Each vector field declares fixed dimensions, and every ingested vector must match exactly. Source vectors with more dimensions than the index field allows fail validation, so the indexer rejects those documents rather than truncating or padding them.

Why this answer

Option A is correct because Azure AI Search validates vector length at ingestion time: if the source vector has more (or fewer) dimensions than the index field's configured 'dimensions' value, the indexer fails with a dimension mismatch error. Option D is correct because the vector field must be defined as Collection(Edm.Single) (or another supported vector type) and the source data must supply a numeric array; an array of strings or other non-numeric type cannot be cast to the vector field and causes ingestion to fail. Option B is not a valid reason because a deprecated embedding model still produces numeric vectors that the indexer can ingest; deprecation affects the model's availability, not the indexer's type/dimension validation.

Option C is not a valid reason because marking a Collection(Edm.Single) field as 'filterable' is a supported configuration (though it consumes extra storage) and does not by itself cause ingestion failure. Option E is not a valid reason because an 'AzureOpenAI' skill is only needed to generate embeddings at index time; if the source already contains vectors, no such skill is required, and its absence does not cause an ingestion failure.

Exam trap

AI-200 often tests the misconception that embedding-model lifecycle events (deprecation) or missing enrichment skills break ingestion, when the real failure modes are schema-level: dimension mismatch and incorrect field data type.

66
MCQeasy

Which Azure AI Search field property indicates whether the contents of a field can be returned in search query result documents?

A.searchable
B.facetable
C.retrievable
D.filterable
AnswerC

The retrievable property controls whether a field's contents are returned in search results. Setting it to true includes the field in result documents; false keeps it indexed and searchable but omitted from the returned payload.

Why this answer

In Azure AI Search, the 'retrievable' attribute controls whether a field's contents are returned in search results. If retrievable is false, the field can still be searched, filtered, or sorted but its value is omitted from the returned document. This is the exact property that governs result payload inclusion.

Exam trap

The trap is conflating 'searchable' with 'retrievable' — candidates assume a field that can be searched is automatically returned, but Azure AI Search decouples indexing from result projection.

How to eliminate wrong answers

Option A is wrong because 'searchable' controls whether the field is full-text indexed and can be matched in queries — it does not govern whether the value is returned. Option B is wrong because 'facetable' enables the field to be used in faceted navigation for filtering and counting, unrelated to result retrieval. Option D is wrong because 'filterable' allows the field to be used in $filter expressions, which is about query constraints, not result content.

67
MCQmedium

You are implementing a multi-modal AI application that searches across both text descriptions and product images stored in Azure AI Search. Which feature allows you to query both modalities within a unified search index?

A.Single-dimension global vector index restriction
B.Mandatory unification of text and image vectors into a single 1536-dimensional field
C.External fusion proxy service
D.Multiple vector fields with distinct dimensions and vectorizers in a single index
AnswerD

Multiple vector fields let one index hold text embeddings and image embeddings side by side, each with its own dimensions, while vectorizers generate embeddings at query time. This satisfies the unified cross-modality query requirement, which a single vector field cannot accommodate.

Why this answer

Azure AI Search supports defining multiple vector fields in a single index, each with its own dimensions and vectorizer, so text embeddings (e.g., 1536-dim from text-embedding-ada-002) and image embeddings (e.g., 512-dim from a CLIP-style model) can coexist and be queried together. This enables unified multi-modal search where a query can target both text and image vector fields, with results merged via hybrid or RRF ranking.

Exam trap

AI-200 often tests whether candidates believe Azure AI Search requires a single unified vector dimension — the trap is assuming all vectors must share dimensionality, when the service actually supports multiple vector fields with distinct dimensions and vectorizers.

How to eliminate wrong answers

Option A is wrong because Azure AI Search does not impose a single-dimension global vector index restriction; indexes can contain multiple vector fields with different dimensions. Option B is wrong because there is no requirement to unify text and image vectors into one 1536-dimensional field — forcing different modalities into a shared dimension is neither required nor generally desirable, since each modality's embedding model has its own native dimensionality. Option C is wrong because no external fusion proxy service is needed; Azure AI Search natively supports multiple vector fields and hybrid ranking within a single index.

68
MCQmedium

You are optimizing search performance in Azure AI Search. You notice that vector queries are consuming excessive memory and slowing down. You decide to enable exhaustive k-NN fallback for specific queries. What does exhaustive k-NN do?

A.It compresses the vector index by 50%
B.It shards the index across multiple search units
C.It searches all vectors exactly without relying on an approximate nearest neighbor graph
D.It caches query results in Redis
AnswerC

Exhaustive k-NN performs a brute-force comparison against every vector in the index, bypassing the approximate nearest neighbour graph entirely. This guarantees exact recall for the specified queries, at the cost of higher latency and memory consumption.

Why this answer

Exhaustive k-NN (also called brute-force or exact k-NN) computes the distance between the query vector and every vector in the index, returning the exact nearest neighbors without relying on an approximate graph like HNSW. It is used when recall must be perfect, at the cost of higher latency and memory.

Exam trap

AI-200 often tests the misconception that exhaustive k-NN is a performance optimization — the trap is forgetting that it trades speed for exactness, and is used when recall matters more than latency.

How to eliminate wrong answers

Option A is wrong because exhaustive k-NN does not compress the index; compression is a separate concern (e.g., scalar quantization). Option B is wrong because sharding is a partitioning strategy, not what exhaustive k-NN does. Option D is wrong because caching in Redis is an external optimization, not a function of exhaustive k-NN.

69
MCQmedium

You are configuring semantic ranking in Azure AI Search. You need to specify which fields in your index contain the title and content that the semantic ranker should analyze. Where do you configure these field mappings?

A.In the indexer skill set cognitive map
B.In the Azure OpenAI model deployment properties
C.In the semantic configuration section of the index schema
D.In the vector profile definition
AnswerC

Semantic ranking requires a semantic configuration declared in the index schema, where you name the title, content and keyword fields the ranker should analyse. Defining these field mappings there satisfies the stem's requirement to specify which index fields feed the semantic ranker.

Why this answer

Semantic ranking in Azure AI Search is configured in the semantic configuration section of the index schema. Within this configuration, you specify which fields contain the title, content, and keywords that the semantic ranker should analyze. This is done by defining a semantic configuration object in the index definition.

Exam trap

AI-200 often tests where to configure semantic ranking fields. Candidates might confuse it with indexer skillsets or vector profiles, but it's specifically in the index schema's semantic configuration.

How to eliminate wrong answers

Option A is wrong because the indexer skill set cognitive map is used for AI enrichment during indexing, not for semantic ranking configuration. Option B is wrong because Azure OpenAI model deployment properties are unrelated to Azure AI Search semantic ranking. Option D is wrong because the vector profile definition is used for vector search configuration, not semantic ranking.

70
MCQmedium

You are configuring an Azure AI Search index schema via the REST API. You need to define a field that will hold a 1536-dimensional vector. Which field type must you assign to this field?

A.Edm.Vector
B.Edm.SingleCollection
C.Edm.String
D.Edm.DoubleCollection
AnswerB

Edm.SingleCollection stores a collection of single-precision floats, which is exactly what a 1536-dimensional embedding requires. Azure AI Search represents vector fields as arrays of Edm.Single, so this type satisfies the stem's dimensional constraint. Edm.Single alone holds one float, and Edm.DoubleCollection would waste space and break vector search compatibility.

Why this answer

In Azure AI Search, vector fields are defined using the Edm.SingleCollection type, which represents a collection of single-precision floating-point values — the standard representation for embeddings. A 1536-dimensional vector (e.g., from text-embedding-ada-002) is declared as Edm.SingleCollection with dimensions set to 1536 and a vectorSearchProfile attached. There is no Edm.Vector type in the Azure AI Search schema.

Exam trap

AI-200 often tests the misconception that a generic 'Edm.Vector' type exists; the exam expects you to know the actual collection types (Single, Half, Byte) and that dimensions are immutable.

How to eliminate wrong answers

Option A is wrong because Edm.Vector is not a valid Azure AI Search field type — candidates often assume a generic 'vector' type exists, but the actual types are Edm.SingleCollection, Edm.HalfCollection, and Edm.ByteCollection. Option C is wrong because Edm.String stores text and cannot be used for vector similarity search; embeddings must be numeric collections. Option D is wrong because Edm.DoubleCollection stores 64-bit doubles, which are not used by Azure AI Search vector fields and would double memory usage without benefit — embeddings are single-precision.

71
Multi-Selecthard

You are troubleshooting a performance degradation in an Azure Cosmos DB for NoSQL vector search application. Which THREE diagnostic steps or metrics should you inspect? (Choose three)

Select 3 answers
A.Normalized RU consumption across physical partitions to check for hot spotting
B.Azure Blob Storage tier status (Hot vs Cool)
C.App Service SSL certificate expiration date
D.Request Unit (RU) charge per query response header
E.Index transformation progress to ensure vector indexing is fully completed
AnswersA, D, E

Normalized RU consumption reveals whether logical partition traffic concentrates on one physical partition, causing hot spotting that throttles vector queries. Inspecting this metric satisfies the diagnostic requirement by exposing uneven partition key distribution as the degradation's root cause.

Why this answer

Option A is correct because Normalized RU consumption across physical partitions is the key Azure Cosmos DB metric for detecting hot spotting; if one physical partition consistently shows much higher normalized RU usage than others, vector search throughput is throttled by that partition. Option D is correct because the RU charge returned in each query response header (x-ms-request-charge) reveals the actual cost of each vector query, letting you identify expensive queries and compare them against provisioned throughput. Option E is correct because vector indexing in Cosmos DB for NoSQL is performed by an index transformation, and if that transformation is still in progress or stuck, vector queries may scan more data, return incomplete results, or run slower, so checking index transformation progress is essential.

Option B is not relevant because Blob Storage access tiers (Hot vs Cool) affect blob storage cost and latency, not Cosmos DB vector query performance. Option C is not relevant because App Service SSL certificate expiration affects HTTPS connectivity to a web app, not the internal performance of Cosmos DB vector search.

Exam trap

AI-200 often tests whether candidates can distinguish Cosmos DB-specific performance metrics from unrelated Azure service metrics; the trap is selecting plausible-sounding but irrelevant options like Blob tier or SSL expiry that have nothing to do with RU-based vector query performance.

72
MCQeasy

You are configuring a hybrid search in Azure AI Search. You want to combine results from a vector search and a keyword-based search. Which feature is specifically designed to normalize scores from these different retrieval methods into a single ranked list?

A.BM25 Scoring
B.Semantic Ranker
C.Vector Normalization
D.Reciprocal Rank Fusion (RRF)
AnswerD

RRF merges the vector and keyword result sets by scoring each document from its rank position in each list, then summing those reciprocal ranks. This normalises incomparable similarity and BM25 scores into one fused ranking, satisfying the stem's single ranked list requirement.

Why this answer

Reciprocal Rank Fusion (RRF) is the specific algorithm Azure AI Search uses to merge results from parallel vector (kNN) and keyword (BM25) queries in a hybrid search. It converts each document's rank in each result set into a reciprocal score (1/(k + rank)) and sums them, producing a single unified ranked list without needing to normalize the raw, incomparable scores from BM25 and cosine similarity.

Exam trap

AI-200 often tests the distinction between the fusion algorithm (RRF) and the optional reranking layer (Semantic Ranker), causing candidates to pick 'Semantic Ranker' when asked about score normalization.

How to eliminate wrong answers

Option A is wrong because BM25 is the keyword-scoring algorithm used for the text leg of the hybrid query, not a fusion mechanism — it produces lexical relevance scores that are not comparable to vector similarity scores. Option B is wrong because the Semantic Ranker is an optional L2 reranking layer applied after RRF fusion using a language model, not the score-normalization step itself. Option C is wrong because 'Vector Normalization' is not an Azure AI Search feature — it describes a preprocessing technique (e.g., L2-normalizing embeddings) applied to vectors before indexing, not a cross-retriever fusion algorithm.

73
MCQmedium

You have a large collection in Azure Cosmos DB for NoSQL and want to perform a vector search. The application is currently hitting 'Request Rate Too Large' (429) errors during vector search queries. What is the most effective way to mitigate this?

A.Reduce the number of vectors stored in each document.
B.Scale up the throughput (RU/s) allocated to the container.
C.Implement client-side caching of vector search results.
D.Switch the index type to 'DiskANN'.
AnswerB

Vector search consumes substantial request units, so 429 errors indicate the container's provisioned RU/s is exhausted. Scaling up throughput raises the available RU/s, directly relieving the rate limiting that the vector search queries trigger, which is the constraint named in the stem.

Why this answer

'Request Rate Too Large' (HTTP 429) in Cosmos DB means the container's provisioned or autoscale RU/s has been exhausted by the vector search workload. The most direct and effective mitigation is to increase the throughput allocated to the container so that the RU cost of vector queries is covered without throttling.

Exam trap

AI-200 often tests whether candidates conflate throughput throttling (429) with index-type or data-modeling issues, tempting them to pick 'switch to DiskANN' when the real fix is scaling RU/s.

How to eliminate wrong answers

Option A is wrong because reducing the number of vectors per document changes data modeling but does not address the throughput ceiling — queries would still be throttled if RU/s is insufficient. Option C is wrong because client-side caching reduces the number of queries but does not fix the underlying RU/s shortage for the queries that do execute, and cache misses still hit the throttled container. Option D is wrong because switching to DiskANN changes the vector index algorithm (affecting latency and recall), not the RU/s budget; 429 errors are a throughput issue, not an index-type issue.

74
Multi-Selectmedium

When configuring vector search in Azure Cosmos DB for NoSQL, which TWO components must be defined within the container's indexing policy? (Choose two)

Select 2 answers
A.fullTextPolicy
B.vectorEmbeddingPolicy
C.vectorIndexes
D.spatialIndexes
E.partitionKeyDefinition
AnswersB, C

The vectorEmbeddingPolicy defines the embedding paths, dimensions and similarity metric, so Cosmos DB knows how to index and query vector data. Without it, vector search cannot function, satisfying the requirement that the indexing policy declares the vector configuration.

Why this answer

Option B (vectorEmbeddingPolicy) is correct because the container's indexing policy must declare the vector embedding policy, which defines the vector paths, data type (e.g., float32), dimensions, and distance function (cosine, dotproduct, or euclidean) so Cosmos DB knows how to interpret and compare the stored embeddings. Option C (vectorIndexes) is also correct because the indexing policy must include a vectorIndexes section that specifies the vector path and the index type (flat, quantizedFlat, or diskANN) used to perform the similarity search. Together, vectorEmbeddingPolicy and vectorIndexes are the two required elements inside the indexing policy for vector search on Azure Cosmos DB for NoSQL.

Option A (fullTextPolicy) is incorrect because it relates to full-text search (full-text indexing and scoring), not vector search. Option D (spatialIndexes) is incorrect because it configures geospatial indexing for GeoJSON data, which is unrelated to vector similarity. Option E (partitionKeyDefinition) is incorrect because the partition key is defined at the container level, not within the indexing policy.

Exam trap

AI-200 often tests the confusion between vectorEmbeddingPolicy and vectorIndexes — candidates pick one and forget the other, or mistakenly select fullTextPolicy because it sounds related to search indexing.

75
MCQeasy

When storing vector embeddings in Azure Cosmos DB for MongoDB (vCore), which distance metric is natively supported when creating a vector search index?

A.Levenshtein distance
B.Jaccard distance
C.Hamming distance
D.Cosine distance (cos)
AnswerD

Cosine distance is natively supported by Azure Cosmos DB for MongoDB (vCore) vector indexes, satisfying the stem's requirement for a natively supported metric. It measures angular similarity between embeddings, ignoring magnitude, which suits normalised text embeddings. The alternative metrics, such as Euclidean or dot product, are not offered natively here.

Why this answer

Azure Cosmos DB for MongoDB (vCore) natively supports cosine distance when creating a vector index, specified as 'cos' in the index definition. Cosine distance measures the angle between vectors and is the standard metric for text embeddings, which are typically normalized. This makes it the correct native metric for vector search indexes in that service.

Exam trap

AI-200 often tests whether candidates know the exact set of distance metrics supported by each Azure vector store, luring them toward generic string metrics like Levenshtein or Jaccard that sound plausible but are not vector index options.

How to eliminate wrong answers

Option A is wrong because Levenshtein distance measures edit distance between strings and is not a vector similarity metric supported by Cosmos DB vector indexes. Option B is wrong because Jaccard distance measures set dissimilarity and is not a supported vector index metric in Cosmos DB for MongoDB vCore. Option C is wrong because Hamming distance counts differing positions in equal-length strings and is not a native vector index metric for this service.

Page 1 of 2 · 116 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Data Management Services And Vector Search questions.