Microsoft AI-200 Azure AI Cloud Developer 1-10

表示モード
画像位置
文字位置
理解度の自動記録
STATUS FILTER

Choose confidence levels to display

Loading...
Q1AI-200
Show answer
Correct answer: B. Build a RAG pipeline that returns the retrieved documents’ metadata (source name and page) together with the generated answer, and instruct the model to cite it.

To attach sources to answers, the retrieval step extracts each document’s metadata (source name, page, or section), returns it alongside the generated result, and the prompt explicitly instructs the model to cite it.
This is an implementation pattern that combines a RAG pipeline with prompt design, and it cannot be achieved by adjusting sampling parameters such as top_p or by changing the content filter.
Using only the base model with no retrieval (C) cannot reference any evidence documents in the first place, so it cannot attach sources.
Therefore, the correct answer is B.
Overview of Azure OpenAI On Your Data

Q2AI-200
Show answer
Correct answer: B. The prebuilt invoice model (prebuilt-invoice) of Azure AI Document Intelligence

The prebuilt invoice model (prebuilt-invoice) is already trained to recognize common invoice fields such as vendor, total, line items, and invoice number out of the box, so it requires no training data of your own and no creation of a custom model.
It also handles several kinds of invoices with different layouts, so it satisfies the “no training required” requirement.
The Read API (A) performs only text reading (OCR) and does not return field structure.
Custom NER (C) and a custom neural model (D) assume that you train them yourself, so they violate the requirement.
Invoice model – Document Intelligence

Q3AI-200
Show answer
Correct answer: A. Configure an RBAC role assignment on Key Vault., D. Assign a system-assigned managed identity., E. Retrieve the secret at runtime using the SDK.

To use the latest credentials after rotation without embedding secrets in code or configuration and without redeploying, first grant the ACA app a system-assigned managed identity (D), assign that identity a Key Vault RBAC role (Key Vault Secrets User) (A), and retrieve the secret at runtime with the SDK (E).
This lets you reference the latest version dynamically without exposing the credentials.
Because Key Vault is configured with RBAC, access policies (B) are not used.
Exporting at deployment time (C) exposes the secret and cannot follow rotation, so it is inappropriate.
Use managed identities in Container Apps

Q4AI-200
Authenticate App Service to ACR

Avoid storing static credentials

Show answer
Correct answer: Assign the “Container Registry Repository Reader” role to a managed identity / Use a managed identity and a role assignment

To securely pull a private image from ACR without storing static credentials, configure a managed identity on App Service and assign that identity the Container Registry Repository Reader role that permits pulling images.
Authenticating with a managed identity and a role assignment lets you pull securely without holding any password.
Enabling the admin user or storing the registry password in app settings would retain static credentials, which violates the requirement.
A webhook is a mechanism for event notification and is not used to authenticate an image pull.
Pull images from ACR with a managed identity

Q5AI-200
Show answer
Correct answer: A. Timer trigger, B. Source code commit trigger, D. Base image update trigger

The three requirements correspond to the three types of ACR Tasks triggers respectively.
Scheduled runs use the timer trigger (A), application updates (commits) use the source code commit trigger (B), and base image updates use the base image update trigger (D) to rebuild automatically.
The registry event trigger (C) and the webhook notification trigger (E) are mechanisms for external notification and integration, and do not match the rebuild-trigger requirements asked here.
Overview of ACR Tasks

Q6AI-200

Drag each option to the matching requirement’s drop zone, or tap to place it. Click a filled zone to send it back. (The same option may be used more than once.)

CosmosClient
Database
Container
Indexing policy
Initialize the connection with the endpoint and key
Define shared throughput
Perform CRUD operations on items
Show answer
Correct answer: Initialize the connection with the endpoint and key → CosmosClient / Define shared throughput → Database / Perform CRUD operations on items → Container

In the Cosmos DB for NoSQL SDK, classes are separated by role.
Connection initialization uses CosmosClient, shared throughput (RU/s) is configured at the database level so it uses Database, and item CRUD operations use the Container class.
Shared throughput shares the capacity set on the database across all containers under it.
It is Container that exposes the CRUD methods for items (JSON documents).
Indexing policy is a component that defines the indexing strategy; it does not match any of these three requirements, so it is unused (a distractor).
Get started with the Cosmos DB for NoSQL .NET SDK

Q7AI-200

Drag (or tap) the required number of items from the “Options” on the left into the “Answer area” on the right. Within the answer area, drag to reorder them.

Options
  • Register the message handler and the error handler
  • Create the Service Bus client
  • Send failed messages to the dead-letter queue
  • Start the message processor
  • Create the Service Bus processor for the queue
Answer area (execution order, top to bottom)
  1. Drag here

Show answer
Correct answer: Correct order: (1) Create the Service Bus client → (2) Create the Service Bus processor for the queue → (3) Register the message handler and the error handler → (4) Start the message processor

First, create the Service Bus client using a connection string or an Azure Identity credential, and from that client generate a processor that targets the queue.
Next, register handlers to define the behavior when a message arrives and when an error occurs, and finally call the method that begins receiving, which starts the internal loop.
The correct order is create the client → create the processor → register the handlers → start the processor, and the processor stays in a waiting state until the start method is called.
“Send failed messages to the dead-letter queue” is an option not needed in this initialization sequence.
Get started with Service Bus queues (.NET)

Q8AI-200

Drag each option to the matching requirement’s drop zone, or tap to place it. Click a filled zone to send it back. (The same option may be used more than once.)

Create a component that sends trace data to Azure Monitor
Configure a span processor to send spans to the exporter
Initialize the app’s TracerProvider
Call tracer.start_as_current_span()
Enable log sampling
Register a global tracer provider
Export traces to Azure Monitor
Connect the exporter to the provider
Generate spans in the application code
Show answer
Correct answer: Register a global tracer provider → Create a component that sends trace data to Azure Monitor / Export traces to Azure Monitor → Configure a span processor to send spans to the exporter / Connect the exporter to the provider → Initialize the app’s TracerProvider / Generate spans in the application code → Call tracer.start_as_current_span()

No traces appear because the export pipeline, which includes the exporter and the span processor, is not configured.
Create an exporter component that sends to Azure Monitor, and configure a span processor such as BatchSpanProcessor to send spans to that exporter.
Register and initialize this on the TracerProvider, and finally generate spans with tracer.start_as_current_span(); then traces are sent to Azure Monitor.
“Enable log sampling” is an option not needed for this configuration.
Enable Azure Monitor with OpenTelemetry

Q9AI-200
Show answer
Correct answer: B. HTTP

The core of the requirements is a synchronous response that returns the result to the caller immediately, plus Entra ID authentication and automatic scaling.
An HTTP trigger performs synchronous request/response, and it can validate the payload and immediately return 200 or 400.
You can build in Entra ID token validation with App Service Authentication (Easy Auth), and it scales automatically with traffic on the Consumption/Premium plan.
Idempotency and duplicate avoidance are achieved by combining Durable Functions or a backing store.
Service Bus, Event Grid, and Queue storage are for asynchronous processing and are not suited to an immediate response to the caller.
HTTP trigger for Azure Functions

Q10AI-200
Hosting plan

Timeout value

Show answer
Correct answer: Premium (Elastic Premium) plan / 230 seconds

The plan that satisfies both event-driven scaling and a custom Linux container image is the Premium (Elastic Premium) plan.
It supports dynamic scale-out by the scale controller and scales down to 0 instances when idle.
Unlike the Consumption plan, it can run a custom Linux image.
Also, regardless of the host.json setting, HTTP-trigger functions have a 230-second response limit that comes from the underlying Azure Load Balancer, and the connection is dropped beyond it.
Therefore, the hosting plan is Premium and the timeout value is 230 seconds.
Azure Functions hosting options