100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 140
An AKS deployment must avoid accepting prediction traffic until its model and tokenizer files finish loading. Production telemetry shows: Clients receive failures immediately after a pod starts before initialization finishes. Which underlying issue should be investigated first?
- The scaler authentication credential or role assignment does not permit reading queue metrics.
- The readiness probe reports success before model initialization completes.
- The KEDA scale rule points to the wrong queue or has invalid trigger authentication.
- The production App Service environment setting still contains the staging endpoint.
Explanation
Correct Answer
B:The readiness probe reports success before model initialization completes. The described symptom and this root cause fit together. Readiness probes control endpoint eligibility, unlike liveness probes which address restart behavior.
Incorrect Answers
A:The scaler authentication credential or role assignment does not permit reading queue metrics. Here, the readiness probe reports success before model initialization completes.
C:The KEDA scale rule points to the wrong queue or has invalid trigger authentication. Here, the readiness probe reports success before model initialization completes.
D:The production App Service environment setting still contains the staging endpoint. Here, the readiness probe reports success before model initialization completes.
Question 141
An AKS inference container occasionally deadlocks and cannot answer health checks. Which design decision should the team make first?
- Use a Kubernetes readiness probe that tests actual application readiness.
- Use an event-driven Container Apps job backed by a supported KEDA trigger.
- Maintain unique version tags and record immutable digests for production rollouts.
- Use a Kubernetes liveness probe to recover from an unrecoverable stalled process.
Explanation
Correct Answer
D:Use a Kubernetes liveness probe to recover from an unrecoverable stalled process. It directly addresses the architecture in this case. Liveness checks can restart containers and must allow legitimate startup latency.
Incorrect Answers
A:Use a Kubernetes readiness probe that tests actual application readiness. Readiness probes control endpoint eligibility, unlike liveness probes which address restart behavior. Instead, use a Kubernetes liveness probe to recover from an unrecoverable stalled process.
B:Use an event-driven Container Apps job backed by a supported KEDA trigger. Event-driven jobs require an operational KEDA event trigger to launch executions. Instead, use a Kubernetes liveness probe to recover from an unrecoverable stalled process.
C:Maintain unique version tags and record immutable digests for production rollouts. Retention and digest records are necessary for reproducible older image references. Instead, use a Kubernetes liveness probe to recover from an unrecoverable stalled process.
Question 142
An AKS inference container occasionally deadlocks and cannot answer health checks. Which concrete setup step puts this selected approach into operation: Use a Kubernetes liveness probe to recover from an unrecoverable stalled process.
- Configure a liveness probe with a suitable initial delay and threshold for the application.
- Move ingress traffic weight from the failed revision to the known-good active revision.
- Configure startupProbe success criteria and a generous failureThreshold before liveness is enforced.
- Set the App Service application setting for the connection reference and read it as a runtime environment variable.
Explanation
Correct Answer
A:Configure a liveness probe with a suitable initial delay and threshold for the application. This is the actionable setup step for the selected design. Liveness checks can restart containers and must allow legitimate startup latency.
Incorrect Answers
B:Move ingress traffic weight from the failed revision to the known-good active revision. Instead, configure a liveness probe with a suitable initial delay and threshold for the application.
C:Configure startupProbe success criteria and a generous failureThreshold before liveness is enforced. Instead, configure a liveness probe with a suitable initial delay and threshold for the application.
D:Set the App Service application setting for the connection reference and read it as a runtime environment variable. Instead, configure a liveness probe with a suitable initial delay and threshold for the application.
Question 143
An AKS inference container occasionally deadlocks and cannot answer health checks. What outcome should be checked before the engineering change is accepted?
- Replicas rise as load increases but do not exceed the approved maximum.
- A deliberately stalled process fails the liveness probe and is restarted by the kubelet.
- The frontend accepts HTTPS and queue workers scale without a public worker endpoint.
- The running container reports the previous approved digest and passes the old behavior tests.
Explanation
Correct Answer
B:A deliberately stalled process fails the liveness probe and is restarted by the kubelet. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Liveness checks can restart containers and must allow legitimate startup latency.
Incorrect Answers
A:Replicas rise as load increases but do not exceed the approved maximum. Here, a deliberately stalled process fails the liveness probe and is restarted by the kubelet.
C:The frontend accepts HTTPS and queue workers scale without a public worker endpoint. Here, a deliberately stalled process fails the liveness probe and is restarted by the kubelet.
D:The running container reports the previous approved digest and passes the old behavior tests. Here, a deliberately stalled process fails the liveness probe and is restarted by the kubelet.
Question 144
An AKS inference container occasionally deadlocks and cannot answer health checks. After rollout the observed failure is: A healthy but slow-starting model is repeatedly killed while loading on its first launch. What best explains it?
- The KEDA scale rule points to the wrong queue or has invalid trigger authentication.
- The readiness probe reports success before model initialization completes.
- The liveness probe begins too early or uses thresholds unsuitable for model startup.
- The application is still reading a hard-coded development value rather than the runtime application setting.
Explanation
Correct Answer
C:The liveness probe begins too early or uses thresholds unsuitable for model startup. The described symptom and this root cause fit together. Liveness checks can restart containers and must allow legitimate startup latency.
Incorrect Answers
A:The KEDA scale rule points to the wrong queue or has invalid trigger authentication. Here, the liveness probe begins too early or uses thresholds unsuitable for model startup.
B:The readiness probe reports success before model initialization completes. Here, the liveness probe begins too early or uses thresholds unsuitable for model startup.
D:The application is still reading a hard-coded development value rather than the runtime application setting. Here, the liveness probe begins too early or uses thresholds unsuitable for model startup.
Question 145
A large transformer model takes several minutes to initialize, and aggressive health probes restart it prematurely. Which architecture most directly addresses the required outcome?
- Use a Kubernetes startup probe to protect long initialization from liveness failures.
- Use an event-driven Container Apps job backed by a supported KEDA trigger.
- Deploy separate container apps within an appropriate shared Container Apps environment.
- Inspect the ACR repository manifest and digest before changing the service deployment.
Explanation
Correct Answer
A:Use a Kubernetes startup probe to protect long initialization from liveness failures. It directly addresses the architecture in this case. A startup probe can defer liveness and readiness probe behavior while the app initializes.
Incorrect Answers
B:Use an event-driven Container Apps job backed by a supported KEDA trigger. Event-driven jobs require an operational KEDA event trigger to launch executions. Instead, use a Kubernetes startup probe to protect long initialization from liveness failures.
C: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, use a Kubernetes startup probe to protect long initialization from liveness failures.
D: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 a Kubernetes startup probe to protect long initialization from liveness failures.
Question 146
A large transformer model takes several minutes to initialize, and aggressive health probes restart it prematurely. The team has selected this architecture: Use a Kubernetes startup probe to protect long initialization from liveness failures. Which action correctly implements it?
- Create a frontend app with ingress and a worker app with queue scaling rather than exposing the worker publicly.
- Configure startupProbe success criteria and a generous failureThreshold before liveness is enforced.
- Configure the Container Apps job event trigger to target the queue and authenticate correctly.
- Create a repository-scoped token or supported fine-grained permission limited to the serving repository's pull operation.
Explanation
Correct Answer
B:Configure startupProbe success criteria and a generous failureThreshold before liveness is enforced. This is the actionable setup step for the selected design. A startup probe can defer liveness and readiness probe behavior while the app initializes.
Incorrect Answers
A:Create a frontend app with ingress and a worker app with queue scaling rather than exposing the worker publicly. Instead, configure startupProbe success criteria and a generous failureThreshold before liveness is enforced.
C:Configure the Container Apps job event trigger to target the queue and authenticate correctly. Instead, configure startupProbe success criteria and a generous failureThreshold before liveness is enforced.
D:Create a repository-scoped token or supported fine-grained permission limited to the serving repository's pull operation. Instead, configure startupProbe success criteria and a generous failureThreshold before liveness is enforced.
Question 147
A large transformer model takes several minutes to initialize, and aggressive health probes restart it prematurely. After configuring the solution, which measurable result would demonstrate success?
- A deliberately stalled process fails the liveness probe and is restarted by the kubelet.
- Traffic observations approach the configured split across enough requests and both revisions remain active.
- The container completes a normal cold initialization without repeated liveness-triggered restarts.
- A supported base-image update produces a new successful task run and application image digest.
Explanation
Correct Answer
C:The container completes a normal cold initialization without repeated liveness-triggered restarts. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. A startup probe can defer liveness and readiness probe behavior while the app initializes.
Incorrect Answers
A:A deliberately stalled process fails the liveness probe and is restarted by the kubelet. Here, the container completes a normal cold initialization without repeated liveness-triggered restarts.
B:Traffic observations approach the configured split across enough requests and both revisions remain active. Here, the container completes a normal cold initialization without repeated liveness-triggered restarts.
D:A supported base-image update produces a new successful task run and application image digest. Here, the container completes a normal cold initialization without repeated liveness-triggered restarts.
Question 148
A large transformer model takes several minutes to initialize, and aggressive health probes restart it prematurely. During a trial, the team sees this problem: The pod restarts during model loading even though it would eventually become healthy. Which cause is most consistent?
- The minimum replica count was left at zero for an app expected to remain warm.
- The Service selector does not match labels on the serving pods.
- The runtime image omitted a required native library package.
- No suitable startup probe or initialization grace period was configured.
Explanation
Correct Answer
D:No suitable startup probe or initialization grace period was configured. The described symptom and this root cause fit together. A startup probe can defer liveness and readiness probe behavior while the app initializes.
Incorrect Answers
A:The minimum replica count was left at zero for an app expected to remain warm. Here, no suitable startup probe or initialization grace period was configured.
B:The Service selector does not match labels on the serving pods. Here, no suitable startup probe or initialization grace period was configured.
C:The runtime image omitted a required native library package. Here, no suitable startup probe or initialization grace period was configured.
Question 149
An AKS deployment specifies a private image in ACR but pods show ImagePullBackOff. What primary technical approach is best justified by these constraints?
- Use the supported Container Apps HTTP scaling rule tied to concurrent request demand.
- Use authorized managed-identity image pulling from ACR for the AKS nodes.
- Keep a stable Container Apps revision available and switch ingress traffic back to it.
- Pin the production deployment to the approved image manifest digest instead of a moving tag.
Explanation
Correct Answer
B:Use authorized managed-identity image pulling from ACR for the AKS nodes. It directly addresses the architecture in this case. ImagePullBackOff with authorization errors points to image registry authentication or permissions.
Incorrect Answers
A:Use the supported Container Apps HTTP scaling rule tied to concurrent request demand. HTTP scaling targets request demand rather than a CPU utilization metric. Instead, use authorized managed-identity image pulling from ACR for the AKS nodes.
C:Keep a stable Container Apps revision available and switch ingress traffic back to it. Revision labels and traffic routing are distinct pieces of deployment behavior. Instead, use authorized managed-identity image pulling from ACR for the AKS nodes.
D:Pin the production deployment to the approved image manifest digest instead of a moving tag. Digest references identify exact image content while tags can be reassigned. Instead, use authorized managed-identity image pulling from ACR for the AKS nodes.
Question 150
An AKS deployment specifies a private image in ACR but pods show ImagePullBackOff. After deciding to use authorized managed-identity image pulling from ACR for the AKS nodes, what configuration is most relevant?
- Configure the scaler's authentication reference to a valid secret or managed identity for the Service Bus entity.
- Apply a Deployment YAML specifying replicas three and an image reachable by the cluster.
- Grant the appropriate pull permission to the AKS kubelet identity for the target registry.
- Define distinct production and development values for the same environment variable in their respective apps.
Explanation
Correct Answer
C:Grant the appropriate pull permission to the AKS kubelet identity for the target registry. This is the actionable setup step for the selected design. ImagePullBackOff with authorization errors points to image registry authentication or permissions.
Incorrect Answers
A:Configure the scaler's authentication reference to a valid secret or managed identity for the Service Bus entity. Instead, grant the appropriate pull permission to the AKS kubelet identity for the target registry.
B:Apply a Deployment YAML specifying replicas three and an image reachable by the cluster. Instead, grant the appropriate pull permission to the AKS kubelet identity for the target registry.
D:Define distinct production and development values for the same environment variable in their respective apps. Instead, grant the appropriate pull permission to the AKS kubelet identity for the target registry.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests