Courseiva

Microsoft Certified: Machine Learning Operations Engineer Associate (AI-300) (AI-300) (AI-300) — Questions 76150

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

Page 1

Page 2 of 3

Page 3
76
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

Caching static portions of the prompt reduces the computation required for input token processing.

Why this answer

Prompt caching and reduction of redundant input tokens are primary methods for reducing latency in high-traffic deployments.

77
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

The workspace provides the infrastructure for run tracking and analysis.

Why this answer

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

78
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

Stops ongoing costs for idle resources.

Why this answer

Choosing the right SKU, cleaning up unused deployments, and using reserved capacity are standard cost-optimization steps.

79
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

This is the correct function to log numeric metrics.

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.

80
MCQhard

You are deploying a custom model in a container. To ensure the model infrastructure is highly available, what is the best practice?

A.Disable the 'Load Balancer' to save costs.
B.Use a 'Standard' tier App Service plan.
C.Deploy to 'Azure Kubernetes Service' with 'Availability Zones' enabled.
D.Deploy the container on a single large VM.
AnswerC

Availability zones provide the high-availability required for production deployments.

Why this answer

Deploying across multiple Availability Zones ensures that the infrastructure remains operational even if a specific datacenter fails.

81
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

Standard datastore.

Why this answer

Azure Blob Storage and Azure Data Lake Storage Gen2 are both standard datastore types.

82
MCQmedium

Which Azure feature should you use to restrict traffic to your AI Foundry project to specific IP addresses?

A.Azure Active Directory Conditional Access
B.Network Security Groups (NSG) on the VM
C.Azure AI Services 'Networking' (Firewall) settings
D.Azure Front Door WAF
AnswerC

This is the native feature to restrict access by IP.

Why this answer

IP Firewall rules in the Azure AI Services resource allow you to define allowed client IP ranges.

83
MCQhard

You are optimizing a model for a specific domain language. Which fine-tuning approach minimizes cost while maximizing domain adaptation?

A.Using LoRA (Low-Rank Adaptation).
B.Training the model from scratch.
C.Prompt engineering alone.
D.Full parameter fine-tuning.
AnswerA

LoRA is computationally efficient and requires fewer resources than full fine-tuning.

Why this answer

Low-Rank Adaptation (LoRA) allows for efficient fine-tuning by updating only a small subset of model parameters.

84
Multi-Selecteasy

Which TWO of the following strategies are commonly used to optimize for cost in Generative AI?

Select 2 answers
A.Selecting the smallest capable model for the task.
B.Caching frequent prompts or responses.
C.Increasing the context window size to 128k.
D.Enabling verbose logging.
E.Using the highest possible temperature.
AnswersA, B

Smaller models are significantly cheaper than flagship models.

Why this answer

Caching and choosing smaller, task-appropriate models are the primary levers for cost management.

85
MCQmedium

You need to update a prompt flow without downtime. What deployment strategy should you use?

A.Use a Blue-Green deployment pattern.
B.Directly overwrite the existing deployment.
C.Stop the service during the update.
D.Delete the old deployment and create a new one.
AnswerA

This allows for seamless traffic switching between versions.

Why this answer

Blue-Green or Canary deployments allow updating the model/flow without impacting existing users.

86
MCQmedium

You are orchestrating a multi-step ML pipeline in Azure Machine Learning. You need to ensure that a downstream step only executes if the upstream model training step finishes successfully, while allowing the pipeline to continue even if a non-critical logging step fails. Which configuration should you use?

A.Configure a 'WaitStep' to monitor the training job status.
B.Configure pipeline run settings with 'continue_on_step_failure' set to True for the logging step.
C.Set the 'PipelineParameter' to execute only on success.
D.Use an 'Estimator' class with 'allow_reuse' set to False.
AnswerB

This allows the pipeline to proceed if the specific step fails.

Why this answer

You should set the 'continue_on_step_failure' property to True for non-critical steps and ensure dependencies are defined via 'StepRun' output objects.

87
Multi-Selecteasy

Which THREE of the following are types of Azure ML endpoints?

Select 3 answers
A.Network endpoint
B.Database endpoint
C.Batch endpoint
D.Web service (legacy)
E.Managed online endpoint
AnswersC, D, E

Standard batch inference endpoint.

Why this answer

Managed online, batch, and web service (legacy) represent the main endpoint categories.

88
MCQhard

You are experiencing latency issues with a model deployed on a Managed Online Endpoint. What is the first thing you should check?

A.Application Insights logs
B.The Azure ML workspace name
C.The subscription limit
D.The storage account size
AnswerA

Logs provide granular detail on request processing times and potential bottlenecks.

Why this answer

Reviewing logs in Application Insights identifies performance bottlenecks and latency issues.

89
MCQeasy

A team uses Azure Machine Learning to track experiments. You need to ensure that every run is associated with a specific git commit hash to ensure reproducibility. Where should this be configured?

A.In the 'workspace.json' file.
B.By modifying the compute cluster configuration.
C.Within the 'experiment.start_logging()' call using the 'tags' parameter.
D.Inside the 'conda_dependencies.yml' file.
AnswerC

This is the standard way to attach metadata to a run.

Why this answer

The 'run_configuration' or the 'Environment' object can be used to inject metadata, but standard practice is to use the 'tags' or 'properties' dictionary during the 'start_logging' or 'init' call.

90
MCQmedium

You need to ensure that training data is encrypted at rest in the Blob Storage linked to your Azure Machine Learning workspace. How do you ensure this?

A.Configure the training script to encrypt files.
B.Enable encryption at the storage account level.
C.Use SSL/TLS for all communication.
D.Use an encrypted VM for training.
AnswerB

This is the standard platform security configuration.

Why this answer

Azure Storage accounts support Storage Service Encryption (SSE) by default. You can also use Customer-Managed Keys (CMK) for additional control.

91
MCQmedium

You are evaluating an LLM application using Prompt Flow. You want to measure the 'Groundedness' of the model response relative to the retrieved context. Which evaluator should you configure?

A.Relevance evaluator
B.Groundedness evaluator
C.Coherence evaluator
D.Fluency evaluator
AnswerB

Groundedness specifically measures factual consistency with source context.

Why this answer

The Groundedness evaluator in Prompt Flow checks if the response is supported by the context provided.

92
Multi-Selectmedium

Which TWO of the following are benefits of using the Azure ML CLI v2 for your MLOps pipelines?

Select 2 answers
A.Native integration with CI/CD tools
B.Automatic model training
C.No need for Python
D.Built-in model visualization
E.Declarative YAML configurations
AnswersA, E

Designed for automation in DevOps/GitHub.

Why this answer

CLI v2 enables YAML-based infrastructure-as-code and better cross-platform support.

93
MCQhard

You are implementing a retraining trigger for a demand forecasting model. You want to trigger a pipeline execution only when the drift metric for the 'Price' feature exceeds a predefined threshold. Which service should you integrate with Azure Machine Learning?

A.Azure Batch schedules.
B.Azure Data Factory triggers.
C.Azure Monitor alerts on logs.
D.Azure Event Grid and Logic Apps.
AnswerD

This is the native integration pattern for drift-based automation.

Why this answer

Azure Machine Learning Data Drift Monitors can be configured to emit events to Azure Event Grid, which can then trigger an Azure Logic App or Azure Function to start the pipeline.

94
Multi-Selecthard

Which THREE parameters directly affect the output structure or style of an LLM response?

Select 3 answers
A.top_k
B.max_tokens
C.temperature
D.frequency_penalty
E.presence_penalty
AnswersC, D, E

Controls the randomness/creativity of the output.

Why this answer

Presence penalty, frequency penalty, and temperature control the style and token choice of output.

95
MCQhard

You are configuring a 'Managed Online Endpoint' for a very large model (10GB+). The deployment is failing during the 'pulling image' phase. What is the most likely cause?

A.The instance count is too high.
B.The ACR is private.
C.The compute is too small.
D.The 'readiness_probe' timeout is too short.
AnswerD

Increasing this allows more time for the image to pull and load.

Why this answer

Large images or model artifacts often cause timeout issues during container startup. You might need to increase the 'readiness_probe' timeout in the deployment configuration.

96
MCQeasy

You need to monitor the health of your deployed Azure ML models. Which service is integrated directly with Azure ML to provide automated metrics and logging?

A.Azure Event Grid
B.Azure Application Insights
C.Azure Policy
D.Azure Data Factory
AnswerB

Application Insights collects telemetry and performance metrics from deployed endpoints.

Why this answer

Azure Application Insights is the native service for monitoring logs, metrics, and telemetry from deployed model endpoints.

97
MCQmedium

You are using GitHub Actions. You want to authenticate to Azure without using hardcoded credentials. What should you use?

A.SSH keys
B.OIDC
C.Azure Storage keys
D.User name and password
AnswerB

OIDC allows GitHub Actions to assume an Azure identity without secrets.

Why this answer

OIDC (OpenID Connect) is the secure way for GitHub Actions to authenticate to Azure.

98
MCQmedium

You want to track your model experiments and compare their performance metrics. Which Azure ML feature provides this capability?

A.Environments
B.Model Registry
C.Compute targets
D.Experiments
AnswerD

Experiments are the standard container for tracking and comparing ML runs.

Why this answer

The Experiments and Run History in Azure ML automatically log and compare metrics across different runs.

99
MCQeasy

When configuring a compute instance, which setting allows you to automatically stop the instance during periods of inactivity?

A.Provisioning timeout
B.Idle shutdown
C.Auto-scaling
D.Priority based scheduling
AnswerB

Idle shutdown provides automated cost management based on inactivity.

Why this answer

Idle shutdown automatically turns off the compute instance when no active processes are detected, saving costs.

100
MCQmedium

You need to audit all model access logs across your organization. What is the most effective approach?

A.Review individual request headers in the app logs.
B.Enable 'Diagnostic Settings' to send logs to a 'Log Analytics Workspace'.
C.Use 'Azure Advisor' to detect unauthorized access.
D.Download the 'Model Usage' report from the billing console.
AnswerB

This allows for centralized query and analysis of access patterns.

Why this answer

Enabling diagnostic settings on the Azure AI Services resource to send logs to a Log Analytics workspace is the standard for organization-wide auditing.

101
MCQmedium

You want to automate the deployment of a model using GitHub Actions. Which file format is standard for defining the Azure ML CLI v2 deployment configuration?

A.JSON
B.XML
C.Bicep
D.YAML
AnswerD

CLI v2 utilizes YAML configuration files for defining infrastructure as code.

Why this answer

Azure ML CLI v2 uses YAML files to define configurations for jobs, endpoints, and deployments.

102
MCQmedium

You are creating a 'Pipeline' and want to share a dataset across multiple steps. What is the most efficient way to access this data?

A.Download the data to each step's local directory.
B.Use a 'Dataset' input object that mounts the storage.
C.Pass the file path as a string argument.
D.Copy the data between steps.
AnswerB

Mounting is efficient and avoids redundant downloads.

Why this answer

You should define the dataset as an 'Input' to the pipeline or use a 'Dataset' object that can be mounted by the compute for each step.

103
MCQeasy

You are reviewing the 'Run History' in Azure Machine Learning. You want to compare the training time of two different experiments. Which UI feature should you use?

A.The 'Models' registry list.
B.The 'Endpoints' dashboard.
C.The 'Notebooks' file browser.
D.The 'Experiments' tab, then 'Compare' button.
AnswerD

The built-in compare feature is designed for this.

Why this answer

The 'Charts' or 'Metrics' comparison view in the Azure ML Studio allows you to visualize and compare metrics across multiple runs.

104
MCQmedium

You are deploying a model to an Azure Kubernetes Service (AKS) cluster. You need to ensure that the deployment handles traffic spikes by scaling based on GPU usage. Which setting must be enabled in the inference configuration?

A.Set 'autoscale_enabled' to True and 'target_utilization' for GPU metrics.
B.Use 'enable_gpu' in the 'DeploymentConfig'.
C.Configure 'max_concurrent_requests'.
D.Enable 'cluster_purpose' as 'FastProd'.
AnswerA

This directly targets GPU-based scaling logic.

Why this answer

To scale based on GPU usage, you must define an 'autoscale' configuration within the 'InferenceConfig' that references 'target_utilization' for custom metrics like GPU.

105
Multi-Selecthard

Which THREE of the following are key components of a robust MLOps strategy in Azure?

Select 3 answers
A.Manual model testing
B.Automated CI/CD pipelines
C.Version control for code and models
D.Using only local workstations
E.Automated model monitoring
AnswersB, C, E

Essential for deployment speed and consistency.

Why this answer

Version control, automated pipelines, and model monitoring are pillars of MLOps.

106
MCQmedium

You are creating a CI/CD pipeline in Azure DevOps. Which extension is essential to integrate Azure ML tasks into your build/release pipeline?

A.Visual Studio Code extension
B.Terraform extension
C.Azure Machine Learning extension
D.Kubernetes extension
AnswerC

This extension enables native tasks like model registration, training runs, and deployment.

Why this answer

The Azure Machine Learning extension provides the necessary tasks to interact with the Azure ML CLI from DevOps pipelines.

107
MCQmedium

You want to automate the evaluation of your LLM application using a 'Golden Dataset'. What is the primary purpose of this dataset in an MLOps pipeline?

A.To increase the model training speed
B.To serve as a baseline for measuring performance improvements
C.To reduce the number of tokens used
D.To generate new prompts for users
AnswerB

Comparing current outputs against a verified set allows for regression testing.

Why this answer

A Golden Dataset serves as the ground truth to compare model outputs against during automated evaluation runs.

108
MCQmedium

You are setting up an MLOps pipeline and need to ensure that only approved models are deployed. Which feature should you use?

A.Model Registry statuses
B.Data labeling
C.Compute targets
D.Auto-scaling
AnswerA

Registry statuses allow you to control and gate which versions move to production.

Why this answer

Model tagging and status (e.g., 'Production', 'Staging') in the Model Registry allow for governance and gates.

109
Multi-Selecthard

Which THREE settings are part of the 'InferenceConfig' object in Azure ML?

Select 3 answers
A.Source directory.
B.Environment definition.
C.Target storage account URL.
D.Entry script path.
E.Compute instance size.
AnswersA, B, D

Where the code lives.

Why this answer

Entry script, environment, and property settings are part of the inference config.

110
MCQmedium

You are configuring a 'Managed Online Endpoint' for production. You want to ensure high availability. What should you configure?

A.Use 'LowPriority' compute.
B.Set the 'instance_count' to at least 2.
C.Set the 'instance_count' to 1.
D.Enable 'Auto-scaling' only.
AnswerB

Multiple instances allow for failover.

Why this answer

To ensure high availability, you should configure the 'instance_count' to be greater than 1, spanning multiple availability zones if supported.

111
Multi-Selecteasy

Which THREE metrics are critical for monitoring a production Generative AI system?

Select 3 answers
A.Latency (Time-to-first-token).
B.The hardware temperature of the Azure server.
C.Model training loss.
D.Token usage per request.
E.Error rates (HTTP 4xx/5xx).
AnswersA, D, E

Vital for UX performance monitoring.

Why this answer

Latency, token usage, and error rates are the standard pillars of LLM monitoring.

112
MCQhard

An agent orchestration system is timing out because it waits too long for tool output. How can you optimize the infrastructure handling of tool calls?

A.Increase the 'CPU count' on the hosting server.
B.Implement 'Asynchronous' execution patterns for long-running tools.
C.Increase the 'Global Timeout' for the entire agent.
D.Reduce the 'System Prompt' size.
AnswerB

Asynchrony prevents blocking the main orchestration thread.

Why this answer

Implementing tool-specific timeouts within the agent definition helps prevent long-running tasks from stalling the overall orchestration chain.

113
MCQhard

You are automating the deployment of your AI project. What is the recommended tool to manage infrastructure-as-code (IaC) for Azure AI Foundry?

A.Azure DevOps pipelines
B.Azure Bicep
C.Azure CLI alone
D.Python script with Azure SDK
AnswerB

Bicep is the preferred, declarative way to deploy Azure resources.

Why this answer

Bicep is the native, recommended IaC tool for Azure, providing deep integration for AI Foundry resources.

114
MCQhard

A data scientist needs to access data in an Azure Data Lake Storage Gen2 account from Azure ML. You need to ensure the workspace uses the most secure method to access this data. What should you configure?

A.Shared Key
B.User-Assigned Managed Identity
C.Public Access
D.Account SAS
AnswerB

Managed identities provide secure, secret-less authentication to Azure resources.

Why this answer

Using a User-Assigned Managed Identity allows the Azure ML workspace to authenticate with the storage account without storing keys.

115
MCQhard

Your production agent application requires strict data isolation. You must ensure all requests to Azure OpenAI are routed through a private network. Which configuration is required?

A.Enable 'Public Network Access' set to 'Disabled' on the Azure AI resource.
B.Deploy the model inside a dedicated 'Azure Kubernetes Service' node pool.
C.Configure a 'Service Tag' for Azure OpenAI in the Firewall settings.
D.Add the 'Virtual Network' to the 'Allowed Subnets' in the AI Service.
AnswerA

Disabling public network access forces the use of private endpoints for connectivity.

Why this answer

To ensure traffic stays within the private network, you must configure Azure AI Services with Private Link and ensure all traffic is routed through a private endpoint.

116
MCQmedium

You need to ensure that your model inference code has access to the latest secret keys without hardcoding them. What is the recommended integration?

A.Store keys as environment variables in the Dockerfile.
B.Use the workspace Key Vault to store and retrieve secrets.
C.Use a configuration file on the VM.
D.Pass them as arguments to the 'init()' function.
AnswerB

This is the secure pattern for runtime secrets.

Why this answer

You should integrate your scoring script with Azure Key Vault using the workspace 'get_default_keyvault()' function to retrieve secrets at runtime.

117
MCQmedium

You have a large set of documents for a RAG system. How should you optimize retrieval speed?

A.Store embeddings in a dedicated vector database with indexing.
B.Process all documents in the prompt.
C.Increase the model's max_tokens.
D.Perform a brute-force search on all documents.
AnswerA

Vector databases provide optimized search algorithms for large datasets.

Why this answer

Using a managed vector store with optimized indexing is essential for large-scale retrieval speed.

118
MCQhard

You are configuring a connection to a vector store. What is the best way to handle the secret credential?

A.Hardcode the key in the flow configuration.
B.Store in Azure Key Vault and reference in the connection.
C.Pass it as a parameter in the code.
D.Store it in an environment variable.
AnswerB

This is the standard, secure practice.

Why this answer

Key Vault is the centralized store for all application secrets in Azure, which should be linked to the project connection.

119
MCQhard

You have an Azure Machine Learning pipeline that uses 'PipelineData' to pass information between steps. You want to share data between a training step and a scoring step. What is the recommended way to persist this data?

A.Embed the data in the run metadata.
B.Write the file to the local temp directory.
C.Use an 'OutputDataBinding' to a registered Datastore.
D.Use an environment variable to pass the file path.
AnswerC

This ensures the data is persisted and accessible.

Why this answer

'PipelineData' allows intermediate data passing, but 'OutputDataBindings' are preferred for persisting artifacts that need to be accessed later, such as model files.

120
Multi-Selecthard

Which TWO of the following are required to secure an Azure ML workspace using a Private Link?

Select 2 answers
A.Public IP address
B.A Virtual Network (VNet)
C.Private Endpoint
D.Data Factory instance
E.Azure Active Directory B2C
AnswersB, C

Required to host the private endpoint.

Why this answer

A Private Endpoint and a specific VNet configuration are core to the Private Link setup.

121
Multi-Selectmedium

You are optimizing your Azure ML pipeline performance. Which THREE steps should you take to reduce execution time?

Select 3 answers
A.Increase the number of workspaces.
B.Use smaller compute clusters for everything.
C.Mount datasets instead of downloading them.
D.Enable step run reuse.
E.Use 'ParallelRunStep' for batch processing.
AnswersC, D, E

Saves I/O time.

Why this answer

Caching (reuse), parallelizing steps, and using efficient data access methods are key.

122
MCQhard

You are troubleshooting a model deployment failure where the container fails to start due to missing environment variables. Where do you find the logs to identify the cause?

A.The 'get-logs' command for the online deployment.
B.The Key Vault access logs.
C.The pipeline run history.
D.The workspace diagnostic logs in Azure Monitor.
AnswerA

This retrieves the specific container startup error logs.

Why this answer

The 'deployment logs' are accessible via the Azure ML Studio UI or the CLI command 'az ml online-deployment get-logs', which pulls from the container runtime.

123
MCQmedium

You are using Azure AI Studio to evaluate your model. Which tool allows you to perform batch testing on a large dataset of prompts?

A.Prompt Playground
B.Model catalog
C.Deployment logs
D.Evaluation tab
AnswerD

The evaluation tab is designed for batch testing and scoring.

Why this answer

The 'Evaluation' feature in Azure AI Studio allows for running batch tests using built-in metrics.

124
Multi-Selecteasy

Which THREE of the following are components of an Azure AI Foundry project?

Select 3 answers
A.Azure Key Vault (the resource itself).
B.Azure Subscriptions.
C.Prompt Flows.
D.Connections.
E.Models.
AnswersC, D, E

Workflow orchestration and design.

Why this answer

Models, connections, and prompt flows are foundational components within the AI Foundry project environment.

125
MCQhard

You are implementing a custom container for model training. You need to push the image to the 'Azure Container Registry' (ACR) linked to your workspace. What is the correct command?

A.'docker build' and 'docker push' to the ACR URL.
B.'az ml environment create --custom'.
C.'az container create'.
D.'az ml model deploy --image'.
AnswerA

Standard Docker workflow for custom images.

Why this answer

The standard approach is 'docker build' followed by 'docker push' to the ACR URL, ensuring authentication via 'az acr login'.

126
MCQmedium

You are building an Azure Machine Learning pipeline. You need to ensure that the pipeline components are reusable and versioned independently. What should you use?

A.Azure ML Datasets
B.Azure ML Pipelines Steps
C.Azure ML Components
D.Azure Container Registry images
AnswerC

Components are the fundamental units for building reusable and versioned ML pipelines.

Why this answer

Azure ML components allow for independent versioning and reusability across different pipelines.

127
MCQhard

In an LLM pipeline, what is the primary risk of relying solely on automated 'Groundedness' evaluators?

A.They prevent the use of custom prompts
B.They always increase latency significantly
C.They require a permanent database connection
D.They may have false negatives and miss subtle hallucinations
AnswerD

No automated evaluator is perfect; it can miss complex or subtle hallucinations.

Why this answer

Automated evaluators (LLM-as-a-judge) may have their own biases or may incorrectly classify outputs, leading to false negatives/positives.

128
MCQeasy

Which parameter in the Azure OpenAI API should be adjusted to make the model's output more deterministic and repeatable?

A.max_tokens
B.presence_penalty
C.temperature
D.frequency_penalty
AnswerC

A temperature of 0.0 makes the model deterministic.

Why this answer

Lowering the temperature parameter reduces randomness, making outputs more deterministic.

129
MCQhard

You are managing a multi-workspace environment. You need to restrict the ability to create new compute clusters to only specific users. Where should you apply this control?

A.Azure RBAC on the Workspace
B.Network Security Group
C.Azure Storage Access Policies
D.Azure ML Datastore configuration
AnswerA

Azure RBAC allows for granular permissions, specifically who can manage compute clusters.

Why this answer

RBAC (Role-Based Access Control) at the workspace level determines which users can interact with compute resources.

130
MCQhard

You are optimizing prompt latency by reducing tokens. Which of the following is the most effective way to reduce input token count for a recurring task?

A.Changing the model to GPT-4o.
B.Moving static task instructions to the system message.
C.Removing the API key from the request.
D.Using a higher temperature.
AnswerB

System messages are often handled more efficiently and reduce the redundant tokens sent in the user prompt.

Why this answer

Using a system message for static instructions instead of repeating them in every user prompt saves tokens per request.

131
MCQmedium

Your team wants to use prompt versioning. Where should this be managed in the AI Foundry workflow?

A.Azure Database for PostgreSQL
B.GitHub repository only
C.Prompt Flow in Azure AI Foundry
D.Azure Blob Storage
AnswerC

Prompt Flow provides native versioning for prompt engineering.

Why this answer

The 'Prompt Flow' feature in Azure AI Foundry includes built-in versioning and management for prompt templates.

132
MCQeasy

You are moving a model from a local environment to Azure Machine Learning. Which file is required to define the entry script for the model inference?

A.'inference_config.json'.
B.'model.pkl'.
C.'environment.yml'.
D.'score.py'.
AnswerD

This contains the inference logic.

Why this answer

The entry script (often named 'score.py') is required to define 'init()' and 'run()' functions for the deployment.

133
MCQhard

You are optimizing a long-context application. Which technique is most effective for reducing context window costs in Azure OpenAI?

A.Using a smaller batch size.
B.Summarizing conversation history before passing to the next prompt.
C.Disabling streaming responses.
D.Increasing the frequency penalty.
AnswerB

Summarization compresses token counts significantly compared to passing full history.

Why this answer

Summarizing previous turns in a conversation history reduces the number of tokens sent in each request, lowering costs.

134
Multi-Selectmedium

Which TWO of the following are recommended methods for identifying 'hallucinations' in a RAG system?

