Courseiva

Microsoft Certified: Azure AI Cloud Developer Associate (AI-200) (AI-200) (AI-200) — Questions 301375

507 questions total · 7pages · All types, answers revealed

Page 4

Page 5 of 7

Page 6
301
MCQeasy

Your application publishes events to an Azure Event Grid custom topic. You need to restrict publishing access so that only clients with a specific User-Assigned Managed Identity can send events. How should you secure the topic?

A.Embed the primary SAS access key into the client's application environment variables.
B.Assign the 'Event Grid Data Sender' role to the Managed Identity on the Event Grid topic resource scope.
C.Enable AMQP 1.0 token authentication on the event subscription.
D.Configure an Azure Storage firewall rule on the topic endpoint.
AnswerB

Assigning Azure RBAC roles via Microsoft Entra ID provides secure, keyless authentication for event publishers.

Why this answer

Azure Event Grid supports Role-Based Access Control (RBAC) using Microsoft Entra ID. You can assign the 'Event Grid Data Sender' role to the Managed Identity on the Event Grid topic scope.

302
MCQmedium

You need to ensure that PII (Personally Identifiable Information) detected in your AI application logs is automatically masked before it is persisted in Log Analytics. What is the recommended approach?

A.Enable PII masking in the Azure OpenAI resource settings.
B.Implement an ITelemetryProcessor in the application SDK.
C.Use Azure Policy to deny logs containing specific patterns.
D.Configure a Log Analytics Data Collection Rule (DCR) to filter logs.
AnswerB

Telemetry processors are the programmatic way to scrub data before it is sent to Azure.

Why this answer

Using an Application Insights Telemetry Processor allows you to intercept telemetry items, inspect content, and mask sensitive strings before the data leaves the application process.

303
MCQeasy

Your data science team pushes container images to Azure Container Registry (ACR). You need to ensure that every image pushed is automatically scanned for known vulnerabilities before being deployed to production. Which ACR feature should you enable?

A.Microsoft Defender for Cloud vulnerability scanning
B.ACR Tasks
C.Azure Policy geo-replication rules
D.Content Trust signing
AnswerA

Defender for Cloud scans images pushed to ACR for Common Vulnerabilities and Exposures (CVEs).

Why this answer

Microsoft Defender for Cloud integrates with ACR to provide vulnerability scanning for container images upon push or import.

304
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 ensures the query relies strictly on the vector query rather than full-text search.

Why this answer

To execute a pure vector query in Azure AI Search without keyword search, you omit or leave the 'search' parameter empty while providing the 'vectorQueries' parameter.

305
MCQhard

You are deploying an AI model to AKS that requires a specific kernel module. What is the recommended strategy to ensure the node has this module?

A.Use a privileged InitContainer to load the module.
B.Ask Microsoft support to update the kernel.
C.Modify the AKS cluster configuration file.
D.Include the module in the Docker image.
AnswerA

A privileged DaemonSet or InitContainer can load kernel modules if permissions allow.

Why this answer

Using a Custom Node Image or a DaemonSet to load the module is the standard way to handle kernel dependencies.

306
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' defines the size of the candidate list during search graph traversal.

Why this answer

In Azure AI Search, the HNSW algorithm configuration accepts 'm' (number of bi-directional links per node) and 'efSearch' (size of the dynamic candidate list during search), along with 'efConstruction'.

307
Multi-Selecthard

Which THREE of the following are benefits of using ACR Tasks for containerized AI workloads?

Select 3 answers
A.Automatic scaling of the registry.
B.Triggering builds on base image updates.
C.Automated image building from source code.
D.Multi-step build tasks.
E.Direct deployment to Azure SQL.
AnswersB, C, D

Keeps AI images patched automatically.

Why this answer

ACR Tasks automate builds, secure workflows, and integrate with source control triggers.

308
MCQhard

Your company's security policy requires that all Azure Event Grid namespaces and topics reside within a virtual network and are not accessible over the public internet. Which feature should you implement?

A.Configure Service Bus Virtual Network rules on a Standard namespace.
B.Enable Storage firewall rules on the Event Grid subscription storage account.
C.Configure Private Endpoints on an Event Grid Premium namespace.
D.Attach an Azure Application Gateway in front of the Event Grid Standard endpoint.
AnswerC

Event Grid Premium supports private endpoints, allowing private IP connectivity from a Virtual Network.

Why this answer

Azure Event Grid Premium supports Virtual Network (VNet) service endpoints and private endpoints to secure ingress traffic.

309
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

Mismatching dimensions will cause the indexing process to fail.

Why this answer

Indexer failures often stem from schema mismatches (e.g., incorrect field type) or capacity issues (e.g., exceeding the maximum allowable dimensions for a vector).

310
MCQeasy

