Courseiva

Microsoft Certified: Machine Learning Operations Engineer Associate (AI-300) (AI-300) (AI-300) — Questions 1–75

181 questions total · 3 pages · All types, answers revealed

Page 1 of 3

Page 2
1
MCQmedium

You are building a generative AI assistant for a financial advisory firm using Azure OpenAI. The assistant must answer questions based on a large repository of internal policy documents that are updated frequently. You need to reduce hallucination and ensure the model cites the most current policy versions. Which approach should you implement?

A.Increase the temperature setting to encourage more creative and comprehensive answers.
B.Fine-tune the base model on the entire document repository weekly.
C.Deploy a larger model with a higher token limit to accommodate more context.
D.Use Retrieval-Augmented Generation (RAG) with Azure AI Search to retrieve relevant document chunks and include them in the prompt.
AnswerD

RAG with Azure AI Search dynamically retrieves the most relevant and current document chunks from an index that can be updated as policies change. By grounding the model's response in retrieved content, it reduces hallucination and enables citation of specific policy versions. This approach is scalable, cost-effective, and aligns with Azure OpenAI best practices for dynamic knowledge bases.

Why this answer

Retrieval-Augmented Generation with Azure AI Search retrieves up-to-date document chunks and injects them into the prompt, grounding the model's responses in current policies and reducing hallucination. This dynamic approach is ideal for frequently updated repositories, as the search index can be refreshed independently of model retraining. Other options either fail to provide current information or increase randomness.

Exam trap

The trap here is assuming that fine-tuning or a larger model automatically ensures up-to-date knowledge, when in fact dynamic retrieval is required for frequently changing documents.

2
Multi-Selecthard

Which TWO techniques should you use to improve the accuracy of a RAG pipeline?

Select 2 answers
A.Reducing the number of documents in the vector store.
B.Upgrading to a more advanced embedding model.
C.Increasing the temperature to 2.0.
D.Optimizing document chunking strategy.
E.Using only one single long chunk for all documents.
AnswersB, D

Upgrading to a more advanced embedding model improves retrieval accuracy by producing richer semantic vectors, so relevant chunks rank higher for a given query. This directly addresses the stem's accuracy constraint: better embeddings reduce irrelevant context reaching the generator, lifting grounded answer quality without changing the pipeline architecture.

Why this answer

Option B is correct because upgrading to a more advanced embedding model improves the semantic quality of the vectors used for retrieval, so semantically similar passages are matched more accurately and relevant context is more likely to be retrieved. Option D is correct because optimizing the document chunking strategy (for example, choosing appropriate chunk sizes and overlaps that preserve coherent context) directly improves retrieval precision and ensures the retrieved passages contain the information needed to ground the generated answer. Option A is not correct because simply reducing the number of documents in the vector store shrinks the knowledge base and can remove relevant content rather than improve retrieval accuracy.

Option C is not correct because increasing the temperature to 2.0 makes the model's output more random and less faithful, which harms answer accuracy rather than improving it. Option E is not correct because using one single long chunk for all documents dilutes the embedding with irrelevant content and reduces retrieval precision, so it degrades RAG accuracy.

Exam trap

AI-300 often tests the misconception that generation-side knobs like temperature or corpus size drive RAG accuracy, when the real levers are embedding quality and chunking strategy.

3
MCQeasy

You are monitoring the cost of your GenAI infrastructure. You want to track usage per specific project. Which feature in Azure AI Foundry should you use?

A.Use 'Resource Tags' on the Azure AI project resource.
B.Configure 'Cost Analysis' alerts in the Azure Portal.
C.Implement 'Azure Policy' to restrict resource types.
D.Switch to 'Pay-As-You-Go' subscription model.
AnswerA

Resource Tags applied to the Azure AI project resource let Cost Management attribute and filter spend per project, satisfying the requirement to track usage for a specific project. Tags propagate to billing records, enabling grouped cost reporting without deploying separate subscriptions.

Why this answer

Resource Tags on the Azure AI project resource allow you to categorize and track costs by project. By applying tags (e.g., Project: A), you can use Azure Cost Management to filter and analyze costs per tag, enabling per-project cost tracking. This is the recommended approach for cost allocation in Azure.

Exam trap

AI-300 often tests cost management features, and candidates may confuse tagging with cost alerts or policies, overlooking that tags are the foundation for per-project cost tracking.

How to eliminate wrong answers

Option B is wrong because Cost Analysis alerts notify you when costs exceed thresholds, but they do not inherently provide per-project tracking unless tags are used. Option C is wrong because Azure Policy restricts resource types and configurations, not cost tracking. Option D is wrong because switching to Pay-As-You-Go changes the billing model but does not provide per-project cost tracking.

4
MCQeasy

You need to monitor the data drift of a model deployed in Azure ML. What is the first step you must take?

A.Configure Application Insights
B.Run a manual evaluation script
C.Create a Data Drift Monitor
D.Enable Azure Monitor logs
AnswerC

A Data Drift Monitor must exist before drift can be detected; creating it defines the baseline dataset, target dataset and schedule. Without this monitor resource, Azure ML has no comparison to evaluate, so it is the prerequisite first step.

Why this answer

In Azure Machine Learning, data drift detection is a first-class feature that requires you to create a Data Drift Monitor on a deployed model endpoint or dataset. The monitor defines the baseline dataset, target dataset, features to track, and the drift metric (e.g., population stability index) and schedule. Only after the monitor exists can alerts and metrics be surfaced.

Exam trap

AI-300 often tests the misconception that generic monitoring tools (Application Insights, Azure Monitor) provide drift detection — candidates must recognize that Data Drift Monitor is a distinct Azure ML feature that must be explicitly created.

How to eliminate wrong answers

Option A is wrong because Application Insights collects telemetry like request latency and exceptions, not statistical drift between feature distributions. Option B is wrong because a manual evaluation script is a custom workaround, not the required first step, and it does not integrate with Azure ML's drift UI or alerting. Option D is wrong because Azure Monitor logs are a downstream sink for metrics and logs; enabling them does not create drift detection by itself.

5
MCQmedium

You are setting up a CI/CD pipeline for GenAI models. You need to evaluate the model's performance on a benchmark dataset before it is promoted to the production endpoint. Which Azure AI Foundry capability should be integrated into your pipeline?

A.Prompt Flow evaluation runs.
B.Model catalog benchmarking.
C.Azure AI Content Safety scanning.
D.Azure Machine Learning model drift monitor.
AnswerA

Prompt Flow evaluation runs compute benchmark metrics against a dataset before deployment, satisfying the pre-promotion gate. Integrated as a pipeline step, they score the model's outputs and return results your CI/CD logic can act on, blocking promotion when thresholds fail. This directly meets the stem's requirement to evaluate performance prior to production release.

Why this answer

Evaluation runs in Prompt Flow allow for automated testing of model quality against datasets, which is a required step for a robust GenAI CI/CD pipeline.

6
MCQeasy

Which Azure feature is used to define infrastructure as code for your Azure ML workspace?

A.Azure Portal
B.Azure Bicep
C.PowerShell
D.Azure CLI
AnswerB

Azure Bicep is a declarative domain-specific language that compiles to ARM templates, letting you define the Azure ML workspace and its dependent resources — storage account, Key Vault, Application Insights, container registry — as versioned infrastructure as code, satisfying the stem's requirement for reproducible, template-based workspace provisioning.

Why this answer

Azure Bicep is the recommended tool for defining and deploying Azure resources as code.

7
Multi-Selectmedium

Which THREE features does Azure AI Foundry provide to help developers?

Select 3 answers
A.Evaluation.
B.Azure Active Directory creation.
C.Direct physical hardware access.
D.Model Catalog.
E.Prompt Flow.
AnswersA, D, E

Evaluation in Azure AI Foundry supplies built-in metrics and evaluators that score model outputs for groundedness, relevance and fluency, satisfying the stem's requirement for developer assistance. It enables systematic, repeatable quality assessment across prompts and models, so teams can compare runs and catch regressions before deployment rather than relying on manual inspection.

Why this answer

Azure AI Foundry provides Evaluation (A) so developers can systematically assess model outputs using built-in metrics such as groundedness, relevance, fluency, and similarity, which is essential for validating generative AI applications before deployment. Model Catalog (D) is correct because it offers a curated library of foundation models from providers like Azure OpenAI, Meta, Mistral, and Hugging Face, letting developers discover, compare, and deploy models directly within the platform. Prompt Flow (E) is correct because it supplies a development tool for orchestrating LLM, prompt, Python, and tool nodes into executable flows, enabling prototyping, testing, and production deployment of prompt-based apps.

Azure Active Directory creation (B) is not a Foundry feature—identity and tenant management belong to Microsoft Entra ID (formerly Azure AD) in the Azure portal. Direct physical hardware access (C) is not offered, since Foundry delivers managed, serverless or hosted compute abstractions rather than bare-metal physical access.

8
Multi-Selecthard

Which THREE metrics can be logged during training to track performance in Azure ML?

Select 3 answers
A.Model accuracy.
B.Compute instance IP address.
C.Custom metrics.
D.Workspace subscription ID.
E.Training loss.
AnswersA, C, E

Model accuracy is a numeric metric you log via mlflow.log_metric or Run.log during training, letting Azure ML record and chart it per epoch. It satisfies the requirement to track performance, appearing in the run's metrics tab alongside other logged values.

Why this answer

Model accuracy (A) is a standard evaluation metric that can be logged during training via mlflow.log_metric or Run.log in Azure ML to track how well the model predicts correct labels. Custom metrics (C) are explicitly supported through the Azure ML SDK and MLflow APIs, allowing you to log any domain-specific numeric value (e.g., F1 score, AUC, business KPIs) with log_metric or log_row. Training loss (E) is a core optimization metric that is routinely logged per epoch or step to monitor convergence and detect overfitting.

The unmarked options do not belong because a compute instance IP address (B) is infrastructure metadata, not a performance metric, and a workspace subscription ID (D) is an Azure resource identifier used for billing and access control, not a training performance measurement.

Exam trap

AI-300 often tests whether candidates can distinguish performance metrics (accuracy, loss, custom) from infrastructure identifiers (IP, subscription ID) that are never logged as training metrics.

9
Multi-Selectmedium

You are configuring a CI/CD pipeline for model deployment. Which THREE actions must you perform to ensure model traceability?

Select 3 answers
A.Use a shared local folder for model artifacts
B.Register the model in the Azure ML Model Registry with versioning
C.Add experiment tags to the model artifact
D.Delete all training logs after deployment
E.Store the training script hash in the model properties
AnswersB, C, E

Registering the model in the Azure ML Model Registry with versioning assigns each artefact an immutable identifier and lineage record. This satisfies the stem's traceability requirement, letting any deployed endpoint be mapped back to the exact registered model version used in the pipeline.

Why this answer

Option B is correct because registering the model in the Azure ML Model Registry with versioning creates an immutable, uniquely identifiable record (name:version) that links each deployed artifact to its exact lineage, enabling rollback and audit. Option C is correct because adding experiment tags to the model artifact attaches metadata such as run ID, dataset version, and git commit, which are queryable and provide the contextual provenance needed to trace a model back to its training experiment. Option E is correct because storing the training script hash in the model properties creates a cryptographic fingerprint that proves which exact code produced the model, ensuring reproducibility and detecting any drift between the deployed model and its source code.

Option A is not appropriate because a shared local folder is not versioned, not immutable, and not accessible across pipeline agents, so it cannot guarantee traceability. Option D is incorrect because deleting training logs destroys the audit trail and provenance evidence required for traceability.

10
Multi-Selectmedium

You are setting up an Azure Machine Learning workspace that must support reproducible training jobs. You need to ensure that the same code, dependencies, and data are used every time a job is rerun. Which two actions should you take? (Choose two.)

Select 2 answers
A.Pass the dataset as a local file path that points to a shared network drive outside Azure ML.
B.Register the environment as a versioned Azure ML environment asset and reference the specific version in the job.
C.Use an environment defined by a Docker image with a mutable tag such as latest.
D.Configure the job to always pull the newest model from the model registry at the start of training.
E.Register the training code as a versioned code asset and reference the specific version in the job.
AnswersB, E

A versioned environment asset captures the exact dependencies and base image used for the job. Referencing a specific version ensures that reruns use the same environment even if newer versions are created later. This is a core mechanism for reproducible training in Azure ML and complements code and data versioning.

Why this answer

Reproducibility requires pinning all inputs to immutable versions. Registering code and environments as versioned assets and referencing specific versions ensures that the same source and dependencies are used on every rerun. Data should likewise be versioned, but among the listed actions, versioning code and environment are the two that directly anchor the job to stable, immutable definitions.

Exam trap

The trap here is treating a mutable image tag or an external path as sufficient for reproducibility, when only immutable, versioned assets guarantee identical reruns.

11
MCQmedium

You are deploying a model via a Managed Online Endpoint. You want to implement a Canary deployment where 10% of traffic is sent to a new model version. How do you configure this?

A.Configure the 'traffic' parameter in the 'az ml online-endpoint update' command.
B.Modify the 'inference_config.json' file to include weights.
C.Create two endpoints and use an Azure Load Balancer.
D.Set the 'replica_count' to 10% of total capacity.
AnswerA

The traffic parameter splits request percentages across endpoint deployments, so setting it to 10 for the new version and 90 for the existing one produces the required canary ratio. Updating via az ml online-endpoint update applies the split without redeploying, satisfying the 10% routing constraint.

Why this answer

You use the 'update' command on the endpoint to set the 'traffic' parameter, distributing weights across deployment names.

12
Multi-Selectmedium

Which THREE factors contribute to increased latency in an LLM application?

Select 3 answers
A.The number of system messages used.
B.The size/complexity of the chosen model.
C.The number of output tokens generated.
D.The use of JSON output mode.
E.The number of input tokens provided.
AnswersB, C, E

Larger models take longer to compute per token.

Why this answer

Model size, input/output token count, and network transit time are the main drivers of latency.

13
MCQhard

Your team uses a custom Docker image for training. You need to update the image in the Azure Container Registry (ACR). What is the recommended workflow to ensure Azure ML picks up the latest version?

A.Modify the storage account permissions
B.Restart the compute cluster
C.Update the image tag and refresh the Environment
D.Delete and recreate the workspace
AnswerC

Azure ML resolves environments by image tag, so pushing a new tag to ACR and refreshing the Environment makes the updated image available. Reusing the old tag leaves the cached image reference unchanged, so training would keep running the previous version.

Why this answer

Azure ML references container images through Environment objects, which pin a specific image tag (or digest) from ACR. To pick up a new image, you must push the updated image with a new tag (or overwrite the tag and force a refresh), then update the Environment definition to reference that tag and re-register it. This ensures training jobs pull the correct, latest image rather than a cached older version.

Exam trap

AI-300 often tests the misconception that restarting compute or tweaking storage permissions refreshes the container image, when the actual mechanism is updating the Environment's image tag and re-registering it.

How to eliminate wrong answers

Option A is wrong because storage account permissions govern access to datasets and artifacts, not container image resolution — changing them has no effect on which image Azure ML uses. Option B is wrong because restarting the compute cluster only recycles nodes; it does not change the Environment's image reference, so the same stale image is pulled. Option D is wrong because deleting and recreating the workspace is a destructive, disproportionate action that destroys all assets, experiments, and registered models without addressing the image versioning issue.

14
MCQhard

Your team is using Semantic Kernel for agent orchestration. You notice frequent transient errors when the agent interacts with multiple LLM services. How should you implement infrastructure-level resiliency?

A.Disable the 'Streaming' flag in the agent request.
B.Use an 'Azure API Management' policy to implement a retry pattern.
C.Switch the model to a higher tier instance type.
D.Increase the 'Timeout' parameter in the model deployment manifest.
AnswerB

Azure API Management policies apply retry logic at the gateway layer, so transient faults from multiple LLM services are absorbed before reaching Semantic Kernel. This delivers infrastructure-level resiliency without embedding retry code in agent orchestration, satisfying the requirement to handle frequent transient errors centrally.

Why this answer

Using an Azure API Management (APIM) policy to implement a retry pattern is the correct approach for infrastructure-level resiliency. APIM acts as a gateway that can intercept requests to backend LLM services and apply policies such as retry, circuit breaker, and rate limiting. This offloads resiliency logic from the application code and provides a centralized, configurable way to handle transient errors across multiple LLM services.

Exam trap

AI-300 often tests the misconception that application-level changes (like disabling streaming or increasing timeout) solve transient errors, when infrastructure-level resiliency is required.

How to eliminate wrong answers

Option A is wrong because disabling streaming does not address transient errors; streaming is a response mode and does not affect the reliability of the underlying service calls. Option C is wrong because switching to a higher tier instance type may improve performance but does not inherently provide retry or fault-handling capabilities for transient errors. Option D is wrong because increasing the timeout parameter only extends the wait time for a response; it does not retry failed requests and may exacerbate latency issues.

15
Multi-Selectmedium

Which TWO of the following can be used to manage Azure ML assets like environments and models?

Select 2 answers
A.Azure Monitor
B.Azure Logic Apps
C.Azure CLI v2
D.Azure ML Studio
E.Power BI
AnswersC, D

Azure CLI v2 exposes the ml extension, whose commands create, update, list and archive workspaces, environments, models and datasets. This satisfies the asset-management requirement because it drives the same Azure ML control plane as the studio, scriptable and repeatable.

Why this answer

Azure CLI v2 (option C) is correct because it provides the `az ml` extension commands (e.g., `az ml environment create`, `az ml model register`) that let you create, register, and manage Azure Machine Learning assets such as environments and models directly from the command line. Azure ML Studio (option D) is correct because it is the web-based authoring portal where you can create, register, version, and manage environments and models through the Assets/Models and Environments pages. Azure Monitor (A) is for observability and metrics/logs, not asset lifecycle management; Azure Logic Apps (B) is a workflow automation service, not an ML asset management tool; and Power BI (E) is a business intelligence visualization tool with no role in managing Azure ML environments or models.

16
MCQmedium

You are deploying a model that requires specific GPUs. How do you ensure you get the right infrastructure?

A.Choose the correct SKU during model deployment.
B.Add the model to a resource group.
C.Update the OS of the node.
D.Request a quota increase for CPU.
AnswerA

The deployment SKU determines the underlying VM family and therefore which GPU hardware is provisioned. Selecting the correct SKU at deployment time is the mechanism that guarantees the required GPU type is allocated to the model.

Why this answer

Selecting the appropriate SKU (e.g., standard vs. GPU-optimized) during the deployment process ensures you get the required infrastructure.

17
Multi-Selecteasy

When configuring observability for an AI application, which TWO telemetry types should you collect to analyze both performance and quality?

Select 2 answers
A.Hard drive space
B.Content safety flags
C.User profile pictures
D.CPU temperature
E.Request latency
AnswersB, E

Content safety flags record whether prompts and completions triggered harm categories, giving the quality dimension of observability. Combined with latency for performance, they let you detect unsafe or degraded outputs alongside speed, satisfying the requirement to analyse both aspects.

Why this answer

Option B (Content safety flags) is correct because content safety flags are a quality-oriented telemetry signal that captures whether the AI application's generated or processed content violates safety policies, enabling analysis of output quality and responsible-AI compliance. Option E (Request latency) is correct because request latency is a core performance telemetry metric that measures the time taken to serve each request, allowing you to analyze responsiveness, throughput, and bottlenecks in the AI application. The remaining options do not belong: hard drive space (A) and CPU temperature (D) are infrastructure/host-level metrics that do not directly describe AI application performance or output quality, and user profile pictures (C) are user data with no telemetry value for performance or quality analysis.

Exam trap

AI-300 often tests the confusion between infrastructure health metrics (CPU, disk) and application-level telemetry, luring candidates toward host metrics when the question asks about performance and quality of the AI workload itself.

18
Multi-Selectmedium

You want to automate the scaling of your AI agent orchestration. Which TWO components do you need to configure?

Select 2 answers
A.A manual human-in-the-loop review.
B.Hardcoded instance counts.
C.Static IP addresses.
D.Autoscale policies.
E.Monitoring metrics (e.g., latency, throughput).
AnswersD, E

Autoscale policies define the rules that translate monitored metrics into scaling actions, specifying thresholds, minimum and maximum replica counts, and cooldown periods. They are the decision layer that automates orchestration scaling, satisfying the stem's requirement.

Why this answer

Auto-scaling is driven by metrics and defined by policies that govern instance counts.

19
Multi-Selecthard

Which THREE metrics are critical for monitoring the health of a GenAI deployment?

Select 3 answers
A.Request Latency.
B.Tokens Per Minute (TPM).
C.User email addresses.
D.CPU Usage of the host node.
E.Error Rate.
AnswersA, B, E

Request latency measures end-to-end response time from the model, exposing throttling, cold starts or backend saturation. It is a critical health signal because degraded latency directly impacts user experience and can indicate capacity or dependency problems in the GenAI deployment.

Why this answer

Request Latency (A) is critical because it measures the end-to-end time for inference requests, directly reflecting user-perceived responsiveness and helping detect model or infrastructure slowdowns in a GenAI deployment. Tokens Per Minute (B) is essential since GenAI workloads are token-based; it quantifies throughput and capacity utilization, revealing whether the deployment is keeping up with demand or hitting rate limits. Error Rate (E) must be monitored to catch failed inferences, timeouts, throttling (HTTP 429), and model or API errors that degrade reliability.

User email addresses (C) are personally identifiable information, not a health or performance metric, so they are irrelevant to monitoring. CPU Usage of the host node (D) is a generic infrastructure metric and, while sometimes useful, is not one of the critical GenAI-specific health metrics compared to latency, token throughput, and error rate.

20
MCQmedium

You want to evaluate your prompt engineering changes quantitatively. Which method is most reliable for comparing two prompt versions?

A.Monitoring the total request count.
B.Asking developers for subjective feedback.
C.Checking if the model is running on GPT-4.
D.Running the prompts against a benchmark evaluation dataset.
AnswerD

Running both prompt versions against the same benchmark evaluation dataset holds inputs constant, so measured differences in scores are attributable to the prompt change rather than sample variation. This satisfies the stem's reliability constraint by producing statistically comparable, reproducible results across versions.

Why this answer

Running both prompt versions against a benchmark evaluation dataset produces quantitative, reproducible metrics (accuracy, F1, BLEU, groundedness, etc.) that allow direct statistical comparison. This removes subjectivity and isolates the effect of the prompt change, which is the only reliable way to determine whether one prompt outperforms another.

Exam trap

AI-300 often tests the misconception that subjective feedback or traffic metrics constitute evaluation, when only benchmark datasets with defined metrics provide reliable quantitative comparison.

How to eliminate wrong answers

Option A is wrong because total request count measures traffic volume, not output quality, and has no bearing on which prompt produces better results. Option B is wrong because subjective developer feedback is not quantitative, is prone to bias, and cannot be reproduced or scaled. Option C is wrong because the underlying model version (GPT-4 vs. others) is a constant in the comparison and does not evaluate prompt quality at all.

21
MCQeasy

You are configuring a chat application. What is the benefit of enabling streaming in the Azure OpenAI API?

A.Increases the model's accuracy.
B.Removes the need for a system prompt.
C.Reduces time-to-first-token (TTFT) perception for the end-user.
D.Decreases the total number of tokens consumed.
AnswerC

Streaming returns tokens incrementally over a persistent connection instead of buffering the full completion, so the user sees output almost immediately. This lowers perceived time-to-first-token, satisfying the responsiveness constraint in an interactive chat scenario where waiting for the complete response feels slow.

Why this answer

Streaming improves perceived latency by delivering tokens as they are generated.

22
Multi-Selecthard

Which THREE items are captured in the experiment lineage in Azure Machine Learning?

Select 3 answers
A.Hardware manufacturer.
B.Training code/snapshot.
C.Used datasets.
D.Environment definition.
E.Number of team members.
AnswersB, C, D

Training code snapshots are recorded in experiment lineage because Azure Machine Learning captures the code state at run submission, satisfying the requirement to track reproducibility of each experiment. The snapshot preserves the exact script version executed, so lineage links a run's outputs to the specific code that produced them.

Why this answer

In Azure Machine Learning, experiment lineage (reproducibility tracking) records the artifacts needed to reproduce a run: option B, the training code/snapshot, is captured because Azure ML stores a snapshot of the script/notebook submitted for the run in the experiment's output/artifact store. Option C, the used datasets, is captured because each run logs the input dataset references (name/version or datastore path) so the exact data used can be traced. Option D, the environment definition, is captured because the run records the Azure ML environment (Docker image, conda/pip dependencies, and environment version/hash) that executed the training.

Option A, hardware manufacturer, is not tracked as lineage — Azure ML logs the compute SKU/size and node information, not the physical hardware vendor. Option E, number of team members, is not part of experiment lineage; it is workspace/identity metadata unrelated to run reproducibility.

23
MCQeasy

You are monitoring an Azure OpenAI deployment and need to identify if a model is outputting content that violates safety policies. Which Azure AI Content Safety feature should you enable to categorize harmful content?

A.Azure Monitor Logs
B.Application Insights Profiler
C.Content Safety API text analysis
D.Prompt Flow Guardrails
AnswerC

Content Safety API text analysis returns severity scores across four harm categories — hate, violence, sexual and self-harm — directly satisfying the requirement to categorise violating output. Unlike prompt shields, which detect injection attacks, or groundedness detection, it classifies the model's generated content itself, enabling automated monitoring and filtering decisions.

Why this answer

The Content Safety service provides classification categories such as Hate, Self-Harm, Sexual, and Violence to filter model outputs.

24
MCQeasy

What is the benefit of using 'Model Catalog' in Azure AI Foundry?

A.It provides free LLM usage for all models.
B.It eliminates the need for authentication.
C.It automatically builds your application UI.
D.It provides pre-optimized models with one-click deployment.
AnswerD

The Model Catalog in Azure AI Foundry hosts pre-optimised models from Microsoft, Azure OpenAI and partners, letting developers deploy them to an endpoint with one click rather than configuring infrastructure, weights and serving stacks manually.

Why this answer

The Model Catalog in Azure AI Foundry provides a curated collection of pre-optimized models from various providers, including OpenAI, Meta, and Hugging Face, that can be deployed with one-click deployment. This simplifies the process of selecting, deploying, and managing models for inference, saving time and reducing configuration errors. The models are pre-validated and optimized for Azure infrastructure, ensuring performance and compatibility.

Exam trap

AI-300 often tests the misconception that the Model Catalog offers free or unlimited model usage, when in fact it is a deployment convenience that still incurs costs and requires authentication.

How to eliminate wrong answers

Option A is wrong because the Model Catalog does not provide free LLM usage; model usage is billed based on the underlying compute and token consumption. Option B is wrong because authentication is still required to access and deploy models; the catalog integrates with Azure security and identity services. Option C is wrong because the Model Catalog does not build application UIs; it is a repository of models, not an application development tool.

25
MCQeasy

In Azure ML, what is a 'Component'?

A.A storage account
B.A reusable pipeline step
C.A user role
D.A physical server
AnswerB

A Component packages code, environment and inputs into a reusable pipeline step, letting the same logic be invoked across multiple pipelines without duplication. This modular reuse is the defining characteristic distinguishing Components from one-off pipeline steps.

Why this answer

A component is a reusable, versioned building block for an ML pipeline.

26
MCQmedium

You are tracking LLM performance. Which metric is most critical to monitor if your cost-per-request is increasing unexpectedly?

A.Token usage
B.User satisfaction score
C.Latency
D.Model version ID
AnswerA

Token usage drives LLM billing directly, since providers charge per input and output token. Rising token counts from longer prompts, verbose responses or missing caching explain cost-per-request growth even when request volume is flat, making it the primary metric to monitor.

Why this answer

Token usage is the primary driver of LLM cost because most providers bill per input and output token. If cost-per-request rises unexpectedly, monitoring token usage reveals whether prompts, completions, or context windows have grown. This metric directly correlates with the billing unit, making it the most critical to track for cost anomalies.

Exam trap

AI-300 often tests the confusion between quality metrics (satisfaction) and cost metrics (token usage), or assumes latency drives cost when billing is actually token-based.

How to eliminate wrong answers

Option B is wrong because user satisfaction score measures quality perception, not cost, and has no direct relationship to per-request expenses. Option C is wrong because latency measures response time, which affects user experience but not the token-based billing that determines cost. Option D is wrong because model version ID is a static identifier; while different versions may have different pricing, it doesn't fluctuate per request and won't explain an unexpected cost increase.

27
MCQeasy

In an LLM evaluation workflow, what does the 'Coherence' metric measure?

A.The length of the response
B.The logical flow and structure of the output
C.The presence of offensive language
D.The factual accuracy of the answer
AnswerB

Coherence assesses whether sentences and ideas connect logically, producing a structured, readable response. This satisfies the stem's focus on the metric's definition within LLM evaluation, distinguishing it from fluency (grammatical smoothness) and relevance (alignment to the prompt). It measures organisation and logical progression across the output.

Why this answer

Coherence measures how well a model-generated answer makes sense and flows logically as a human-like response.

28
Multi-Selecteasy

Which TWO resources are created inside an Azure Machine Learning workspace?

Select 2 answers
A.External website.
B.Compute cluster.
C.Azure Active Directory.
D.Office 365 tenant.
E.Datastore.
AnswersB, E

A compute cluster is provisioned as a child resource within the Azure Machine Learning workspace, sharing its resource group and managed identity. It provides the scalable training and inference compute that workspace jobs target, unlike standalone Azure VMs created outside the workspace boundary.

Why this answer

Option B (Compute cluster) is correct because an Azure Machine Learning workspace hosts managed compute resources such as compute clusters (AmlCompute), which are used to run training pipelines and jobs and are created as child resources of the workspace. Option E (Datastore) is correct because a datastore is a workspace-level resource that stores connection information to Azure storage services (Blob, File, Data Lake, SQL) so experiments can access data without embedding credentials. Option A (External website) is not a workspace resource; a workspace does not create or manage public websites.

Option C (Azure Active Directory) is incorrect because Microsoft Entra ID (Azure AD) is a tenant-level identity service that exists independently and is only associated with the workspace for authentication, not created inside it. Option D (Office 365 tenant) is incorrect because an Office 365 tenant is a separate Microsoft 365 organizational boundary unrelated to Azure Machine Learning workspace resources.

29
MCQeasy

You are monitoring an Azure OpenAI deployment used for a customer support chatbot. You notice that the model sometimes generates responses that include fabricated product features. You want to implement a technique that encourages the model to say 'I don't know' when it lacks information, rather than guessing. Which approach should you use?

A.Enable content filtering to block harmful or inappropriate responses.
B.Increase the frequency_penalty parameter to discourage repetitive tokens.
C.Use a system message that instructs the model to only answer if it is confident and to otherwise respond with 'I don't know'.
D.Decrease the top_p parameter to 0.1 to make the output more focused.
AnswerC

A system message sets the model's behavior and can explicitly instruct it to avoid guessing. By telling the model to only answer when confident and to otherwise say 'I don't know', you reduce fabricated responses. This is a prompt engineering technique that leverages the model's instruction-following ability. It is simple, cost-effective, and directly addresses the scenario's requirement.

Why this answer

A system message that instructs the model to only answer when confident and to otherwise respond with 'I don't know' directly leverages the model's instruction-following capability to reduce fabrication. This prompt engineering approach is effective for encouraging honesty and is easy to implement. Other options adjust randomness or filter harmful content but do not address the core issue of hallucination.

Exam trap

The trap here is thinking that parameter tweaks like top_p or frequency_penalty can improve factual accuracy, when only grounding or explicit instructions can reduce hallucination.

30
MCQeasy

Your team needs to share a model across different workspaces. What is the most efficient way to achieve this in Azure Machine Learning?

A.Export the model as a pickle file and upload to each workspace.
B.Duplicate the workspace storage account.
C.Re-train the model in every workspace.
D.Use a shared Azure Machine Learning Registry.
AnswerD

A Microsoft Entra ID-backed Azure Machine Learning Registry stores models once at the tenant level, so workspaces in different regions or subscriptions consume the same versioned artefact by reference rather than copying it, directly satisfying the cross-workspace sharing requirement with minimal duplication.

Why this answer

Using a shared Azure Machine Learning Registry is the most efficient way to share a model across different workspaces because it provides a centralized, versioned repository for models, components, and environments that can be accessed by multiple workspaces with proper access control. It eliminates duplication and ensures consistency.

Exam trap

AI-300 often tests the misconception that sharing models requires manual export/import or workspace duplication, but the correct answer is the centralized registry, which candidates may overlook if they are not familiar with its cross-workspace capabilities.

How to eliminate wrong answers

Option A is wrong because exporting a pickle file and uploading it to each workspace is manual, error-prone, and does not provide versioning or lineage tracking, and pickle files may have compatibility issues. Option B is wrong because duplicating the workspace storage account is not a supported or efficient method for sharing models and can lead to data inconsistency and security risks. Option C is wrong because re-training the model in every workspace is inefficient, costly, and may produce different results due to data or parameter variations, defeating the purpose of sharing.

31
Multi-Selectmedium

You are setting up an evaluation suite for your LLM. Which THREE metrics are commonly provided by the 'Built-in' evaluators in Azure AI Prompt Flow?

Select 3 answers
A.Coherence
B.Groundedness
C.Relevance
D.Deployment cost
E.Training duration
AnswersA, B, C

Coherence assesses whether a generated response flows logically and reads naturally as a unified piece of text. It is a built-in evaluator in Azure AI Prompt Flow, satisfying the stem's requirement for commonly provided metrics.

Why this answer

Azure AI Prompt Flow's built-in evaluators include Coherence (A), which measures how logically and naturally the generated text flows; Groundedness (B), which checks whether the response is supported by the provided source/context; and Relevance (C), which assesses how well the answer addresses the user's question. These three are standard quality metrics exposed by the built-in evaluation flow for assessing LLM outputs. Deployment cost (D) is an operational/cost metric, not a built-in evaluator metric, and training duration (E) relates to model training rather than response evaluation, so neither belongs here.

Exam trap

AI-300 often tests whether candidates can distinguish output-quality evaluators (Coherence, Groundedness, Relevance) from operational metrics (cost, training duration) that sound like evaluation but are not built-in evaluators.

32
Multi-Selecteasy

Which TWO of the following are benefits of using Azure ML Environments?

Select 2 answers
A.Network traffic filtering
B.Consistent software dependencies
C.Database optimization
D.Versioning of software stacks
E.Automatic scaling
AnswersB, D

Azure ML Environments package dependencies into a reusable definition referenced across training and scoring. This satisfies the stem's benefit by guaranteeing identical library versions wherever the environment is used, eliminating drift between local experimentation, pipelines and deployed inference endpoints.

Why this answer

Environments ensure reproducibility and simplify dependency management across environments.

33
MCQmedium

You need to ensure that a training script running on Azure ML has access to secrets (like API keys) without hardcoding them in the script. What should you use?

A.Azure Key Vault
B.Environment variables in the Dockerfile
C.Local configuration files
D.Hardcoding in the script
AnswerA

Azure Key Vault stores secrets centrally, and Azure Machine Learning retrieves them at runtime through its workspace-linked key vault, injecting values without hardcoding. This satisfies the stem's requirement for scripts to access API keys securely without embedding them.

Why this answer

Azure Key Vault is integrated with Azure ML to securely manage and inject secrets into training jobs.

34
MCQmedium

You are an MLOps engineer at a financial services company. Your team trains a fraud detection model weekly using an Azure Machine Learning pipeline. Compliance requires that every model registered in the workspace is traceable to the exact training run, dataset version, and code commit that produced it. You need to ensure this lineage is automatically captured for every registered model without manual documentation. What should you do?

A.Store the training script and a CSV of metrics in the workspace's default datastore and reference the folder path in the model description field.
B.Create a Git tag in the repository after each pipeline run and name the registered model using the tag value so engineers can correlate them later.
C.Register the model using the output of the training pipeline step so Azure Machine Learning automatically records the run ID, dataset asset, and job context as model metadata.
D.Enable diagnostic settings on the Azure Machine Learning workspace and route all logs to a Log Analytics workspace for long-term retention.
AnswerC

Registering a model directly from a pipeline step's output (for example, via the model output of a command job or the register_model step) causes Azure Machine Learning to attach the originating job ID, the input data assets, and the environment to the model's metadata. This gives automatic, auditable lineage without manual logging, satisfying the compliance requirement.

Why this answer

Model lineage in Azure Machine Learning is captured automatically when a model is registered as the output of a job or pipeline step, because the service records the run ID, data assets, environment, and job context as model properties. Manual documentation, diagnostic logs, or naming conventions do not create that enforced association, so they cannot guarantee audit-ready traceability.

Exam trap

The trap here is assuming that logging or naming conventions create lineage, when only registering the model from the producing job output records run, data, and code context automatically.

35
Multi-Selecteasy

Which TWO types of compute can be used for training in Azure Machine Learning?

Select 2 answers
A.Key Vault.
B.Compute Cluster.
C.Compute Instance.
D.Web App.
E.Azure SQL.
AnswersB, C

Compute Cluster provisions scalable, multi-node CPU or GPU capacity that queues and distributes training jobs across nodes, then scales down when idle. This satisfies the stem's training requirement because clusters are purpose-built for parallel, long-running job execution rather than interactive authoring.

Why this answer

Compute Cluster (B) is correct because it is Azure Machine Learning's managed, scalable multi-node compute target designed specifically for training and batch scoring jobs, supporting autoscaling and GPU/CPU SKUs. Compute Instance (C) is also correct because it is a managed single-node cloud workstation that can run training scripts and notebooks interactively, making it suitable for development and smaller training workloads. Key Vault (A) is a secrets-management service, not a compute resource, so it cannot train models.

Web App (D) is a PaaS hosting service for web applications, and Azure SQL (E) is a managed relational database, neither of which provides the compute environment for ML training.

36
MCQmedium

You are designing a quality assurance gate for your model. If a model output has a 'Violence' score of 0.8 according to Azure AI Content Safety, what is the best practice to handle it?

A.Allow the output but log it as an error
B.Retrain the model immediately
C.Filter out the output and return a generic refusal
D.Ignore the score if the latency is high
AnswerC

A Violence score of 0.8 exceeds the default severity threshold, so the output should be blocked and a generic refusal returned, preventing harmful content reaching users. This satisfies the quality-assurance gate by enforcing content filtering at the model boundary.

Why this answer

A high score indicates a potential violation, and the output should be blocked or sanitized before reaching the end user.

37
MCQeasy

What is the primary purpose of a 'Labeling Project' in Azure Machine Learning?

A.To facilitate manual data annotation for supervised learning.
B.To automatically version datasets.
C.To monitor model deployment drift.
D.To define model evaluation metrics.
AnswerA

A Labeling Project provisions a managed annotation workspace where human labellers apply text, image or bounding-box tags to unlabelled datasets, producing ground-truth targets that supervised training requires. This directly fulfils the manual data annotation purpose named in the stem.

Why this answer

A Labeling Project in Azure Machine Learning is designed to facilitate manual data annotation for supervised learning. It provides a workspace where human labelers (or ML-assisted labeling) tag images, text, or other data to create labeled datasets for training. It does not version datasets, monitor drift, or define evaluation metrics.

Exam trap

AI-300 often tests whether candidates confuse Labeling Projects (manual annotation for supervised learning) with dataset versioning, drift monitoring, or metric definition features.

How to eliminate wrong answers

Option B is wrong because dataset versioning is handled by Azure ML Datasets and their versioning mechanism, not by Labeling Projects. Option C is wrong because model deployment drift monitoring is handled by Azure ML's model monitoring and data drift detection features, not labeling projects. Option D is wrong because model evaluation metrics are defined in training scripts or evaluation pipelines, not in a Labeling Project.

38
MCQmedium

You need to orchestrate a series of ML steps (Data prep, Training, Evaluation). Which Azure ML feature is specifically designed for this?

A.Notebooks
B.Azure ML Pipelines
C.Batch endpoints
D.AutoML
AnswerB

Azure ML Pipelines model a directed acyclic graph of discrete steps, each with its own inputs, outputs and compute, so data prep, training and evaluation run in dependency order with reusable artefacts. This orchestration is the feature purpose-built for chaining ML steps.

Why this answer

Azure ML Pipelines allow you to string together components into a workflow.

39
MCQmedium

Your team runs a GenAI agent in Azure AI Foundry that calls an Azure OpenAI model deployment. The agent intermittently fails with authentication errors, and you suspect the managed identity used by the agent's compute does not have the required role assignment on the Azure AI Foundry resource. You need to verify and fix the role assignment. Which action should you take?

A.Assign the Cognitive Services OpenAI User role to the agent's managed identity at the scope of the Azure AI Foundry resource or the specific model deployment.
B.Add the agent's managed identity to the Contributor role on the resource group that contains the Azure AI Foundry resource.
C.Regenerate the Azure AI Foundry project's API key and update the agent's connection string to use the new key.
D.Enable public network access on the Azure AI Foundry resource so the agent's compute can reach the endpoint.
AnswerA

The Cognitive Services OpenAI User role grants the data-plane permission needed to call model deployments in Azure AI Foundry. Assigning it to the agent's managed identity at the resource or deployment scope is the correct fix for authentication failures caused by missing role assignments. This follows least privilege and matches how Foundry authorizes inference calls.

Why this answer

Authentication failures from a managed identity calling a model deployment typically stem from a missing data-plane role assignment. The Cognitive Services OpenAI User role grants exactly the permission required to invoke deployments, and assigning it to the identity at the Foundry resource or deployment scope resolves the error while following least privilege.

Exam trap

The trap here is reaching for a management-plane role like Contributor, which does not authorize data-plane inference calls.

40
MCQmedium

What is the purpose of a 'System-Assigned Managed Identity' in the context of an Azure AI project?

A.To automatically encrypt all data in transit.
B.To allow users to log in to the project portal.
C.To provide public IP connectivity.
D.To provide a secure identity for the resource to interact with other Azure services.
AnswerD

A System-Assigned Managed Identity is created automatically with the Azure resource and tied to its lifecycle, giving the AI project a credential in Microsoft Entra ID to authenticate to other Azure services without storing secrets.

Why this answer

Managed identities allow the project or compute resource to securely access other Azure resources (like Key Vault or storage) without managing explicit credentials.

41
MCQhard

You are optimizing a generative AI application that uses Azure OpenAI's GPT-4 model for summarizing long legal contracts. The summaries are often incomplete because the model truncates important details from the middle of the contract. You need to improve the completeness of the summaries without exceeding the model's context window. What should you do?

A.Switch to a model with a larger context window, such as GPT-4-32k, and pass the entire contract.
B.Increase the max_tokens parameter to allow longer summaries.
C.Lower the temperature to 0 to make the model more deterministic.
D.Use a chunking strategy with overlapping segments and summarize each chunk, then combine the summaries.
AnswerD

Chunking the contract into overlapping segments ensures that no important details are lost at chunk boundaries. Summarizing each chunk separately and then combining the summaries (e.g., via a hierarchical summarization prompt) allows the model to process the entire document within its context window. Overlap preserves context continuity, reducing the chance of missing critical information in the middle of the contract.

Why this answer

Chunking with overlapping segments and hierarchical summarization allows the model to process the entire contract in parts, preserving context at boundaries and combining partial summaries into a complete one. This approach works within the model's context window and avoids truncation. Increasing output tokens or lowering temperature does not solve input truncation, and switching to a larger model may still be insufficient and costly.

Exam trap

The trap here is confusing output token limits with input context limits; increasing max_tokens does not help the model see more input.

42
MCQeasy

Which Azure Machine Learning resource provides a pre-configured environment for development?

A.Inference Cluster.
B.Compute Instance.
C.Compute Cluster.
D.Managed Endpoint.
AnswerB

A Compute Instance is a single-user, pre-configured VM with notebooks, SDKs and frameworks already installed. It satisfies the development-environment requirement directly, unlike compute clusters, which are provisioned for scalable training and batch workloads rather than interactive authoring.

Why this answer

A 'Compute Instance' is a managed, cloud-based development environment that comes pre-installed with the Azure ML SDK, Jupyter, and other tools.

43
MCQeasy

What is the 'Workspace' in Azure Machine Learning?

A.A specific model deployment.
B.A virtual machine for training.
C.A storage container for datasets.
D.The top-level resource for managing all ML assets.
AnswerD

The workspace is the top-level Azure resource that groups all machine learning assets — experiments, compute, datasets, models and endpoints — under one manageable boundary. This satisfies the stem by defining the container within which every other ML artefact is created, tracked and governed.

Why this answer

The Workspace is the top-level resource for Azure Machine Learning, providing a centralized place to manage all artifacts, computes, and jobs.

44
MCQhard

You are troubleshooting high latency in a RAG-based application. The vector search is fast, but the generation phase is slow. Which component should be scaled?

A.Optimize the vector database index.
B.Increase the 'Instances' count for the LLM deployment.
C.Reduce the 'temperature' setting.
D.Increase the 'Embedding Model' throughput.
AnswerB

Scaling the LLM deployment's instance count adds parallel compute capacity for inference, directly addressing the slow generation phase. Vector search already performs quickly, so the bottleneck lies in token generation, which the LLM deployment handles.

Why this answer

The generation phase is handled by the LLM, not the vector database or embedding model. Increasing the 'Instances' count for the LLM deployment provides more compute capacity to handle concurrent generation requests, directly reducing latency. This is the correct scaling action because the bottleneck is identified as the generation phase, which is compute-bound on the LLM inference servers.

Exam trap

AI-300 often tests the ability to distinguish between the retrieval and generation phases in a RAG pipeline, and candidates may incorrectly assume that optimizing any component (like the vector index or embedding model) will improve overall latency, when the bottleneck is specifically in the generation phase.

How to eliminate wrong answers

Option A is wrong because optimizing the vector database index addresses the retrieval phase, which is already fast according to the scenario. Option C is wrong because reducing the temperature setting changes the randomness of the output, not the speed of generation; it does not affect latency. Option D is wrong because increasing the embedding model throughput affects the embedding of queries or documents, which is part of the retrieval/indexing pipeline, not the generation phase.

45
Multi-Selectmedium

You are preparing a model for deployment. Which THREE items should you include in the model package?

Select 3 answers
A.Training dataset.
B.Pipeline definition.
C.Model weights (pickle/onnx).
D.Inference script (score.py).
E.Environment file (conda.yaml).
AnswersC, D, E

Serialised weights in pickle or ONNX format carry the learned parameters that define the trained model's behaviour. Including them satisfies the packaging requirement, since the inference script alone cannot produce predictions without the numeric weights loaded into the model architecture.

Why this answer

The model package must contain the serialized model artifact itself, so option C (Model weights in pickle/onnx format) is correct because this is the trained artifact that will be loaded to produce predictions. Option D (Inference script, score.py) is correct because the deployment service needs an entry point that defines init() and run() to load the model and handle scoring requests. Option E (Environment file, conda.yaml) is correct because it declares the exact Python and library dependencies required to recreate the runtime environment so the model executes consistently.

Option A (Training dataset) is not included because the package is for inference, not retraining, and shipping raw training data is unnecessary and often a privacy/compliance risk. Option B (Pipeline definition) is not included because a pipeline describes the training/retraining workflow, not the deployable scoring artifact.

46
MCQeasy

What is the benefit of using 'Azure Machine Learning Datasets' (or Data Assets) over raw storage paths?

A.They convert data to Parquet format.
B.They provide versioning and lineage tracking.
C.They automatically remove duplicate records.
D.They are faster to read.
AnswerB

Versioning and lineage tracking let you pin a specific data snapshot to each model run, so experiments remain reproducible when underlying files change. This directly satisfies the stem's benefit over raw storage paths, which offer no immutable reference or audit trail of which data trained a given model.

Why this answer

Data Assets allow for versioning, lineage tracking, and simplified usage across different compute targets.

47
Multi-Selecteasy

Which THREE items should you keep track of in your AI Foundry project to ensure good governance?

Select 3 answers
A.Quota usage.
B.User passwords.
C.Resource Tags.
D.Role-Based Access Control (RBAC) assignments.
E.Personal browser history.
AnswersA, C, D

Tracking quota usage directly satisfies the governance requirement by exposing consumption against assigned limits for model deployments and compute. Microsoft Entra ID role assignments and Azure Policy enforce who may deploy, but quota telemetry reveals capacity exhaustion before it blocks workloads, enabling proactive requests for additional capacity or reallocation across the AI Foundry project.

Why this answer

Quota usage (A) must be tracked because AI Foundry projects consume shared Azure quotas for model deployments, tokens, and compute, and monitoring usage against limits prevents throttling and enables capacity planning. Resource Tags (C) are essential for governance since tags provide the metadata used for cost allocation, ownership attribution, and policy enforcement across the project's associated resources. Role-Based Access Control (RBAC) assignments (D) should be tracked to verify least-privilege access, audit who can manage deployments and data, and detect privilege drift over time.

User passwords (B) are not a project governance artifact because identity is handled through Microsoft Entra ID with tokens, MFA, and conditional access rather than password tracking. Personal browser history (E) is unrelated to project governance and raises privacy concerns, so it should never be monitored for this purpose.

48
MCQmedium

You want to evaluate how well your model adheres to specific brand guidelines. Which evaluation method is best suited for this?

A.Custom LLM-as-a-judge evaluation
B.Token usage threshold alert
C.Default coherence metric
D.Automated regression testing of code
AnswerA

A custom LLM-as-a-judge evaluation lets you supply your own grading prompt and criteria, so the judge scores responses against your specific brand guidelines. Built-in metrics measure generic qualities like coherence or fluency, which cannot encode bespoke brand rules.

Why this answer

Custom evaluation using a judge model (LLM-as-a-judge) configured with a rubric allows for checking specific style or brand compliance.

49
MCQmedium

You have a sudden spike in requests. What is the quickest way to check if you have hit your Azure OpenAI token quota?

A.Review your monthly invoice.
B.Check the 'Quotas' tab in Azure AI Foundry.
C.Check the Azure Monitor 'Errors' log.
D.Check the model endpoint deployment logs.
AnswerB

The Quotas tab in Azure AI Foundry displays real-time token-per-minute usage against your assigned limits per model and deployment, directly satisfying the stem's need for the quickest quota check during a spike. It surfaces current consumption without requiring log queries or metric configuration, unlike Azure Monitor.

Why this answer

The 'Quotas' tab in Azure AI Foundry provides a real-time view of your current token usage against the allocated quota for Azure OpenAI models. This is the quickest way to check if you have hit your token quota because it directly shows usage and limits without needing to wait for billing cycles or parse logs. It aggregates usage across deployments and models, allowing immediate action.

Exam trap

AI-300 often tests the difference between real-time quota monitoring and retrospective billing or logging, and candidates may confuse quota checks with error logs or invoices.

How to eliminate wrong answers

Option A is wrong because reviewing your monthly invoice is retrospective and does not provide real-time quota status; it also lacks granularity for sudden spikes. Option C is wrong because Azure Monitor 'Errors' log may show throttling errors but does not directly show quota consumption; it requires querying and may have latency. Option D is wrong because model endpoint deployment logs are for debugging individual requests and do not aggregate quota usage across the service.

50
MCQhard

You are deploying a large model. During the deployment, you encounter a 'Resource Not Available' error. What is the most likely cause?

A.The API key is invalid.
B.The project name is too long.
C.The subscription is not registered for the service.
D.The region does not have capacity for the requested model SKU.
AnswerD

'Resource Not Available' indicates the target region lacks the compute capacity or quota to provision the requested model SKU. Capacity is region- and SKU-specific, so redeploying to another region or requesting a quota increase resolves the failure.

Why this answer

This error usually indicates that the region lacks sufficient capacity for the specific SKU requested.

51
MCQmedium

You need to ensure that your LLM responses are filtered for harmful content. Which infrastructure component provides this capability?

A.Azure Monitor
B.Azure Key Vault
C.Azure AI Content Safety
D.Azure Bastion
AnswerC

Azure AI Content Safety supplies the filtering layer, analysing prompts and completions for harmful categories such as violence, hate and self-harm. It integrates directly with Azure OpenAI deployments, satisfying the stem's requirement that LLM responses be filtered, unlike storage or identity components such as Microsoft Entra ID.

Why this answer

Azure AI Content Safety is the integrated service used within AI Foundry to monitor and filter model outputs.

52
MCQeasy

You are setting up an Azure Machine Learning workspace and need to ensure that the workspace is not accessible from the public internet. Which networking feature should you configure?

A.Azure Bastion
B.Application Gateway
C.Private Endpoint
D.Service Tags
AnswerC

A private endpoint creates a private IP address within your virtual network for the Azure Machine Learning workspace, eliminating public internet exposure entirely. This directly satisfies the requirement that the workspace must not be accessible from the public internet, since traffic traverses the Microsoft backbone network rather than public routes.

Why this answer

A Private Endpoint creates a private IP address within your virtual network for the Azure Machine Learning workspace, effectively removing public internet exposure. It maps to a specific private link resource (e.g., 'amlworkspace') and allows secure access over the Azure backbone network. This is the correct feature to ensure the workspace is not accessible from the public internet.

Exam trap

AI-300 often tests the misconception that Azure Bastion or Application Gateway can provide private connectivity to PaaS services, when in fact Private Endpoint is the dedicated feature for that purpose.

How to eliminate wrong answers

Option A is wrong because Azure Bastion provides secure RDP/SSH access to virtual machines, not to Azure Machine Learning workspaces. Option B is wrong because Application Gateway is a web traffic load balancer and does not provide private connectivity to PaaS services. Option D is wrong because Service Tags are used in network security group rules to simplify IP range management, but they do not create private endpoints or disable public access.

53
Multi-Selecthard

You are managing model lifecycle security. Which THREE actions are recommended to secure your ML models?

Select 3 answers
A.Allow all traffic in NSGs.
B.Make all Datastores public.
C.Store secrets in Azure Key Vault.
D.Use Azure Role-Based Access Control (RBAC).
E.Use private endpoints for workspace access.
AnswersC, D, E

Azure Key Vault stores secrets, keys and certificates in a hardware-protected, access-controlled vault, so model credentials and API keys never appear in code or notebooks. This removes hardcoded secrets from the ML lifecycle, satisfying the requirement to secure models against credential exposure.

Why this answer

Option C is correct because storing secrets (storage account keys, connection strings, service principal credentials) in Azure Key Vault keeps them out of notebooks, scripts, and source control, and lets the workspace retrieve them via its managed identity rather than hard-coded values. Option D is correct because Azure RBAC enforces least-privilege access to the workspace, compute, datastores, and models, ensuring only authorized identities can read, train, deploy, or manage ML assets. Option E is correct because private endpoints place the workspace and its associated resources (such as storage, Key Vault, and container registry) on a private IP within your VNet, removing public internet exposure and blocking exfiltration.

Option A is not recommended because allowing all traffic in NSGs defeats network segmentation and exposes the workspace to unauthorized access. Option B is not recommended because making datastores public exposes training data and model artifacts to anonymous or unauthenticated access, violating data-protection requirements.

54
MCQeasy

Which service allows you to track ML models and their associated artifacts?

A.Azure Container Registry.
B.Azure Key Vault.
C.Azure Data Lake.
D.Azure Model Registry.
AnswerD

Azure Machine Learning's model registry provides versioned tracking of models and their associated artifacts, such as metrics, tags and lineage metadata. It satisfies the stem's requirement to track ML models and their artefacts by recording each version against the workspace, enabling reproducibility and audit. Note that Microsoft Entra ID governs access, not tracking.

Why this answer

The 'Azure Machine Learning Model Registry' is specifically designed to store, version, and manage models.

55
MCQhard

You are fine-tuning a model on Azure OpenAI and notice the training loss curve is fluctuating significantly. What is the most likely cause?

A.The model's temperature is set too high.
B.The training dataset size is too large.
C.The model lacks enough epochs.
D.The learning rate is too high.
AnswerD

An excessively high learning rate makes each gradient step overshoot the loss minimum, so the loss oscillates or diverges rather than settling. Lowering it, or applying a warmup and decay schedule, stabilises convergence and smooths the fluctuating curve.

Why this answer

A fluctuating training loss curve is typically caused by a learning rate that is too high. When the learning rate is too high, the optimization algorithm takes large steps and may overshoot the minimum, causing the loss to oscillate or even diverge. Reducing the learning rate often stabilizes training.

Exam trap

AI-300 often tests the symptoms of hyperparameter misconfiguration. Candidates might confuse training-time issues (learning rate) with inference-time parameters (temperature) or dataset size effects.

How to eliminate wrong answers

Option A is wrong because temperature is a parameter used during inference, not training; it does not affect the training loss curve. Option B is wrong because a large dataset size generally leads to more stable training, not fluctuation. Option C is wrong because insufficient epochs would result in underfitting (high loss), not necessarily fluctuation; fluctuation is more about step size.

56
MCQeasy

When sharing an AI project with a team, which resource group architecture is best practice for lifecycle management?

A.Use a public resource group for all team members.
B.Spread resources across multiple regions.
C.Keep the project and its dependencies in a single resource group.
D.Place each component in a different subscription.
AnswerC

Keeping the project and its dependencies in one resource group satisfies the lifecycle-management constraint: resources share a single deployment, tagging, and deletion boundary, so the whole AI project can be provisioned, tracked, and removed atomically. Microsoft Entra ID governs access at that scope, simplifying permission cleanup when the project retires.

Why this answer

Keeping an AI project and its dependencies (model deployments, prompt flows, connections, storage, and search resources) in a single resource group is best practice because a resource group is the unit of lifecycle management in Azure. Deleting or exporting the resource group removes or captures the entire project atomically, RBAC and cost tracking are simplified, and deployment templates can be scoped to that group. This aligns resource boundaries with project boundaries.

Exam trap

AI-300 often tests the misconception that resource groups are tied to a single region or that spreading resources improves management, when in fact the resource group is the atomic unit of lifecycle and access control.

How to eliminate wrong answers

Option A is wrong because a 'public resource group' is not a real Azure construct — resource groups are logical containers scoped to a subscription, and making one public would expose resources rather than provide lifecycle management. Option B is wrong because spreading resources across multiple regions is a resilience/availability decision, not a lifecycle-management architecture, and it complicates coordinated deletion and cost attribution. Option D is wrong because placing each component in a different subscription fragments billing, RBAC, and lifecycle operations, making atomic project teardown and governance impractical.

57
MCQmedium

You are auditing your model's safety logs and notice several 'jailbreak' attempts. Where can you find these logs in the Azure ecosystem?

A.Azure Key Vault
B.Log Analytics Workspace
C.Azure Resource Graph
D.Azure Active Directory
AnswerB

Jailbreak attempts against Azure OpenAI models surface as safety audit events, which are routed to a Log Analytics workspace through diagnostic settings. Querying that workspace lets you correlate the offending prompts, model deployments and caller identities, satisfying the audit requirement without enabling extra tooling.

Why this answer

Azure AI Content Safety and Azure OpenAI Service emit diagnostic logs—including jailbreak attempts detected by Prompt Shields—to Azure Monitor. These logs are stored in a Log Analytics workspace, where they can be queried with KQL (e.g., AzureDiagnostics | where Category == 'ContentSafety' or 'Jailbreak'). Log Analytics is the central repository for security and audit logs in Azure, making it the correct place to audit jailbreak attempts.

Exam trap

AI-300 often tests the distinction between services that store logs (Log Analytics) and those that store other artifacts (Key Vault for secrets, Resource Graph for resource metadata), so candidates must remember that safety and audit logs flow to Log Analytics.

How to eliminate wrong answers

Option A is wrong because Azure Key Vault stores secrets, keys, and certificates, not application or safety logs. Option C is wrong because Azure Resource Graph is a service for querying resource metadata and configuration across subscriptions, not for storing or analyzing runtime log data. Option D is wrong because Azure Active Directory (now Microsoft Entra ID) manages identities and access, not model safety logs; it does not capture jailbreak attempts.

58
Multi-Selecthard

You are experiencing throttling on your AI endpoint. Which TWO steps should you take?

Select 2 answers
A.Check current usage against quota limits.
B.Disable all security features.
C.Change the model version to one that is faster but less smart.
D.Request a quota increase for the model.
E.Delete all existing deployments.
AnswersA, D

Throttling occurs when request rates or token consumption exceed the endpoint's assigned quota, so comparing current usage against quota limits identifies whether the limit is the cause. This diagnosis is the prerequisite step before requesting an increase or reducing call volume.

Why this answer

Option A is correct because throttling on an AI endpoint typically occurs when request rate or token consumption exceeds the provisioned quota, so you must first check current usage against quota limits (e.g., requests per minute, tokens per minute) to confirm which limit is being hit. Option D is correct because, once you confirm the workload legitimately exceeds the assigned quota, the standard remediation is to request a quota increase for the model through the service's quota management process. Option B is wrong because disabling security features does not affect throttling and would expose the endpoint to risk.

Option C is wrong because swapping to a faster but less capable model changes capability, not the quota or throttling behavior, and is not a proper fix. Option E is wrong because deleting existing deployments would remove capacity and disrupt service rather than resolve throttling.

59
MCQhard

You are designing a reusable Azure ML pipeline that must run a data validation step, a training step, and a registration step. The pipeline will be executed repeatedly with different input datasets, and you need each step to run in its own isolated environment with pinned dependencies. You also need the pipeline to be versioned and shareable across workspaces. What should you use to define the pipeline?

A.A pipeline that uses a single environment for all steps and passes the dataset as a pipeline parameter, with the pipeline registered as a model.
B.A YAML pipeline definition that references registered components with pinned environments, submitted with the Azure ML CLI v2.
C.A pipeline defined with the designer drag-and-drop interface and exported as a JSON file stored in a Git repository.
D.A single PythonScriptStep-based pipeline defined inline in a notebook, with all dependencies installed at the start of the notebook session.
AnswerB

A YAML pipeline definition using registered components lets each step specify its own environment with pinned dependencies, providing isolation. The pipeline itself can be registered and versioned in the workspace, and because it references components and environments by name and version, it can be shared and reproduced across workspaces that have access to those assets.

Why this answer

Registered components in a YAML pipeline definition give each step its own environment, enabling dependency isolation. The pipeline can be registered and versioned as a pipeline asset, and because it references components and environments by name and version, it can be shared and rerun across workspaces that have those assets. This satisfies isolation, versioning, and shareability in one approach.

Exam trap

The trap here is conflating pipeline versioning with model registration, when a pipeline is a separate asset type and must be registered as a pipeline, not a model.

60
MCQeasy

Where do you define the model deployment settings, including instance count and version?

A.Azure Portal -> Subscriptions
B.Azure Key Vault -> Secrets
C.Azure Monitor -> Alerts
D.Azure AI Foundry -> Project -> Deployments
AnswerD

Azure AI Foundry's project Deployments blade is where each model deployment's instance count, model version and provisioning configuration are set. This satisfies the stem's requirement to define deployment settings, since configuration occurs at the deployment resource itself rather than in the model catalogue or a training compute target.

Why this answer

Model deployment settings — including the deployed model version, instance count (capacity), deployment type, and rate limits — are configured in Azure AI Foundry under the project's Deployments blade. This is where you create and manage deployments that expose a model endpoint for inference, and where you scale capacity and pin versions. It is the operational control plane for serving models.

Exam trap

AI-300 often tests the confusion between where a model is registered/cataloged versus where it is deployed and scaled, causing candidates to pick storage or monitoring services instead of the Deployments blade.

How to eliminate wrong answers

Option A is wrong because the Subscriptions blade in the Azure Portal manages billing and subscription-level access, not model deployment configuration. Option B is wrong because Azure Key Vault stores secrets, keys, and certificates — it has no role in defining model deployment capacity or version. Option C is wrong because Azure Monitor Alerts is for observability and alerting on metrics/logs, not for configuring how a model is deployed or scaled.

61
MCQeasy

What is the purpose of a 'Datastore' in Azure Machine Learning?

A.To manage connectivity to storage services.
B.To store model weights.
C.To track model versions.
D.To process data in memory.
AnswerA

A datastore stores the connection information for an Azure storage service, so compute can access data without embedding credentials in scripts. It satisfies the scenario's need to manage connectivity to storage services, abstracting account keys and paths behind a registered, reusable reference.

Why this answer

In Azure Machine Learning, a Datastore is an abstraction that stores connection information to Azure storage services (Blob, File, Data Lake, SQL, etc.). It lets you reference storage by name in AML without hardcoding credentials or paths. Datastores manage connectivity, not model weights, versioning, or in-memory processing.

Exam trap

AI-300 often tests the confusion between Datastores (connectivity) and the Model Registry (versioning) — candidates pick 'track model versions' because both sound like metadata services.

How to eliminate wrong answers

Option B is wrong because model weights are stored as model artifacts in the workspace or a registered model, not in a Datastore. Option C is wrong because model version tracking is handled by the Model Registry, not Datastores. Option D is wrong because in-memory data processing is done by compute targets (e.g., compute clusters, inference clusters), not Datastores.

62
Multi-Selecteasy

Which TWO actions can you perform in the Azure Machine Learning studio?

Select 2 answers
A.Modify global azure subscriptions.
B.Manage office 365 users.
C.View run history.
D.Configure networking in the tenant.
E.Register a new dataset.
AnswersC, E

The studio's experiments and jobs views expose each run's metrics, logs, and outputs, letting you inspect and compare historical executions. Viewing run history is therefore a supported studio action, satisfying the question's requirement for capabilities available in the Azure Machine Learning studio interface.

Why this answer

Option C (View run history) is correct because the Azure Machine Learning studio provides an Experiments and Runs interface where you can inspect each run's metrics, logs, and outputs for tracking and comparison. Option E (Register a new dataset) is correct because the studio's Data section (Datastores/Datasets) lets you create and register datasets from datastores, local files, or web URLs for reuse in experiments and pipelines. Options A (Modify global azure subscriptions) and D (Configure networking in the tenant) are incorrect because subscription-level and tenant-wide networking settings are managed in the Azure portal or Microsoft Entra admin center, not in the ML studio.

Option B (Manage office 365 users) is incorrect because Office 365 user administration is handled through the Microsoft 365 admin center, not Azure Machine Learning studio.

63
MCQmedium

A user wants to restrict the model's output to valid JSON format. What is the most effective way to ensure this?

A.Increase the temperature.
B.Add 'output must be JSON' to the prompt.
C.Post-process the output with a regex script.
D.Enable JSON mode/Response Format in the API configuration.
AnswerD

Enabling JSON mode constrains decoding so the model emits syntactically valid JSON, satisfying the stem's requirement for structured output. Unlike prompt instructions, which merely bias generation, response format enforcement operates at the API layer, guaranteeing parseable results without post-processing or retry logic.

Why this answer

Enabling JSON mode (Response Format) in the API configuration is the most effective way to constrain model output to valid JSON because the model is instructed and, in supported models, constrained to emit syntactically valid JSON. This is a first-class API feature (response_format: { type: 'json_object' }) that enforces structure at generation time. Prompt instructions alone are probabilistic, and post-processing only fixes output after the fact.

Exam trap

AI-300 often tests the misconception that prompt engineering alone guarantees output format, when the reliable answer is the API-level response_format/JSON mode setting.

How to eliminate wrong answers

Option A is wrong because increasing temperature makes output more random and creative, which increases the likelihood of malformed or non-JSON output, the opposite of what is needed. Option B is wrong because adding 'output must be JSON' to the prompt is only a soft instruction; the model may still produce prose, markdown fences, or invalid JSON, so it is not the most effective or reliable method. Option C is wrong because post-processing with regex is a reactive fix that cannot reliably repair arbitrary malformed JSON and does not prevent invalid output in the first place; it also adds complexity and failure modes.

64
MCQeasy

What is the purpose of the Azure ML 'Model Registry'?

A.Managing network access
B.Calculating accuracy metrics
C.Executing training jobs
D.Storing model version history
AnswerD

The Model Registry stores registered models with incrementing versions, lineage, tags and stage metadata, enabling reproducible deployment of a specific version. This satisfies the version-history purpose, letting teams retrieve, compare and roll back to any previously registered artefact.

Why this answer

The Registry manages versioning and metadata of trained models.

65
MCQeasy

Which of the following is a key component of an observability strategy for Generative AI applications?

A.Hard-coding all model responses
B.Using only manual review processes
C.Monitoring both technical and quality metrics
D.Disabling logging to save costs
AnswerC

Observability for generative AI requires tracking operational signals such as latency, token usage and error rates alongside quality signals such as groundedness, relevance and safety scores. Monitoring both categories together satisfies the stem, since technical metrics alone cannot detect degraded or unsafe model output.

Why this answer

Observability requires tracking both technical metrics (latency, errors) and quality metrics (groundedness, safety).

66
MCQhard

You manage a GenAI application in Azure AI Foundry that uses a provisioned throughput deployment for a large language model. Finance asks you to reduce cost during off-peak hours without affecting peak-hour performance. The deployment currently runs at a fixed provisioned capacity around the clock. Which approach should you use?

A.Enable autoscaling on the provisioned deployment so it scales to zero when there is no traffic.
B.Create a second pay-as-you-go deployment and route off-peak traffic to it while scaling the provisioned deployment down during off-peak hours.
C.Move the model to a batch deployment and process all off-peak requests through the batch API.
D.Lower the provisioned throughput units permanently to the minimum supported value and rely on the model's built-in burst capacity during peak hours.
AnswerB

Provisioned throughput is billed for reserved capacity whether or not it is used, so running it at full capacity off-peak wastes money. Routing off-peak traffic to a pay-as-you-go deployment and scaling the provisioned deployment down preserves peak performance while lowering off-peak cost. This hybrid pattern matches the requirement of no peak-hour impact.

Why this answer

Provisioned throughput is billed for reserved capacity regardless of utilization, so the savings must come from not reserving that capacity off-peak. Routing off-peak traffic to a pay-as-you-go deployment and scaling the provisioned deployment down keeps peak performance intact while cutting cost when demand is low. This hybrid routing is the intended pattern for variable demand.

Exam trap

The trap here is assuming that provisioned deployments autoscale down or scale to zero like serverless compute, when reserved capacity is billed while deployed.

67
MCQeasy

What is the primary function of an Azure ML 'Datastore'?

A.Connection to storage services
B.Experiment tracking
C.Model registry
D.Compute resource management
AnswerA

An Azure ML datastore abstracts a storage account into a named, workspace-registered connection, holding the service endpoint and authentication credentials. This satisfies the stem's requirement for a primary function: it lets compute targets and jobs reference Azure Blob, ADLS or file shares without embedding secrets or paths in every script.

Why this answer

Datastores are abstractions to securely connect to underlying data storage services like Blob storage or Data Lake.

68
Multi-Selecthard

You are troubleshooting a deployment. Which THREE logs are most helpful to check?

Select 3 answers
A.Deployment status logs.
B.Application output logs (stdout).
C.User browser logs.
D.Container build logs.
E.Azure billing logs.
AnswersA, B, D

Deployment status logs expose the provisioning outcome of each resource operation, showing whether the ARM or Bicep deployment succeeded, failed, or was skipped, and the exact error code returned. This directly satisfies the stem's troubleshooting constraint by pinpointing which deployment stage failed rather than merely reporting runtime behaviour.

Why this answer

Deployment status logs (A) are essential because they show the orchestration-level events and errors from the deployment controller, such as failed rollouts, image pull errors, or readiness probe failures, directly indicating why the deployment did not succeed. Application output logs (B), typically captured from stdout/stderr, reveal runtime errors, exceptions, and startup failures inside the deployed containers that would not appear in orchestration logs. Container build logs (D) are critical when the failure originates during image construction, showing failed build steps, dependency errors, or Dockerfile issues before the image ever reaches the deployment stage.

User browser logs (C) reflect client-side rendering or network issues and are not authoritative for server-side deployment failures, while Azure billing logs (E) only track cost and usage data and provide no diagnostic value for a failed deployment.

69
Multi-Selecthard

You are troubleshooting a failed agent deployment. Which TWO areas should you inspect first?

Select 2 answers
A.The Azure status page.
B.The endpoint availability status.
C.The 'Deployment Logs' in the Azure AI Foundry portal.
D.The user profile settings.
E.The billing usage report.
AnswersB, C

Endpoint availability status directly exposes whether the agent's target service endpoint is reachable, which is the prerequisite for any deployment handshake. When an agent deployment fails, an unreachable or unhealthy endpoint blocks registration before configuration is even evaluated, so checking availability isolates connectivity faults from authentication or policy issues.

Why this answer

Option B (the endpoint availability status) is correct because a failed agent deployment often stems from the target endpoint being unreachable, unhealthy, or misconfigured, so checking its availability status quickly reveals connectivity or service-health problems that would block deployment. Option C (the 'Deployment Logs' in the Azure AI Foundry portal) is correct because these logs capture the specific error messages, stack traces, and failure reasons generated during the deployment attempt, making them the most direct source for diagnosing why the agent failed. Options A, D, and E do not belong: the Azure status page only reports broad, platform-wide outages rather than issues specific to your agent deployment, user profile settings are unrelated to deployment execution, and the billing usage report reflects cost consumption rather than deployment health or errors.

70
Multi-Selectmedium

Which THREE tools in Azure can be used to monitor the health and performance of your GenAI infrastructure?

Select 3 answers
A.Azure Front Door
B.Azure Log Analytics
C.Azure Application Insights
D.Azure Monitor
E.Azure Active Directory
AnswersB, C, D

Azure Log Analytics satisfies the monitoring requirement by ingesting telemetry from your GenAI resources and exposing it through Kusto Query Language. It stores metrics and logs centrally, enabling alert rules and workbooks that surface latency, token consumption and error rates across the infrastructure.

Why this answer

Azure Log Analytics (B) is correct because it is the workspace-based service that ingests and queries telemetry such as logs and metrics from GenAI resources using Kusto Query Language (KQL), enabling health and performance analysis. Azure Application Insights (C) is correct because it provides application performance monitoring (APM) for GenAI apps, capturing request rates, latency, failures, dependency calls to model endpoints, and distributed traces. Azure Monitor (D) is correct because it is the umbrella monitoring platform that collects metrics, activity logs, and diagnostics, and drives alerts, dashboards, and autoscale for GenAI infrastructure.

Azure Front Door (A) is a global HTTP load balancer and CDN for web traffic, not a health/performance monitoring tool, and Azure Active Directory (E) is an identity and access management service, so neither belongs here.

Exam trap

AI-300 often tests whether candidates can distinguish observability tools (Monitor, Log Analytics, Application Insights) from adjacent services like Front Door (networking) and Entra ID (identity) that sound infrastructure-related but do not monitor health.

71
MCQmedium

Your Azure OpenAI deployment is experiencing high latency during peak hours. You observe that input tokens are consistently high. Which strategy is most effective for reducing latency while maintaining quality?

A.Implement prompt caching for static instructions.
B.Increase the top_p parameter.
C.Enable dynamic scaling in Azure App Service.
D.Decrease the number of parallel requests.
E.Use a higher model version (e.g., o1-preview).
AnswerA

Prompt caching stores the static instruction prefix so repeated requests reuse its computed key-value state, cutting prefill work on every call. Since the stem identifies consistently high input tokens as the driver of peak-hour latency, caching that unchanging prefix directly reduces time-to-first-token while leaving model quality untouched.

Why this answer

Prompt caching stores the KV cache for static prompt prefixes (system instructions, few-shot examples) so the model doesn't recompute attention over those tokens on every request. When input tokens are consistently high and dominated by static content, caching eliminates redundant prefill computation, directly reducing time-to-first-token and overall latency without changing output quality.

Exam trap

AI-300 often tests the misconception that tuning sampling parameters (top_p, temperature) reduces latency — those affect output generation diversity, not input prefill cost, which is what dominates when input tokens are high.

How to eliminate wrong answers

Option B is wrong because increasing top_p widens the sampling nucleus, which can increase output variability and does nothing to reduce input-token processing latency. Option C is wrong because App Service dynamic scaling addresses compute capacity for the hosting app, not the model inference latency inside Azure OpenAI. Option D is wrong because decreasing parallel requests reduces throughput and may actually increase per-request queueing latency under load.

Option E is wrong because larger reasoning models like o1-preview are significantly slower and more expensive, worsening latency rather than improving it.

72
MCQeasy

When using Prompt Flow for GenAI, where should you store your evaluation results to visualize them over time?

A.GitHub repository
B.Azure Blob Storage
C.Azure Machine Learning workspace
D.Local file system
AnswerC

Prompt Flow logs evaluation runs and metrics into a linked Azure Machine Learning workspace, which persists results and provides run history. This lets you compare evaluation scores across runs over time, satisfying the requirement to visualise results longitudinally.

Why this answer

Prompt Flow logs evaluation runs to the Azure Machine Learning workspace, where they can be viewed in the Runs tab.

73
Multi-Selecthard

To optimize the cost of your AI infrastructure, which THREE actions should you consider?

Select 3 answers
A.Deleting unused model deployments.
B.Purchasing reserved capacity for long-term needs.
C.Deploying all models in every available region.
D.Right-sizing instances based on actual usage metrics.
E.Always selecting the 'Premium' SKU.
AnswersA, B, D

Deleting unused model deployments directly eliminates idle compute charges, since provisioned throughput and hosted endpoints bill continuously regardless of traffic. This satisfies the cost-optimisation constraint by removing resources that consume quota and incur hourly fees without serving requests. Regular audits of deployment usage therefore reduce spend without affecting active inference workloads.

Why this answer

Option A is correct because deleting unused model deployments eliminates the ongoing compute charges (e.g., per-hour inference endpoint or provisioned throughput costs) that accrue even when a deployment receives no traffic, directly reducing waste. Option B is correct because purchasing reserved capacity (such as Azure OpenAI Provisioned Throughput Units or reserved VM instances) commits to a 1- or 3-year term in exchange for a significant discount versus pay-as-you-go pricing, which lowers cost for predictable, long-term workloads. Option D is correct because right-sizing instances based on actual usage metrics (CPU, GPU, memory, and token throughput) ensures you pay only for the capacity you truly need, avoiding over-provisioned and underutilized resources.

Option C is not correct because deploying every model in every region multiplies redundant compute and storage costs without guaranteeing usage, which increases rather than optimizes spend. Option E is not correct because always choosing the 'Premium' SKU incurs higher charges for features that may not be required, whereas selecting the appropriate SKU tier for the workload is the cost-efficient approach.

74
MCQhard

You are using MLflow to track experiments in Azure Machine Learning. You need to log a custom metric that is calculated every 100 iterations. Which MLflow function should you use?

A.'mlflow.log_metric()'.
B.'mlflow.set_tag()'.
C.'mlflow.log_artifact()'.
D.'mlflow.log_param()'.
AnswerA

`mlflow.log_metric()` records a single scalar value against the current run at the step you specify, so calling it every 100 iterations logs each sampled value with its iteration number. This satisfies the stem's requirement to capture a custom metric calculated periodically rather than continuously.

Why this answer

The 'mlflow.log_metric' function is used to log key-value pairs of metrics, which can be called within the training loop.

75
Multi-Selecteasy

Which TWO of the following storage types can be registered as an Azure ML Datastore?

Select 2 answers
A.Azure App Service
B.Azure Blob Storage
C.Azure Data Lake Storage Gen2
D.Azure Active Directory
E.Azure Bot Service
AnswersB, C

Azure Blob Storage is natively supported as an Azure ML Datastore, letting compute targets read and write training data through the workspace's credential-based connection. It satisfies the requirement that the registered storage type be a first-class datastore backend.

Why this answer

Azure Blob Storage (B) is correct because it is one of the core Azure storage services natively supported by Azure Machine Learning for registering as a datastore, allowing ML workspaces to reference blob containers for datasets, training data, and model artifacts via the azureml-core SDK or studio. Azure Data Lake Storage Gen2 (C) is also correct because it is a supported datastore type in Azure ML, providing hierarchical namespace access over blob storage for big-data analytics and ML workloads. Azure App Service (A) is a PaaS web hosting platform, not a storage service, so it cannot be registered as a datastore.

Azure Active Directory (D) is an identity and access management service, not a storage backend. Azure Bot Service (E) is a conversational AI service, not a storage service, and therefore cannot be registered as an Azure ML datastore.

Page 1 of 3

Page 2

All pages