Select 2 answers
A.Using an LLM-as-a-judge to compare against ground truth
B.Checking for grammatical errors
C.Comparing generated output against retrieval context
D.Measuring model response speed
E.Counting total prompt tokens
AnswersA, C

Comparing against a reference answer is a standard approach.

Why this answer

Comparing output to source context (groundedness) and using a reference-based evaluation are standard methods.

135
Multi-Selectmedium

You are monitoring model drift. Which TWO features are required to configure a Data Drift Monitor?

Select 2 answers
A.An Azure SQL database.
B.A target dataset to compare against.
C.A baseline dataset.
D.A model version.
E.A custom Python script.
AnswersB, C

Required for drift calculation.

Why this answer

You need a target dataset (baseline) and a comparison dataset (current).

136
MCQeasy

An application is hitting rate limits on the Azure OpenAI service. Which action is the most standard approach for handling this in production?

A.Delete the deployment and recreate it.
B.Implement exponential backoff in the client application.
C.Disable the rate limit in the portal.
D.Increase the temperature of the model.
AnswerB

Backoff strategies allow the client to wait and retry, preventing service overload.

Why this answer

Implementing exponential backoff is the standard architectural pattern for handling rate-limited API responses.

137
MCQhard

You need to prevent data egress from your Azure ML environment. What configuration is required?

A.Enable public access
B.Use a public load balancer
C.Create a new resource group
D.Managed VNet and egress locks
AnswerD

Managed VNets allow for granular control over network traffic, including blocking egress.

Why this answer

A workspace with no public IP and a managed virtual network with egress controls prevents unauthorized data movement.

138
MCQeasy

What is the primary benefit of using Azure ML compute clusters instead of compute instances for training?

A.Support for multiple nodes
B.Clusters have more RAM per node
C.Instances are deprecated
D.Cost is always lower
AnswerA

Compute clusters support multi-node scaling for distributed training.

Why this answer

Compute clusters are designed for distributed, scalable training across multiple nodes.

139
Multi-Selectmedium

You are designing the infrastructure for a multi-agent system. Which THREE of the following are essential components to ensure agent orchestration scalability?

Select 3 answers
A.Azure Data Lake Storage for model weights.
B.Horizontal Pod Autoscaling (HPA) for inference services.
C.A message queue (e.g., Azure Service Bus) to decouple agent tasks.
D.A distributed cache (e.g., Azure Cache for Redis) for state management.
E.Azure Bastion for secure management.
AnswersB, C, D

HPA allows the inference infrastructure to expand based on demand.

Why this answer

Scalability in agent systems requires load balancing, message queuing, and state management to handle concurrent agent tasks and ensure high throughput.

140
MCQeasy

Which feature in Azure OpenAI allows you to reserve throughput for a consistent user experience during high demand?

A.Regional failover.
B.Auto-scaling groups.
C.Provisioned Throughput Units (PTUs).
D.Token throttling.
AnswerC

PTUs guarantee capacity, preventing performance degradation during bursts.

Why this answer

Provisioned Throughput Units (PTUs) provide dedicated capacity for predictable performance.

141
MCQmedium

You want to enforce a policy that all models must be registered before being deployed. Which feature should you use to implement this constraint?

A.Virtual Network peering.
B.Role-Based Access Control (RBAC).
C.Azure Policy definitions.
D.Compute Instance quotas.
AnswerC

Azure Policy allows governing resources based on properties.

Why this answer

Azure Policy for Azure Machine Learning can be used to restrict actions, such as preventing deployment of models that do not have a specific 'registered' status or tag.

142
MCQmedium

You are configuring an 'Azure Machine Learning Compute Cluster' for a heavy training job. You want to ensure it shuts down automatically when no jobs are running. What setting should you configure?

A.'min_nodes' set to 0.
B.'max_nodes' set to 0.
C.'cluster_priority' to 'LowPriority'.
D.'idle_seconds_before_scaledown'.
AnswerA, D

Wait, min_nodes set to 0 allows the cluster to shrink to zero, but 'idle_seconds_before_scaledown' is the specific property that controls the timing.

Why this answer

The 'idle_seconds_before_scaledown' property in the compute configuration determines how long the cluster waits before removing idle nodes.

143
MCQhard

You are automating model registration using the Azure ML CLI. You need to ensure the registration only happens if the model accuracy is above 0.9. How do you implement this condition?

A.Use the 'condition' parameter in the 'model create' command.
B.Use an 'Azure Function' to trigger registration.
C.Configure a 'ValidationThreshold' in the registry.
D.Implement logic in the pipeline to gate the registration step.
AnswerD

Pipeline orchestration is required for conditional steps.

Why this answer

You must include logic in your pipeline or script to evaluate the metric (e.g., via a 'PythonScriptStep') and only call the 'az ml model create' command if the condition is met.

144
MCQhard

You need to debug a training job that is failing inside a specific Docker container. What is the best way to investigate?

A.Delete the datastore
B.Use the Azure ML SDK to download the container image
C.Use 'az ml job stream' to view logs
D.Submit a new training job without parameters
AnswerC

Streaming logs provides real-time visibility into the containerized process.

Why this answer

The standard approach is to use 'az ml job stream' to view logs or access the compute node via SSH if enabled.

145
MCQmedium

A team is scaling a GenAI application that utilizes multiple models via model-as-a-service. You notice that inference requests are being throttled. What is the most effective infrastructure-level adjustment to handle the increased load?

A.Purchase and deploy Provisioned Throughput Units (PTUs) for the specific model deployment.
B.Change the model version to a lower-parameter variant.
C.Move the deployment to a different subscription within the same Azure region.
D.Increase the number of instances in the associated Azure Kubernetes Service (AKS) cluster.
AnswerA

PTUs provide dedicated, guaranteed capacity for high-volume inference, bypassing standard rate limits.

Why this answer

Provisioned throughput units (PTUs) allow for dedicated capacity, which is the standard way to prevent throttling for high-scale GenAI workloads in Azure.

146
Multi-Selectmedium

Which TWO methods are best for debugging an LLM pipeline that fails on complex queries?

Select 2 answers
A.Inspecting raw input and output tokens via logs.
B.Tracing the request flow through the RAG pipeline.
C.Increasing the number of API users.
D.Disabling all security controls.
E.Deleting the deployment and rebuilding it.
AnswersA, B

Allows developers to see exactly what the model saw.

Why this answer

Prompt logging and trace inspection are the best ways to understand why a model fails on specific inputs.

147
MCQmedium

You have an automated model training pipeline that is failing intermittently due to compute availability. What should you configure to ensure the pipeline is more resilient?

A.Increase the 'max_nodes' of the cluster.
B.Set the 'allow_reuse' parameter to True.
C.Use 'LowPriority' compute.
D.Configure 'retry' settings for the step.
AnswerD

Retries handle transient failures.

Why this answer

You should configure 'retry' settings in the 'PipelineStep' definition to handle transient compute errors.

148
Multi-Selectmedium

You are planning a production GenAI deployment. Which THREE of the following are necessary infrastructure considerations?

Select 3 answers
A.Implementing Private Link for network isolation.
B.Setting up auto-scaling for inference endpoints.
C.Using the cheapest SKU regardless of capacity.
D.Enabling diagnostic logging for audit and monitoring.
E.Hardcoding credentials in the code.
AnswersA, B, D

Secures traffic paths.

Why this answer

Security, scalability, and monitoring are the three pillars of a production-ready AI infrastructure.

149
MCQmedium

You are managing a multi-region GenAI deployment using Azure AI Foundry. To reduce latency for global users, what routing architecture should you implement?

A.Implement 'Private Link' for every regional endpoint.
B.Deploy Azure Traffic Manager with 'Performance' routing.
C.Use Azure Front Door to route traffic to the nearest regional AI Foundry endpoint.
D.Configure 'Global VNet Peering' between model endpoints.
AnswerC

Front Door offers global load balancing and edge caching for improved latency.

Why this answer

Azure Front Door provides global HTTP load balancing and site acceleration, which is critical for reducing latency in geographically dispersed GenAI applications.

150
MCQhard

You are deploying a model that requires a high-memory compute for inference. You are using a 'Managed Online Endpoint'. Where do you specify the instance type for this deployment?

A.In the 'Endpoint' YAML file.
B.In the 'Environment' definition.
C.In the 'Deployment' YAML file under 'instance_type'.
D.In the 'Workspace' settings.
AnswerC

This is where compute resources are specified for the deployment.

Why this answer

The instance type is defined in the 'Deployment' configuration object, typically in the 'instance_type' field.

Page 1

Page 2 of 3

Page 3

All pages