microsoft AI-300: Operationalizing Machine Learning and Generative AI Solutions · Practice questions

1. Design and implement an MLOps infrastructure Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

Which statement about registries and regions is correct?

  1. Registries require AKS
  2. Registries can replicate assets to multiple regions for deployment — Correct
  3. Registries store compute instances
  4. Registries only work in one region and cannot replicate

Correct answer

Registries can replicate assets to multiple regions for deployment

Explanation

Registries support multi-region replication.

Question 2

Which approach reduces cost for long training runs that can tolerate interruption?

  1. Dedicated GPUs that run idle between jobs
  2. Compute instances without auto-shutdown
  3. Disabling checkpoints
  4. Low-priority (spot) compute with checkpointing — Correct

Correct answer

Low-priority (spot) compute with checkpointing

Explanation

Low-priority VMs reduce cost; checkpoints allow resumption.

Question 3

Which statement about compute cluster identity is correct?

  1. Clusters need storage keys in code
  2. Clusters cannot have identities
  3. A managed identity on the cluster can access datastores and Key Vault without secrets — Correct
  4. Clusters use the user's password

Correct answer

A managed identity on the cluster can access datastores and Key Vault without secrets

Explanation

Cluster managed identities enable secure access.

Question 4

Which statement about feature stores in Azure ML is correct?

  1. They manage feature definitions and materialization for training and inference consistency — Correct
  2. They are only for images
  3. They store model weights for deployment
  4. They replace datastores

Correct answer

They manage feature definitions and materialization for training and inference consistency

Explanation

Feature stores reduce training-serving skew.

Question 5

A workspace must use customer-managed keys for data encryption. When must this be configured?

  1. At any time after creation through the studio settings
  2. When the workspace is created — Correct
  3. Only on endpoints
  4. Only on compute instances

Correct answer

When the workspace is created

Explanation

Customer-managed keys for a workspace are set at creation time.

Question 6

Which option runs a training job without creating or managing a compute cluster?

  1. A registry
  2. A compute instance created per job by an admin
  3. Serverless compute — Correct
  4. An online endpoint

Correct answer

Serverless compute

Explanation

Serverless compute provisions compute on demand for jobs.

Question 7

Data scientists need an interactive development machine in the workspace with Jupyter and VS Code. Which compute fits?

  1. A batch endpoint
  2. A compute instance — Correct
  3. A compute cluster with min nodes 0
  4. A managed online endpoint

Correct answer

A compute instance

Explanation

Compute instances are single-node dev workstations.

Question 8

Which approach restricts a data scientist to submitting jobs only to an approved cluster?

  1. Delete other clusters every day
  2. A custom role plus Azure Policy that limits compute creation — Correct
  3. Ask them to use the right cluster
  4. Share one account

Correct answer

A custom role plus Azure Policy that limits compute creation

Explanation

RBAC and Policy enforce compute governance.

Question 9

How should a GitHub Actions workflow authenticate to Azure to run az ml commands without storing a client secret?

  1. A personal access token from a data scientist stored as a repository secret and rotated yearly
  2. Workload identity federation (OIDC) with a federated credential — Correct
  3. Anonymous access
  4. A storage account key in the workflow YAML

Correct answer

Workload identity federation (OIDC) with a federated credential

Explanation

OIDC federated credentials avoid long-lived secrets.

Question 10

Which resources are created alongside an Azure Machine Learning workspace by default?

  1. A Data Factory and an Event Hub
  2. An AKS cluster and a SQL database
  3. Only a virtual machine scale set and a public IP
  4. Storage, Key Vault, Application Insights and optionally ACR — Correct

Correct answer

Storage, Key Vault, Application Insights and optionally ACR

Explanation

Workspaces depend on storage, Key Vault, Application Insights and ACR.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz