Courseiva

CCNA Data Management Services And Vector Search Questions

64 of 139 questions · Page 2/2 · Data Management Services And Vector Search · Answers revealed

76
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 computes exact distances against all vectors to guarantee 100% recall.

Why this answer

Exhaustive k-NN performs an exact search over all vectors in the index rather than an approximate search using an HNSW graph, ensuring 100% recall at the expense of higher query latency.

77
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 configurations specify titleField, contentFields, and keywordFields for the semantic ranker.

Why this answer

Semantic configuration in Azure AI Search defines the prioritized fields for title, content, and keywords used by the semantic ranker.

78
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 is the required data type for vector fields in Azure AI Search.

Why this answer

In Azure AI Search, fields intended to store embeddings must be explicitly typed as Edm.SingleCollection with dimensions defined.

79
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

Checking partition normalization helps identify uneven query or write load distribution.

Why this answer

Troubleshooting Cosmos DB performance involves inspecting RU charge per vector query, monitoring partition-level throughput distribution, and analyzing indexing status.

80
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 normalizes disparate scores from multiple search techniques to provide a better combined ranking.

Why this answer

Reciprocal Rank Fusion (RRF) is the standard algorithm used in Azure AI Search to combine scores from different search mechanisms into a single, cohesive ranking.

81
MCQmedium

You are developing a retrieval-augmented generation (RAG) solution using Azure AI Search. You need to configure a vector index to store 1536-dimensional embeddings generated by text-embedding-ada-002. Which parameter must you configure in the vector profile's algorithm configuration to use HNSW as the underlying approximate nearest neighbor algorithm?

A.algorithm.name set to exhaustiveKnn
B.vectorSearch.compression set to scalarQuantization
C.algorithm.name set to hnsw
D.vectorSearch.algorithm.type set to faiss
AnswerC

Setting algorithm.name to hnsw instructs Azure AI Search to use the Hierarchical Navigable Small World graph algorithm for nearest neighbor search.

Why this answer

To configure HNSW in Azure AI Search, you must define a vectorizer and an algorithm configuration specifying algorithm parameters such as m, efConstruction, and metric under the vectorSearch property of the index.

82
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

Increasing RU/s directly provides the needed throughput to resolve 429 throttling errors.

Why this answer

Increasing the Request Units (RUs) allocated to the container is the primary way to handle throughput bottlenecks in Cosmos DB.

83
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

vectorEmbeddingPolicy defines paths, dimensions, data types, and distance metrics.

Why this answer

Cosmos DB vector indexing requires defining both the vector embedding policy and the vector indexes array in the indexing policy.

84
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 one of the core supported distance metrics for vector indexes in Azure Cosmos DB for MongoDB (vCore).

Why this answer

Azure Cosmos DB for MongoDB (vCore) supports cosine distance, inner product, and Euclidean distance for vector search indexing.

85
Multi-Selectmedium

When configuring an Azure AI Search vectorizer for integrated vectorization, which TWO parameters or connections must be specified to link to an Azure OpenAI deployment? (Choose two)

Select 2 answers
A.Model name (e.g., text-embedding-ada-002)
B.SQL Server connection string
C.Cosmos DB container database name
D.Blob storage SAS token expiration time
E.Resource URL and authentication credentials (or managed identity)
AnswersA, E

The model name specifies which Azure OpenAI model generates the embeddings.

Why this answer

Integrated vectorization requires configuring the model name (e.g., text-embedding-ada-002) and the resource URL/authentication details of the Azure OpenAI service.

86
MCQeasy

Which similarity metric measures the cosine of the angle between two vectors, focusing on orientation rather than magnitude, and is commonly used in Azure AI Search?

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

Cosine similarity measures the orientation of vectors regardless of their magnitude.

Why this answer

Cosine distance/similarity measures the angle between two vectors and is one of the standard supported metrics in Azure AI Search and Cosmos DB.

87
Multi-Selecthard

You are designing a data ingestion pipeline that generates embeddings using Azure OpenAI and stores them in Azure AI Search. Which THREE components are required in the Azure AI Search index definition to support integrated vectorization? Choose three.

Select 3 answers
A.A dedicated Azure Blob Storage container data source
B.A custom Lucene similarity scoring profile
C.Vectorizer definition referencing the Azure OpenAI connection
D.Vector fields specifying dimensions, similarity metric, and vectorizer name
E.Algorithm configuration defining the ANN search method (e.g., HNSW)
AnswersC, D, E

The vectorizer specifies how text is converted to vectors by connecting to Azure OpenAI.

Why this answer

Integrated vectorization in Azure AI Search requires a vectorizer definition, an algorithm configuration, and vector fields configured in the index schema.

88
MCQmedium

You are building an AI search solution using Azure AI Search. You want to ensure that users searching for acronyms or synonyms receive relevant results even if the exact keyword does not appear in the document. Which feature should you configure?

A.Synonym maps
B.Scoring profiles
C.Semantic ranker
D.Vector profiles
AnswerA

Synonym maps expand query terms to include defined synonyms and acronyms.

Why this answer

Synonym maps in Azure AI Search allow you to map terms (e.g., AI -> Artificial Intelligence) so queries automatically expand to include synonyms.

89
MCQeasy

Which REST API HTTP method is used to create or update an index definition in Azure AI Search?

A.GET
B.PUT
C.PATCH
D.DELETE
AnswerB

PUT is used to create or update an index in Azure AI Search.

Why this answer

Azure AI Search REST API uses HTTP PUT to create or fully update an index definition.

90
MCQmedium

You are implementing a RAG solution where user queries are matched against an Azure AI Search vector index. You want to ensure that search results only return documents where a specific metadata field 'securityLevel' matches the user's clearance. How should you apply this filter?

A.Pass an OData filter expression in the 'filter' parameter of the search query request
B.Create a separate Azure AI Search service for each security level
C.Encode the security level into the vector embedding values directly
D.Filter the results in application memory after receiving all 1000 documents
AnswerA

The 'filter' parameter accepts OData syntax (e.g., securityLevel eq 'secret') alongside vector queries.

Why this answer

Vector queries in Azure AI Search support OData filtering via the 'filter' parameter, allowing you to combine semantic vector search with strict metadata filtering.

91
Multi-Selectmedium

When configuring an Azure AI Search index, which TWO data types can be used for metadata fields that require exact filtering (e.g., category eq 'electronics')? (Choose two)

Select 2 answers
A.Binary stream objects
B.Edm.ComplexType without sub-properties
C.Edm.Int32 (with filterable: true)
D.Edm.SingleCollection (vector fields)
E.Edm.String (with filterable: true)
AnswersC, E

Filterable numeric fields support exact and range filters.

Why this answer

Edm.String and Edm.Int32 or Edm.Boolean are standard filterable field types in Azure AI Search for exact metadata filtering.

92
MCQhard

You are configuring a vector index in Azure AI Search and want to apply scalar quantization to reduce the memory footprint. What is the primary effect of scalar quantization on float32 vector data?

A.It increases vector dimensions from 1536 to 3072 to improve accuracy
B.It eliminates the need for an HNSW graph structure
C.It converts vectors into plain text strings for keyword indexing
D.It compresses float32 vectors to int8 integers, reducing memory usage by approximately 75%
AnswerD

Converting 32-bit floats to 8-bit integers reduces memory size significantly.

Why this answer

Scalar quantization converts 32-bit floating-point numbers into 8-bit integers (int8), reducing memory consumption by roughly 4x while maintaining high search recall accuracy.

93
MCQeasy

Which property in an Azure Cosmos DB for NoSQL vector embedding policy defines whether the similarity calculation measures cosine, dotproduct, or euclidean distance?

A.metricType
B.distanceFunction
C.algorithmFunction
D.similarityMetric
AnswerB

distanceFunction specifies cosine, dotproduct, or euclidean.

Why this answer

The distanceFunction property in the vector embedding policy defines the metric used for vector distance calculation.

94
MCQhard

You are building a multi-modal AI application that searches across both product images and product descriptions. You store your data in Azure AI Search. How should you define your index schema to support searching with both image embeddings and text embeddings?

A.Concatenate the image and text embeddings into a single 3072-dimensional vector field
B.Use a single Edm.String field containing both embeddings as JSON strings
C.Create two completely separate search services
D.Define two separate Edm.SingleCollection vector fields with distinct dimensions and vector profiles
AnswerD

Multiple vector fields with different configurations allow simultaneous text and image vector searches.

Why this answer

To support multi-modal search, you define two separate vector fields in the index schema, each with its own dimensions and vector profile mapped to the respective embedding model.

95
MCQhard

You are configuring a Vector Index in Azure AI Search. You need to ensure that the vector similarity search is performed using the Cosine distance metric. Where is this configuration specified?

A.In the indexer definition.
B.In the 'vectorSearch' section of the index definition.
C.In the search query payload.
D.In the field definitions within the index.
AnswerB

The vector search profile within the index schema defines the distance metric to be used.

Why this answer

The distance metric (e.g., cosine, euclidean, dotProduct) is specified within the 'vectorSearch' profile configuration in the index definition.

96
Multi-Selecthard

You are troubleshooting a scenario where hybrid queries in Azure AI Search are returning unexpected relevance rankings. Which THREE factors could influence the final score when using hybrid search with semantic ranking? (Choose three)

Select 3 answers
A.Virtual machine CPU core count assigned to the client application
B.Semantic ranker deep learning re-scoring
C.BM25 keyword match relevance scores
D.Reciprocal Rank Fusion (RRF) score combination weights
E.Azure Blob Storage container access tier (Hot vs Cool)
AnswersB, C, D

Semantic ranker re-orders the top results based on deep semantic understanding.

Why this answer

Hybrid search scores are influenced by BM25 full-text scores, vector similarity scores, RRF normalization, and semantic ranker re-scoring.

97
Multi-Selectmedium

When configuring vector search in Azure AI Search, which TWO compression options or algorithm settings can be defined to optimize resource usage? (Choose two)

Select 2 answers
A.Scalar quantization configuration
B.HNSW algorithm parameters (m, efConstruction)
C.Blob storage container access level
D.SQL table partitioning scheme
E.Cosmos DB throughput auto-scale limits
AnswersA, B

Scalar quantization compresses vectors to reduce memory consumption.

Why this answer

Scalar quantization and HNSW algorithm parameters are key configurations used to optimize vector search performance and resource usage.

98
MCQmedium

You are developing a RAG solution and need to evaluate the quality of your vector retrieval results from Azure AI Search. Which metric is commonly used to measure the proportion of relevant documents retrieved in the top-k results?

A.HNSW efSearch latency
B.Request Units per second (RU/s)
C.BM25 term frequency
D.Recall@k
AnswerD

Recall@k measures retrieval effectiveness in finding relevant items among the top-k results.

Why this answer

Recall@k measures the proportion of relevant items found in the top-k retrieved results relative to all relevant items.

99
MCQeasy

When configuring an Azure Cosmos DB for NoSQL container to store embeddings, what data type must the vector property be stored as within the JSON document?

A.A base64 encoded string
B.An array of integers
C.An array of 32-bit floating-point numbers
D.A binary blob
AnswerC

Vectors in Cosmos DB must be represented as JSON arrays of floats (float32).

Why this answer

In Azure Cosmos DB for NoSQL, vector embeddings must be stored as an array of 32-bit floating-point numbers (float32).

100
MCQeasy

You are designing an application that stores vector embeddings in Azure SQL Database. Which data type should you use to store vector data natively in modern Azure SQL?

A.VARCHAR(MAX) JSON string
B.VECTOR native data type
C.FLOAT array collection
D.VARBINARY(MAX) blob
AnswerB

The VECTOR data type is the native storage format in Azure SQL Database for vector embeddings.

Why this answer

Azure SQL Database supports the vector data type (along with native vector functions like vector_distance) to store and query high-dimensional embeddings efficiently.

101
MCQhard

You are designing a multi-tenant AI application using Azure Cosmos DB for NoSQL. Each tenant has their own set of embeddings, and you need to filter vector search results strictly by tenantId while maintaining high query performance. How should you structure your vector index definition?

A.Store tenantId inside the vector array as the first element
B.Use spatial indexes on tenantId
C.Create a separate container for every tenant automatically
D.Include tenantId in the container's standard indexing policy with a range index, and filter using a WHERE clause alongside ORDER BY VectorDistance()
AnswerD

Combining a range index on tenantId for filtering with VectorDistance in the ORDER BY clause ensures tenant isolation and performance.

Why this answer

When configuring vector embeddings in Azure Cosmos DB for NoSQL, you must specify the dataType, dimensions, distanceFunction, and similarity metric. To filter efficiently, you combine VectorDistance() with a traditional WHERE clause on tenantId, ensuring the property is indexed.

102
MCQhard

You are designing a data layer architecture in Azure Cosmos DB for NoSQL for an AI application that performs high-frequency writes and real-time vector searches. You need to understand how vector indexing impacts write operations. What is the primary trade-off?

A.Vector properties cannot be updated after initial document creation
B.Writes are completely blocked until the vector index reaches 100% synchronization
C.Writing documents consumes more Request Units (RUs) because vector indexes must be updated
D.Writes require explicit distributed transactions across regions
AnswerC

Maintaining vector indexes introduces additional computational overhead during write operations, increasing RU costs.

Why this answer

Indexing vector embeddings requires maintaining complex index structures (like diskANN graphs), which increases RU (Request Unit) consumption during document inserts and updates.

103
MCQeasy

You are configuring an Azure AI Search vector index for a retrieval-augmented generation (RAG) application. You need to select an algorithm for vector similarity search that balances recall speed with accuracy while allowing approximate nearest neighbor (ANN) search. Which vector search algorithm configuration should you select?

A.Exhaustive K-Nearest Neighbor (exhaustiveKnn)
B.Hierarchical Navigable Small World (hnsw)
C.Locality-Sensitive Hashing (lsh)
D.Inverted File with Product Quantization (ivf-pq)
AnswerB

HNSW is the approximate nearest neighbor algorithm supported in Azure AI Search that provides high search performance and accuracy.

Why this answer

HNSW (Hierarchical Navigable Small World) is the industry-standard algorithm used by Azure AI Search for approximate nearest neighbor (ANN) vector search, providing an optimal balance between fast retrieval speed and high recall.

104
MCQmedium

You are writing a query in Azure Cosmos DB for NoSQL to calculate the vector distance between a stored embedding and a query vector. You want to retrieve only the top 5 most similar documents. What is the correct structure of the LIMIT or TOP clause?

A.SELECT LIMIT 5 c.id FROM c ORDER BY c.vector
B.SELECT c.id FROM c SORT BY VectorDistance LIMIT 5
C.SELECT c.id FROM c WHERE VectorDistance(c.vector, [...]) < 5
D.SELECT TOP 5 c.id, VectorDistance(c.vector, [0.1, 0.2, ...]) AS score FROM c ORDER BY VectorDistance(c.vector, [0.1, 0.2, ...])
AnswerD

The SELECT TOP 5 ... ORDER BY VectorDistance syntax is correct for Cosmos DB.

Why this answer

Cosmos DB uses SELECT TOP 5 ... ORDER BY VectorDistance(...) to retrieve the top 5 nearest neighbors.

105
MCQmedium

You are provisioning an Azure AI Search service to support hybrid search, combining full-text lexical search and vector search. Which tier is the minimum required to support vector search capabilities at enterprise scale?

A.Basic tier
B.Free tier
C.Storage Optimized L1
D.Standard 3 High Density (S3 HD)
AnswerA

The Basic tier introduces support for vector indexes and hybrid search, making it the minimum viable tier.

Why this answer

Azure AI Search supports vector search starting from the Basic tier, though Standard tiers (S1, S2, etc.) and Storage Optimized tiers are recommended for production enterprise scale.

106
Multi-Selectmedium

When configuring an Azure AI Search vector profile, which TWO elements must be successfully referenced together to make the profile functional? (Choose two)

Select 2 answers
A.A Cognitive Services storage blob container
B.An algorithm configuration name
C.A vectorizer name (if using integrated vectorization)
D.An Azure SQL connection string
E.A Cosmos DB throughput RU/s setting
AnswersB, C

The vector profile must reference an algorithm configuration that defines parameters like HNSW.

Why this answer

A vector profile in Azure AI Search links a vectorizer (optional or required for integrated vectorization) and an algorithm configuration to define how vectors are indexed and queried.

107
MCQhard

You are configuring semantic ranking in Azure AI Search to improve search relevance for your enterprise application. Which tier of Azure AI Search is required to enable semantic ranking?

A.Storage Optimized (L1)
B.Standard (S1 or higher)
C.Free
D.Basic
AnswerB

Semantic ranker requires the Standard tier or higher.

Why this answer

Semantic ranking in Azure AI Search is a premium feature available starting from the Standard tier (S1 and above), and is not supported on Free or Basic tiers.

108
MCQmedium

You are building a hybrid search solution using Azure AI Search that combines BM25 full-text search with vector search. What is the name of the feature that intelligently combines and normalizes scores from different retrieval systems before presenting the final top results?

A.Min-Max Score Scaling
B.Cosine Distance Normalization
C.Cross-Encoder Re-ranking
D.Reciprocal Rank Fusion (RRF)
AnswerD

RRF is the ranking algorithm used in Azure AI Search to combine scores from vector queries and keyword text queries.

Why this answer

Azure AI Search uses Reciprocal Rank Fusion (RRF) as part of semantic ranking and hybrid search score combination to merge disparate result lists.

109
MCQmedium

You are migrating a custom RAG solution to Azure. Your data pipeline generates text embeddings using Azure OpenAI text-embedding-ada-002 and stores them alongside relational metadata in Azure SQL Database. To perform vector similarity searches efficiently directly inside Azure SQL, which data type and extension should you leverage?

A.Using varbinary(max) columns combined with Azure Analysis Services tabular models.
B.Creating a CLR stored procedure wrapping Python NumPy libraries.
C.Using the VECTOR data type and the vector_distance() function.
D.Storing vectors as NVARCHAR(MAX) JSON strings and parsing them with OPENJSON.
AnswerC

Azure SQL Database provides native support for the VECTOR data type and built-in vector distance calculation functions.

Why this answer

Azure SQL Database supports native vector data types and functions via integrations and extensions, allowing storage of vectors in binary or specialized formats and querying using vector distance functions like vector_distance().

110
Multi-Selecthard

When designing a hybrid search architecture that integrates Azure AI Search with an Azure OpenAI embedding model, which THREE challenges must you typically address regarding data management and retrieval? (Choose three)

Select 3 answers
A.Ensuring model version consistency between ingestion embeddings and query embeddings
B.Managing re-indexing strategies when updating source documents or schema definitions
C.Provisioning HDInsight Hadoop clusters for vector distance calculations
D.Determining optimal text chunk size and overlap to balance context and precision
E.Configuring Azure SQL Server relational foreign key cascading deletes
AnswersA, B, D

Switching embedding models (e.g., from ada-002 to text-embedding-3) invalidates existing vectors, requiring re-indexing.

Why this answer

Designing hybrid search architectures involves managing embedding model versioning/consistency, handling token limits during chunking, and optimizing re-indexing strategies when data changes.

111
Multi-Selecthard

You are designing a high-performance RAG data layer architecture using Azure AI Search. Which THREE indexing and retrieval strategies should you implement to maximize recall and precision? (Choose three)

Select 3 answers
A.Enable semantic ranker to re-order top results using deep learning models
B.Disable all scoring and ranking algorithms to save CPU cycles
C.Tune HNSW parameters (m, efConstruction, efSearch) for optimal recall vs latency balance
D.Store embeddings as plain text strings in unindexed fields
E.Implement hybrid search combining BM25 keyword matching with vector similarity
AnswersA, C, E

Semantic ranker improves relevance precision for top results.

Why this answer

Maximizing recall and precision involves using HNSW indexing with tuned parameters, implementing hybrid search (BM25 + vector), and applying semantic re-ranking.

112
MCQhard

You are optimizing storage costs and search latency for a massive Azure AI Search vector index containing 50 million records, each with 3,072-dimensional embeddings from text-embedding-3-large. Which Azure AI Search feature should you implement to reduce memory footprint while maintaining acceptable recall?

A.Exhaustive K-nearest neighbor (exact KNN) search
B.Scoring profiles with magnitude boosting
C.Scalar Quantization (SQ)
D.Semantic enrichment with Azure AI Language
AnswerC

Scalar Quantization compresses float32 vector values to int8, reducing the memory required for the HNSW index graph by roughly 75%.

Why this answer

Scalar Quantization (SQ) in Azure AI Search compresses 32-bit floating-point vector values down to 8-bit integers (int8), significantly reducing memory usage and accelerating vector search performance with minimal loss in recall accuracy.

113
Multi-Selectmedium

When configuring an Azure AI Search vector index, which TWO parameters can be adjusted within the HNSW algorithm configuration to trade off between search speed, memory usage, and recall accuracy? (Choose two)

Select 2 answers
A.efSearch
B.replicaCount
C.partitionCount
D.maxTextLength
E.m
AnswersA, E

efSearch controls the size of the candidate list during the search phase, affecting recall and latency.

Why this answer

In HNSW, parameters like m (links per node) and efSearch (size of candidate list during search) allow tuning between recall accuracy and query performance.

114
MCQeasy

Which property in an Azure Cosmos DB for NoSQL SQL query specifies the maximum number of vector search results to return?

A.TOP
B.FETCH FIRST
C.LIMIT
D.MAXROWS
AnswerA

The SELECT TOP n syntax limits the number of items returned.

Why this answer

Cosmos DB uses the standard SQL TOP clause to limit the number of results returned by a query.

115
MCQmedium

You are building a RAG application using Azure AI Search. You want to ensure that the search results provided to the LLM are as relevant as possible by leveraging a re-ranking model. Which service must be enabled to utilize the 'Semantic Ranker'?

A.Standard Tier or higher
B.Basic Tier
C.Free Tier
D.Storage Optimized Tier
AnswerA

The Semantic Ranker requires the Standard tier or higher to access the necessary compute infrastructure.

Why this answer

The Semantic Ranker is a feature that requires the Standard tier or higher in Azure AI Search to perform deep learning-based re-ranking.

116
MCQhard

You are designing a RAG solution where documents are dynamically updated in Azure AI Search. You notice that search results return outdated information immediately after document updates. What is the cause of this behavior?

A.Semantic ranker caches search results for exactly 30 days
B.Azure OpenAI embedding models require a 24-hour cool-down period before new embeddings become valid
C.Vector indexes in Azure AI Search are read-only after creation and cannot accept updates
D.The indexer has not yet run its scheduled synchronization cycle to process changes from the data source
AnswerD

Scheduled indexers have a lag time between data source updates and index synchronization.

Why this answer

Azure AI Search indexers run on schedules or require explicit change detection, meaning changes in the source data are not reflected in the search index until the indexer runs or push updates are submitted.

117
MCQmedium

You are writing a query in Azure Cosmos DB for NoSQL to retrieve documents based on vector similarity against a target embedding. Which built-in SQL function should you use in the ORDER BY clause?

A.CosSimilarity()
B.EmbeddingDistance()
C.GetVectorDistance()
D.VectorDistance()
AnswerD

VectorDistance() computes the distance between two vectors using metrics like cosine, dot product, or Euclidean distance.

Why this answer

Azure Cosmos DB provides the VectorDistance() system function to compute similarity or distance between stored vectors and query vectors.

118
Multi-Selecthard

You are optimizing an Azure Cosmos DB for NoSQL vector search container. Which THREE properties must be correctly configured inside the vectorEmbeddingPolicy JSON object? (Choose three)

Select 3 answers
A.path
B.httpPort
C.dataType
D.distanceFunction
E.sslEnabled
AnswersA, C, D

The JSON path to the vector property is mandatory.

Why this answer

The vectorEmbeddingPolicy in Cosmos DB requires defining paths, dataTypes, distanceFunctions, and dimensions for each vector property.

119
MCQeasy

Your company stores product catalog items in Azure Cosmos DB for NoSQL and needs to implement vector search for recommendation capabilities. Which indexing policy property must you add to enable vector indexing on a container?

A.compositeIndexes
B.vectorIndexes
C.spatialIndexes
D.fullTextIndexes
AnswerB

The vectorIndexes property is mandatory in the indexingPolicy to define the paths and types of vector indexes.

Why this answer

Azure Cosmos DB for NoSQL requires a vectorIndexes array within the indexingPolicy to index vector properties for similarity search.

120
Multi-Selectmedium

When designing an AI architecture that uses Azure AI Search, which TWO methods can be used to ingest documents and their vector embeddings into the search index? (Choose two)

Select 2 answers
A.Direct mounting of an NFS network share as the search index
B.FTP file transfer into the search engine storage directory
C.Push API using HTTP POST requests to upload documents directly
D.Direct SQL Server backup restore (.bak file import)
E.Indexers connected to supported data sources with integrated vectorization
AnswersC, E

Applications can push documents and pre-computed embeddings directly via the REST API or SDK.

Why this answer

Azure AI Search supports pushing data via the Push API (REST/SDK) or pulling data using indexers connected to data sources like Blob Storage or Cosmos DB.

121
MCQhard

You are implementing a hybrid search solution in Azure AI Search that combines BM25 keyword search scores and HNSW vector search scores. By default, how does Azure AI Search normalize and combine these disparate score spaces before applying the RRF algorithm?

A.Min-max feature scaling on raw scores
B.Softmax probability conversion
C.Z-score standardization on vector distances
D.Reciprocal Rank Fusion (RRF) ranking combination
AnswerD

RRF combines ranks from multiple retrievers using a reciprocal rank formula to produce a unified score without needing raw score normalization.

Why this answer

Azure AI Search uses Reciprocal Rank Fusion (RRF) to combine scores from different query types (such as text and vector) by normalizing ranks rather than raw scores, mitigating the scale discrepancy between BM25 and cosine distance.

122
MCQhard

You are designing a high-throughput RAG pipeline where documents are continuously ingested and queried. You choose Azure Cosmos DB for NoSQL as your vector store. How does Cosmos DB handle vector indexing updates when new documents are inserted?

A.Vector indexes are updated asynchronously in the background by the database engine
B.You must manually trigger an index rebuild stored procedure every hour
C.Vector search is completely unavailable until the entire collection is re-indexed from scratch
D.New documents cannot be queried using VectorDistance until the container is restarted
AnswerA

Cosmos DB manages vector index maintenance asynchronously in the background.

Why this answer

Azure Cosmos DB indexes vector embeddings asynchronously in the background as documents are written, balancing write performance with index availability.

123
Multi-Selecteasy

Which THREE data types or formats are commonly used to represent embeddings when preparing data for storage in a vector-enabled Azure service?

Select 3 answers
A.JSON arrays.
B.Arrays of floats (single precision).
C.List of floating-point numbers (floats).
D.Base64 encoded binary image data.
E.Vectorized text sequences (token IDs).
AnswersA, B, C

JSON arrays are the standard way to transport vector data to Azure services.

Why this answer

Embeddings are typically represented as arrays of floats, stored as JSON lists, or exported from models like Azure OpenAI as numerical vectors.

124
MCQmedium

You are developing an enterprise retrieval-augmented generation (RAG) application using Azure AI Search. You need to configure a vector index to store dense vector embeddings alongside traditional text fields. Which property within the Azure AI Search index definition must be explicitly configured with a vector search profile to enable HNSW (Hierarchical Navigable Small World) algorithm indexing?

A.vectorIndexKind
B.compressionMethod
C.vectorSearchProfile
D.similarityFunction
AnswerC

The vectorSearchProfile property links a vector field to a defined vector search algorithm configuration and optional vectorizer.

Why this answer

The vectorSearch configuration block inside an Azure AI Search index definition requires a profiles array where algorithms and vectorizer settings are tied together. Each searchable vector field then references the vector search profile via the vectorSearchProfile property.

125
MCQmedium

You are evaluating Cosmos DB for NoSQL vs. Azure AI Search for a vector search application. Your application requires strict ACID compliance for metadata updates along with vector search. Which should you choose and why?

A.Cosmos DB because it is the only service that supports vectors.
B.Cosmos DB because it supports document-level ACID transactions.
C.Azure AI Search because it supports better hybrid search.
D.Azure AI Search because it uses HNSW for faster searches.
AnswerB

Cosmos DB's transactional support is the differentiator when metadata integrity is a requirement.

Why this answer

Cosmos DB for NoSQL provides strong consistency and ACID transactions, which is critical for metadata consistency, while offering built-in vector search capabilities.

126
MCQeasy

You are storing embeddings generated by text-embedding-3-small in Azure Cosmos DB for NoSQL. Which indexing policy property must be explicitly configured to enable vector search queries on your container?

A.Vector embedding policy and vector indexes
B.Full-text search indexing policy
C.Composite indexes containing string fields
D.Included paths with geospatial indexes
AnswerA

Azure Cosmos DB requires configuring a vector embedding policy and defining vector indexes within the indexing policy to enable vector distance functions.

Why this answer

To run vector search queries in Azure Cosmos DB for NoSQL, the container's indexing policy must include a dedicated vector embedding path with a datatype of 'vector'.

127
Multi-Selectmedium

When configuring vector search in Azure Cosmos DB for NoSQL, which TWO steps are required to prepare a container for vector search before inserting documents? (Choose two)

Select 2 answers
A.Define the vectorEmbeddingPolicy at container creation or update
B.Define vectorIndexes within the indexingPolicy
C.Mount an NFS network share for vector file storage
D.Install the pgvector extension on the container
E.Create a relational foreign key constraint to Azure SQL
AnswersA, B

The vector embedding policy defines paths, dimensions, data types, and distance functions.

Why this answer

Preparing a Cosmos DB container for vector search requires adding a vector embedding policy and defining vector indexes in the indexing policy.

128
MCQmedium

You are configuring vector indexing in Azure Cosmos DB for MongoDB (vCore). You need to choose an indexing type for your vector property to balance query performance and recall accuracy for high-dimensional data. Which vector index type should you select for approximate nearest neighbor (ANN) search?

A.FULLTEXT index
B.HNSW (Hierarchical Navigable Small World)
C.B-Tree index
D.HASH index
AnswerB

HNSW is a graph-based approximate nearest neighbor vector index supported in Azure Cosmos DB for MongoDB vCore.

Why this answer

Azure Cosmos DB for MongoDB (vCore) supports both DiskANN and HNSW (Hierarchical Navigable Small World) index types for vector search. HNSW and DiskANN provide ANN search capabilities, with DiskANN being optimized for large-scale datasets stored on SSDs.

129
MCQhard

You are troubleshooting a performance issue where an Azure AI Search indexer fails to complete within the scheduled execution window when processing large PDF documents. What is the most effective configuration change to resolve the timeout issue?

A.Configure the indexer maxRunTime property and scale out search units or adjust batch size
B.Convert all vector fields to Edm.String
C.Switch the search service to the Free tier
D.Delete all semantic configurations from the index
AnswerA

Adjusting maxRunTime and batch sizes allows large indexer jobs to complete successfully.

Why this answer

Increasing the indexer maxRunTime or increasing search unit capacity helps handle large workloads during indexing.

130
Multi-Selectmedium

You are designing a vector search solution using Azure AI Search. Which THREE of the following are necessary steps to configure an index to support vector search?

Select 3 answers
A.Define a 'vectorSearch' configuration within the index schema.
B.Set the index to 'ReadOnly' mode.
C.Assign a 'vectorSearchProfile' to the vector-capable fields.
D.Ensure all vector fields are set to 'Edm.String'.
E.Define vector fields as type 'Collection(Edm.Single)'.
AnswersA, C, E

This defines the algorithms and metrics to be used.

Why this answer

To enable vector search, one must define the vector search configuration (algorithm/metric), create fields of type 'Collection(Edm.Single)', and assign the vector search profile to those fields.

131
MCQmedium

You are querying an Azure Cosmos DB for NoSQL container using vector search. You execute a query using the VectorDistance() system function. Which query structure is required to properly execute this vector search?

A.SELECT TOP 10 c.id FROM c WHERE VectorDistance(c.vectorProp, [0.1, 0.2]) > 0.9
B.JOIN vectorIndex ON c.id = vectorIndex.id
C.SELECT TOP 10 c.id, VectorDistance(c.vectorProp, [0.1, 0.2]) AS score FROM c ORDER BY VectorDistance(c.vectorProp, [0.1, 0.2])
D.GROUP BY VectorDistance(c.vectorProp, [0.1, 0.2])
AnswerC

Vector distance queries require selecting the function and ordering by it using TOP to retrieve the nearest neighbors.

Why this answer

Vector search queries in Azure Cosmos DB for NoSQL require using the VectorDistance system function in the ORDER BY clause to sort by similarity and selecting the top results using TOP.

132
MCQhard

You are managing an Azure AI Search index with millions of high-dimensional vectors. Users experience intermittent timeout errors during peak query hours. Upon investigation, you find that the search service CPU utilization is at 100%. What is the most effective architectural mitigation?

A.Scale out the search service by adding search units (replicas)
B.Increase the embedding dimension size from 1536 to 3072
C.Switch the index from HNSW to exhaustive k-NN search
D.Decrease the number of replicas to reduce network chatter
AnswerA

Adding replicas distributes query load and increases query throughput capacity.

Why this answer

Scaling out search units (adding replicas) increases query throughput and distributes CPU load across multiple nodes.

133
MCQeasy

Which Azure portal blade allows you to view and manage access keys and connection strings for an Azure AI Search service?

A.Data source
B.Certificates
C.Scale
D.Keys
AnswerD

The Keys blade manages API keys for authentication.

Why this answer

The 'Keys' blade in the Azure Portal provides admin and query API keys for Azure AI Search.

134
MCQeasy

When designing a data layer architecture for an AI application using Azure AI Search, what is the primary role of an integrated vectorizer?

A.To execute full-text BM25 keyword matching alongside vector calculations.
B.To automatically convert raw source text fields into vector embeddings during indexing and queries without requiring external orchestration code.
C.To compress vector indexes using lossy compression algorithms to save disk storage.
D.To generate cryptographic hashes for document deduplication.
AnswerB

Integrated vectorization handles the translation from text to embeddings natively within Azure AI Search.

Why this answer

An integrated vectorizer in Azure AI Search automates the process of transforming raw text chunks into vector embeddings directly within the search service pipeline, calling an endpoint like Azure OpenAI automatically during document ingestion and queries.

135
Multi-Selecthard

You are designing a data layer architecture for an enterprise AI assistant that requires high-performance vector search, structured filtering, and multi-tenant isolation. Which THREE design patterns should you consider? (Choose three)

Select 3 answers
A.Combining vector similarity with metadata filters to narrow search scope
B.Storing all tenant data in a single unindexed JSON blob without partition keys
C.Using tenant-specific partition keys or metadata filter tags for multi-tenant isolation
D.Hardcoding all user prompts directly into the search index schema
E.Implementing hybrid search to capture both exact keyword matches and conceptual similarities
AnswersA, C, E

Pre-filtering or combined filtering ensures only authorized and relevant context is retrieved.

Why this answer

Effective AI data layer design patterns include logical partitioning for multi-tenancy, pre-filtering metadata, and hybrid retrieval combining keyword and vector search.

136
Multi-Selecthard

When configuring vector search algorithms in Azure AI Search, you can tune several parameters associated with the Hierarchical Navigable Small World (HNSW) graph. Which THREE parameters are configurable within an HNSW algorithm profile?

Select 3 answers
A.efConstruction
B.bm25K1
C.chunkOverlapSize
D.efSearch
E.m
AnswersA, D, E

efConstruction determines the size of the dynamic candidate list during index building, trading off index build time against recall accuracy.

Why this answer

The HNSW algorithm profile configuration in Azure AI Search accepts parameters such as m (max bi-directional links per node), efConstruction (size of dynamic candidate list during construction), and efSearch (size of dynamic candidate list during search).

137
Multi-Selectmedium

When configuring an Azure AI Search index, which TWO field attributes are required if a field is going to be used for full-text keyword search and filtering? (Choose two)

Select 2 answers
A.searchable
B.vectorSearchProfile
C.facetable
D.filterable
E.sortable
AnswersA, D

The searchable attribute enables full-text search indexing using BM25.

Why this answer

To search and filter text fields, the field must be marked as searchable (for BM25 search) and filterable (for OData filters).

138
MCQeasy

Which Azure AI Search feature allows you to re-order search results using advanced machine learning models trained by Microsoft to dramatically improve semantic relevance?

A.BM25 Scoring
B.Fuzzy Search
C.Reciprocal Rank Fusion
D.Semantic Ranker
AnswerD

Semantic Ranker applies advanced AI models to re-rank search results for better relevance.

Why this answer

The Semantic Ranker feature in Azure AI Search uses deep learning models to re-rank top search results.

139
MCQhard

You are optimizing query performance for an Azure AI Search index experiencing high query volumes with vector search. You need to scale out query processing capabilities without increasing index build time. Which action should you perform?

A.Rebuild the index using exhaustiveKnn
B.Increase the number of partition instances
C.Increase the number of search units by adding replica instances
D.Upgrade the search service from Standard to Basic tier
AnswerC

Adding replicas scales out query throughput and provides high availability for vector search workloads.

Why this answer

To scale out query throughput (QPS) and handle higher query load for vector search in Azure AI Search, you should increase the number of replica units.

← PreviousPage 2 of 2 · 139 questions total

Ready to test yourself?

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