Courseiva

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

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

Page 2

Page 3 of 7

Page 4
151
Multi-Selecthard

You are configuring diagnostic logging for an enterprise Azure OpenAI Service deployment. You need to forward logs to multiple destinations for security analysis and archiving. Which THREE of the following destinations are supported by Azure Monitor diagnostic settings? (Choose three)

Select 3 answers
A.Azure Event Hubs
B.Azure Storage account
C.Log Analytics workspace
D.Azure Container Registry local image cache
E.Azure Bastion host memory dump
AnswersA, B, C

Correct. Diagnostic settings can stream logs in real-time to Event Hubs for SIEM integration.

Why this answer

Diagnostic settings support routing logs and metrics to Log Analytics workspaces, Azure Storage accounts, and Azure Event Hubs.

152
MCQmedium

You are designing a multi-tenant AI document processing system. Tenants upload documents, and events are dispatched via Azure Event Grid. You need to ensure that tenant isolation is maintained and that events are securely delivered to tenant-specific webhook endpoints using Azure AD (Entra ID) authentication. Which authentication mechanism should you configure on the Event Grid subscription?

A.Configure a Managed Identity and Microsoft Entra ID authentication on the Event Grid webhook subscription destination.
B.Configure a Shared Access Signature (SAS) token on the Event Grid topic endpoint.
C.Attach an IP firewall rule on the Event Grid namespace to restrict delivery sources.
D.Enable Basic Authentication with a static API key in the Event Grid subscription schema settings.
AnswerA

Event Grid supports native Azure AD authentication using managed identities to securely push events to webhook endpoints.

Why this answer

Event Grid supports delivering events to webhook endpoints secured by Microsoft Entra ID by configuring an Azure AD application and managed identity.

153
Multi-Selectmedium

Which TWO of the following are valid autoscaling options for AKS?

Select 2 answers
A.Cluster Autoscaler (CA).
B.Manual registry scaling.
C.Horizontal Pod Autoscaler (HPA).
D.Storage capacity scaling.
E.Azure Service Bus scaling.
AnswersA, C

Scales nodes based on pending pods.

Why this answer

Horizontal Pod Autoscaler and Cluster Autoscaler are the two main ways to scale AKS.

154
MCQeasy

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

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

The path property specifies the JSON path to the vector array in the document.

Why this answer

The vector embedding policy defines paths (e.g., /vectorProperty) to locate the vector array inside items.

155
Multi-Selecthard

Your enterprise AI solution utilizes Azure Service Bus Premium. Which THREE features are exclusively available in the Premium messaging tier (or require Premium) compared to the Standard tier? Each correct answer represents a differentiating feature.

Select 3 answers
A.Dedicated resource allocation (isolated CPU and memory per namespace)
B.Auto-inflate for automatically scaling messaging units
C.Creation of brokered message queues and topics
D.Basic message session support for FIFO ordering
E.Virtual Network (VNet) service endpoints and private endpoints
AnswersA, B, E

Premium namespaces run on dedicated hardware resources.

Why this answer

Service Bus Premium provides VNet integration, Auto-inflate, and higher maximum message sizes or dedicated resource isolation.

156
MCQhard

You are implementing distributed tracing across an event-driven AI workflow that passes messages from Azure Service Bus to Azure Functions, and finally to an Azure Cosmos DB database. Which mechanism should you use to propagate correlation context between these services?

A.Enabling Azure Monitor diagnostic logs on the storage account.
B.Using AMQP 1.0 session locks to lock the trace state across network boundaries.
C.W3C Trace Context standard HTTP headers (such as traceparent) propagated through Service Bus message user properties.
D.Custom GUID generation stored exclusively in the Event Grid event subject field.
AnswerC

Modern Azure SDKs automatically inject W3C trace headers into Service Bus message properties, enabling end-to-end distributed tracing.

Why this answer

OpenTelemetry and W3C Trace Context standards (using headers like `traceparent`) are automatically injected and propagated by Azure Service Bus client libraries and Azure Functions bindings.

157
MCQmedium

You need to deploy a real-time object detection model inside an Azure Container App. The application requires immediate scale-out when the queue length of incoming image processing requests exceeds a threshold. Which scaling rule type should you configure?

A.Azure Queue Storage / Service Bus KEDA scaling rule
B.Memory utilization scaling rule
C.CPU utilization scaling rule
D.HTTP concurrency scaling rule
AnswerA

KEDA queue-based scaling rules inspect the backing message queue length to scale pods up or down accordingly.

Why this answer

Azure Container Apps supports KEDA scalers, including the Azure Service Bus, Azure Queue Storage, and Redis scalers for event-driven scaling.

158
MCQmedium

An enterprise application uses Azure AI Search and needs to authenticate securely to an Azure OpenAI backend without exposing credentials in connection strings. What is the recommended approach?

A.Create a shared access signature (SAS) token for the Azure OpenAI endpoint and rotate it every 30 days.
B.Configure a system-assigned managed identity on the Azure AI Search service and assign the Cognitive Services OpenAI User role on the Azure OpenAI resource.
C.Use HTTP basic authentication with a pre-shared service principal secret.
D.Store the Azure OpenAI primary key in an Azure App Configuration service and reference it via Key Vault.
AnswerB

Managed identities eliminate the need for credentials in code or configuration settings.

Why this answer

A system-assigned or user-assigned managed identity should be enabled on the Azure AI Search service and granted the Cognitive Services OpenAI User role on the Azure OpenAI resource.

159
MCQeasy

You are deploying a Python Flask API that wraps an ONNX runtime model to Azure Container Instances (ACI). The container needs to expose port 5000 externally. Which parameter must you specify when creating the container group?

A.--assign-identity
B.--restart-policy Never
C.--os-type Windows
D.--dns-name-label and port 5000 mapping
AnswerD

A DNS name label and port mapping expose the container instance publicly with a routable endpoint.

Why this answer

When deploying to Azure Container Instances, you must explicitly configure the port and protocol for public IP exposure.

160
MCQmedium

You are troubleshooting a containerized AI model running in an Azure Container App that crashes immediately upon startup with an exit code indicating an Out Of Memory (OOM) error. You need to inspect the container resource allocations. Where can you adjust the memory allocation for the container?

A.In the Azure Container Registry webhook configuration
B.In the Azure Container App revision template settings under container resource allocation
C.In the Azure Virtual Network route table settings
D.In the Azure Monitor diagnostic settings export destination
AnswerB

Container resource limits (CPU and memory) are defined in the container app's template settings.

Why this answer

In Azure Container Apps, container CPU and memory resources are configured per container in the container app revision template settings.

161
MCQeasy

You are troubleshooting a Python application that fails to connect to Azure Key Vault using a managed identity. You want to inspect the exact exception stack trace and identify whether the managed identity token request failed. Where should you look in your local development or cloud diagnostics?

A.Azure Security Center threat detection alerts
B.Azure Key Vault access policies audit logs
C.Application Insights exceptions and traces tables in the Log Analytics workspace
D.Azure Advisor cost optimization recommendations
AnswerC

Correct. Application Insights records unhandled exceptions and trace messages automatically when the SDK is configured.

Why this answer

Application Insights logs exceptions and dependency tracking, capturing authentication failures when attempting to acquire tokens for Azure services.

162
MCQmedium

You are configuring an Azure Service Bus queue. Business requirements state that messages must automatically expire if they are not consumed within 30 minutes. Which property should you set on the queue definition?

A.DuplicateDetectionHistoryTimeWindow
B.DefaultMessageTimeToLive
C.LockDuration
D.AutoDeleteOnIdle
AnswerB

DefaultMessageTimeToLive defines the lifespan of messages in the queue before expiration.

Why this answer

Azure Service Bus allows you to set the DefaultMessageTimeToLive property on a queue or subscription. Messages older than this duration are automatically moved to the dead-letter queue or discarded.

163
MCQeasy

You want to view an end-to-end distributed trace of a user request flowing from an Azure Front Door through an API Management gateway, into an Azure Function, and finally to an Azure OpenAI model call. Which Application Insights feature visualizes this entire call chain and highlights latency bottlenecks?

A.Azure Cost Analysis
B.Azure Advisor security recommendations
C.Azure Policy compliance dashboard
D.Application Map and Transaction Diagnostics
AnswerD

Correct. Application Map displays topology and latency across distributed service dependencies.

Why this answer

Transaction search and Application Map in Application Insights automatically correlate telemetry across multiple services to visualize end-to-end traces and call performance.

164
MCQeasy

You are building an event-driven workflow where an external partner application needs to send custom events to your Azure backend. You decide to use Azure Event Grid Custom Topics. When the partner publishes an event, which event schema format must the JSON payload adhere to?

A.OData v4 batch request format
B.SOAP 1.2 XML envelope format
C.CloudEvents v1.0 schema or Event Grid schema
D.AMQP 1.0 message format exclusively
AnswerC

Event Grid supports both the standardized CloudEvents v1.0 schema and the native Event Grid schema for custom topics.

Why this answer

Azure Event Grid supports the CloudEvents v1.0 schema as well as the native Event Grid schema for custom topics.

165
Multi-Selectmedium

You are deploying a custom text-embedding model container to Azure Container Apps. You need to configure scaling rules so that the container scales out based on incoming HTTP traffic and Azure Service Bus queue length. Which TWO scalers can you configure? Each correct answer presents part of the solution.

Select 2 answers
A.cpu memory-limit scaler
B.azure-servicebus scaler
C.azure-blob-storage scaler
D.container-registry scaler
E.http scaler
AnswersB, E

The azure-servicebus scaler monitors queue or topic message counts to scale container app replicas.

Why this answer

Azure Container Apps uses KEDA under the hood and natively supports scaling based on HTTP traffic (http scaler) and Azure Service Bus queues (azure-servicebus scaler).

166
MCQmedium

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

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

Cosmos DB expects the query vector parameter to be passed as a list of floats.

Why this answer

When using VectorDistance() in Cosmos DB SQL queries, the target vector must be passed as a parameter array of floats corresponding to the model dimensions.

167
MCQhard

You are running a distributed AI training job on AKS using MPI. Which network configuration is critical for performance?

A.Use an internal VNET peering.
B.Enable standard load balancing.
C.Enable Azure Accelerated Networking on the node pool.
D.Disable the pod network policy.
AnswerC

Accelerated Networking reduces latency and jitter, which is vital for MPI.

Why this answer

For distributed training, high-bandwidth/low-latency networking like InfiniBand or Azure Accelerated Networking is required.

168
MCQeasy

You need to view real-time log streams from an Azure Container App running a custom LangChain agent. Which Azure CLI command should you execute?

A.az cognitiveservices account log-stream --name <account-name>
B.az containerapp logs show --name <app-name> --resource-group <rg-name> --follow
C.az aks browsed --name <cluster-name>
D.az monitor metrics tail --resource <resource-id>
AnswerB

The '--follow' flag streams container logs in real time.

Why this answer

The 'az containerapp logs show' command streams console logs from an Azure Container App.

169
Multi-Selectmedium

Your enterprise system uses Azure Service Bus. Which TWO mechanisms can you implement to handle 'poison' or repeatedly failing messages? (Choose two)

Select 2 answers
A.Configuring Auto-Inflate on the Service Bus namespace
B.Enabling Event Grid advanced filters on the queue
C.Setting the Partition Key to a null value
D.Configuring Max Delivery Count and automatic dead-lettering
E.Explicitly calling DeadLetterMessageAsync() in application code upon processing failure
AnswersD, E

When delivery attempts exceed Max Delivery Count, Service Bus automatically moves the message to the DLQ.

Why this answer

Poison messages are handled using the Dead-Letter Queue (DLQ) and setting a Max Delivery Count on the queue or subscription.

170
MCQmedium

You are implementing an asynchronous AI processing pipeline using Azure Event Hubs. Multiple worker instances consume events from the same Event Hub. To prevent duplicate processing and ensure load balancing across workers, how should you manage consumer checkpoints?

A.Configure Azure Service Bus auto-forwarding from Event Hubs to a queue.
B.Use the Azure Event Hubs EventProcessorClient with an Azure Blob Storage checkpoint store.
C.Set the Event Hub partition retention period to zero.
D.Write custom code to maintain consumer offsets in a local memory cache on each worker instance.
AnswerB

The EventProcessorClient coordinates partition ownership across instances and stores checkpoints in Azure Blob Storage.

Why this answer

Using the Azure Event Hubs `EventProcessorClient` library automatically handles load balancing across partitions and persists checkpoints to an Azure Blob Storage container.

171
Multi-Selecteasy

Which TWO Azure services or features can be used to securely store and reference secrets such as connection strings for an Azure AI Search service without hardcoding them?

Select 2 answers
A.Managed Identities
B.Azure Key Vault
C.Azure Blob Storage public containers
D.Azure DevOps variable groups with unencrypted plain text
E.Local application configuration JSON files
AnswersA, B

Managed identities allow secure authentication to Azure services without managing credentials.

Why this answer

Azure Key Vault and Managed Identities (or App Configuration secret references) are the standard mechanisms for secure secret management in Azure.

172
MCQmedium

You are writing a Python worker application that consumes messages from an Azure Service Bus queue. To prevent message loss during unexpected application crashes, you need to ensure that messages are locked while being processed and only deleted from the queue after successful processing. Which receive mode should you use?

A.Deferred mode
B.SessionLock mode
C.PeekLock mode
D.ReceiveAndDelete mode
AnswerC

PeekLock locks the message in the broker, giving the worker time to process it safely before settling the message.

Why this answer

PeekLock mode receives the message and locks it in the broker for a specified lock duration, preventing other consumers from processing it. The application must explicitly call complete() to delete it or abandon/dead-letter it on failure.

173
Multi-Selecthard

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

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

Proper shard and replica planning optimizes cost and query performance.

Why this answer

Best practices for Azure AI Search include monitoring resource utilization, right-sizing replicas and partitions, and leveraging vector compression (scalar quantization).

174
MCQhard

You are optimizing an Azure AI Search vector index with millions of documents. Users report high latency during vector queries. You decide to implement vector compression to reduce memory footprint and improve search throughput. Which compression method is natively supported in Azure AI Search?

A.Autoencoders
B.Scalar Quantization (SQ)
C.Principal Component Analysis (PCA)
D.Product Quantization (PQ)
AnswerB

Scalar Quantization compresses float32 vectors to int8, reducing the memory footprint of the HNSW graph.

Why this answer

Azure AI Search supports scalar quantization (specifically SQ) to compress 32-bit floating-point vectors into 8-bit integers, significantly reducing memory usage with minimal loss in recall.

175
MCQmedium

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

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

VectorizedQuery represents a vector query passed into search requests in the Python SDK.

Why this answer

The VectorizedQuery class in the Azure AI Search Python SDK is used to construct vector queries for hybrid or vector-only search requests.

176
MCQhard

You are troubleshooting a Python application that uses Azure SDK libraries to interact with Azure AI services. The application is flooding Log Analytics with excessive telemetry, causing unexpected cost increases. You want to dynamically adjust the sampling rate of Application Insights without redeploying application code. How can you achieve this?

A.Configure adaptive sampling in the Application Insights SDK configuration or connection string parameters to automatically reduce telemetry volume
B.Modify Azure subscription billing policies to cap Log Analytics data ingestion at zero cost
C.Delete the Log Analytics workspace and recreate it with a lower pricing tier
D.Use Azure Policy to deny all incoming Application Insights trace requests
AnswerA

Correct. Adaptive sampling reduces the amount of telemetry sent to Azure Monitor, helping control ingestion costs while maintaining statistical data representation.

Why this answer

Application Insights supports adaptive sampling and fixed-rate sampling configured via application settings or through the Application Insights portal settings (for certain platforms) or instrumentation key configuration, but adaptive sampling can also be tuned via code or connection strings.

177
MCQeasy

You are designing an AI application that needs to route real-time telemetry events from thousands of IoT devices to multiple downstream serverless functions simultaneously. Which Azure service should you use as the event broker?

A.Azure Service Bus Queues
B.Azure Event Hubs
C.Azure Event Grid
D.Azure Blob Storage
AnswerC

Event Grid natively supports a pub/sub model for routing events to multiple endpoints like Azure Functions.

Why this answer

Azure Event Grid is designed for reactive programming and reliable event routing at scale, making it ideal for routing telemetry metadata or state changes to serverless functions.

178
MCQhard

You are configuring network security for an Azure AI Search service that indexes data from an Azure SQL Database. Both services are in the same region. You want to ensure that Azure AI Search can securely connect to Azure SQL Database without allowing inbound traffic from any public IP addresses. Which feature should you use on Azure SQL Database?

A.Open firewall port 1433 for all IP addresses globally
B.Use Azure Front Door to load balance SQL TCP connections
C.Allow Azure services and resources to access this server firewall setting combined with Virtual Network rules
D.Configure an HTTP proxy inside an Azure VM to forward SQL queries
AnswerC

Correct. This setting allows trusted Azure services (like Azure AI Search) to connect to Azure SQL securely without opening the database to the public internet.

Why this answer

Service endpoints or private endpoints on Azure SQL Database allow Azure services (such as AI Search) to connect securely within the Microsoft backbone network while disabling public access.

179
MCQmedium

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

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

HNSW indexing and replica scale-out provide high throughput for vector queries.

Why this answer

Azure AI Search uses HNSW approximate nearest neighbor graphs combined with multi-replica scale-out architecture to deliver high throughput and low latency.

180
MCQmedium

Your Python-based AI service runs on an Azure Virtual Machine and connects to Azure OpenAI. To adhere to security best practices, you decide to eliminate storage of credentials on the VM disk by enabling a system-assigned managed identity on the virtual machine. How does your Python code obtain an access token using this managed identity?

A.Use static storage account connection strings hardcoded in environment variables
B.Make an unauthenticated HTTP GET request to the public Azure OpenAI endpoint with no headers
C.Use DefaultAzureCredential from the azure-identity library to automatically authenticate via the VM's IMDS endpoint
D.Read the plain-text password from a file located in /etc/passwd on the virtual machine
AnswerC

Correct. DefaultAzureCredential queries the local VM managed identity endpoint (IMDS) seamlessly.

Why this answer

Using the `DefaultAzureCredential` or `ManagedIdentityCredential` from the `azure-identity` package allows the Python code to query the local Azure Instance Metadata Service (IMDS) endpoint to obtain access tokens securely.

181
MCQmedium

Your company policy requires all outbound traffic from an Azure Machine Learning workspace to pass through a centralized firewall. Which feature must be implemented?

A.Enable public network access with selected IP addresses set to the firewall IP.
B.Use Azure Bastion to inspect all outbound connections from the workspace nodes.
C.Configure workspace outbound rules with fully qualified domain name (FQDN) tags and route traffic through Azure Firewall.
D.Deploy the workspace without virtual network isolation and rely on Network Security Groups.
AnswerC

FQDN outbound rules allow specifying allowed destinations for dependencies like Python Package Index or Azure storage.

Why this answer

Workspace outbound rules combined with a user-defined route (UDR) and a firewall (such as Azure Firewall) enforce forced tunneling and network restriction.

182
Multi-Selectmedium

Your Azure AI application encounters transient network errors when calling cognitive services. Which TWO strategies should you implement in your code or architecture to handle these failures gracefully? (Choose two)

Select 2 answers
A.Disable all exception handling so unhandled errors crash the server.
B.Implement fallback routing or secondary region endpoints for high availability.
C.Terminate the application process immediately on the first transient timeout.
D.Configure SDK retry policies with exponential backoff and jitter for HTTP 429 and 503 errors.
E.Remove all timeout configurations from HTTP client connections.
AnswersB, D

Correct. Multi-region failover ensures high availability during regional outages.

Why this answer

Implementing retry logic with exponential backoff in SDK clients and configuring circuit breaker patterns or fallback endpoints helps handle transient failures.

183
MCQeasy

Your application uses Azure Event Grid to deliver events to an Azure Function webhook. Due to a downstream database outage, the Azure Function returns HTTP 500 errors. How does Event Grid handle event delivery when the endpoint fails?

A.Event Grid stops the event subscription until manually restarted by an administrator.
B.Event Grid immediately discards the event upon receiving the first HTTP 500 error.
C.Event Grid automatically migrates the event to an Azure Service Bus queue.
D.Event Grid retries delivery using an exponential backoff retry policy for up to 24 hours.
AnswerD

Event Grid automatically retries failed deliveries using a backoff schedule, dropping or dead-lettering after the retry period expires.

Why this answer

Event Grid implements a robust retry policy with exponential backoff and jitter for up to 24 hours by default. If delivery still fails, events can be dead-lettered to a storage account if configured.

184
Multi-Selectmedium

You are securing an Azure AI Search service. Which THREE of the following actions are recommended for implementing a robust security posture? (Choose THREE)

Select 3 answers
A.Store all search index data in a public blob container for faster access.
B.Enable Private Endpoint access and disable public network access.
C.Use an Admin API key for all read-only client applications.
D.Enable Entra ID (formerly Azure AD) authentication to replace API keys.
E.Configure Azure Role-Based Access Control (RBAC) to manage data plane access.
AnswersB, D, E

Reduces attack surface to the VNet.

Why this answer

Private endpoints, RBAC, and disabling API keys in favor of Entra ID are the three pillars of securing AI Search.

185
MCQmedium

Your development team wants to trace downstream calls made by a Semantic Kernel agent to Azure OpenAI and an external plugin. Which SDK package and feature should you integrate into your .NET application?

A.Use Azure Event Grid to capture telemetry events published by Semantic Kernel.
B.Configure Azure Monitor Workspace and collect Prometheus metrics from the application.
C.Write custom middleware to log every prompt and response to Azure Blob Storage.
D.Configure Application Insights telemetry via the Microsoft.ApplicationInsights.AspNetCore NuGet package and enable dependency tracking.
AnswerD

Application Insights automatically tracks HTTP dependencies and correlates requests across services.

Why this answer

Application Insights provides distributed tracing which automatically captures outgoing HTTP calls, including Semantic Kernel operations, when the Microsoft.ApplicationInsights.AspNetCore package is configured.

186
MCQmedium

Your production Azure Machine Learning inference endpoint is failing due to unauthorized access attempts. You decide to use Managed Identities to secure the connection to an Azure Key Vault. What is the correct sequence of operations to ensure the scoring script can retrieve secrets?

A.Grant the Azure Machine Learning workspace identity contributor access to the entire Key Vault resource.
B.Enable a System-assigned Managed Identity on the endpoint and grant the identity the Key Vault Secrets User role.
C.Assign the endpoint a Service Principal secret and store it in the environment variables of the scoring script.
D.Create a User-assigned Managed Identity and manually inject the OAuth token into the request header.
AnswerB

This allows the endpoint to authenticate to Key Vault without managing separate credentials.

Why this answer

You must enable the system-assigned managed identity on the Managed Online Endpoint and then grant that identity 'Get' permissions on the Key Vault access policy.

187
MCQhard

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

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

Custom Cosmos DB SQL roles with specific data actions enforce least-privilege read-only access.

Why this answer

Azure Cosmos DB supports custom SQL role definitions with specific data actions (such as read vs write) assigned via role assignments to managed identities or service principals.

188
MCQmedium

You are configuring continuous deployment for an AI model container using Azure DevOps and Azure Container Registry (ACR). You need to ensure that when a new container image is pushed to ACR, an event triggers an automated webhook that notifies an Azure Function to run post-deployment validation tests. Which event type should you subscribe to in the ACR webhook configuration?

A.artifactDelete
B.chartPush
C.imagePush
D.quarantineStatusChange
AnswerC

imagePush triggers the webhook notification specifically when a container image is pushed to ACR.

Why this answer

The 'imagePush' event type triggers the webhook whenever a new image manifest is successfully pushed to the container registry.

189
Multi-Selecthard

You are planning the disaster recovery and high availability strategy for an Azure AI Search service storing critical vector indexes for an AI assistant. Which THREE practices should you implement? (Choose three)

Select 3 answers
A.Configure at least two replicas for high availability during service updates
B.Set up geo-replication by creating a secondary search service in a paired region
C.Store all vector embeddings as flat text files in local VM temp storage
D.Deploy search units across Azure Availability Zones where supported
E.Rely solely on the Free tier with automated backups
AnswersA, B, D

Having multiple replicas ensures query availability during maintenance and node failures.

Why this answer

Ensuring high availability and DR for Azure AI Search involves configuring multiple replicas, deploying across Availability Zones, and establishing geo-replication architectures.

190
MCQhard

You manage an AKS cluster running high-throughput AI inference pods. During traffic spikes, pods experience latency due to slow container image pulls from Azure Container Registry (ACR). You want to optimize image pull performance across cluster nodes. Which feature should you enable?

A.AKS Image Streaming with containerd
B.ACR Tasks auto-purge
C.ACR Geo-Replication
D.Azure Blob Storage CDN integration
AnswerA

Image streaming allows containers to start immediately by streaming layers on-demand rather than waiting for a full pull.

Why this answer

AKS supports image streaming (backed by containerd image streaming) to run containers before the entire image is downloaded, significantly reducing startup time.

191
MCQmedium

Your enterprise AI system processes sensitive Personal Identifiable Information (PII). Compliance regulations require that audit logs capturing who accessed the AI endpoints must be retained immutably for 5 years without possibility of deletion. Where should you configure this immutability policy?

A.Azure Storage account container immutability policies with time-based retention
B.Azure Active Directory audit log retention configuration
C.Application Insights retention settings configured via the portal
D.Azure Key Vault soft-delete and purge protection
AnswerA

Correct. Immutable blob storage policies prevent log deletion or modification for the specified retention period.

Why this answer

Azure Storage account containers can be configured with time-based retention immutability policies (WORM - Write Once, Read Many) when exporting diagnostic logs via diagnostic settings.

192
Multi-Selectmedium

You want to monitor the health of your AI services. Which TWO of the following can be configured to alert you automatically when model latency exceeds a predefined threshold? (Choose TWO)

Select 2 answers
A.Azure Monitor Metric Alerts.
B.Log Analytics Workspace 'Alert Rules'.
C.Azure Resource Graph alerts.
D.Azure Advisor alerts.
E.Microsoft Defender for Cloud alerts.
AnswersA, B

Metric alerts can trigger based on the latency metric of the AI service.

Why this answer

Azure Monitor Alerts and Log Analytics alerts can both be configured to trigger based on threshold conditions for AI service metrics.

193
MCQmedium

An enterprise application calls multiple Azure AI Language services. You need to trace requests across multiple distributed microservices to diagnose high latency issues. Which Azure Monitor capability should you implement?

A.Application Insights Distributed Tracing
B.Azure Advisor cost recommendations
C.Log Analytics metric alerts without instrumentation
D.Azure Network Watcher Connection Monitor
AnswerA

Distributed tracing tracks end-to-end request flows and pinpoints latency bottlenecks across components.

Why this answer

Distributed tracing in Application Insights tracks requests across multiple service boundaries using W3C Trace Context headers.

194
MCQhard

You are managing an Azure AI Search index that uses integrated vectorization with Azure OpenAI. When a user sends a query string, you want Azure AI Search to automatically vectorize the query text before performing the vector search. Which feature must you configure in the index schema?

A.A cognitive services attachment on the storage account
B.An Azure Logic App trigger
C.A custom Web API skillset
D.A vectorizer configuration linked to an Azure OpenAI skill or service connection
AnswerC, D

While custom skillsets can enrich data, integrated vectorization specifically uses native vectorizer definitions.

Why this answer

Integrated vectorization in Azure AI Search uses a vectorizer configuration connected to Azure OpenAI to automatically convert plain text queries into vector embeddings.

195
MCQhard

Your team is using managed identities to connect an Azure App Service web app to an Azure OpenAI resource. The connection fails with a 403 Forbidden error. What is the most likely root cause?

A.The App Service must be bound to a custom domain before managed identities can issue bearer tokens.
B.The app service requires a client secret stored in Azure Key Vault for managed identity authentication.
C.The managed identity has not been granted the 'Cognitive Services OpenAI User' role on the Azure OpenAI resource.
D.System-assigned managed identities cannot authenticate against Azure AI PaaS endpoints.
AnswerC

Without the appropriate RBAC role assignment on the target resource, the managed identity will be rejected with 403 Forbidden.

Why this answer

Assigning a managed identity to an app is only half the process; the identity must also be granted the correct Azure RBAC role (e.g., Cognitive Services OpenAI User) on the target resource.

196
Multi-Selecthard

Your AI processing pipeline requires high-throughput streaming ingestion and retention of telemetry data. Which THREE features or capabilities are native to Azure Event Hubs? Each correct answer represents a complete capability.

Select 3 answers
A.Event Hubs Capture for automatically batching and saving stream data to Azure Storage
B.Native webhook push delivery for discrete serverless event triggers
C.Consumer Groups enabling multiple independent applications to read the stream
D.Partitioned consumer architecture allowing parallel stream processing
E.Automatic dead-lettering of messages exceeding a MaxDeliveryCount threshold
AnswersA, C, D

Event Hubs Capture automatically archives streaming data into storage.

Why this answer

Azure Event Hubs provides partitioned architecture, consumer groups for independent reading, and Event Hubs Capture for long-term storage.

197
Multi-Selecteasy

Which THREE of the following are common reasons for a container image pull failure in AKS?

Select 3 answers
A.The node has too much memory.
B.Network connectivity issues to ACR.
C.Insufficient permissions (missing pull secrets).
D.The container is running too fast.
E.Invalid image tag or registry path.
AnswersB, C, E

AKS node cannot reach the registry endpoint.

Why this answer

Incorrect credentials, network issues, and invalid tags are common failure points.

198
MCQhard

You are containerizing a large language model (LLM) inference API to run in Azure Container Apps. The model weights exceed 15 GB and cause container startup timeouts because the image takes too long to pull from Azure Container Registry (ACR). You need to optimize the container startup performance without reducing the model size. What is the best approach?

A.Upgrade the Azure Container Apps environment to use HTTP/2 protocol.
B.Store the model weights in an Azure Blob Storage account and mount them via an ephemeral volume.
C.Configure ACR content trust and geo-replication.
D.Enable ACR artifact streaming for the container registry.
AnswerD

Artifact streaming enables container runtimes to start executing containers before all layers are fully downloaded.

Why this answer

ACR artifact streaming allows containers to start immediately by streaming layers on-demand without waiting for the entire image to download locally, significantly reducing cold-start times for large AI container images.

199
Multi-Selecthard

When troubleshooting performance issues in an enterprise Azure OpenAI deployment using Application Insights, which TWO Kusto Query Language (KQL) queries or techniques help identify slow model responses?

Select 4 answers
A.Querying the 'performanceCounters' table for CPU usage.
B.Querying the 'availabilityResults' table for ping test response codes.
C.Using 'summarize avg(duration) by cloud_RoleName' on the requests table to check application-level latency.
D.Querying the 'dependencies' table where type == 'Http' and duration > 5000 to find slow upstream calls.
E.Checking the 'browserTimings' table for client-side rendering durations.
AnswersB, C, D, E

Availability results check synthetic pings, not detailed model response latency.

Why this answer

Querying the 'dependencies' table for slow durations and inspecting custom dimensions or request items are effective techniques.

200
Multi-Selectmedium

Your application publishes messages to an Azure Service Bus queue. Which TWO methods can a C# .NET worker use to settle a message after successful processing? (Choose two)

Select 2 answers
A.PeekLockMessageAsync()
B.ScheduleMessageAsync()
C.DeadLetterMessageAsync()
D.CreateMessageBatchAsync()
E.CompleteMessageAsync()
AnswersC, E

DeadLetterMessageAsync moves the message to the DLQ, which is a final settlement disposition.

Why this answer

After receiving a message in PeekLock mode, a worker can settle it by calling CompleteMessageAsync or DeferMessageAsync (or AbandonMessageAsync / DeadLetterMessageAsync). The question asks for settling after successful processing, which is `CompleteMessageAsync()`. Wait, let's look at the settlement options: CompleteMessageAsync and DeadLetterMessageAsync or AbandonMessageAsync.

To settle a message (meaning finalize its disposition), methods are `CompleteMessageAsync`, `AbandonMessageAsync`, `DeferMessageAsync`, `DeadLetterMessageAsync`. Specifically for successful processing, it is `CompleteMessageAsync`. Let's select two settlement disposition methods.

201
Multi-Selectmedium

You are implementing vector search using Azure Cosmos DB for MongoDB (vCore). Which TWO distance metrics are valid options when creating a vector search index? Choose two.

Select 2 answers
A.chi-squared (cs)
B.euclidean (l2)
C.pearson (pr)
D.manhattan (m1)
E.cosine (cos)
AnswersB, E

Euclidean distance is a supported metric for vector search in Cosmos DB for MongoDB (vCore).

Why this answer

Azure Cosmos DB for MongoDB (vCore) supports cosine distance (cos), inner product (ip), and Euclidean distance (l2).

202
MCQhard

You are troubleshooting a custom LLM application deployed to an Azure Kubernetes Service (AKS) cluster. Requests are failing intermittently with HTTP 429 errors from Azure OpenAI. You need to implement a resilient observability and retry strategy using Azure Monitor. Which metric should you monitor to identify throttling?

A.Monitor 'Disk Queue Length' on the persistent volumes attached to the pods.
B.Monitor 'CPU Utilization' of the AKS pods running the client application.
C.Monitor the 'Requests' metric filtered by Response Code 429 and set up smart detection rules in Application Insights.
D.Monitor 'Network Outbound' bytes from the AKS cluster.
AnswerC

Filtering requests by response code 429 directly tracks rate limiting occurrences.

Why this answer

HTTP 429 errors correspond to rate limiting (Tokens Per Minute or Requests Per Minute limits exceeded). The 'Processed Prompt Tokens' and 'Generated Tokens' metrics along with Azure Monitor alerts on 'Requests' metric with dimension 'Response Code: 429' are standard.

203
Multi-Selecthard

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

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

Role-based access control enforces least privilege access to search indices.

Why this answer

Securing AI search and embedding stores involves using managed identities, restricting network access via private endpoints, and enforcing role-based access control.

204
MCQeasy

Your organization requires that all data transmitted to an Azure Service Bus namespace is encrypted in transit using Transport Layer Security (TLS). What is the minimum required TLS version enforced by modern Azure Service Bus secure baselines?

A.SSL 3.0
B.TLS 1.2
C.Plaintext HTTP with custom Base64 encoding
D.TLS 1.0
AnswerB

TLS 1.2 is the mandatory minimum standard for secure encrypted communications in Azure PaaS services.

Why this answer

Azure enforces TLS 1.2 as the minimum secure baseline for all modern Azure PaaS services, including Service Bus, Event Hubs, and Event Grid.

205
MCQeasy

Your development team wants to push custom Docker images containing fine-tuned open-source LLMs to a secure, private registry hosted on Azure. Which Azure service should you use to store and manage these container images?

A.Azure Files
B.Azure Artifacts
C.Azure Blob Storage
D.Azure Container Registry
AnswerD

Azure Container Registry provides private Docker container image storage integrated with Azure Active Directory.

Why this answer

Azure Container Registry (ACR) is a managed Docker registry service based on the open-source Docker Registry 2.0, used for storing and managing container images and artifacts.

206
MCQeasy

You need to deploy a microservice application that consists of an API gateway and an AI model inference container. The solution must scale automatically based on HTTP traffic and support zero scaling when idle to reduce costs, without requiring complex Kubernetes cluster management. Which service is best suited for this?

A.Azure App Service for Containers
B.Azure Batch
C.Azure Container Apps
D.Azure Kubernetes Service (AKS)
AnswerC

Azure Container Apps provides fully managed serverless containers with built-in KEDA scaling, including scaling to zero.

Why this answer

Azure Container Apps (ACA) provides serverless container hosting built on top of Kubernetes, supporting KEDA-based autoscaling including scaling to zero based on HTTP traffic.

207
MCQeasy

You have deployed an AI model in Azure Machine Learning. You want to set up an alert that triggers an email to the operations team whenever the CPU utilization of the compute instance exceeds 90% for longer than 15 minutes. Which Azure Monitor feature should you configure?

A.Azure Cost Management anomaly alerts
B.Azure Monitor metric alerts with an action group
C.Azure Policy remediation tasks
D.Azure Service Health planned maintenance alerts
AnswerB

Correct. Metric alerts evaluate resource metrics and trigger action groups for notifications.

Why this answer

Azure Monitor metric alerts allow you to monitor resource metrics like CPU utilization and trigger alert actions such as sending emails when conditions are met.

208
Multi-Selecthard

Which THREE of the following items should be configured to ensure your AI workload in AKS is observable?

Select 3 answers
A.Prometheus and Grafana.
B.Integration with Application Insights.
C.Azure Backup.
D.Azure Monitor for Containers.
E.Azure Bastion.
AnswersA, B, D

Standard stack for cluster metrics.

Why this answer

Logging, metrics, and tracing are the three pillars of observability in AKS.

209
MCQhard

You are configuring authentication between an Azure Container App running an AI model and an Azure OpenAI resource. To adhere to security best practices, you must avoid storing API keys in environment variables or code. How should you configure this?

A.Hardcode the secondary endpoint key into the Docker image build arguments
B.Enable anonymous public access on the Azure OpenAI resource for internal virtual network traffic
C.Configure a system-assigned managed identity on the Container App and grant it Cognitive Services OpenAI User role on the Azure OpenAI resource
D.Store the Azure OpenAI primary key in an Azure Key Vault and reference it via Container App secrets with plain text retrieval
AnswerC

System-assigned managed identity allows secure, credential-less authentication from the Container App to Azure OpenAI.

Why this answer

Managed identities allow Azure resources to authenticate to services supporting Microsoft Entra authentication without embedding credentials.

210
MCQeasy

You want to set up an alert when the availability of your Azure AI custom model endpoint drops below 99%. Which Azure service should you use?

A.Azure Policy definitions with audit effects.
B.Azure Cost Management anomaly detection.
C.Azure Monitor metric alerts configured on the 'Availability' or 'HttpServerErrors' metrics.
D.Microsoft Defender for Cloud vulnerability assessment.
AnswerC

Azure Monitor metric alerts can trigger actions when availability metrics cross specified thresholds.

Why this answer

Azure Monitor allows setting up availability tests (ping tests) and metric alerts for resource availability.

211
MCQeasy

You need to deploy a quick, stateless AI data processing script packaged in a container image without setting up Kubernetes or Container Apps. Which Azure service offers the fastest deployment for a single container instance?

A.Azure Virtual Machines with Docker installed
B.Azure Container Instances
C.Azure App Service for Linux
D.Azure Kubernetes Service
AnswerB

ACI allows you to run containers in Azure without managing virtual machines or orchestrators.

Why this answer

Azure Container Instances (ACI) is designed for fast, serverless deployment of single containers without cluster management.

212
Multi-Selecteasy

Which TWO actions can you perform using Azure Container Registry Tasks (ACR Tasks)?

Select 2 answers
A.Manage Azure Virtual Machine backups
B.Automate image builds upon Git source code repository commits
C.Build container images in the cloud without needing a local Docker daemon
D.Configure Azure Front Door routing rules
E.Deploy AKS clusters automatically
AnswersB, C

ACR Tasks can trigger builds automatically when source code or Dockerfiles are updated in GitHub or Azure DevOps.

Why this answer

ACR Tasks enable building container images in the cloud, automating multi-architecture builds, and running quick patch tasks.

213
MCQeasy

Your organization uses Azure Event Grid to route IoT device lifecycle events. You want to ensure that events published to your custom topic are encrypted at rest using Microsoft-managed keys by default. Which action is required to enable this?

A.You must enable Event Hubs Capture on the topic.
B.You must configure a Storage Account dead-letter container.
C.No action is required; encryption at rest using Microsoft-managed keys is enabled by default.
D.You must link an Azure Key Vault instance during topic creation.
AnswerC

Azure automatically encrypts all data at rest in Event Grid topics using platform-managed keys.

Why this answer

Azure platform services encrypt data at rest by default using Microsoft-managed keys without requiring any explicit configuration.

214
MCQhard

You are architecting an AI-driven video analytics pipeline using Azure Event Hubs. You need to ensure that frames belonging to the exact same video session are processed in strict chronological order by the same backend stream analytics worker. How should you partition your Event Hub?

A.Increase the consumer group count to match the number of active video sessions.
B.Set the message TTL to zero and enable capture mode on the Event Hub namespace.
C.Include the video session ID as the Partition Key when publishing events to the Event Hub.
D.Deploy an Azure Service Bus Session-enabled queue in front of the Event Hubs ingestion layer.
AnswerC

Event Hubs hashes the partition key to map it to a specific partition, ensuring FIFO order for that key.

Why this answer

To guarantee ordered processing for a specific entity, you must use a Partition Key when sending events to Event Hubs. All events with the same partition key are automatically routed to the same underlying partition.

215
MCQeasy

Your team is building an AI document parser. When a user uploads a PDF to Azure Blob Storage, an event triggers an Azure Function. You want to view the delivery success rate and latency metrics of these events in the Azure Portal. Which Azure service dashboard provides these metrics out-of-the-box?

A.Azure Container Apps Health Probes
B.Azure Cosmos DB Insights
C.Azure AI Services Dashboard
D.Azure Event Grid Metrics
AnswerD

Event Grid provides native Azure Monitor metrics for tracking delivery success, failures, and latency.

Why this answer

Azure Event Grid provides built-in metrics in the Azure Portal, such as delivery success, delivery latency, and matched events.

216
MCQhard

An AKS cluster is configured with KEDA for autoscaling an AI inferencing service based on Azure Queue Storage length. The pods fail to scale. Which component should you inspect first?

A.The Azure Container Registry webhook settings.
B.The Horizontal Pod Autoscaler (HPA) resource directly.
C.The Cluster Autoscaler logs.
D.The ScaledObject resource status.
AnswerD

Checking the status of the ScaledObject reveals errors in connecting to the trigger source.

Why this answer

The ScaledObject is the KEDA custom resource that defines the trigger. If it is misconfigured, the autoscaler will not function.

217
MCQeasy

Your organization uses Azure Event Hubs to ingest telemetry from smart meters. You want to grant an external analytics vendor read-only access to the Event Hub data without sharing your master connection string or account keys. What should you create?

A.An Event Grid subscription key with administrator rights.
B.A SAS rule with 'Manage' permissions.
C.A Storage Account connection string with Contributor access.
D.A SAS authorization rule with 'Listen' permissions only, or assign the Azure Event Hubs Data Receiver RBAC role.
AnswerD

Granting only Listen permissions ensures the vendor can read streams but cannot send data or manage the namespace.

Why this answer

You can create a Shared Access Signature (SAS) authorization rule specifically for the Event Hub with 'Listen' permissions only, or use Microsoft Entra ID RBAC (Azure Event Hubs Data Receiver role).

218
MCQhard

You are deploying a custom AI model container to Azure Container Apps. The container listens on port 8080 and requires health probes to verify readiness before routing traffic. How should you configure the probes?

A.Configure an Azure Front Door health probe pointing to the internal container IP
B.Configure a TCP liveness probe pointing to port 22 for SSH management
C.Configure an HTTP readiness probe targeting port 8080 on your health check endpoint
D.Configure a startup probe that restarts the container if CPU usage drops below 5 percent
AnswerC

Readiness probes ensure the container accepts traffic only when fully initialized and healthy on its listening port.

Why this answer

Azure Container Apps supports liveness, readiness, and startup probes configured via HTTP, TCP, or gRPC.

219
MCQhard

You are troubleshooting a live AI web application where users report intermittent 504 Gateway Timeout errors when submitting large text prompts to a custom model endpoint. You want to check if the backend inference container is timing out or crashing. Where should you examine container-level stdout/stderr logs in Azure Container Apps?

A.Log Analytics workspace querying the ContainerAppConsoleLogs_CL table
B.Azure Cosmos DB request unit (RU) consumption logs
C.Azure Key Vault audit logs
D.Azure Advisor performance recommendations
AnswerA

Correct. Container Apps stream stdout and stderr logs directly to Log Analytics for querying.

Why this answer

Azure Container Apps provides container console logs and system log streams accessible via Azure CLI (`az containerapp logs show`) or Log Analytics under the `ContainerAppConsoleLogs_CL` table.

220
MCQeasy

You want to view real-time standard output logs from a container running in Azure Container Instances named 'ai-inferencing-aci'. Which Azure CLI command should you run?

A.az container show --resource-group myRG --name ai-inferencing-aci
B.az aks browse --name ai-inferencing-aci
C.az container logs --resource-group myRG --name ai-inferencing-aci
D.az acr repository show-tags
AnswerC

az container logs retrieves the logs for the specified container instance.

Why this answer

The 'az container logs' command streams or retrieves logs from an Azure Container Instance.

221
MCQmedium

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

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

Azure AI Search supports multiple vector fields in a single index schema.

Why this answer

Azure AI Search allows multiple vector fields per index to support multi-modal or multi-model embeddings (e.g., text and image embeddings in the same document).

222
Multi-Selecthard

You are auditing an Azure AI platform for security vulnerabilities. You want to ensure that secrets, connection strings, and certificates are handled in compliance with security best practices. Which THREE of the following practices should you enforce? (Choose three)

Select 3 answers
A.Implement automated secret rotation policies for API keys and service credentials.
B.Commit production database passwords to public GitHub repositories for easy developer access.
C.Grant every employee administrator access to all Key Vault secrets.
D.Use managed identities instead of embedding static connection strings in application configuration files.
E.Enable Key Vault soft-delete and purge protection to prevent accidental permanent deletion of secrets.
AnswersA, D, E

Correct. Regular rotation limits the impact of potential secret leakage.

Why this answer

Enforcing Key Vault soft-delete/purge protection, using managed identities, and rotating secrets regularly are key security practices.

223
MCQhard

You deploy an AI inferencing service to an Azure Kubernetes Service (AKS) cluster. The service uses an ONNX Runtime container. Users report intermittent 504 Gateway Timeouts during peak batch request loads. You notice that the application pods are being terminated due to Out-Of-Memory (OOM) errors during heavy inference loads. How should you resolve this issue in your Kubernetes deployment manifest?

A.Decrease the readiness probe failureThreshold to remove faulty pods faster.
B.Increase the memory limit value in the container resource specifications.
C.Enable the Kubernetes Horizontal Pod Autoscaler based on CPU utilization.
D.Configure a liveness probe with an increased initialDelaySeconds value.
AnswerB

Raising the memory limit prevents the Linux kernel OOM killer from terminating the container when memory usage spikes during large batch inferences.

Why this answer

When container workloads experience OOM kills during peak load, you must increase the memory limit in the container resource specifications and ensure requests are appropriately sized.

224
MCQeasy

You need to view the logs of a container that recently crashed in an AKS cluster. Which command is used?

A.kubectl get pods.
B.az aks logs.
C.kubectl describe pod.
D.kubectl logs <pod-name> --previous.
AnswerD

The --previous flag shows logs from the previous instance of a crashed container.

Why this answer

kubectl logs is the standard command for viewing container outputs.

225
MCQmedium

Your enterprise application uses Azure Service Bus Topics. A specific downstream billing system needs to receive only messages where the 'Region' property in the message application properties equals 'NorthAmerica'. What should you create on the Service Bus subscription?

A.An Event Grid Advanced Filter on the namespace topic
B.A Storage Queue access policy
C.An Event Hubs Partition Key routing rule
D.A SQL Filter or Correlation Filter on the subscription
AnswerD

Filters on subscriptions dictate which topic messages are copied into the subscriber's virtual queue.

Why this answer

Service Bus subscriptions support SQL filters and correlation filters. A correlation filter or SQL filter (e.g., Region = 'NorthAmerica') can be applied to the subscription to filter incoming topic messages.

Page 2

Page 3 of 7

Page 4

All pages