100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 70
A deployment team wants to check whether an image was pushed successfully before enabling an inference API endpoint. Which concrete setup step puts this selected approach into operation: Inspect the ACR repository manifest and digest before changing the service deployment.
- Write serving logs to stdout or stderr and enable the supported App Service log collection.
- Configure the Key Vault secret reference in App Service settings and grant the web app identity permission to retrieve it.
- Query ACR repository manifests for the exact release tag and record its digest.
- Create a frontend app with ingress and a worker app with queue scaling rather than exposing the worker publicly.
Explanation
Correct Answer
C:Query ACR repository manifests for the exact release tag and record its digest. This is the actionable setup step for the selected design. Validating an ACR manifest prevents deploying references that do not exist.
Incorrect Answers
A:Write serving logs to stdout or stderr and enable the supported App Service log collection. Instead, query ACR repository manifests for the exact release tag and record its digest.
B:Configure the Key Vault secret reference in App Service settings and grant the web app identity permission to retrieve it. Instead, query ACR repository manifests for the exact release tag and record its digest.
D:Create a frontend app with ingress and a worker app with queue scaling rather than exposing the worker publicly. Instead, query ACR repository manifests for the exact release tag and record its digest.
Question 71
A deployment team wants to check whether an image was pushed successfully before enabling an inference API endpoint. What outcome should be checked before the engineering change is accepted?
- A new qualifying commit starts a task run and publishes the expected image.
- The app resolves the intended secret version via its managed identity at runtime.
- The pod is omitted from ready service endpoints until its model is loaded.
- The registry returns a manifest digest for the requested release tag before rollout.
Explanation
Correct Answer
D:The registry returns a manifest digest for the requested release tag before rollout. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Validating an ACR manifest prevents deploying references that do not exist.
Incorrect Answers
A:A new qualifying commit starts a task run and publishes the expected image. Here, the registry returns a manifest digest for the requested release tag before rollout.
B:The app resolves the intended secret version via its managed identity at runtime. Here, the registry returns a manifest digest for the requested release tag before rollout.
C:The pod is omitted from ready service endpoints until its model is loaded. Here, the registry returns a manifest digest for the requested release tag before rollout.
Question 72
A deployment team wants to check whether an image was pushed successfully before enabling an inference API endpoint. After rollout the observed failure is: A deployment script assumes a tag exists but App Service later reports manifest unknown. What best explains it?
- The script skipped image manifest existence validation for the selected tag.
- The sensitive setting was not marked as a deployment-slot setting before the swap.
- The secret was embedded in a Dockerfile layer or build argument that persisted in build history.
- No suitable startup probe or initialization grace period was configured.
Explanation
Correct Answer
A:The script skipped image manifest existence validation for the selected tag. The described symptom and this root cause fit together. Validating an ACR manifest prevents deploying references that do not exist.
Incorrect Answers
B:The sensitive setting was not marked as a deployment-slot setting before the swap. Here, the script skipped image manifest existence validation for the selected tag.
C:The secret was embedded in a Dockerfile layer or build argument that persisted in build history. Here, the script skipped image manifest existence validation for the selected tag.
D:No suitable startup probe or initialization grace period was configured. Here, the script skipped image manifest existence validation for the selected tag.
Question 73
A service team wants new inference releases to keep a reproducible historical image while allowing convenient labels. Which architecture most directly addresses the required outcome?
- Use ACR task execution records alongside immutable output digests as build provenance evidence.
- Give the runtime a pull-only registry authorization rather than a contributor or push role.
- Maintain unique version tags and record immutable digests for production rollouts.
- Deploy separate container apps within an appropriate shared Container Apps environment.
Explanation
Correct Answer
C:Maintain unique version tags and record immutable digests for production rollouts. It directly addresses the architecture in this case. Retention and digest records are necessary for reproducible older image references.
Incorrect Answers
A:Use ACR task execution records alongside immutable output digests as build provenance evidence. Task runs and digests jointly identify build provenance and exact content. Instead, maintain unique version tags and record immutable digests for production rollouts.
B:Give the runtime a pull-only registry authorization rather than a contributor or push role. Registry permissions distinguish image pull from image push and must cover the target resource. Instead, maintain unique version tags and record immutable digests for production rollouts.
D:Deploy separate container apps within an appropriate shared Container Apps environment. Container Apps ingress is configured per app and background workers typically do not require external HTTP ingress. Instead, maintain unique version tags and record immutable digests for production rollouts.
Question 74
A service team wants new inference releases to keep a reproducible historical image while allowing convenient labels. The team has selected this architecture: Maintain unique version tags and record immutable digests for production rollouts. Which action correctly implements it?
- Tag each build with an auditable release identifier and retain the ACR run ID and resulting digest.
- Query ACR repository manifests for the exact release tag and record its digest.
- Set minReplicas to one and configure the expected HTTP ingress and readiness behavior.
- Push versioned image tags without overwriting the approved release's digest reference.
Explanation
Correct Answer
D:Push versioned image tags without overwriting the approved release's digest reference. This is the actionable setup step for the selected design. Retention and digest records are necessary for reproducible older image references.
Incorrect Answers
A:Tag each build with an auditable release identifier and retain the ACR run ID and resulting digest. Here, push versioned image tags without overwriting the approved release's digest reference.
B:Query ACR repository manifests for the exact release tag and record its digest. Here, push versioned image tags without overwriting the approved release's digest reference.
C:Set minReplicas to one and configure the expected HTTP ingress and readiness behavior. Here, push versioned image tags without overwriting the approved release's digest reference.
Question 75
A service team wants new inference releases to keep a reproducible historical image while allowing convenient labels. After configuring the solution, which measurable result would demonstrate success?
- The historical release digest remains resolvable after subsequent releases.
- The running container reports the previous approved digest and passes the old behavior tests.
- Inspecting built image layers does not reveal a production credential.
- The frontend accepts HTTPS and queue workers scale without a public worker endpoint.
Explanation
Correct Answer
A:The historical release digest remains resolvable after subsequent releases. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Retention and digest records are necessary for reproducible older image references.
Incorrect Answers
B:The running container reports the previous approved digest and passes the old behavior tests. Here, the historical release digest remains resolvable after subsequent releases.
C:Inspecting built image layers does not reveal a production credential. Here, the historical release digest remains resolvable after subsequent releases.
D:The frontend accepts HTTPS and queue workers scale without a public worker endpoint. Here, the historical release digest remains resolvable after subsequent releases.
Question 76
A service team wants new inference releases to keep a reproducible historical image while allowing convenient labels. During a trial, the team sees this problem: An audit cannot retrieve the image used for last month's model checkpoint. Which cause is most consistent?
- The task source trigger is broader than the intended branch or event filter.
- Image-retention cleanup deleted the historical manifest because retention was not planned.
- The deployment consumed a mutable image tag that was retargeted after approval.
- The liveness probe begins too early or uses thresholds unsuitable for model startup.
Explanation
Correct Answer
B:Image-retention cleanup deleted the historical manifest because retention was not planned. The described symptom and this root cause fit together. Retention and digest records are necessary for reproducible older image references.
Incorrect Answers
A:The task source trigger is broader than the intended branch or event filter. Here, image-retention cleanup deleted the historical manifest because retention was not planned.
C:The deployment consumed a mutable image tag that was retargeted after approval. Here, image-retention cleanup deleted the historical manifest because retention was not planned.
D:The liveness probe begins too early or uses thresholds unsuitable for model startup. Here, image-retention cleanup deleted the historical manifest because retention was not planned.
Question 77
A team needs to build the same image from a Git commit on a remote ACR worker after a merge. What primary technical approach is best justified by these constraints?
- Give the runtime a pull-only registry authorization rather than a contributor or push role.
- Prefer repository-scoped access where supported rather than granting registry-wide push privileges.
- Use a Kubernetes liveness probe to recover from an unrecoverable stalled process.
- Use an ACR Task source-commit trigger for the repository-backed Dockerfile.
Explanation
Correct Answer
D:Use an ACR Task source-commit trigger for the repository-backed Dockerfile. It directly addresses the architecture in this case. ACR Tasks source triggers must be scoped to the intended version-control changes.
Incorrect Answers
A:Give the runtime a pull-only registry authorization rather than a contributor or push role. Registry permissions distinguish image pull from image push and must cover the target resource. Instead, use an ACR Task source-commit trigger for the repository-backed Dockerfile.
B:Prefer repository-scoped access where supported rather than granting registry-wide push privileges. Fine-grained registry authorization reduces exposure of other repositories. Instead, use an ACR Task source-commit trigger for the repository-backed Dockerfile.
C: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 an ACR Task source-commit trigger for the repository-backed Dockerfile.
Question 78
A team needs to build the same image from a Git commit on a remote ACR worker after a merge. After deciding to use an ACR Task source-commit trigger for the repository-backed Dockerfile, what configuration is most relevant?
- Connect the task to the source repository trigger and set the correct Dockerfile/context paths.
- Build and push the service image to an ACR repository with a versioned tag and retain the resulting digest.
- Configure the ACR Task timer trigger with the intended schedule and repository output.
- Create a ConfigMap key and reference it through the Deployment's env or envFrom section.
Explanation
Correct Answer
A:Connect the task to the source repository trigger and set the correct Dockerfile/context paths. This is the actionable setup step for the selected design. ACR Tasks source triggers must be scoped to the intended version-control changes.
Incorrect Answers
B:Build and push the service image to an ACR repository with a versioned tag and retain the resulting digest. Instead, connect the task to the source repository trigger and set the correct Dockerfile/context paths.
C:Configure the ACR Task timer trigger with the intended schedule and repository output. Instead, connect the task to the source repository trigger and set the correct Dockerfile/context paths.
D:Create a ConfigMap key and reference it through the Deployment's env or envFrom section. Instead, connect the task to the source repository trigger and set the correct Dockerfile/context paths.
Question 79
A team needs to build the same image from a Git commit on a remote ACR worker after a merge. Which validation result is the strongest evidence that the intended behavior works?
- The app reads the configured value at runtime while the image layers contain no embedded connection string.
- A new qualifying commit starts a task run and publishes the expected image.
- The historical release digest remains resolvable after subsequent releases.
- A request following a long idle period reaches a ready replica without a cold-start scale-from-zero.
Explanation
Correct Answer
B:A new qualifying commit starts a task run and publishes the expected image. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. ACR Tasks source triggers must be scoped to the intended version-control changes.
Incorrect Answers
A:The app reads the configured value at runtime while the image layers contain no embedded connection string. Here, a new qualifying commit starts a task run and publishes the expected image.
C:The historical release digest remains resolvable after subsequent releases. Here, a new qualifying commit starts a task run and publishes the expected image.
D:A request following a long idle period reaches a ready replica without a cold-start scale-from-zero. Here, a new qualifying commit starts a task run and publishes the expected image.
Question 80
A team needs to build the same image from a Git commit on a remote ACR worker after a merge. Production telemetry shows: An unrelated branch commit starts an unexpected production image build. Which underlying issue should be investigated first?
- The deployment image URI points to the wrong registry or repository.
- No timer trigger was configured or the schedule was disabled for the ACR Task.
- The task source trigger is broader than the intended branch or event filter.
- The candidate revision has no assigned traffic weight or is inactive.
Explanation
Correct Answer
C:The task source trigger is broader than the intended branch or event filter. The described symptom and this root cause fit together. ACR Tasks source triggers must be scoped to the intended version-control changes.
Incorrect Answers
A:The deployment image URI points to the wrong registry or repository. Here, the task source trigger is broader than the intended branch or event filter.
B:No timer trigger was configured or the schedule was disabled for the ACR Task. Here, the task source trigger is broader than the intended branch or event filter.
D:The candidate revision has no assigned traffic weight or is inactive. Here, the task source trigger is broader than the intended branch or event filter.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests