Courseiva

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

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

Page 5

Page 6 of 7

Page 7
376
Multi-Selectmedium

You are architecting an asynchronous machine learning inference pipeline. Which TWO Azure services allow you to decouple event publishers from event consumers using a publish-subscribe (pub/sub) pattern? Each correct answer represents a valid pub/sub architecture service.

Select 2 answers
A.Azure Event Grid
B.Azure Notification Hubs
C.Azure Storage Queues
D.Azure Event Hubs Capture
E.Azure Service Bus Topics
AnswersA, E

Event Grid provides native pub/sub routing for discrete events.

Why this answer

Azure Event Grid and Azure Service Bus (Topics) support the publish-subscribe messaging pattern.

377
Multi-Selectmedium

To optimize costs and monitor consumption for an Azure OpenAI deployment across multiple business units, which THREE practices should you implement? (Choose three)

Select 3 answers
A.Apply Azure resource tags representing cost centers or business units to all AI service instances.
B.Delete all Log Analytics diagnostic logs immediately upon generation to reduce storage billing.
C.Analyze token usage patterns using Azure Monitor metrics to evaluate switching between Provisioned Throughput and Pay-As-You-Go.
D.Provision maximum possible provisioned throughput units permanently regardless of active workload.
E.Set up Azure Budgets with alert actions to notify department heads when spending hits 80% of allocation.
AnswersA, C, E

Tags enable granular cost allocation and filtering in Cost Management reports.

Why this answer

Cost optimization and monitoring for Azure AI include tagging resources, setting up budgets, and evaluating provisioned versus pay-as-you-go capacity.

378
MCQmedium

You have an AI model container hosted in Azure Container Registry. You want to ensure that every container image pushed to the registry is automatically scanned for known vulnerabilities before deployment. Which ACR feature should you enable?

A.ACR Tasks auto-purge
B.Content Trust
C.ACR geo-replication
D.Microsoft Defender for Cloud vulnerability scanning
AnswerD

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

Why this answer

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

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

380
Multi-Selecthard

You are designing a big data telemetry ingestion pipeline using Azure Event Hubs. Which THREE configuration options or properties must you consider when planning Event Hubs capacity and scaling? (Choose three)

Select 3 answers
A.Partition Count
B.Service Bus Lock Duration
C.Event Grid Webhook Handshake Timeout
D.Throughput Units (TUs) or Processing Units (PUs)
E.Message Retention Period
AnswersA, D, E

Partition count determines consumer parallelism and cannot be easily changed after creation in standard tiers.

Why this answer

When planning Event Hubs capacity, you must consider Throughput Units (or Processing Units in dedicated clusters), Partition Count, and Message Retention Period.

381
MCQeasy

Your application publishes custom events to an Azure Event Grid topic. You want to ensure that event publishers transmit data over secure HTTPS endpoints only. How should you enforce this?

A.You must install a self-signed SSL certificate on the publisher client machine.
B.Event Grid enforces HTTPS by default for all custom topic publishing endpoints.
C.Configure an Azure Firewall rule allowing port 80 outbound.
D.You must configure an Azure Application Gateway in front of the Event Grid topic.
AnswerB

Event Grid endpoints require secure HTTPS connections for publishing events; plaintext HTTP is rejected.

Why this answer

Event Grid topics support an 'Minimum TLS Version' setting and enforce HTTPS by default for all publishing endpoints.

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

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

384
MCQhard

You are designing an AI streaming pipeline using Azure Event Hubs with Apache Kafka enabled. Existing Java producers using the Kafka producer API need to authenticate against Event Hubs securely using Microsoft Entra ID (OAuth 2.0). How should you configure the Kafka producer client properties?

A.Use plain text authentication with the Event Hub root SAS key as the username and password.
B.Deploy an Event Grid webhook proxy between the Kafka producer and Event Hubs.
C.Set the bootstrap.servers property to the Service Bus AMQP connection string.
D.Configure security.protocol=SASL_SSL, sasl.mechanism=OAUTHBEARER, and implement an OAuthBearerTokenCallbackHandler for Microsoft Entra ID token acquisition.
AnswerD

Kafka clients connecting to Event Hubs use SASL_SSL and OAUTHBEARER with Microsoft Entra tokens for secure authentication.

Why this answer

Event Hubs Kafka endpoints support SASL OAuthBearer authentication. You must configure `security.protocol=SASL_SSL`, `sasl.mechanism=OAUTHBEARER`, and supply a custom callback handler to generate Microsoft Entra access tokens.

385
Multi-Selectmedium

Your development team is implementing an event-driven microservices architecture using Azure Service Bus. You need to ensure strict FIFO (First-In, First-Out) message processing order for related financial transaction events in an AI fraud-detection workflow. Which THREE configuration steps are required? (Choose three)

Select 3 answers
A.Implement a MessageSession receiver in your client application to process messages sequentially per session.
B.Set a Session ID on all related messages sent to the queue.
C.Configure partitioning on the Service Bus namespace tier.
D.Enable sessions on the Azure Service Bus queue.
E.Enable duplicate detection with a 10-minute history window.
AnswersA, B, D

Receivers must explicitly accept message sessions (e.g., AcceptMessageSessionAsync) to process messages sequentially for that session.

Why this answer

To enforce strict FIFO ordering in Service Bus, you must enable sessions on the queue, ensure related messages share the same session ID, and use a sequential processing pattern on the receiver side.

386
MCQeasy

Your AI ingestion pipeline ingests millions of clickstream events per second from IoT devices and streams them into an Azure ML training pipeline. Which Azure service is specifically designed for high-throughput, low-latency telemetry ingestion at this scale?

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

Event Hubs is built specifically for high-throughput telemetry ingestion and streaming big data pipelines.

Why this answer

Azure Event Hubs is a big data streaming platform and event ingestion service capable of receiving and processing millions of events per second.

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

388
MCQhard

You are designing an asynchronous AI inference processing pipeline using Azure Service Bus Premium. Messages contain large payloads exceeding the standard Service Bus message size limit of 256 KB. You need to store the large payload in Azure Blob Storage while passing a reference in the Service Bus message. Which feature should you implement?

A.Enable compression on the Azure Service Bus queue properties to automatically shrink payloads larger than 256 KB before enqueuing.
B.Configure Azure Service Bus auto-forwarding to a secondary queue configured for jumbo messages.
C.Use the Azure Service Bus Claim Check pattern by storing the payload in Azure Blob Storage and sending only the blob URI in the message body.
D.Upgrade the Service Bus namespace to the Enterprise tier to unlock message payloads up to 100 MB.
AnswerC

The claim check pattern involves offloading large payloads to an external store (Blob Storage) and sending a lightweight reference token (claim check) through the messaging bus.

Why this answer

The Azure Service Bus Message Body Broker does not support large payloads natively beyond limits, but the Azure Service Bus client libraries provide the BrokeredMessage / Message helper pattern known as the Large Message Support pattern via Data Bus or manual blob pointer referencing. Alternatively, the Service Bus .NET SDK provides the ServiceBusPayloadUtilities or claim check pattern libraries.

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

390
MCQhard

You are investigating an incident where an AI model endpoint experienced a spike in memory consumption, resulting in Out-Of-Memory (OOM) container crashes. You want to query Log Analytics to find the exact container memory working set percentage across all replicas during the past 2 hours. Which table and KQL query should you use?

A.SecurityEvent | where TimeGenerated > ago(2h) | summarize count() by Account
B.InsightsMetrics | where TimeGenerated > ago(2h) | where Namespace == 'container' and Name == 'MemoryWorkingSetBytes' | summarize avg(Val) by Computer
C.AzureActivity | where TimeGenerated > ago(2h) | summarize count() by OperationName
D.AppTraces | where TimeGenerated > ago(2h) | summarize count() by Message
AnswerB

Correct. InsightsMetrics stores container performance counters such as memory working set.

Why this answer

Container metrics in Azure Monitor are stored in the `InsightsMetrics` table where `Namespace == 'container'` and `Name == 'memoryWorkingSetBytes'` or similar performance counters.

391
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).

392
MCQmedium

You are deploying an Azure OpenAI Service resource and must ensure that all traffic from your virtual network reaches the endpoint without traversing the public internet. Which feature should you configure?

A.Enable public network access with selected IP address ranges
B.Configure a Service Endpoint without enabling virtual network rules
C.Deploy an Azure Application Gateway in front of the endpoint
D.Configure a Private Endpoint for the Azure OpenAI resource
AnswerD

Private Endpoints map a private IP from your virtual network to the Azure OpenAI service, keeping traffic internal.

Why this answer

Private endpoints use private IP addresses from your VNet to securely bring services into your VNet, eliminating public exposure.

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

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

395
MCQmedium

You need to ensure that all data sent to Azure OpenAI Service is encrypted at rest using a custom encryption key that your organization controls and rotates. Which feature must you configure?

A.Client-side encryption using PGP keys before sending HTTP payloads
B.Customer-managed keys (CMK) stored in Azure Key Vault
C.Azure Information Protection sensitivity labels applied via Microsoft Purview
D.Transparent Data Encryption (TDE) configured via SQL Server Management Studio
AnswerB

Correct. CMK integration allows organizations to manage their own encryption keys for compliance and security.

Why this answer

Customer-managed keys (CMK) with Azure Key Vault allow you to use your own keys to encrypt data stored in Azure AI services.

396
MCQmedium

Your organization is building a multi-tenant AI platform. Tenants publish custom events to an Azure Event Grid topic. You need to ensure that tenant A's subscribers only receive events where the event subject starts with "tenant-a/". Which Event Grid feature should you implement on the event subscription?

A.Service Bus Topic Filters and Actions with SQL filter syntax.
B.Event Grid Advanced Filters with a StringBeginsWith operator on the subject property.
C.Event Hubs Capture filtering rules based on partition keys.
D.Azure API Management policies applied to the Event Grid custom topic ingress endpoint.
AnswerB

Subject filtering using StringBeginsWith allows you to isolate events based on naming conventions in the subject field.

Why this answer

Event Grid subscriptions support advanced filters and subject filters (startsWith/endsWith) to selectively route events to specific endpoints.

397
MCQeasy

You need to restrict access to an Azure OpenAI resource so that only requests originating from a specific Azure Virtual Network are permitted. What should you configure?

A.Enable Cross-Origin Resource Sharing (CORS) and specify the VNet IP range.
B.Configure the Azure OpenAI resource networking settings to allow access from 'Selected networks' and add your Virtual Network subnet.
C.Assign the Cognitive Services Contributor role to the Virtual Network principal.
D.Enable Microsoft Defender for Cloud on the Virtual Network.
AnswerB

Restricting firewall rules to selected networks secures the endpoint against public access.

Why this answer

Virtual network rules (service endpoints or private endpoints) on the Azure OpenAI firewall can restrict access to specific VNets.

398
MCQhard

You are troubleshooting a latency issue with an AI model deployed in a Virtual Machine. You suspect the issue is related to storage IOPS limits. Which tool should you use to check the storage performance metrics?

A.Azure Network Watcher.
B.Azure Resource Graph Explorer.
C.Application Insights Dependency logs.
D.Azure Monitor Metrics for the Virtual Machine.
AnswerD

Metrics provide the infrastructure-level disk performance counters required.

Why this answer

Azure Monitor 'Metrics' for the Virtual Machine resource provides 'Disk Read Operations/sec' and 'Disk Write Operations/sec', which are key for diagnosing IOPS bottlenecks.

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

400
Multi-Selectmedium

When designing an event-driven architecture using Azure Event Grid, which THREE security or delivery mechanisms can be configured on an event subscription? Each correct answer represents a valid configuration option.

Select 3 answers
A.AMQP 1.0 broker transaction coordination
B.Advanced filtering based on event data property values
C.Dead-letter destination pointing to an Azure Blob Storage container
D.Service Bus session lock duration extension
E.Managed Identity for authenticating secure delivery to webhooks
AnswersB, C, E

Event Grid allows advanced filtering on payload property keys and values.

Why this answer

Event Grid subscriptions support managed identity authentication, dead-lettering, and advanced filtering.

401
MCQeasy

You want to check the current monthly spend on your Azure OpenAI Service resource and identify which model deployments are consuming the most budget. Which Azure portal tool should you use?

A.Azure Security Center
B.Azure Monitor Metrics explorer
C.Azure Resource Health
D.Cost Analysis in Azure Cost Management + Billing
AnswerD

Correct. Cost Analysis provides detailed breakdowns of Azure spending by resource and meter.

Why this answer

Cost Analysis in Azure Cost Management allows you to filter and group costs by resource, service, and meter to analyze spending patterns.

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

403
MCQeasy

You want to limit the CPU resources that a specific AI inference pod can consume. Which Kubernetes field do you configure?

A.resources.requests.
B.securityContext.
C.resources.limits.
D.livenessProbe.
AnswerC

Limits provide the hard ceiling for resource usage.

Why this answer

The 'resources.limits' field in the container spec defines the maximum CPU and memory a pod can use.

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

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

406
MCQmedium

Your AI application consumes messages from an Azure Service Bus queue. During peak hours, processing takes longer than expected, and messages are frequently locked out and redelivered prematurely. You want to increase the time a message remains locked by the receiver. Where should you configure this setting?

A.On the Azure Service Bus queue properties by modifying the LockDuration setting.
B.On the Event Grid subscription retry interval settings.
C.On the Event Hubs consumer group retention period.
D.In the Azure Function host.json file under the eventHubs retry policy.
AnswerA

LockDuration determines how long a message lock is held before expiring, configurable up to 5 minutes.

Why this answer

The lock duration can be configured on the Service Bus queue settings (LockDuration property), up to a maximum of 5 minutes.

407
Multi-Selectmedium

You are deploying an AI model container in Azure Container Apps. Which TWO authentication mechanisms can you configure for securely pulling the image from a private Azure Container Registry?

Select 2 answers
A.ACR administrator username and password
B.Azure Active Directory client certificate stored in public DNS
C.Azure Storage account connection string
D.System-assigned managed identity
E.Anonymous public pull token
AnswersA, D

Admin credentials can be supplied directly in the container app registry settings.

Why this answer

Container Apps can authenticate to ACR using either a managed identity or registry administrator credentials.

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

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

410
Multi-Selectmedium

Your team is preparing an Azure AI application for production release. You need to implement robust monitoring and observability. Which TWO of the following steps should be taken? (Choose two)

Select 2 answers
A.Delete all log analytics workspaces weekly.
B.Rely solely on manual user bug reports without automated telemetry.
C.Configure Azure Monitor metric alerts and action groups for resource utilization and throttling thresholds.
D.Integrate the Application Insights SDK into application code to track requests, dependencies, and exceptions.
E.Disable all diagnostic logging to reduce storage overhead.
AnswersC, D

Correct. Metric alerts notify operators when performance thresholds or rate limits are approached.

Why this answer

Configuring Application Insights SDK for request/dependency tracing and setting up Azure Monitor metric alerts for CPU/throttling are core observability steps.

411
MCQhard

You are designing an enterprise-grade event-driven system where producers send financial transactions to Azure Event Hubs. You must guarantee that every single message is accounted for and that no data is lost even if an entire availability zone suffers a catastrophic failure. Which deployment configuration should you select for your Event Hubs namespace?

A.Configure Event Grid system topics with auto-delete set to false.
B.Deploy a Basic tier Event Hubs namespace with 30 consumer groups.
C.Use Azure Storage Queues configured with RA-GRS replication.
D.Deploy an Event Hubs namespace in a region supporting Availability Zones with zone redundancy enabled (Premium or Dedicated tier).
AnswerD

Zone-redundant deployments replicate data synchronously across multiple physical availability zones within a region, protecting against datacenter failures.

Why this answer

To achieve high availability across availability zones, you must deploy Event Hubs in a region that supports Availability Zones, and use a Geo-Disaster Recovery or zone-redundant Premium/Dedicated tier namespace.

412
MCQmedium

You are implementing an event-driven architecture where an Azure Function acts as an Event Grid subscriber. Occasionally, the downstream cognitive service is throttled, causing failures. You need to ensure that unprocessable events are not lost and can be inspected later. Where should you configure a dead-letter destination?

A.On the Azure Function trigger binding definition using the deadLetterQueueName property.
B.On the Azure Storage account firewall settings as an IP filter exception.
C.On the Event Grid event subscription, specify an Azure Blob Storage container as the dead-letter endpoint.
D.Inside the Azure Function application configuration settings as an Application Insights error sink.
AnswerC

Event Grid allows dead-lettering undelivered events to an Azure Storage account container for troubleshooting.

Why this answer

Event Grid supports configuring a dead-letter location (typically an Azure Storage blob container) on the event subscription to store events that could not be delivered.

413
MCQmedium

You are auditing your Azure AI services to ensure that all API keys are rotated regularly. What is the recommended practice for managing credentials in an enterprise AI solution?

A.Hardcode primary and secondary keys in application configuration files with failover logic.
B.Store API keys in plain text in Azure DevOps variable groups.
C.Rotate API keys manually every 7 days using the Azure portal.
D.Eliminate API keys by migrating authentication to Microsoft Entra ID managed identities.
AnswerD

Managed identities remove the need to store, manage, and rotate credentials.

Why this answer

Using managed identities eliminates API keys entirely, aligning with zero-trust security architecture.

414
Multi-Selectmedium

Which THREE logs or telemetry types should you collect in Azure Monitor to comprehensively troubleshoot an AI-powered web application?

Select 3 answers
A.Application requests and response status codes.
B.Dependency tracking for calls to Azure OpenAI and Azure AI Search.
C.Azure Bastion audit logs.
D.Trace logs emitted by the application code.
E.Azure Firewall packet capture PCAP files.
AnswersA, B, D

Tracks inbound user traffic and success/failure rates.

Why this answer

Application Insights collects request telemetry, dependency tracking for API calls, and trace logs for debugging logic.

415
MCQmedium

Your application publishes messages to an Azure Service Bus queue. The messages contain sensitive personal data. Enterprise compliance mandates that message payloads are encrypted end-to-end at the application layer before being sent to Service Bus. How should you implement this?

A.Encrypt the message payload in your application code using a key from Azure Key Vault before sending, and decrypt upon receipt.
B.Configure Event Grid advanced filters to redact sensitive keys.
C.Enable Service Bus Premium Geo-Disaster Recovery with encryption enabled.
D.Use Shared Access Signature tokens with 5-minute expirations.
AnswerA

Client-side encryption ensures the broker (Service Bus) never sees plaintext data, satisfying strict zero-trust compliance.

Why this answer

For end-to-end client-side encryption, the application must encrypt the message payload using an encryption key from Azure Key Vault before serializing and sending it to Service Bus, then decrypt it upon receipt.

416
MCQeasy

Your team pushes custom AI model container images to Azure Container Registry (ACR). Company policy states that all container images must be automatically scanned for Common Vulnerabilities and Exposures (CVEs) upon push. Which ACR service tier must you use to meet this requirement using Microsoft Defender for Cloud?

A.Premium tier
B.Free tier
C.Standard tier
D.Basic tier
AnswerA

The Premium tier is required to integrate Microsoft Defender for Cloud vulnerability assessments for container images.

Why this answer

Vulnerability scanning integrated with Microsoft Defender for Cloud requires the Premium tier of Azure Container Registry.

417
Multi-Selecteasy

You are managing costs for an Azure AI solution and want to prevent unexpected budget overruns. Which TWO of the following cost monitoring and governance tools can you use? (Choose two)

Select 2 answers
A.Azure Advisor cost recommendations
B.Azure Bastion subnet configuration
C.Azure Key Vault access policies
D.Azure Service Health incident dashboard
E.Azure Cost Management budgets and alerts
AnswersA, E

Correct. Advisor provides actionable suggestions to optimize resource spend.

Why this answer

Azure Cost Management budgets allow setting spend thresholds with alerts, and Azure Advisor provides cost optimization recommendations.

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

419
MCQmedium

Your Python AI application is deployed to Azure App Service and connects to Azure Key Vault using a managed identity. Recently, you rotated the Key Vault secret value, but your App Service application is still retrieving the old secret value. What is the most likely reason for this behavior?

A.Log Analytics ingestion latency delayed the secret propagation
B.Managed identities cannot read updated secrets without a subscription reboot
C.Azure Key Vault automatically prevents secret updates within 30 days of creation
D.The application or Key Vault reference client is caching the secret value locally in memory
AnswerD

Correct. SDKs and App Service Key Vault references cache secrets to optimize performance, requiring time or a restart to refresh.

Why this answer

Azure Key Vault references or SDK client-side caching can cause applications to cache secrets for a period before fetching the updated value.

420
MCQeasy

An AI system uses Azure Service Bus queues for processing text-generation jobs. A specific job causes the worker function to crash repeatedly, leading to the message being redelivered continuously. Which Service Bus feature should you configure to capture these poison messages after a specific delivery count is reached?

A.Duplicate detection
B.Dead-letter queue (DLQ)
C.Autoforwarding
D.Partitioning
AnswerB

The dead-letter queue stores messages that cannot be processed successfully, preventing infinite retry loops (poison messages).

Why this answer

Service Bus provides a dead-letter queue (DLQ) to automatically isolate messages that fail processing repeatedly (poison messages) based on MaxDeliveryCount.

421
MCQmedium

Your team is building an automated image moderation pipeline. When an image is uploaded to Azure Blob Storage, you need to trigger an Azure Function to process it using Azure AI Vision. You want to ensure the lowest latency and native cloud event integration. Which integration approach should you configure?

A.Attach an Azure Event Hubs capture policy to the storage container.
B.Use an Azure Logic Apps polling trigger to check the storage container every minute for new files.
C.Configure an Azure Event Grid system topic and subscription for blob storage events targeting the Azure Function.
D.Write a background worker service that reads the Azure Service Bus queue populated by storage transactions.
AnswerC

Event Grid provides push-based native event notifications for Azure Blob Storage, triggering the function instantly upon blob creation.

Why this answer

Configuring an Azure Event Grid system topic and subscription on the storage account allows blob-created events to push directly to the Azure Function with minimal latency.

422
MCQmedium

You have a custom machine learning model deployed as a managed online endpoint in Azure Machine Learning. You need to ensure that scoring requests made to the endpoint are encrypted in transit and that client authentication is enforced using JSON Web Tokens (JWT). What authentication method does the managed online endpoint support by default?

A.Shared Access Signatures (SAS) tokens generated from Azure Blob Storage accounts
B.Basic HTTP authentication with plain-text username and password headers
C.Anonymous access with rate limiting enabled via network security groups
D.Token-based authentication using Azure AD access tokens and key-based authentication
AnswerD

Correct. Azure Machine Learning managed online endpoints support both token-based (Azure AD) and key-based auth.

Why this answer

Managed online endpoints in Azure Machine Learning support key-based authentication and Azure Active Directory (Azure AD) token-based authentication out of the box.

423
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().

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

425
Multi-Selecthard

Your Azure Machine Learning workspace is secured inside a virtual network with private endpoints. To ensure that data scientists can securely train models and access data stores without exposing resources to the public internet, which THREE of the following configurations must be established? (Choose three)

Select 3 answers
A.Private endpoints for associated Azure Storage accounts, Key Vault, and Azure Container Registry.
B.Disabling public network access on the Azure Machine Learning workspace resource.
C.Configuring Azure Bastion or ExpressRoute/VPN for secure developer access to private compute instances.
D.Public IP addresses assigned directly to every compute instance for direct SSH debugging.
E.Enabling anonymous public scoring endpoints for all model deployments.
AnswersA, B, C

Correct. Dependent services of an AML workspace must also be secured with private endpoints.

Why this answer

Securing workspaces requires private endpoints for the workspace storage accounts/key vault, disabling public network access, and configuring peered virtual networks or Azure Bastion/VPN for workspace access.

426
MCQmedium

Your enterprise security team mandates that all outbound traffic from your Azure Machine Learning workspace must pass through a centralized Azure Firewall, and no public IP addresses can be associated with workspace compute instances. Which workspace network isolation configuration should you select?

A.Public workspace with basic password authentication enabled on compute instances
B.Workspace using dynamic public IP allocation with Network Security Group (NSG) allow rules
C.Serverless compute instances with public endpoint access enabled
D.Workspace with a managed virtual network and outbound rules configured for user-defined routing through Azure Firewall
AnswerD

Correct. Azure Machine Learning managed virtual network with workspace outbound rules allows secure traffic routing through a firewall without public IPs.

Why this answer

A fully private workspace with outbound rules (user-defined routes / Azure Firewall) ensures all traffic stays within private networks and outbound internet is controlled.

427
MCQmedium

You are deploying an AI model container to Azure Container Apps. The container application needs to securely connect to an Azure SQL Database without storing plain-text database credentials in environment variables or application code. What is the recommended feature to use?

A.Azure Key Vault references with managed identity
B.Azure Container Registry admin credentials
C.Container Apps encrypted environment variables
D.Kubernetes secrets mapped via sidecar proxy
AnswerA

Azure Container Apps natively supports referencing Azure Key Vault secrets securely using a managed identity.

Why this answer

Managed identities for Azure resources allow Azure Container Apps to authenticate to Azure services that support Azure AD authentication without embedding credentials in code or configuration.

428
Multi-Selectmedium

You are troubleshooting an Azure Function triggered by an Azure Event Grid subscription. The function is failing to receive events. Which TWO diagnostic steps should you take in the Azure Portal or via Azure CLI? Each correct answer is a valid troubleshooting action.

Select 2 answers
A.Inspect the configured dead-letter blob storage container for undelivered event files.
B.Verify the AMQP listener port 5671 firewall rules on the function app.
C.Check Event Grid metric charts for delivery failures, dropped events, and matched events.
D.Review Service Bus session lock renewal logs.
E.Check Event Hubs consumer group checkpoint offset status.
AnswersA, C

If dead-lettering is enabled, failed events are archived in the storage container.

Why this answer

You can check Event Grid delivery metrics and inspect the dead-letter container if configured.

429
MCQeasy

Your team is developing an Azure Function that acts as an Event Grid webhook subscriber. You want to test the function locally using the Azure Functions Core Tools CLI. Which command starts the local runtime and enables local event ingestion?

A.func start
B.dotnet watch run-eventgrid
C.az eventgrid topic local-debug
D.az functionapp deployment source config
AnswerA

The `func start` command starts the local Azure Functions host, allowing local webhook endpoints to receive HTTP triggers.

Why this answer

Running `func start` starts the local Azure Functions runtime, exposing port 7071 for local webhook testing.

430
MCQmedium

You are configuring an Azure Kubernetes Service (AKS) cluster to host GPU-accelerated AI model inference workloads using NVIDIA GPUs. Which component must you install in the cluster to enable containerized workloads to utilize the GPU nodes?

A.NVIDIA Device Plugin for Kubernetes
B.KEDA scaler
C.NVIDIA GPU Operator
D.Azure Monitor agent
AnswerC

The NVIDIA GPU Operator automates the installation of GPU drivers, container runtime, and device plugins required for AKS GPU nodes.

Why this answer

The NVIDIA GPU Operator automates the management of all NVIDIA software components needed to provision GPUs in Kubernetes.

431
MCQmedium

Your application makes frequent calls to Azure AI Document Intelligence. You need to ensure that if a transient network failure or HTTP 503 service unavailable error occurs, the Python SDK automatically retries the failed requests with exponential backoff. How should you initialize the client to support robust retry behavior?

