100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 90
A container image has a successful local build but fails in App Service due to a missing Linux runtime library. After deciding to use a reproducible container build with the needed Linux runtime dependencies included, what configuration is most relevant?
- Configure the ACR Task timer trigger with the intended schedule and repository output.
- Create a repository-scoped token or supported fine-grained permission limited to the serving repository's pull operation.
- Create an Ingress routing rule and associate it with the deployed ingress controller and backend Service.
- Install the required library in the runtime stage of the Dockerfile and rebuild the release image.
Explanation
Correct Answer
D:Install the required library in the runtime stage of the Dockerfile and rebuild the release image. This is the actionable setup step for the selected design. Container image dependencies must be present inside the deployed runtime filesystem.
Incorrect Answers
A:Configure the ACR Task timer trigger with the intended schedule and repository output. Instead, install the required library in the runtime stage of the Dockerfile and rebuild the release image.
B:Create a repository-scoped token or supported fine-grained permission limited to the serving repository's pull operation. Instead, install the required library in the runtime stage of the Dockerfile and rebuild the release image.
C:Create an Ingress routing rule and associate it with the deployed ingress controller and backend Service. Instead, install the required library in the runtime stage of the Dockerfile and rebuild the release image.
Question 91
A container image has a successful local build but fails in App Service due to a missing Linux runtime library. Which validation result is the strongest evidence that the intended behavior works?
- A fresh deployment starts and loads the prediction dependency without import errors.
- The deployment resolves the intended registry hostname and exact image digest.
- A new qualifying commit starts a task run and publishes the expected image.
- Traffic remains served by ready old or new pods while the rollout progresses.
Explanation
Correct Answer
A:A fresh deployment starts and loads the prediction dependency without import errors. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Container image dependencies must be present inside the deployed runtime filesystem.
Incorrect Answers
B:The deployment resolves the intended registry hostname and exact image digest. Here, a fresh deployment starts and loads the prediction dependency without import errors.
C:A new qualifying commit starts a task run and publishes the expected image. Here, a fresh deployment starts and loads the prediction dependency without import errors.
D:Traffic remains served by ready old or new pods while the rollout progresses. Here, a fresh deployment starts and loads the prediction dependency without import errors.
Question 92
A container image has a successful local build but fails in App Service due to a missing Linux runtime library. Production telemetry shows: Startup logs show a shared-library load failure while environment variables are present. Which underlying issue should be investigated first?
- The rollback used a mutable tag instead of the preserved known-good digest.
- The runtime image omitted a required native library package.
- The Premium registry has no replica configured in the secondary region.
- The Service selector does not match labels on the serving pods.
Explanation
Correct Answer
B:The runtime image omitted a required native library package. The described symptom and this root cause fit together. Container image dependencies must be present inside the deployed runtime filesystem.
Incorrect Answers
A:The rollback used a mutable tag instead of the preserved known-good digest. Here, the runtime image omitted a required native library package.
C:The Premium registry has no replica configured in the secondary region. Here, the runtime image omitted a required native library package.
D:The Service selector does not match labels on the serving pods. Here, the runtime image omitted a required native library package.
Question 93
An AI batch API experiences unpredictable queue spikes and should scale container workers without manual replica changes. Which design decision should the team make first?
- Expose the service through an appropriate ingress controller and Kubernetes Ingress resource.
- Use a Kubernetes readiness probe that tests actual application readiness.
- Give the runtime a pull-only registry authorization rather than a contributor or push role.
- Use Azure Container Apps KEDA-based event-driven scaling for the queue-backed worker.
Explanation
Correct Answer
D:Use Azure Container Apps KEDA-based event-driven scaling for the queue-backed worker. It directly addresses the architecture in this case. Container Apps event scale rules use configured trigger metadata and credentials to measure queue pressure.
Incorrect Answers
A:Expose the service through an appropriate ingress controller and Kubernetes Ingress resource. Ingress resources need an active controller and valid backend routing. Instead, use Azure Container Apps KEDA-based event-driven scaling for the queue-backed worker.
B:Use a Kubernetes readiness probe that tests actual application readiness. Readiness probes control endpoint eligibility, unlike liveness probes which address restart behavior. Instead, use Azure Container Apps KEDA-based event-driven scaling for the queue-backed worker.
C: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 Azure Container Apps KEDA-based event-driven scaling for the queue-backed worker.
Question 94
An AI batch API experiences unpredictable queue spikes and should scale container workers without manual replica changes. Which concrete setup step puts this selected approach into operation: Use Azure Container Apps KEDA-based event-driven scaling for the queue-backed worker.
- Configure a KEDA scale rule for the correct message source and supply its authentication.
- Set minReplicas to one and configure the expected HTTP ingress and readiness behavior.
- Create a ConfigMap key and reference it through the Deployment's env or envFrom section.
- Tag each build with an auditable release identifier and retain the ACR run ID and resulting digest.
Explanation
Correct Answer
A:Configure a KEDA scale rule for the correct message source and supply its authentication. This is the actionable setup step for the selected design. Container Apps event scale rules use configured trigger metadata and credentials to measure queue pressure.
Incorrect Answers
B:Set minReplicas to one and configure the expected HTTP ingress and readiness behavior. Instead, configure a KEDA scale rule for the correct message source and supply its authentication.
C:Create a ConfigMap key and reference it through the Deployment's env or envFrom section. Instead, configure a KEDA scale rule for the correct message source and supply its authentication.
D:Tag each build with an auditable release identifier and retain the ACR run ID and resulting digest. Instead, configure a KEDA scale rule for the correct message source and supply its authentication.
Question 95
An AI batch API experiences unpredictable queue spikes and should scale container workers without manual replica changes. What outcome should be checked before the engineering change is accepted?
- Replicas rise as load increases but do not exceed the approved maximum.
- The worker replica count rises when the observed queue length passes the target and decreases afterward.
- All new requests go to the known-good revision after the routing update.
- The approved image is pullable from both regional replica endpoints without duplicating manual uploads.
Explanation
Correct Answer
B:The worker replica count rises when the observed queue length passes the target and decreases afterward. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Container Apps event scale rules use configured trigger metadata and credentials to measure queue pressure.
Incorrect Answers
A:Replicas rise as load increases but do not exceed the approved maximum. Here, the worker replica count rises when the observed queue length passes the target and decreases afterward.
C:All new requests go to the known-good revision after the routing update. Here, the worker replica count rises when the observed queue length passes the target and decreases afterward.
D:The approved image is pullable from both regional replica endpoints without duplicating manual uploads. Here, the worker replica count rises when the observed queue length passes the target and decreases afterward.
Question 96
An AI batch API experiences unpredictable queue spikes and should scale container workers without manual replica changes. After rollout the observed failure is: The queue length climbs but the worker remains at its configured minimum replicas. What best explains it?
- The Service selector does not match labels on the serving pods.
- The scaler authentication credential or role assignment does not permit reading queue metrics.
- The KEDA scale rule points to the wrong queue or has invalid trigger authentication.
- The rollback used a mutable tag instead of the preserved known-good digest.
Explanation
Correct Answer
C:The KEDA scale rule points to the wrong queue or has invalid trigger authentication. The described symptom and this root cause fit together. Container Apps event scale rules use configured trigger metadata and credentials to measure queue pressure.
Incorrect Answers
A:The Service selector does not match labels on the serving pods. Here, the KEDA scale rule points to the wrong queue or has invalid trigger authentication.
B:The scaler authentication credential or role assignment does not permit reading queue metrics. Here, the KEDA scale rule points to the wrong queue or has invalid trigger authentication.
D:The rollback used a mutable tag instead of the preserved known-good digest. Here, the KEDA scale rule points to the wrong queue or has invalid trigger authentication.
Question 97
A web inference container should maintain at least one ready replica even during overnight traffic lulls. Which architecture most directly addresses the required outcome?
- Configure Azure Container Apps minimum replicas above zero for the HTTP endpoint.
- Use a Kubernetes liveness probe to recover from an unrecoverable stalled process.
- Use a RollingUpdate strategy with readiness checks and appropriate maxUnavailable.
- Maintain unique version tags and record immutable digests for production rollouts.
Explanation
Correct Answer
A:Configure Azure Container Apps minimum replicas above zero for the HTTP endpoint. It directly addresses the architecture in this case. Container Apps minimum replica settings define the scale-to-zero floor for the app.
Incorrect Answers
B:Use a Kubernetes liveness probe to recover from an unrecoverable stalled process. Liveness checks can restart containers and must allow legitimate startup latency. Instead, configure Azure Container Apps minimum replicas above zero for the HTTP endpoint.
C:Use a RollingUpdate strategy with readiness checks and appropriate maxUnavailable. Kubernetes rolling update parameters and readiness determine availability during replacement. Instead, configure Azure Container Apps minimum replicas above zero for the HTTP endpoint.
D:Maintain unique version tags and record immutable digests for production rollouts. Retention and digest records are necessary for reproducible older image references. Instead, configure Azure Container Apps minimum replicas above zero for the HTTP endpoint.
Question 98
A web inference container should maintain at least one ready replica even during overnight traffic lulls. The team has selected this architecture: Configure Azure Container Apps minimum replicas above zero for the HTTP endpoint. Which action correctly implements it?
- Inspect kubectl logs --previous and the Deployment's changed environment and command fields.
- Set minReplicas to one and configure the expected HTTP ingress and readiness behavior.
- Create a ConfigMap key and reference it through the Deployment's env or envFrom section.
- Parameterize the nonsecret model build choice, and remove hard-coded secret values from Dockerfile instructions.
Explanation
Correct Answer
B:Set minReplicas to one and configure the expected HTTP ingress and readiness behavior. This is the actionable setup step for the selected design. Container Apps minimum replica settings define the scale-to-zero floor for the app.
Incorrect Answers
A:Inspect kubectl logs --previous and the Deployment's changed environment and command fields. Instead, set minReplicas to one and configure the expected HTTP ingress and readiness behavior.
C:Create a ConfigMap key and reference it through the Deployment's env or envFrom section. Instead, set minReplicas to one and configure the expected HTTP ingress and readiness behavior.
D:Parameterize the nonsecret model build choice, and remove hard-coded secret values from Dockerfile instructions. Instead, set minReplicas to one and configure the expected HTTP ingress and readiness behavior.
Question 99
A web inference container should maintain at least one ready replica even during overnight traffic lulls. After configuring the solution, which measurable result would demonstrate success?
- Replicas rise as load increases but do not exceed the approved maximum.
- A request to the configured hostname reaches the intended backend service over the expected path.
- A request following a long idle period reaches a ready replica without a cold-start scale-from-zero.
- A controlled prediction request appears in the App Service container log stream.
Explanation
Correct Answer
C:A request following a long idle period reaches a ready replica without a cold-start scale-from-zero. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Container Apps minimum replica settings define the scale-to-zero floor for the app.
Incorrect Answers
A:Replicas rise as load increases but do not exceed the approved maximum. Here, a request following a long idle period reaches a ready replica without a cold-start scale-from-zero.
B:A request to the configured hostname reaches the intended backend service over the expected path. Here, a request following a long idle period reaches a ready replica without a cold-start scale-from-zero.
D:A controlled prediction request appears in the App Service container log stream. Here, a request following a long idle period reaches a ready replica without a cold-start scale-from-zero.
Question 100
A web inference container should maintain at least one ready replica even during overnight traffic lulls. During a trial, the team sees this problem: The service scales to zero overnight and the first morning request waits for startup. Which cause is most consistent?
- The job trigger authentication or event source metadata is incorrect.
- The new image is missing a required runtime dependency or importable module.
- The ACR Task base-image trigger was disabled or its base dependency had not been established by an initial run.
- The minimum replica count was left at zero for an app expected to remain warm.
Explanation
Correct Answer
D:The minimum replica count was left at zero for an app expected to remain warm. The described symptom and this root cause fit together. Container Apps minimum replica settings define the scale-to-zero floor for the app.
Incorrect Answers
A:The job trigger authentication or event source metadata is incorrect. Here, the minimum replica count was left at zero for an app expected to remain warm.
B:The new image is missing a required runtime dependency or importable module. Here, the minimum replica count was left at zero for an app expected to remain warm.
C:The ACR Task base-image trigger was disabled or its base dependency had not been established by an initial run. Here, the minimum replica count was left at zero for an app expected to remain warm.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests