AI-103 · Domain 1: Plan and manage an Azure AI solution · 28% of the exam
Task 1.3: Manage, monitor, and secure AI systems
Quotas, rate limits, scaling and cost; monitoring models, safety events, grounding quality and search index health; and securing access with managed identity, keyless credentials, private networking and roles.
Study it
Quotas, rate limits, provisioned throughput and cost
Security: managed identity, keyless credentials, private networking and roles
Lesson coming
Sample questions
Try each one before opening the answer. Every option is explained, with the Microsoft documentation page that proves it.
Question 1 · choose 1
A summarization service gets frequent 429 responses from its Standard deployment, yet the token usage metrics in Azure Monitor show it well under half of its tokens-per-minute limit. Its logs show that about a third of the requests fail with HTTP 400 because the documents exceed the model's input limit, and the client sends each failed request again at once. What is the most effective change?
ARequest a quota increase for the model in that region
BSplit or trim the oversized documents so each request fits the input limit
CTurn on streaming so that tokens are returned as they are generated
DRaise the requests-per-minute limit independently of the TPM value
Show the answer and why
ARequest a quota increase for the model in that region
Incorrect
More quota would hide the problem at extra cost; the service isn't short of capacity for the requests that succeed.
BSplit or trim the oversized documents so each request fits the input limit
Correct
Requests rejected for input length can still count toward rate limiting but never appear in billed token metrics, and every resend counts again.
CTurn on streaming so that tokens are returned as they are generated
Incorrect
Streaming changes how tokens are delivered, not the failing requests that use up the limit.
DRaise the requests-per-minute limit independently of the TPM value
Incorrect
Assigning TPM to a deployment sets its RPM limit as well; RPM isn't a separate setting.
Usage metrics show billed tokens from successfully processed requests, while rate limiting also sees requests that fail. Unsuccessful requests still count toward the per-minute limit, so fix the inputs that fail and back off instead of resending at once.
An app on Azure App Service calls a model deployed in Microsoft Foundry with an API key stored in an app setting. A new security rule forbids shared keys for any service-to-service call. What should the team do?
AAllow calls to the Foundry resource only from the app's outbound IP addresses
BRotate the API key every 30 days by using an Azure Automation runbook
CUse the app's managed identity with an RBAC role and Entra tokens; disable keys
DMove the API key into Azure Key Vault and read it each time the app starts
Show the answer and why
AAllow calls to the Foundry resource only from the app's outbound IP addresses
Incorrect
Network rules limit where calls come from, but the app would still authenticate with the key.
BRotate the API key every 30 days by using an Azure Automation runbook
Incorrect
Rotation shortens a key's life; it doesn't remove key-based access.
CUse the app's managed identity with an RBAC role and Entra tokens; disable keys
Correct
Keyless authentication uses Microsoft Entra ID: the managed identity gets a role on the Foundry resource, the code requests a token, and local (key) auth can then be disabled.
DMove the API key into Azure Key Vault and read it each time the app starts
Incorrect
Key Vault protects the secret, but the call still uses a shared key, which the rule forbids.
Keyless access means Entra ID tokens plus RBAC. Give the calling service a managed identity, assign it a role on the Foundry resource, acquire tokens for the https://ai.azure.com/.default scope, and remove key auth once no caller needs it.
A developer has the Foundry User role on a Foundry resource and can build in the project, but the Quota page shows no available quota and deployment checks fail. What is the least-privilege fix?
AAssign the Reader role to the developer at subscription scope
BAssign Cognitive Services Usages Reader to the developer at subscription scope
CAssign Cognitive Services Usages Reader to the developer on the Foundry resource
DAssign Foundry Account Owner to the developer on the Foundry resource
Show the answer and why
AAssign the Reader role to the developer at subscription scope
Incorrect
Reader also works, but it grants read access far beyond quota and deployments.
BAssign Cognitive Services Usages Reader to the developer at subscription scope
Correct
Quota comes from the subscription-scoped Usages API, and this role is the least-privilege way to read it.
CAssign Cognitive Services Usages Reader to the developer on the Foundry resource
Incorrect
Resource group, resource and project assignments don't authorize the subscription-level Usages API.
DAssign Foundry Account Owner to the developer on the Foundry resource
Incorrect
That role manages resources and projects; it is broader than needed and isn't subscription-scoped.
Quota visibility is a subscription-level read. Grant Cognitive Services Usages Reader at the subscription; assignments at narrower scopes don't reach the Usages API.
An Azure AI Search indexer feeds a RAG app. Its latest run shows the status Success, but users report that some newly uploaded PDFs never appear in answers. What should you check first?
AWhether the indexer needs a reset so that every document is processed again
BThe search service's query latency and throttling metrics for the last hour
CThe run's errors and warnings; a run can succeed while some documents fail
DThe semantic ranker configuration on the index that the app queries
Show the answer and why
AWhether the indexer needs a reset so that every document is processed again
Incorrect
A reset reprocesses everything, which is expensive and doesn't tell you why particular files failed.
BThe search service's query latency and throttling metrics for the last hour
Incorrect
Query latency describes serving, not whether the PDFs were indexed.
CThe run's errors and warnings; a run can succeed while some documents fail
Correct
A run is marked Success when failed items stay under the Max failed items setting, and document-level problems are listed in its errors and warnings.
DThe semantic ranker configuration on the index that the app queries
Incorrect
Ranking only orders documents that are in the index; missing documents point to ingestion.
Indexer health has two layers: the run status and the per-document results. Open the execution details or call Get Indexer Status to read the errors and warnings before changing anything.
A batch summarizer wants to slow itself down before it is throttled rather than reacting after 429 errors. Which information returned with every Azure OpenAI response helps it do that?
AThe created timestamp on each of the responses
BThe finish_reason value on each choice it gets back
CThe x-ratelimit-remaining-* response headers
DThe model version field returned in each response
Show the answer and why
AThe created timestamp on each of the responses
Incorrect
A timestamp doesn't show remaining capacity.
BThe finish_reason value on each choice it gets back
Incorrect
It says why generation stopped for that call, not how much of the per-minute limit is left.
CThe x-ratelimit-remaining-* response headers
Correct
Rate limit headers report remaining tokens and requests so clients can monitor usage and avoid 429s proactively.
DThe model version field returned in each response
Incorrect
The version says which model answered, not how much quota is left.
Use the x-ratelimit-limit, -remaining and -reset headers to pace requests before the limits are reached.
Security wants all secrets for a new Foundry resource's connections stored in the company's own Azure Key Vault. Which statement about setting this up is correct?
AAdd several Key Vault connections, one for each of the projects
BDelete the Key Vault later to rotate all of the secrets at once
CAdd it at any time; the existing secrets migrate automatically
DAdd it while the resource has no other connections yet
Show the answer and why
AAdd several Key Vault connections, one for each of the projects
Incorrect
Key Vault connections are limited to one per Foundry resource.
BDelete the Key Vault later to rotate all of the secrets at once
Incorrect
Deleting the underlying Key Vault breaks the Foundry resource.
CAdd it at any time; the existing secrets migrate automatically
Incorrect
Foundry doesn't support secret migration.
DAdd it while the resource has no other connections yet
Correct
The prerequisites require a Foundry resource with no existing connections at the resource or project level.
Bringing your own Key Vault is a setup-time decision: one connection per resource, created before other connections, and the vault must not be deleted while the resource uses it.
A team wants to analyze six months of query latency and the actual query strings users send to its Azure AI Search service. The portal shows only recent metrics. What should it enable?
ADiagnostic logging to a Log Analytics workspace
BA semantic configuration on the main index
CAn indexer schedule that runs more often
DMore replicas so metrics are kept longer
Show the answer and why
ADiagnostic logging to a Log Analytics workspace
Correct
Portal metrics keep 30 days; longer retention and query strings need diagnostic logging, with Log Analytics recommended.
BA semantic configuration on the main index
Incorrect
Semantic settings affect ranking, not logging.
CAn indexer schedule that runs more often
Incorrect
Indexer schedules affect ingestion, not query logs.
DMore replicas so metrics are kept longer
Incorrect
Replicas don't change how long logs and metrics are kept.
Search monitoring has two layers: built-in metrics in the portal and resource logs through diagnostic settings for longer retention and detailed analysis with Kusto.
A team wants its Foundry agents' network traffic isolated so that agents can reach only approved Azure resources, but it doesn't want to build or maintain its own virtual network. Which option fits?
AA Key Vault connection for all of the project's secrets
BPublic network access enabled from all networks
CA managed virtual network for the Foundry resource
DAn API key rotation schedule for the resource
Show the answer and why
AA Key Vault connection for all of the project's secrets
Incorrect
Key Vault protects secrets; it doesn't isolate network traffic.
BPublic network access enabled from all networks
Incorrect
That widens access instead of restricting it.
CA managed virtual network for the Foundry resource
Correct
A managed network gives a secure default that restricts what agents can access and helps prevent data exfiltration.
DAn API key rotation schedule for the resource
Incorrect
Rotation affects credentials, not network paths.
Network isolation choices range from bringing your own virtual network to a managed virtual network that Foundry operates; check the supported regions and limitations.
Finance wants an email when the month's spend for the resource group that holds a team's Foundry resource reaches 80 percent of an agreed amount, without other teams' resources counting toward it. What should the team set up?
AA hard spending cap on the Foundry resource that stops calls
BA Cost Management budget on that resource group with an alert
CCost analysis filtered by the project tag on the resource
DA daily export of the cost data to a storage account
Show the answer and why
AA hard spending cap on the Foundry resource that stops calls
Incorrect
Azure OpenAI doesn't currently offer hard spending limits; budget notifications can only start automation that you build yourself.
BA Cost Management budget on that resource group with an alert
Correct
Budgets track spending against a limit at the scope you choose and send alerts when costs approach or exceed the thresholds you set.
CCost analysis filtered by the project tag on the resource
Incorrect
Cost analysis shows spend and trends, but viewing it doesn't notify anyone when a threshold is reached.
DA daily export of the cost data to a storage account
Incorrect
Exports support later analysis in tools such as Excel or Power BI; they don't alert on a threshold.
Estimate with the pricing calculator, track with cost analysis and set budgets with alerts at the subscription or resource group scope. A budget warns; it doesn't stop usage on its own.