A.Write a custom infinite while loop wrapping every API call without sleep intervals
B.Disable all exception handling so the application crashes immediately on error
C.Configure Azure Traffic Manager with failover routing priorities
D.Instantiate the client with custom retry policy parameters (e.g., retry_total, retry_backoff_factor)
AnswerD

Correct. Azure SDK clients provide robust built-in retry configuration options for handling transient errors.

Why this answer

Azure SDK clients include built-in retry policies that can be configured with custom retry intervals, backoff factors, and maximum retry counts during client instantiation.

432
MCQeasy

You are developing an AI application in Azure and need to monitor custom telemetry, trace dependencies, and track dependency failures for calls made to an external machine learning model endpoint. Which Azure service should you use?

A.Azure Advisor
B.Microsoft Defender for Cloud
C.Azure Policy
D.Application Insights
AnswerD

Correct. Application Insights tracks requests, custom events, exceptions, and outbound dependency calls.

Why this answer

Application Insights, a feature of Azure Monitor, provides comprehensive application performance management and telemetry tracking for live web and AI applications.

433
Multi-Selecthard

You are configuring secure ingress and network isolation for an Azure Container Apps environment. Which THREE capabilities are supported when configuring networking for Container Apps? (Choose three.)

Select 3 answers
A.Exposing the environment with either external (public) or internal (private VNet) ingress
B.Direct modification of physical Azure datacenter top-of-rack switches
C.Deploying the environment within a customer-managed Azure Virtual Network (VNet) subnet
D.Direct attachment of physical Fibre Channel storage SAN arrays
E.Configuring custom domain names with automated managed TLS/SSL certificates
AnswersA, C, E

Ingress can be configured as external for public access or internal for VNet-only private access.

Why this answer

Azure Container Apps supports custom domain bindings with managed certificates, integration into a pre-existing Virtual Network (VNet), and internal/external ingress configuration.

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

435
MCQeasy

An event subscriber endpoint hosted on an Azure App Service web app is failing to receive events from an Azure Event Grid system topic. Upon investigation, you discover Event Grid received a handshake validation failure. What is the most likely cause?

A.The event payload exceeded the 1 megabyte size limit.
B.The Service Bus connection string was incorrectly formatted.
C.The web app did not correctly handle and echo back the validation code during the Webhook handshake.
D.The App Service pricing tier does not support HTTPS connections.
AnswerC

Webhook endpoints must respond to the validation OPTIONS/POST request by returning the validation response handshake.

Why this answer

When creating an Event Grid subscription, Event Grid sends a Subscription Validation event with a validation code. The endpoint must respond with the validation code to prove ownership before events are delivered.

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

437
MCQhard

Your team has noticed a significant cost spike in your Azure OpenAI usage. You need to identify which specific deployment is responsible for the highest token consumption. Which tool provides the most granular visibility into this data?

A.Azure Monitor metrics with splitting on the 'DeploymentName' dimension.
B.Azure Advisor cost recommendations.
C.Application Insights logs via KQL query on the 'requests' table.
D.Azure Cost Management analysis on the resource group.
AnswerA

Splitting by dimension in Azure Monitor is the only native way to see token usage per deployment.

Why this answer

Azure Monitor metrics provide the 'Processed Tokens' metric, which can be split by 'DeploymentName' to see usage per model deployment.

438
MCQeasy

You are using Azure Container Apps to host a web API for an AI model. You want to ensure that only authorized traffic reaches the container. How should you secure the endpoint?

A.Configure an Azure Firewall in front of the Container App.
B.Enable 'Authentication' in the Ingress settings.
C.Use the --allow-all flag in the deployment command.
D.Place the container in a Public IP configuration.
AnswerB

ACA provides built-in authentication integration for ingress.

Why this answer

Container Apps can be placed in a VNET or use 'Ingress' settings with 'Authentication' enabled (e.g., Azure AD).

439
MCQmedium

You want to track the latency of your model inference API in production. Which Azure tool should you integrate into your containerized application?

A.Azure Application Insights.
B.Azure Storage Queue.
C.Azure Event Hubs.
D.Azure Data Factory.
AnswerA

App Insights tracks request latency and performance.

Why this answer

Application Insights is the standard for monitoring performance metrics and telemetry in Azure.

440
MCQhard

You are designing a multi-tenant AI ingestion pipeline using Azure Event Hubs. You need to ensure that low-priority tenants cannot starve high-priority tenants of partition resources. Which feature should you implement?

A.Set the Capture interval to 60 seconds for low-priority partitions.
B.Deploy separate Event Hubs namespaces for high-priority and low-priority tenants.
C.Configure RBAC permissions to restrict low-priority tenants to Reader roles.
D.Enable Azure DDoS Protection Standard on the Event Hubs consumer group.
AnswerB

Separate namespaces provide complete physical and resource isolation, preventing noisy-neighbor problems.

Why this answer

Event Hubs Dedicated clusters support capacity management and partitioning strategies, but for fine-grained client isolation, developers can use Partition Key isolation or separate namespaces.

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

442
MCQhard

You are troubleshooting high latency in an AI inference workload on AKS. You suspect the issue is caused by container startup time (cold starts). Which feature helps mitigate this?

A.Configuring Vertical Pod Autoscaler.
B.Azure Container Registry Artifact Streaming.
C.Increasing the memory limit for the pod.
D.Using a smaller base OS distribution.
AnswerB

Artifact streaming allows containers to start before the image is fully pulled.

Why this answer

Image Pull Secrets and ACR 'Artifact Streaming' (or pre-pulling images) are designed to reduce startup latency.

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

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

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

446
MCQeasy

An application publishes custom events to an Azure Event Grid custom topic. You need to route events dynamically based on the event's 'department' property in the event payload. Which filtering mechanism should you configure on the Event Grid subscription?

A.Event Hubs Capture filters
B.Advanced Filters
C.Subject Begins With/Ends With filters
D.Service Bus Correlation Filters
AnswerB

Advanced filters evaluate operators like stringBeginsWith, numberIn, and stringContains on specific JSON payload fields.

Why this answer

Event Grid supports Advanced Filters, which allow you cube or filter events based on specific JSON path properties in the data payload or event schema.

447
MCQeasy

You want to find out which Azure subscriptions and resource groups are incurring the highest costs for Azure Machine Learning compute instances this month. Where should you view this cost breakdown?

A.Azure Advisor security dashboard
B.Application Insights availability tests
C.Azure Monitor Metric alerts
D.Cost Analysis grouped by Resource Group and filtered by Service Name 'Machine Learning'
AnswerD

Correct. Cost Analysis grouping and filtering capabilities provide exact cost breakdowns by resource group and service.

Why this answer

Cost Analysis in Azure Cost Management allows you to group and filter costs by subscription, resource group, and resource type.

448
MCQhard

An AI application hosted in Azure App Service throws intermittent socket exhaustion errors under heavy load when calling Azure OpenAI. You suspect improper HTTP client management. How should you fix this in .NET?

A.Configure a private endpoint between the App Service and Azure OpenAI.
B.Use IHttpClientFactory to manage client lifecycles instead of instantiating new HttpClient objects per request.
C.Enable Always On in the App Service configuration settings.
D.Increase the TCP keep-alive timeout on the Azure App Service instance configuration.
AnswerB

Instantiating HttpClient per request exhausts available TCP sockets; IHttpClientFactory pools them correctly.

Why this answer

Using IHttpClientFactory prevents socket exhaustion by managing the lifetime of underlying HttpMessageHandler instances properly.

449
MCQhard

Your Azure OpenAI model deployment is experiencing a sudden latency spike. You want to determine if the bottleneck is due to server-side processing time or network transport overhead in your client application. Which Application Insights telemetry property should you inspect?

A.Dependency telemetry duration compared against custom client-side timers wrapping the API call
B.Azure Storage replication lag metrics
C.Azure Advisor performance score
D.Azure Policy compliance evaluation duration
AnswerA

Correct. Comparing the outbound dependency duration reported by the SDK with end-to-end client wall-clock time reveals network transit vs. server processing delays.

Why this answer

In Application Insights, the duration property of dependency telemetry records the total time taken for external calls, while server-side request telemetry records server processing time.

450
Multi-Selecthard

You are troubleshooting a containerized AI model deployment in Azure Container Apps that fails to pass its HTTP readiness probe. You need to inspect the container logs and runtime diagnostics. Which THREE tools or commands can you use to troubleshoot this issue? Each correct answer presents a complete solution.

Select 3 answers
A.Access the Azure Portal and use the Console diagnostic tool for the specific container app revision.
B.Run the az containerapp logs show Azure CLI command.
C.Query the Log Analytics workspace configured for the Container Apps environment.
D.Execute az aks browse to open the Kubernetes dashboard.
E.Use kubectl describe pod to inspect Kubernetes events.
AnswersA, B, C

The Azure Portal provides a built-in interactive console to connect directly to a running container revision for troubleshooting.

Why this answer

To troubleshoot Azure Container Apps, you can use the Azure CLI command 'az containerapp logs show', inspect the Log Analytics workspace where system and console logs are streamed, or use the Azure Portal Container Apps console diagnostic tools.

Page 5

Page 6 of 7

Page 7

All pages