You need to analyze log queries across multiple AI applications and infrastructure components to identify custom performance bottlenecks. Which query language is used in Azure Monitor Log Analytics to write queries against collected log data?

A.GraphQL
B.SQL Server Transact-SQL (T-SQL)
C.Kusto Query Language (KQL)
D.Azure Resource Graph Query (ARGQL)
AnswerC

Correct. KQL is designed for high-performance log and telemetry data analysis in Azure Monitor.

Why this answer

Kusto Query Language (KQL) is the query language used to retrieve and analyze data in Azure Monitor Log Analytics.

311
MCQhard

You are optimizing a large language model container inference deployment on AKS using GPU-enabled nodes (NC-series). The inference server experiences frequent out-of-memory errors on the GPU device itself during high context lengths. Which Kubernetes configuration metric should you monitor and alert on?

A.container_memory_working_set_bytes via kubelet
B.container_cpu_cfs_throttled_periods_total
C.node_net_bytes_total
D.container_gpu_memory_used_bytes via NVIDIA DCGM Exporter
AnswerD

NVIDIA DCGM exporter tracks GPU-specific memory consumption metrics directly.

Why this answer

Monitoring NVIDIA GPU memory usage via DCGM (Data Center GPU Manager) metrics in Prometheus/Grafana is critical for detecting GPU out-of-memory errors.

312
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 specifies whether field contents can be returned in query responses.

Why this answer

The retrievable property in Azure AI Search field definitions determines whether field values appear in search response documents.

313
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

An index can contain multiple vector fields, enabling multi-modal search across text and image embeddings.

Why this answer

Azure AI Search supports multiple vector fields within a single index schema, allowing different fields to use different vector dimensions and embedding models (e.g., text embeddings and image embeddings).

314
MCQeasy

You need to monitor the monthly cost of an Azure AI Document Intelligence resource to ensure it does not exceed a specified budget. Where should you configure an automated notification when the cost reaches 80% of the budget?

A.Configure an alert rule in Azure Monitor on the Document Intelligence resource metric 'Transactions'.
B.Set up an action group in Azure Advisor to monitor billing anomalies.
C.Create a Budget in Azure Cost Management + Billing with an alert threshold set to 80%.
D.Create an expenditure alert inside the Azure AI Foundry portal.
AnswerC

Azure Budgets provide native monitoring and alerting based on cost thresholds.

Why this answer

Azure Cost Management + Billing allows creating Budgets with alert conditions that trigger email notifications when a specific threshold (e.g., 80%) is reached.

315
Multi-Selecthard

You are troubleshooting a slow-performing Azure AI Search service that indexes millions of documents. You want to check performance counters and query execution metrics using Azure Monitor. Which THREE of the following metrics or log categories are available for Azure AI Search? (Choose three)

Select 3 answers
A.Azure SQL Database transaction log backup success rate
B.Throttled Search Queries Percentage (queries dropped due to capacity limits)
C.Azure Bastion active SSH session count
D.Storage Size (disk space consumed by search indexes)
E.Search Latency (time taken to serve search queries)
AnswersB, D, E

Correct. Throttling metrics indicate when the search service lacks sufficient replicas/partitions.

Why this answer

Azure AI Search provides search latency, throttled search queries percentage, and storage metrics in Azure Monitor metrics.

316
MCQeasy

You need to store sensitive database connection strings and AI API keys used by containerized applications running in Azure Container Apps. Which feature should you use to securely store and reference these values?

A.A standard DNS TXT record
B.Container App Secrets
C.Azure Storage account public blob container
D.Plain text Dockerfile ENV directives
AnswerB

Container App secrets securely store sensitive data that can be referenced as environment variables.

Why this answer

Azure Container Apps supports built-in secrets management, allowing secure storage and referencing of sensitive configuration data.

317
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.

318
MCQeasy

Which command-line interface tool is used to deploy and manage container images directly to Azure Container Registry?

A.helm.
B.docker build.
C.az acr.
D.kubectl.
AnswerC

az acr is the Azure CLI module for ACR.

Why this answer

The Azure CLI (az acr) is the standard tool for managing ACR resources.

319
MCQmedium

You are managing an AKS cluster and need to ensure that GPU driver updates do not disrupt running AI inference workloads. Which AKS feature helps manage GPU operator lifecycle and driver installation?

A.Azure Bastion host extension
B.Azure Policy for Kubernetes
C.NVIDIA GPU Operator installed via Helm
D.Container Insights agent upgrade
AnswerC

The NVIDIA GPU Operator manages GPU drivers, CUDA software, and device plugins automatically on Kubernetes.

Why this answer

AKS supports automated GPU driver installation and management using GPU-optimized node image SKUs and the NVIDIA GPU Operator.

320
Multi-Selecthard

