100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 50
A product owner asks to roll back an App Service model-image release after a failed validation. The team has selected this architecture: Retain a known-good immutable image digest and redeploy it to the App Service. Which action correctly implements it?
- Run the ACR build command against the checked-in Dockerfile and target image repository.
- 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.
- Grant the appropriate pull permission to the AKS kubelet identity for the target registry.
Explanation
Correct Answer
B:Set the custom-container image reference back to the last approved ACR digest. This is the actionable setup step for the selected design. Reusing a tag does not guarantee retrieval of the historical image; a digest can identify it.
Incorrect Answers
A:Run the ACR build command against the checked-in Dockerfile and target image repository. Instead, set the custom-container image reference back to the last approved ACR digest.
C:Build and push the service image to an ACR repository with a versioned tag and retain the resulting digest. Instead, set the custom-container image reference back to the last approved ACR digest.
D:Grant the appropriate pull permission to the AKS kubelet identity for the target registry. Instead, set the custom-container image reference back to the last approved ACR digest.
Question 51
A product owner asks to roll back an App Service model-image release after a failed validation. After configuring the solution, which measurable result would demonstrate success?
- An HTTPS request to the app returns a valid prediction response through the deployed container.
- App Service pulls the private image while no registry admin password is stored in app settings.
- The running container reports the previous approved digest and passes the old behavior tests.
- The container completes a normal cold initialization without repeated liveness-triggered restarts.
Explanation
Correct Answer
C:The running container reports the previous approved digest and passes the old behavior tests. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Reusing a tag does not guarantee retrieval of the historical image; a digest can identify it.
Incorrect Answers
A:An HTTPS request to the app returns a valid prediction response through the deployed container. Here, the running container reports the previous approved digest and passes the old behavior tests.
B:App Service pulls the private image while no registry admin password is stored in app settings. Here, the running container reports the previous approved digest and passes the old behavior tests.
D:The container completes a normal cold initialization without repeated liveness-triggered restarts. Here, the running container reports the previous approved digest and passes the old behavior tests.
Question 52
A product owner asks to roll back an App Service model-image release after a failed validation. During a trial, the team sees this problem: An attempted rollback still runs the failing image after the tag name is reused. Which cause is most consistent?
- The script skipped image manifest existence validation for the selected tag.
- The remote build context did not include the Dockerfile at the specified location.
- The container app has a maxReplicas value higher than the approved limit.
- The rollback used a mutable tag instead of the preserved known-good digest.
Explanation
Correct Answer
D:The rollback used a mutable tag instead of the preserved known-good digest. The described symptom and this root cause fit together. Reusing a tag does not guarantee retrieval of the historical image; a digest can identify it.
Incorrect Answers
A:The script skipped image manifest existence validation for the selected tag. Here, the rollback used a mutable tag instead of the preserved known-good digest.
B:The remote build context did not include the Dockerfile at the specified location. Here, the rollback used a mutable tag instead of the preserved known-good digest.
C:The container app has a maxReplicas value higher than the approved limit. Here, the rollback used a mutable tag instead of the preserved known-good digest.
Question 53
A service uses multiple ACR repositories and the deployment identity should read only the inference repository. What primary technical approach is best justified by these constraints?
- Use ACR task execution records alongside immutable output digests as build provenance evidence.
- Prefer repository-scoped access where supported rather than granting registry-wide push privileges.
- Send application diagnostics to App Service container logs rather than writing only to an ephemeral file.
- Use a supported trigger authentication mechanism with the queue scaler.
Explanation
Correct Answer
B:Prefer repository-scoped access where supported rather than granting registry-wide push privileges. It directly addresses the architecture in this case. Fine-grained registry authorization reduces exposure of other repositories.
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. Here, prefer repository-scoped access where supported rather than granting registry-wide push privileges.
C:Send application diagnostics to App Service container logs rather than writing only to an ephemeral file. Container stdout and stderr are the straightforward observable stream for hosted app diagnostics. Here, prefer repository-scoped access where supported rather than granting registry-wide push privileges.
D:Use a supported trigger authentication mechanism with the queue scaler. Event scalers require both valid trigger metadata and access to the backing service. Here, prefer repository-scoped access where supported rather than granting registry-wide push privileges.
Question 54
A service uses multiple ACR repositories and the deployment identity should read only the inference repository. After deciding to prefer repository-scoped access where supported rather than granting registry-wide push privileges, what configuration is most relevant?
- Write serving logs to stdout or stderr and enable the supported App Service log collection.
- Connect the task to the source repository trigger and set the correct Dockerfile/context paths.
- Create a repository-scoped token or supported fine-grained permission limited to the serving repository's pull operation.
- Create a ConfigMap key and reference it through the Deployment's env or envFrom section.
Explanation
Correct Answer
C:Create a repository-scoped token or supported fine-grained permission limited to the serving repository's pull operation. This is the actionable setup step for the selected design. Fine-grained registry authorization reduces exposure of other repositories.
Incorrect Answers
A:Write serving logs to stdout or stderr and enable the supported App Service log collection. Instead, create a repository-scoped token or supported fine-grained permission limited to the serving repository's pull operation.
B:Connect the task to the source repository trigger and set the correct Dockerfile/context paths. Instead, create a repository-scoped token or supported fine-grained permission limited to the serving repository's pull operation.
D:Create a ConfigMap key and reference it through the Deployment's env or envFrom section. Instead, create a repository-scoped token or supported fine-grained permission limited to the serving repository's pull operation.
Question 55
A service uses multiple ACR repositories and the deployment identity should read only the inference repository. 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 release record links the exact ACR task execution to the deployed image digest.
- The Deployment reports three available ready replicas.
- A pull of the serving repository succeeds while a pull of an unrelated repository is denied.
Explanation
Correct Answer
D:A pull of the serving repository succeeds while a pull of an unrelated repository is denied. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Fine-grained registry authorization reduces exposure of other repositories.
Incorrect Answers
A:The runtime identity can pull the image but a push attempt using that identity is denied. Here, a pull of the serving repository succeeds while a pull of an unrelated repository is denied.
B:The release record links the exact ACR task execution to the deployed image digest. Here, a pull of the serving repository succeeds while a pull of an unrelated repository is denied.
C:The Deployment reports three available ready replicas. Here, a pull of the serving repository succeeds while a pull of an unrelated repository is denied.
Question 56
A service uses multiple ACR repositories and the deployment identity should read only the inference repository. Production telemetry shows: The identity can read unrelated model artifacts even though the policy called for isolation. Which underlying issue should be investigated first?
- The permission was scoped to the whole registry rather than the required repository.
- The managed identity pull setting or required ACR authorization is missing.
- The expected repository or tag was never pushed to the referenced Azure Container Registry.
- No suitable startup probe or initialization grace period was configured.
Explanation
Correct Answer
A:The permission was scoped to the whole registry rather than the required repository. The described symptom and this root cause fit together. Fine-grained registry authorization reduces exposure of other repositories.
Incorrect Answers
B:The managed identity pull setting or required ACR authorization is missing. Here, the permission was scoped to the whole registry rather than the required repository.
C:The expected repository or tag was never pushed to the referenced Azure Container Registry. Here, the permission was scoped to the whole registry rather than the required repository.
D:No suitable startup probe or initialization grace period was configured. Here, the permission was scoped to the whole registry rather than the required repository.
Question 57
A container build must apply distinct build-time values without exposing a production API secret in the build output. Which design decision should the team make first?
- Use Azure App Service custom containers to host the HTTP inference API.
- Retain a known-good immutable image digest and redeploy it to the App Service.
- Use build arguments only for nonsecret build parameters and inject production secrets at runtime.
- Use pod anti-affinity or topology spread constraints in the Deployment spec.
Explanation
Correct Answer
C:Use build arguments only for nonsecret build parameters and inject production secrets at runtime. It directly addresses the architecture in this case. Secrets must not be stored in immutable image layers or exposed by the build history.
Incorrect Answers
A:Use Azure App Service custom containers to host the HTTP inference API. Custom-container hosting must route the platform's web traffic to the application listener. Instead, use build arguments only for nonsecret build parameters and inject production secrets at runtime.
B:Retain a known-good immutable image digest and redeploy it to the App Service. Reusing a tag does not guarantee retrieval of the historical image; a digest can identify it. Instead, use build arguments only for nonsecret build parameters and inject production secrets at runtime.
D:Use pod anti-affinity or topology spread constraints in the Deployment spec. Topology spread or anti-affinity influences placement across failure domains. Instead, use build arguments only for nonsecret build parameters and inject production secrets at runtime.
Question 58
A container build must apply distinct build-time values without exposing a production API secret in the build output. Which concrete setup step puts this selected approach into operation: Use build arguments only for nonsecret build parameters and inject production secrets at runtime.
- Create a repository-scoped token or supported fine-grained permission limited to the serving repository's pull operation.
- Connect the task to the source repository trigger and set the correct Dockerfile/context paths.
- Create an Ingress routing rule and associate it with the deployed ingress controller and backend Service.
- Parameterize the nonsecret model build choice, and remove hard-coded secret values from Dockerfile instructions.
Explanation
Correct Answer
D:Parameterize the nonsecret model build choice, and remove hard-coded secret values from Dockerfile instructions. This is the actionable setup step for the selected design. Secrets must not be stored in immutable image layers or exposed by the build history.
Incorrect Answers
A:Create a repository-scoped token or supported fine-grained permission limited to the serving repository's pull operation. Here, parameterize the nonsecret model build choice, and remove hard-coded secret values from Dockerfile instructions.
B:Connect the task to the source repository trigger and set the correct Dockerfile/context paths. Here, parameterize the nonsecret model build choice, and remove hard-coded secret values from Dockerfile instructions.
C:Create an Ingress routing rule and associate it with the deployed ingress controller and backend Service. Here, parameterize the nonsecret model build choice, and remove hard-coded secret values from Dockerfile instructions.
Question 59
A container build must apply distinct build-time values without exposing a production API secret in the build output. What outcome should be checked before the engineering change is accepted?
- Inspecting built image layers does not reveal a production credential.
- Production traffic moves to the validated slot while the stable slot configuration is preserved as intended.
- An ACR task-run record at the scheduled time publishes the expected image tag.
- The running pod observes the expected nonsecret configuration key.
Explanation
Correct Answer
A:Inspecting built image layers does not reveal a production credential. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Secrets must not be stored in immutable image layers or exposed by the build history.
Incorrect Answers
B:Production traffic moves to the validated slot while the stable slot configuration is preserved as intended. Here, inspecting built image layers does not reveal a production credential.
C:An ACR task-run record at the scheduled time publishes the expected image tag. Here, inspecting built image layers does not reveal a production credential.
D:The running pod observes the expected nonsecret configuration key. Here, inspecting built image layers does not reveal a production credential.
Question 60
A container build must apply distinct build-time values without exposing a production API secret in the build output. After rollout the observed failure is: A production credential appears in the image history after a build completes. What best explains it?
- The permission was scoped to the whole registry rather than the required repository.
- The secret was embedded in a Dockerfile layer or build argument that persisted in build history.
- The task source trigger is broader than the intended branch or event filter.
- The Deployment lacks the intended topology spreading constraints.
Explanation
Correct Answer
B:The secret was embedded in a Dockerfile layer or build argument that persisted in build history. The described symptom and this root cause fit together. Secrets must not be stored in immutable image layers or exposed by the build history.
Incorrect Answers
A:The permission was scoped to the whole registry rather than the required repository. Here, the secret was embedded in a Dockerfile layer or build argument that persisted in build history.
C:The task source trigger is broader than the intended branch or event filter. Here, the secret was embedded in a Dockerfile layer or build argument that persisted in build history.
D:The Deployment lacks the intended topology spreading constraints. Here, the secret was embedded in a Dockerfile layer or build argument that persisted in build history.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests