100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 1
A hospital inference team needs private versioned OCI images shared by its Azure App Service deployment pipeline. Which architecture most directly addresses the required outcome?
- Use Azure Container Registry as the private repository for the inference API images.
- Inspect the ACR repository manifest and digest before changing the service deployment.
- Supply the connection setting through App Service application settings rather than a Dockerfile literal.
- Use a Kubernetes liveness probe to recover from an unrecoverable stalled process.
Explanation
Correct Answer
A:Use Azure Container Registry as the private repository for the inference API images. It directly addresses the architecture in this case. ACR distributes container images and a repository reference must actually resolve in that registry.
Incorrect Answers
B:Inspect the ACR repository manifest and digest before changing the service deployment. Validating an ACR manifest prevents deploying references that do not exist. Instead, use Azure Container Registry as the private repository for the inference API images.
C:Supply the connection setting through App Service application settings rather than a Dockerfile literal. App Service application settings are exposed at runtime while hard-coded image values do not follow deployment configuration. Instead, use Azure Container Registry as the private repository for the inference API images.
D:Use a Kubernetes liveness probe to recover from an unrecoverable stalled process. Liveness checks can restart containers and must allow legitimate startup latency. Instead, use Azure Container Registry as the private repository for the inference API images.
Question 2
A hospital inference team needs private versioned OCI images shared by its Azure App Service deployment pipeline. The team has selected this architecture: Use Azure Container Registry as the private repository for the inference API images. Which action correctly implements it?
- Set the custom-container image reference back to the last approved ACR digest.
- Build and push the service image to an ACR repository with a versioned tag and retain the resulting digest.
- Deploy the new image to a staging slot, validate it, and swap traffic when checks pass.
- Create an Ingress routing rule and associate it with the deployed ingress controller and backend Service.
Explanation
Correct Answer
B:Build and push the service image to an ACR repository with a versioned tag and retain the resulting digest. This is the actionable setup step for the selected design. ACR distributes container images and a repository reference must actually resolve in that registry.
Incorrect Answers
A:Set the custom-container image reference back to the last approved ACR digest. Instead, build and push the service image to an ACR repository with a versioned tag and retain the resulting digest.
C:Deploy the new image to a staging slot, validate it, and swap traffic when checks pass. Instead, build and push the service image to an ACR repository with a versioned tag and retain the resulting digest.
D:Create an Ingress routing rule and associate it with the deployed ingress controller and backend Service. Instead, build and push the service image to an ACR repository with a versioned tag and retain the resulting digest.
Question 3
A hospital inference team needs private versioned OCI images shared by its Azure App Service deployment pipeline. After configuring the solution, which measurable result would demonstrate success?
- The registry returns a manifest digest for the requested release tag before rollout.
- The app reads the configured value at runtime while the image layers contain no embedded connection string.
- The deployment manifest references an image digest that resolves to the intended ACR manifest.
- Requests to the Service name reach healthy model-serving endpoints even after pods are replaced.
Explanation
Correct Answer
C:The deployment manifest references an image digest that resolves to the intended ACR manifest. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. ACR distributes container images and a repository reference must actually resolve in that registry.
Incorrect Answers
A:The registry returns a manifest digest for the requested release tag before rollout. Here, the deployment manifest references an image digest that resolves to the intended ACR manifest.
B:The app reads the configured value at runtime while the image layers contain no embedded connection string. Here, the deployment manifest references an image digest that resolves to the intended ACR manifest.
D:Requests to the Service name reach healthy model-serving endpoints even after pods are replaced. Here, the deployment manifest references an image digest that resolves to the intended ACR manifest.
Question 4
A hospital inference team needs private versioned OCI images shared by its Azure App Service deployment pipeline. During a trial, the team sees this problem: The App Service container reports image-not-found even though a developer pushed a local image. Which cause is most consistent?
- The production App Service environment setting still contains the staging endpoint.
- The permission was scoped to the whole registry rather than the required repository.
- The Secret name or key in the pod specification does not exist in its namespace.
- The expected repository or tag was never pushed to the referenced Azure Container Registry.
Explanation
Correct Answer
D:The expected repository or tag was never pushed to the referenced Azure Container Registry. The described symptom and this root cause fit together. ACR distributes container images and a repository reference must actually resolve in that registry.
Incorrect Answers
A:The production App Service environment setting still contains the staging endpoint. Here, the expected repository or tag was never pushed to the referenced Azure Container Registry.
B:The permission was scoped to the whole registry rather than the required repository. Here, the expected repository or tag was never pushed to the referenced Azure Container Registry.
C:The Secret name or key in the pod specification does not exist in its namespace. Here, the expected repository or tag was never pushed to the referenced Azure Container Registry.
Question 5
A research service must deploy the identical approved inference image to production after a mutable latest tag changes. What primary technical approach is best justified by these constraints?
- Use a reproducible container build with the needed Linux runtime dependencies included.
- Pin the production deployment to the approved image manifest digest instead of a moving tag.
- Use a quick or task-based ACR build that runs in Azure.
- Plan AKS node capacity against pod resource requests and limits.
Explanation
Correct Answer
B:Pin the production deployment to the approved image manifest digest instead of a moving tag. It directly addresses the architecture in this case. Digest references identify exact image content while tags can be reassigned.
Incorrect Answers
A:Use a reproducible container build with the needed Linux runtime dependencies included. Container image dependencies must be present inside the deployed runtime filesystem. Here, pin the production deployment to the approved image manifest digest instead of a moving tag.
C:Use a quick or task-based ACR build that runs in Azure. An ACR remote build still requires a valid Dockerfile and build context. Here, pin the production deployment to the approved image manifest digest instead of a moving tag.
D:Plan AKS node capacity against pod resource requests and limits. Kubernetes scheduling considers requests against allocatable resources; limits affect runtime enforcement. Here, pin the production deployment to the approved image manifest digest instead of a moving tag.
Question 6
A research service must deploy the identical approved inference image to production after a mutable latest tag changes. After deciding to pin the production deployment to the approved image manifest digest instead of a moving tag, what configuration is most relevant?
- Tag each build with an auditable release identifier and retain the ACR run ID and resulting digest.
- Create and run an ACR Task against the Dockerfile with the base-image trigger enabled.
- Update the App Service custom-container image reference to the immutable sha256 digest from ACR.
- Set an HTTP scale rule with a chosen concurrent-request threshold and replica bounds.
Explanation
Correct Answer
C:Update the App Service custom-container image reference to the immutable sha256 digest from ACR. This is the actionable setup step for the selected design. Digest references identify exact image content while tags can be reassigned.
Incorrect Answers
A:Tag each build with an auditable release identifier and retain the ACR run ID and resulting digest. Instead, update the App Service custom-container image reference to the immutable sha256 digest from ACR.
B:Create and run an ACR Task against the Dockerfile with the base-image trigger enabled. Instead, update the App Service custom-container image reference to the immutable sha256 digest from ACR.
D:Set an HTTP scale rule with a chosen concurrent-request threshold and replica bounds. Instead, update the App Service custom-container image reference to the immutable sha256 digest from ACR.
Question 7
A research service must deploy the identical approved inference image to production after a mutable latest tag changes. Which validation result is the strongest evidence that the intended behavior works?
- The runtime identity can pull the image but a push attempt using that identity is denied.
- The approved image digest exists in ACR while the running App Service still references latest.
- A deliberately stalled process fails the liveness probe and is restarted by the kubelet.
- The running application's image digest equals the digest approved in the release record.
Explanation
Correct Answer
D:The running application's image digest equals the digest approved in the release record. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Digest references identify exact image content while tags can be reassigned.
Incorrect Answers
A:The runtime identity can pull the image but a push attempt using that identity is denied. Here, the running application's image digest equals the digest approved in the release record.
B:The approved image digest exists in ACR while the running App Service still references latest. Registry availability alone does not prove the production app is executing the approved immutable digest; the deployed runtime image reference must match.
C:A deliberately stalled process fails the liveness probe and is restarted by the kubelet. Here, the running application's image digest equals the digest approved in the release record.
Question 8
A research service must deploy the identical approved inference image to production after a mutable latest tag changes. Production telemetry shows: A second deployment unexpectedly runs a newer model-serving image despite no source-code change. Which underlying issue should be investigated first?
- The deployment consumed a mutable image tag that was retargeted after approval.
- The runtime image omitted a required native library package.
- The expected repository or tag was never pushed to the referenced Azure Container Registry.
- The requested pod memory cannot fit on any eligible node.
Explanation
Correct Answer
A:The deployment consumed a mutable image tag that was retargeted after approval. The described symptom and this root cause fit together. Digest references identify exact image content while tags can be reassigned.
Incorrect Answers
B:The runtime image omitted a required native library package. Here, the deployment consumed a mutable image tag that was retargeted after approval.
C:The expected repository or tag was never pushed to the referenced Azure Container Registry. Here, the deployment consumed a mutable image tag that was retargeted after approval.
D:The requested pod memory cannot fit on any eligible node. Here, the deployment consumed a mutable image tag that was retargeted after approval.
Question 9
A two-region document-classification service needs low-latency regional access to the same private container image repository. Which design decision should the team make first?
- Supply the connection setting through App Service application settings rather than a Dockerfile literal.
- Use Azure Container Registry Tasks with a base-image update trigger.
- Use the supported ACR Premium geo-replication feature for registry replicas near both regions.
- Use a Kubernetes liveness probe to recover from an unrecoverable stalled process.
Explanation
Correct Answer
C:Use the supported ACR Premium geo-replication feature for registry replicas near both regions. It directly addresses the architecture in this case. ACR geo-replication keeps registry content available through configured regional replicas.
Incorrect Answers
A:Supply the connection setting through App Service application settings rather than a Dockerfile literal. App Service application settings are exposed at runtime while hard-coded image values do not follow deployment configuration. Instead, use the supported ACR Premium geo-replication feature for registry replicas near both regions.
B:Use Azure Container Registry Tasks with a base-image update trigger. ACR Tasks can track supported base-image dependencies after an initial build and trigger rebuilds. Instead, use the supported ACR Premium geo-replication feature for registry replicas near both regions.
D:Use a Kubernetes liveness probe to recover from an unrecoverable stalled process. Liveness checks can restart containers and must allow legitimate startup latency. Instead, use the supported ACR Premium geo-replication feature for registry replicas near both regions.
Question 10
A two-region document-classification service needs low-latency regional access to the same private container image repository. Which concrete setup step puts this selected approach into operation: Use the supported ACR Premium geo-replication feature for registry replicas near both regions.
- Write serving logs to stdout or stderr and enable the supported App Service log collection.
- Install the required library in the runtime stage of the Dockerfile and rebuild the release image.
- Create a frontend app with ingress and a worker app with queue scaling rather than exposing the worker publicly.
- Create the secondary regional replica on the Premium registry and keep the repository names consistent.
Explanation
Correct Answer
D:Create the secondary regional replica on the Premium registry and keep the repository names consistent. This is the actionable setup step for the selected design. ACR geo-replication keeps registry content available through configured regional replicas.
Incorrect Answers
A:Write serving logs to stdout or stderr and enable the supported App Service log collection. Instead, create the secondary regional replica on the Premium registry and keep the repository names consistent.
B:Install the required library in the runtime stage of the Dockerfile and rebuild the release image. Instead, create the secondary regional replica on the Premium registry and keep the repository names consistent.
C:Create a frontend app with ingress and a worker app with queue scaling rather than exposing the worker publicly. Instead, create the secondary regional replica on the Premium registry and keep the repository names consistent.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests