McAfee Secure

Exam Code: AI-300

Exam Name: Operationalizing Machine Learning and Generative AI Solutions

Certification Provider: Microsoft

Corresponding Certification: Microsoft Certified: Machine Learning Operations Engineer Associate

Microsoft AI-300 Questions & Answers

Study with Up-To-Date REAL Exam Questions and Answers from the ACTUAL Test

213 Questions & Answers with Testing Engine

"Operationalizing Machine Learning and Generative AI Solutions Exam", also known as AI-300 exam, is a Microsoft certification exam.

Pass your tests with the always up-to-date AI-300 Exam Engine. Your AI-300 training materials keep you at the head of the pack!

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Was: $137.49
Now: $124.99

Microsoft AI-300 Practice Test 12

Question 110

A change is tested in a sandbox but the same Bicep template deploys production-specific endpoint names there. A controlled test should demonstrate that sandbox and production share the template version but resolve their own approved resource names. Which change most directly addresses the observed behavior?

  1. Use environment-specific parameter values while preserving the shared validated template
  2. Use a secure parameter or Key Vault-backed secret reference rather than committing secret values
  3. Declare appropriate Bicep resource dependency ordering for the workspace and linked resources
  4. Correct the template resource type and API version against the supported ARM schema

Explanation

Correct Answer

A:

Bicep parameters separate environmental configuration from the reusable resource schema. After the change, sandbox and production share the template version but resolve their own approved resource names.

Incorrect Answers

B:

Bicep configuration can separate confidential parameters from tracked source.

C:

ARM dependency relationships control provision order for resources requiring prerequisites.

D:

This can help when an AML workspace Bicep deployment fails because a resource property name does not match its provider schema, but the current case requires the team to use environment-specific parameter values while preserving the shared validated template.

Question 111

An IaC release creates duplicate Azure ML workspaces on every run because resource identities change with timestamps. A release review requires the engineer to demonstrate the expected behavior after the change. A release test must show that a second run updates or confirms the intended workspace without spawning duplicates. Which next step fixes the reported cause?

  1. Correct the template resource type and API version against the supported ARM schema
  2. Use a stable declared resource name and scope for idempotent workspace deployment
  3. Run an appropriate ARM what-if or deployment preview against the target scope
  4. Pass the intended subscription and resource-group scope explicitly to the Azure CLI deployment

Explanation

Correct Answer

B:

Repeated declarative deployment should reconcile the target resource rather than fabricate new ones. Check that a second run updates or confirms the intended workspace without spawning duplicates.

Incorrect Answers

A:

ARM validates provider properties against the selected resource API version. Repeated declarative deployment should reconcile the target resource rather than fabricate new ones.

C:

Infrastructure preview exposes proposed changes before the live deployment.

D:

Unspecified deployment scope can inherit surprising default CLI context. Repeated declarative deployment should reconcile the target resource rather than fabricate new ones.

Question 112

A model team needs to attach an existing storage resource instead of provisioning another copy in an IaC template. Before rollout, the engineer must confirm that the deployment uses the approved storage account resource ID without creating a second account. What should the engineer configure to satisfy the requirement?

  1. Declare appropriate Bicep resource dependency ordering for the workspace and linked resources
  2. Correct the template resource type and API version against the supported ARM schema
  3. Run an appropriate ARM what-if or deployment preview against the target scope
  4. Reference the existing resource by the supported Bicep `existing` declaration and correct scope

Explanation

Correct Answer

D:

An existing resource reference avoids unintended duplication of shared infrastructure. On retest, the deployment uses the approved storage account resource ID without creating a second account.

Incorrect Answers

A:

ARM dependency relationships control provision order for resources requiring prerequisites.

B:

ARM validates provider properties against the selected resource API version; an existing resource reference avoids unintended duplication of shared infrastructure.

C:

Infrastructure preview exposes proposed changes before the live deployment.

Question 113

An engineer uses an outdated Azure CLI ML extension that rejects current AML resource commands. The project owner needs a repeatable outcome rather than another temporary workaround. The next run should prove that the current `az ml` command validates and deploys in a test workspace. Which decision addresses the issue with the fewest unrelated changes?

  1. Install or update the supported Azure CLI `ml` extension and validate the command syntax
  2. Pass the intended subscription and resource-group scope explicitly to the Azure CLI deployment
  3. Correct the template resource type and API version against the supported ARM schema
  4. Reference the existing resource by the supported Bicep `existing` declaration and correct scope

Explanation

Correct Answer

A:

Azure ML SDK and CLI v2 require the correct extension and schema support. The expected outcome is that the current `az ml` command validates and deploys in a test workspace.

Incorrect Answers

B:

Unspecified deployment scope can inherit surprising default CLI context. By contrast, Azure ML SDK and CLI v2 require the correct extension and schema support.

C:

The alternative is relevant when an AML workspace Bicep deployment fails because a resource property name does not match its provider schema; Azure ML SDK and CLI v2 require the correct extension and schema support.

D:

An existing resource reference avoids unintended duplication of shared infrastructure.

Question 114

A Bicep file creates a workspace but omits the required managed identity and private access settings. The current release is blocked until this behavior can be demonstrated reliably. A controlled test should demonstrate that the deployed workspace reports the intended identity and restricted network exposure. Which next step fixes the reported cause?

  1. Declare the workspace and related Azure resources in versioned Bicep templates
  2. Declare the intended identity and network properties as part of the workspace infrastructure configuration
  3. Declare appropriate Bicep resource dependency ordering for the workspace and linked resources
  4. Run an appropriate ARM what-if or deployment preview against the target scope

Explanation

Correct Answer

B:

IaC cannot enforce controls that were left out of the declared desired state. Check that the deployed workspace reports the intended identity and restricted network exposure.

Incorrect Answers

A:

Infrastructure as code can reproduce the intended workspace settings across environments; iaC cannot enforce controls that were left out of the declared desired state.

C:

ARM dependency relationships control provision order for resources requiring prerequisites.

D:

Infrastructure preview exposes proposed changes before the live deployment.

Question 115

A new training script is merged but no Azure ML CI workflow runs because the pipeline listens to the wrong branch. For acceptance, the reviewer must confirm that a test merge triggers one authorized training validation run. What should the engineer configure to satisfy the requirement?

  1. Pin the workflow's supported Python and package setup to a tested dependency manifest
  2. Write the workflow run ID and Git commit SHA into the registered model's release metadata
  3. Correct the GitHub Actions event trigger and branch filter for the approved repository workflow
  4. Express the cron schedule in supported UTC semantics and document its local-time translation

Explanation

Correct Answer

C:

Workflow execution depends on configured events and matching branch patterns. The expected outcome is that a test merge triggers one authorized training validation run.

Incorrect Answers

A:

CI runner dependencies must be reproducible and compatible with the training utilities; workflow execution depends on configured events and matching branch patterns.

B:

Artifact provenance needs immutable workflow identity as well as model version.

D:

GitHub Actions scheduled workflow expressions use UTC rather than a machine's local clock.

Question 116

A GitHub Action fails Azure authentication after an application secret expires. The current release is blocked until this behavior can be demonstrated reliably. For acceptance, the reviewer must confirm that the workflow authenticates through federation and succeeds with no static client secret. Which implementation is the best fit for this requirement?

  1. Replace the stored deployment secret with approved OpenID Connect workload identity federation
  2. Pin third-party GitHub Actions to a trusted version or full commit SHA after review
  3. Mask sensitive values and avoid emitting secret-bearing outputs from the workflow
  4. Express the cron schedule in supported UTC semantics and document its local-time translation

Explanation

Correct Answer

A:

OIDC lets a trusted workflow obtain short-lived Azure credentials without maintaining a secret. Check that the workflow authenticates through federation and succeeds with no static client secret.

Incorrect Answers

B:

Moving action references can introduce unreviewed code into deployment automation; oIDC lets a trusted workflow obtain short-lived Azure credentials without maintaining a secret.

C:

CI logs can expose values beyond the authorized application runtime.

D:

GitHub Actions scheduled workflow expressions use UTC rather than a machine's local clock. OIDC lets a trusted workflow obtain short-lived Azure credentials without maintaining a secret.

Question 117

A public fork pull request attempts to run a workflow carrying production model-deployment credentials. The proposed fix needs to work without changing unrelated approved resources. The sign-off condition is that an untrusted fork job cannot obtain production Azure tokens. Which approach is best supported by the observed results?

  1. Mask sensitive values and avoid emitting secret-bearing outputs from the workflow
  2. Configure explicit GitHub environment protection and dependency ordering for production jobs
  3. Restrict privileged deployment jobs to approved protected branches and trusted repository environments
  4. Pin the workflow's supported Python and package setup to a tested dependency manifest

Explanation

Correct Answer

C:

Untrusted contributions must not gain Azure production credentials through a general PR trigger. Check that an untrusted fork job cannot obtain production Azure tokens.

Incorrect Answers

A:

CI logs can expose values beyond the authorized application runtime.

B:

Release gates prevent production jobs from starting before upstream tests and approval; untrusted contributions must not gain Azure production credentials through a general PR trigger.

D:

CI runner dependencies must be reproducible and compatible with the training utilities.

Question 118

An Azure ML pipeline test does not block merge despite a failing CI job. The project owner needs a repeatable outcome rather than another temporary workaround. A controlled test should demonstrate that a failing test prevents merge while the passing build can proceed. Which configuration should the team change first?

  1. Require the pipeline validation status check in the protected Git branch rule
  2. Correct the GitHub Actions event trigger and branch filter for the approved repository workflow
  3. Express the cron schedule in supported UTC semantics and document its local-time translation
  4. Configure explicit GitHub environment protection and dependency ordering for production jobs

Explanation

Correct Answer

A:

Branch protection can make CI success a mandatory release precondition. The expected outcome is that a failing test prevents merge while the passing build can proceed.

Incorrect Answers

B:

Workflow execution depends on configured events and matching branch patterns.

C:

GitHub Actions scheduled workflow expressions use UTC rather than a machine's local clock. Branch protection can make CI success a mandatory release precondition.

D:

Release gates prevent production jobs from starting before upstream tests and approval.

Question 119

A model training GitHub workflow cannot install project dependencies because it lacks a reproducible environment definition. The team can modify the relevant resource but must not broaden unrelated permissions or access. After remediation, the operator will verify that a clean runner installs exactly the expected test packages. What is the most appropriate corrective action?

  1. Correct the GitHub Actions event trigger and branch filter for the approved repository workflow
  2. Express the cron schedule in supported UTC semantics and document its local-time translation
  3. Pin the workflow's supported Python and package setup to a tested dependency manifest
  4. Write the workflow run ID and Git commit SHA into the registered model's release metadata

Explanation

Correct Answer

C:

CI runner dependencies must be reproducible and compatible with the training utilities. The observable result is that a clean runner installs exactly the expected test packages.

Incorrect Answers

A:

Workflow execution depends on configured events and matching branch patterns.

B:

GitHub Actions scheduled workflow expressions use UTC rather than a machine's local clock.

D:

Artifact provenance needs immutable workflow identity as well as model version.

Question 120

A deployment workflow uses an administrator token valid for every subscription when only one AML workspace is targeted. The team needs evidence that the GitHub job deploys the target workspace and is denied in unrelated subscriptions. What should the engineer configure to satisfy the requirement?

  1. Mask sensitive values and avoid emitting secret-bearing outputs from the workflow
  2. Constrain the federated Azure principal's RBAC assignment to the specific deployment resource scope
  3. Restrict privileged deployment jobs to approved protected branches and trusted repository environments
  4. Pin third-party GitHub Actions to a trusted version or full commit SHA after review

Explanation

Correct Answer

B:

OIDC federation controls credential issuance but resource permissions still follow Azure RBAC. A successful run shows that the GitHub job deploys the target workspace and is denied in unrelated subscriptions.

Incorrect Answers

A:

CI logs can expose values beyond the authorized application runtime.

C:

Untrusted contributions must not gain Azure production credentials through a general PR trigger.

D:

Moving action references can introduce unreviewed code into deployment automation.

Operationalizing Machine Learning and Generative AI Solutions (AI-300) Practice Tests