You are architecting a resilient, high-throughput AI telemetry ingestion pipeline using Azure Event Hubs. The pipeline must support multiple independent downstream AI consumer applications reading the same telemetry stream at different speeds without interfering with one another. Which TWO architectural components or features must you configure? (Choose two)

Select 2 answers
A.Multiple Consumer Groups
B.Azure Service Bus Topics with subscriptions
C.Event Hubs Capture
D.Capture partitioning via Geo-Disaster Recovery
E.Event Grid system topics
AnswersA, C

Consumer groups allow multiple consuming applications to each have a separate view of the event stream and read at their own pace.

Why this answer

To allow multiple independent consumer applications to read the same stream, you must use multiple Consumer Groups. Additionally, throughput is scaled using Throughput Units (or Processing Units in Kafka/Dedicated tiers).

321
MCQhard

You are configuring an Azure Container Apps environment with a custom Virtual Network. Your AI containers need to securely connect to an Azure SQL Database that is secured behind a private endpoint. Which configuration is required on the Container Apps environment?

A.Use an external Azure Application Gateway in front of the container apps
B.Deploy the Container Apps environment into a custom VNet with workload profile subnets
C.Enable Azure Bastion on the subnet
D.Configure IP restriction rules on the ingress controller
AnswerB

Integrating Azure Container Apps into a custom VNet allows resolution and routing to private endpoints.

Why this answer

To communicate with private endpoints within a VNet, Azure Container Apps must be deployed within a custom virtual network with a dedicated subnet.

322
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.

323
MCQmedium

Your machine learning engineering team needs to run training jobs on Azure Machine Learning compute clusters. To minimize costs during off-peak hours, you need to configure the compute cluster to automatically scale down to zero nodes when no jobs are queued, and scale up when jobs are submitted. What setting should you configure on the compute cluster?

A.Set the minimum number of nodes to 0 and the maximum nodes according to workload requirements
B.Configure Azure Automation runbooks to stop the physical datacenter servers
C.Set the minimum number of nodes equal to the maximum number of nodes
D.Use Azure Functions timer triggers to delete the compute target every evening
AnswerA

Correct. Setting min nodes to 0 allows compute resources to deallocate when idle, saving costs.

Why this answer

Configuring the minimum number of nodes to 0 on an Azure Machine Learning compute cluster allows it to scale down completely when idle, reducing costs.

324
Multi-Selecthard

You are configuring comprehensive observability for an intelligent application built on Azure AI Document Intelligence and Azure OpenAI. Which THREE telemetry types or tools should you configure in Application Insights to capture complete operational insights? (Choose three)

Select 3 answers
A.Configure dependency tracking to monitor outgoing HTTP calls made to Azure AI REST endpoints.
B.Track custom events to log domain-specific metrics like document processing success rates.
C.Install the Azure Firewall policy manager directly onto the Application Insights SDK.
D.Enable exception telemetry to automatically capture unhandled runtime errors and stack traces.
E.Use Azure Active Directory conditional access policies to restart unhealthy worker threads.
AnswersA, B, D

Dependency tracking automatically captures outgoing calls to Azure AI services, measuring latency and response codes.

Why this answer

Application Insights collects custom telemetry, tracks downstream dependencies, and records unhandled application exceptions.

325
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.

326
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.

327
MCQmedium

Your organization is implementing strict compliance standards. All event payloads transmitted through Azure Event Grid must be encrypted in transit using TLS 1.3 and encrypted at rest using a customer-managed key (CMK). Which Azure Event Grid tier supports configuring customer-managed keys?

A.Event Grid Standard tier
B.Event Grid Basic tier
C.Event Grid Basic tier with custom schema extensions
D.Event Grid Premium tier
AnswerD

The Event Grid Premium tier supports advanced enterprise features including customer-managed keys (CMK).

Why this answer

Azure Event Grid Standard tier uses Microsoft-managed keys, whereas the Premium tier supports customer-managed keys (CMK) and zone redundancy.

328
MCQmedium

Your enterprise AI application is deployed across multiple Azure regions for high availability. You need to ensure that logs from Application Insights instances in all regions are aggregated into a single central Log Analytics workspace for unified querying. How should you configure this?

A.Configure each Application Insights resource to use the same shared centralized Log Analytics workspace during creation
B.Deploy a separate Log Analytics workspace in every region and use Azure Backup to copy tables
C.Write a custom Python script that downloads logs from each region every hour and uploads them to Azure Blob Storage
D.Use Azure Traffic Manager to merge log data streams at the DNS level
AnswerA

Correct. Multiple Application Insights resources can send their telemetry to a single centralized Log Analytics workspace.

Why this answer

When creating or configuring Application Insights resources, you can specify an existing Log Analytics workspace as the backend destination for multiple Application Insights resources across regions.

329
MCQhard

You are troubleshooting a high-throughput stream processing pipeline using Azure Event Hubs. Consumers are experiencing lag because messages are accumulating faster than they can be processed. You want to temporarily replay historical events from 2 hours ago without altering the current consumer group offsets permanently. What should you do?

A.Enable Geo-Disaster Recovery to force the secondary region to sync historical logs.
B.Delete the existing consumer group and recreate it with a 2-hour retention limit.
C.Purge all messages from the Event Hub using the Azure CLI az eventhubs purge command.
D.Create a new temporary consumer group and initialize the event receiver with a custom starting offset based on enqueued timestamp.
AnswerD

Creating a new consumer group ensures you do not disrupt the production application's offset pointer while reading historical data.

Why this answer

Event Hubs consumer groups maintain offsets. To replay data, you can create a new consumer group or use the receiver API to specify a starting offset or custom datetime (e.g., via EventPosition.from_enqueued_time).

330
MCQhard

You are designing a message-based architecture in Azure Service Bus where certain high-priority messages must bypass standard messages in the queue and be processed immediately. What feature should you implement?

A.Enable Express Queues to bypass disk I/O for high-priority messages.
B.Configure Event Grid priority routing filters.
C.Implement custom application logic that peeks and receives messages by sequence number, while utilizing multiple queues for high versus low priority.
D.Set the Priority property on the BrokeredMessage header to 10.
AnswerC

Service Bus queues are strict FIFO. True priority messaging requires separate queues or explicit sequence-number retrieval.

Why this answer

Azure Service Bus supports message deferral and dead-lettering, but for out-of-order priority processing, developers can implement message prioritization using multiple queues or retrieve messages by sequence number using Peek/Receive methods.

331
MCQhard

You are deploying a high-performance AI model in AKS. You need to ensure the container has access to the underlying host's NVIDIA GPU. What must be configured in the Pod spec?

A.Mount the host path '/dev/nvidia0'.
B.Use an InitContainer to install the driver.
C.Set 'privileged: true' in the security context.
D.Define a Resource Request for 'nvidia.com/gpu'.
AnswerD

This resource request is required for the NVIDIA device plugin to assign a GPU to the pod.

Why this answer

The pod must request 'nvidia.com/gpu' resources to ensure the scheduler places it on a GPU node and mounts the drivers.

332
MCQmedium

Your team needs to process high-volume clickstream data from a web application using Apache Kafka protocols while leveraging Azure-managed infrastructure. Which Azure service should you deploy?

A.Azure Event Grid
B.Azure Notification Hubs
C.Azure Service Bus
D.Azure Event Hubs
AnswerD

Event Hubs provides a Kafka-compatible endpoint that supports Apache Kafka client libraries (version 1.0 and later).

Why this answer

Azure Event Hubs provides a native Kafka endpoint, allowing existing Kafka producer and consumer applications to talk to Event Hubs without changing code.

333
MCQmedium

You are setting up auto-scaling for a containerized AI web app in Azure Container Apps. You want to scale based on the number of concurrent HTTP requests. Which scaler do you use?

A.Azure Service Bus scaler.
B.HTTP scaler.
C.CPU usage scaler.
D.Memory usage scaler.
AnswerB

The HTTP scaler allows scaling based on request concurrency.

Why this answer

The 'http' scaler in KEDA (integrated in ACA) is specifically designed to scale based on HTTP traffic.

334
Multi-Selectmedium

When configuring Azure Monitor alerts for an AI application, which TWO action types can be included in an Action Group to notify operations personnel? (Choose two)

Select 2 answers
A.Direct formatting of Azure billing invoices
B.Automated deletion of Azure subscription resources
C.Webhook integration to trigger automated incident creation in ITSM tools
D.Email / SMS / Push notifications
E.Local BIOS firmware updates for physical hypervisors
AnswersC, D

Correct. Webhooks allow integrating alerts with external ticketing systems like ServiceNow or PagerDuty.

Why this answer

Action groups support multiple notification channels including email, SMS, push notifications, and webhooks.

335
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.

336
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.

337
MCQeasy

You want to ensure that no AI services can be created in unauthorized Azure regions across your entire subscription. Which Azure governance tool should you use to enforce this restriction?

A.Azure Monitor action groups
B.Azure Cost Management budgets
C.Azure Policy with the 'Allowed locations' definition
D.Azure Security Center JIT access
AnswerC

Correct. Azure Policy evaluates and enforces compliance rules, such as restricting deployments to allowed regions.

Why this answer

Azure Policy allows yourestrict resource creation to specific regions using policy definitions such as 'Allowed locations'.

338
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.

339
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.

340
MCQmedium

Your team is developing an AI solution that uses Azure Cognitive Services. You need to ensure that the API keys cannot be extracted from the client-side mobile application. What is the recommended architectural pattern to achieve this?

A.Use Azure Front Door to strip API keys from incoming mobile requests
B.Implement a backend API proxy (e.g., Azure Functions or API Management) that authenticates mobile clients and calls Cognitive Services using secure server-side keys
C.Store the Cognitive Services API key in an encrypted local SQLite database on the mobile device
D.Configure Cognitive Services for anonymous public access and rely on mobile app version checks
AnswerB

Correct. Mobile clients should never store secret keys; a backend proxy handles authentication and secure upstream API calls.

Why this answer

Routing mobile client requests through an intermediary backend service (such as Azure API Management or Azure Functions) that holds the API keys securely prevents embedding keys in mobile code.

341
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.

342
MCQeasy

An AI application uses Azure Service Bus queues for task distribution. A background worker receives a message, but needs more time to complete the lengthy AI inference task before the message lock expires. Which method should the worker invoke?

A.AbandonAsync
B.DeadLetterAsync
C.RenewLockAsync
D.CompleteAsync
AnswerC

RenewLockAsync extends the lock on the message, giving the worker more time to complete processing.

Why this answer

The worker should call `RenewLockAsync` on the message receiver to extend the lock duration and prevent other workers from picking up the message.

343
Multi-Selecteasy

You want to monitor the security posture and compliance score of your Azure AI resources. Which TWO of the following tools should you use? (Choose two)

Select 2 answers
A.Azure Container Registry storage tiers
B.Azure DNS zone editor
C.Azure Cost Management for billing forecasts
D.Azure Policy compliance dashboard for regulatory standard evaluations
E.Microsoft Defender for Cloud for security recommendations and secure score
AnswersD, E

Correct. Azure Policy tracks compliance against regulatory frameworks.

Why this answer

Microsoft Defender for Cloud and Azure Policy are the primary tools for assessing security posture and policy compliance.

344
MCQhard

You notice that your AKS pods are stuck in 'ContainerCreating' state. You check the events and see 'FailedMount'. What is the most likely cause?

A.The node is out of CPU resources.
B.The container crashed immediately.
C.The container image is too large.
D.The associated Persistent Volume Claim (PVC) is missing or cannot be bound.
AnswerD

FailedMount is the standard error when a volume cannot be mounted.

Why this answer

FailedMount typically occurs when a requested volume (like a PVC or Secret) cannot be attached or accessed.

345
MCQeasy

You need to export Azure Monitor metric and log data to an external SIEM solution for security auditing. Which Azure feature should you use to stream this telemetry in real-time to an external Event Hub?

A.Azure Backup vault scheduled jobs
B.Azure Advisor recommendations export
C.Diagnostic settings configured to stream to an Azure Event Hub
D.Azure Resource Graph queries
AnswerC

Correct. Diagnostic settings allow real-time streaming of logs and metrics to Event Hubs for SIEM integration.

Why this answer

Diagnostic settings in Azure Monitor support streaming platform logs and metrics directly to Azure Event Hubs, which can then forward data to external SIEM tools like Splunk or QRadar.

346
Multi-Selecteasy

Which TWO of the following are valid ways to authenticate an AKS cluster to an Azure Container Registry?

Select 2 answers
A.Azure Managed Identity.
B.Azure Active Directory Service Principal.
C.Azure Monitor.
D.Hardcoded Docker config file.
E.Azure Policy.
AnswersA, B

Preferred modern method.

Why this answer

Managed Identity and Service Principals are the two standard ways for AKS to authenticate to ACR.

347
MCQmedium

You are designing an asynchronous AI image classification workflow. Client applications upload images to Azure Blob Storage and need to be notified immediately when processing completes. The notification must include custom metadata generated by the AI worker. Which architecture should you implement?

A.Use Azure Service Bus topics with session IDs set to the image hash.
B.Configure an Azure Storage queue that triggers whenever a blob is modified.
C.Poll the Azure Blob Storage container metadata every 5 seconds from the client app.
D.The AI worker publishes a custom event to an Azure Event Grid Topic upon completion.
AnswerD

Event Grid custom topics allow applications to push arbitrary event schemas containing custom metadata to subscribers.

Why this answer

Publishing custom events to an Event Grid custom topic or system topic allows worker functions to emit structured events with custom payload metadata upon completion.

348
MCQmedium

Your enterprise AI solution runs across multiple subscriptions. You want to implement centralized cost allocation tags for all Azure AI resources to ensure every resource is tagged with 'CostCenter' and 'Environment'. Which Azure feature should you use to automatically audit and enforce these tags?

A.Application Insights telemetry initializers
B.Azure Advisor security rules
C.Azure Policy with tag governance rules (e.g., 'Inherit a tag from the resource group' or 'Require specified tag')
D.Azure Cost Management budgets
AnswerC

Correct. Azure Policy provides built-in definitions for auditing and enforcing mandatory resource tags.

Why this answer

Azure Policy with 'Modify' or 'Append' effects can enforce tag presence or automatically add required tags during resource creation.

349
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.

350
Multi-Selecthard

You are analyzing security and compliance logs in an Azure Log Analytics workspace. You want to write KQL queries to investigate potential security incidents or token acquisition failures. Which THREE of the following KQL tables or operators are valid and useful for this investigation? (Choose three)

Select 3 answers
A.The exceptions table to analyze application error stack traces and failure types.
B.The SELECT * FROM command syntax traditionally used in relational SQL databases.
C.The DROP TABLE administrative command inside Application Insights log streams.
D.The summarize operator to aggregate telemetry data using functions like count() or percentile().
E.The dependencies table to inspect outbound API call targets, durations, and success results.
AnswersA, D, E

Correct. Exceptions table records unhandled application exceptions.

Why this answer

The dependencies, exceptions, and traces tables (or security audit tables) along with operators like where, summarize, and percentile are standard KQL elements.

351
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.

352
MCQmedium

You are building an event-driven architecture where an Azure Function needs to process messages from an Azure Service Bus queue. To optimize cost and resource utilization during quiet periods, you want the Azure Function host to scale down to zero instances when the queue is empty, and scale out rapidly when messages arrive. Which hosting plan should you choose?

A.Azure Functions Premium Plan or Consumption Plan
B.Azure Virtual Machines with autoscale rules
C.Azure App Service Dedicated (App Service Plan - S1 tier)
D.Azure Kubernetes Service with manual pod scaling
AnswerA

Both Consumption and Premium plans support scale-to-zero and event-driven scaling based on queue depth.

Why this answer

Azure Functions Premium Plan or Consumption Plan supports scale-to-zero and scaling based on Azure Service Bus queue length metrics via the Azure Functions Service Bus trigger scaler.

353
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.

354
MCQmedium

Your team is building an asynchronous order processing pipeline. If a downstream AI service fails to process a message from a Service Bus queue after 5 delivery attempts, the message must be automatically removed from active processing and preserved for manual inspection. What should you configure?

A.Enable Duplicate Detection with a history window of 5 attempts.
B.Configure the Max Delivery Count property on the queue and enable dead-lettering on message expiration or failure.
C.Set the AutoDeleteOnIdle property on the queue to 5 minutes.
D.Implement Event Grid dead-lettering pointing to an Azure Blob Storage container.
AnswerB

Setting max delivery count and dead-lettering ensures poison messages are quarantined automatically.

Why this answer

Azure Service Bus provides a dead-letter queue (DLQ) feature. When max delivery count is exceeded, the message is automatically moved to the DLQ for troubleshooting.

355
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.

356
MCQmedium

Your enterprise AI application ingests millions of telemetry events per second from IoT devices using Azure Event Hubs. Downstream AI models consume these events via Apache Spark on Azure Databricks. You need to ensure that telemetry from the same device is always processed by the same Spark executor in order to maintain state. How should you partition your Event Hub?

A.Configure a custom partition key containing the device ID when publishing events to the Event Hub.
B.Increase the number of Consumer Groups on the Event Hub to isolate different device streams.
C.Set the Event Hub capture feature to output messages to Azure Data Lake Storage partitioned by device ID.
D.Deploy an Azure Service Bus Topic in front of Event Hubs with session IDs enabled.
AnswerA

Using a partition key derived from the device ID ensures all events from that device land in the same partition and are processed in order.

Why this answer

Event Hubs uses partition keys to ensure events with the same partition key are routed to the same partition, which downstream consumers like Spark can read sequentially.

357
Multi-Selectmedium

You are designing a secure enterprise AI architecture on Azure. Which TWO of the following practices should you implement to secure credentials and service access? (Choose two)

Select 2 answers
A.Use system-assigned or user-assigned managed identities for Azure service-to-service authentication.
B.Store API keys and connection strings as plain text in Git repository configuration files.
C.Store runtime secrets and certificates in Azure Key Vault.
D.Grant subscription Owner permissions to all mobile client applications.
E.Disable TLS encryption on internal microservice communication to improve network throughput.
AnswersA, C

Correct. Managed identities eliminate the need for developers to manage credentials.

Why this answer

Using managed identities eliminates hardcoded credentials, and storing runtime configuration secrets in Azure Key Vault ensures centralized, secure secret management.

358
Multi-Selectmedium

When monitoring an Azure OpenAI Service deployment using Azure Monitor, which TWO metrics are commonly tracked to evaluate throughput and capacity limits? (Choose two)

Select 2 answers
A.Active Connections / Request Count
B.Azure SQL Database DTU percentage utilization
C.Processed Tokens or Generated Tokens metrics
D.Virtual Machine disk IOPS performance counters
E.Azure Backup vault storage consumption
AnswersA, C

Correct. Request count and rate metrics show API call volume and concurrency.

Why this answer

Processed prompts/tokens and generated tokens are key performance and usage metrics tracked for Azure OpenAI deployments.

359
MCQmedium

Your organization mandates that all data transferred between your Azure web application and Azure OpenAI Service must not traverse public internet routers, even within Azure's backbone. Which Azure networking configuration provides this guarantee?

A.Azure Private Link with private endpoints
B.Public IP addresses with strict Network Security Group rules
C.Azure Traffic Manager with weighted routing
D.Azure CDN with geo-filtering
AnswerA

Correct. Private Link routes traffic over Microsoft's private backbone network directly to private endpoints.

Why this answer

Azure Private Link with private endpoints ensures traffic remains entirely within Microsoft's private network backbone using private IP addresses.

360
MCQhard

Your enterprise AI solution runs on Azure Kubernetes Service (AKS) and utilizes Azure Key Vault to store secrets and API keys for cognitive services. You need to provide pods with secure, credential-less access to Azure Key Vault without storing connection strings in Kubernetes secrets or environment variables. Which integration should you implement?

A.Kubernetes Service Account tokens mapped to Key Vault access policies via static connection strings
B.A Kubernetes CronJob that pulls keys from Key Vault and creates sealed secrets
C.Azure Container Instances virtual nodes with managed system-assigned identities
D.Azure Key Vault Provider for Secrets Store CSI Driver with Azure AD Workload Identity
AnswerD

Correct. This is the recommended secure pattern for Kubernetes workloads to access Azure Key Vault using managed identities.

Why this answer

Azure Key Vault Provider for Secrets Store CSI Driver allows AKS to get secrets stored in Key Vault using Azure AD Workload Identity, mounting them directly as volumes or syncing them as Kubernetes secrets securely.

361
Multi-Selecthard

You are designing an enterprise cloud solution that integrates Azure Event Grid, Azure Service Bus, and Azure Event Hubs. You need to select the appropriate service for three specific event-driven scenarios. Which THREE pairings of Azure messaging service to scenario are correct? (Choose three)

Select 3 answers
A.Azure Service Bus for managing financial transactions requiring strict ordering, sessions, and dead-lettering.
B.Azure Event Hubs for ingesting 500,000 telemetry events per second from smart grid sensors.
C.Azure Event Grid for routing blob-created notifications to serverless AI functions.
D.Azure Event Hubs for triggering real-time serverless webhooks upon user profile updates.
E.Azure Event Grid for streaming continuous IoT sensor telemetry into Azure Databricks.
AnswersA, B, C

Service Bus provides enterprise messaging features like transactions, sessions, and robust dead-lettering.

Why this answer

Event Grid is for reactive discrete events; Event Hubs is for big data telemetry streaming; Service Bus is for enterprise transactional messaging.

362
Multi-Selecteasy

You are auditing your Azure subscription for security best practices related to Azure AI resources. Which TWO of the following actions help enforce governance and security? (Choose two)

Select 2 answers
A.Grant every user Contributor rights to the entire Azure subscription.
B.Use Azure Policy to enforce allowed deployment regions and mandatory tagging.
C.Share the master subscription co-administrator password with all external contractors.
D.Disable all firewall rules on Azure Key Vault.
E.Apply 'CanNotDelete' resource locks on critical production AI resources.
AnswersB, E

Correct. Azure Policy governs resource compliance across subscriptions.

Why this answer

Applying resource locks prevents accidental deletion, and enforcing Azure Policy ensures regional and configuration compliance.

363
MCQhard

Your enterprise architecture uses Azure Service Bus Topics and Subscriptions with geo-disaster recovery paired namespaces. A disaster occurs, and you trigger a failover to the secondary region. What happens to the messages currently in the subscriptions of the primary namespace?

A.All queued messages are automatically migrated to the secondary region within 5 seconds.
B.Azure Event Grid automatically replays all lost messages from the storage capture.
C.The primary namespace messages are permanently deleted and cannot be recovered.
D.Messages remaining in the primary namespace are not automatically replicated to the secondary namespace; failover relies on metadata synchronization.
AnswerD

Service Bus geo-disaster recovery replicates namespace metadata, but unconsumed messages in queues/topics are not replicated asynchronously unless active replication is configured.

Why this answer

When performing a geo-disaster recovery failover in Azure Service Bus, metadata is synced, but uncommitted or queued messages in the primary namespace do not automatically replicate to the secondary namespace unless using active-active replication, meaning clients must be designed to handle failover state.

364
Multi-Selectmedium

Which TWO of the following features help manage traffic to containerized applications?

Select 2 answers
A.Azure Monitor.
B.Azure Key Vault.
C.Service Mesh (Istio/Linkerd).
D.Azure Blob Storage.
E.Kubernetes Ingress Controller.
AnswersC, E

Provides traffic splitting and mTLS.

Why this answer

Ingress controllers and Service Mesh (like Istio) are the standard tools for traffic management.

365
Multi-Selecthard

Which TWO of the following techniques help optimize the performance of containerized AI models in AKS?

Select 2 answers
A.Tune pod resource limits and requests.
B.Disable all logging.
C.Use the standard CNI instead of Azure CNI.
D.Increase the replica count to 100 for all services.
E.Use dedicated node pools for GPU tasks.
AnswersA, E

Ensures optimal resource utilization.

Why this answer

Resource tuning and node selection are the most effective ways to optimize performance.

366
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.

367
MCQmedium

An enterprise AI system uses Azure Service Bus Topics to distribute work items. One of your subscriptions has a high volume of low-priority messages that block high-priority tasks. You want to enable high-priority messages to be processed first without creating separate topics. Which Service Bus feature should you use?

A.Configure Event Grid advanced filters on the Service Bus topic.
B.Enable Service Bus Priority Queueing in the namespace configuration settings.
C.Create multiple subscriptions with SQL filters evaluating a custom 'Priority' property.
D.Enable Auto-forwarding from the low-priority queue to the dead-letter queue.
AnswerC

By defining subscriptions with SQL filters for priority levels, workers can pull high-priority messages first.

Why this answer

Azure Service Bus supports receiving messages by Sequence Number or using message priorities via sessions/filters, but Service Bus queues/subscriptions natively support peek and receive by priority if implemented with multiple subscriptions or SQL filters. However, Service Bus also supports partitioning and sorting. Wait, Service Bus does not have a native integer priority queue out of the box unless implemented via multiple subscriptions with SQL filters checking a Priority property.

368
Multi-Selectmedium

You are deploying an event-driven AI workflow using Azure Service Bus. Which TWO mechanisms help ensure message delivery reliability and prevent data loss during transient outages? Each correct answer represents a valid reliability mechanism.

Select 2 answers
A.Duplicate detection using a configurable time window
B.Event Hubs partition auto-deletion
C.Event Grid webhook retry push loops with infinite retention
D.Storage Queue client-side polling loops
E.Dead-lettering queues for handling poison or unprocessable messages
AnswersA, E

Duplicate detection prevents identical messages from being enqueued multiple times.

Why this answer

Service Bus provides dead-lettering for failed messages and duplicate detection to prevent redundant processing.

369
Multi-Selectmedium

You are designing an enterprise event-driven architecture for AI workloads. Which TWO Azure services provide native support for publishing discrete, reactive event notifications when resources are created or modified? Each correct answer represents a complete solution.

Select 2 answers
A.Azure Notification Hubs
B.Azure Blob Storage (native event notifications)
C.Azure Event Grid
D.Azure Event Hubs
E.Azure Service Bus Queues
AnswersB, C

Blob Storage has native integration with Event Grid to emit blob-created/deleted events.

Why this answer

Azure Event Grid and Azure Logic Apps (via Event Grid connectors or built-in triggers) or storage account notifications natively support discrete event notifications. Specifically, Event Grid and storage native event notifications are designed for this purpose.

370
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.

371
MCQhard

You are integrating Azure Container Registry with Azure Kubernetes Service. You want to enable authentication without storing static credentials (username/password) in Kubernetes secrets. What is the recommended integration method?

A.Store ACR admin credentials in a Kubernetes Secret object
B.Configure a Docker daemon config.json file on every node manually
C.Attach the ACR to the AKS cluster using Azure CLI attachment command
D.Enable anonymous pull on the Azure Container Registry
AnswerC

ACR-AKS integration automatically configures the kubelet identity with Reader/AcrPull permissions on the registry.

Why this answer

Attaching an ACR to an AKS cluster using 'az aks update --attach-acr' automatically grants the AKS kubelet managed identity permissions to pull images from the registry.

372
MCQmedium

You have an AI scoring script that runs periodically. You want to execute this containerized workload on a schedule without managing virtual machines. Which Azure service is best suited for running containerized batch jobs on a schedule?

A.Azure Kubernetes Service CronJobs
B.Azure Container Instances with restart policy Always
C.Azure Functions with HTTP triggers
D.Azure Container Apps Jobs
AnswerD

Container Apps Jobs are specifically designed for scheduled or triggered task execution to completion.

Why this answer

Azure Container Apps Jobs allow you to run containerized batch tasks triggered on a schedule, on-demand, or via events.

373
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.

374
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.

375
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.

Page 4

Page 5 of 7

Page 6

All pages