100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 130
An AKS model-serving pod needs a stable internal service address across repeated rolling deployments. Which concrete setup step puts this selected approach into operation: Use a Kubernetes Service object selecting the intended serving pods.
- Configure a KEDA scale rule for the correct message source and supply its authentication.
- Apply a ClusterIP Service whose selector matches the Deployment pod labels and exposes the serving port.
- Set an HTTP scale rule with a chosen concurrent-request threshold and replica bounds.
- Query ACR repository manifests for the exact release tag and record its digest.
Explanation
Correct Answer
B:Apply a ClusterIP Service whose selector matches the Deployment pod labels and exposes the serving port. This is the actionable setup step for the selected design. Kubernetes Services route requests to pods selected by matching labels.
Incorrect Answers
A:Configure a KEDA scale rule for the correct message source and supply its authentication. Instead, apply a ClusterIP Service whose selector matches the Deployment pod labels and exposes the serving port.
C:Set an HTTP scale rule with a chosen concurrent-request threshold and replica bounds. Instead, apply a ClusterIP Service whose selector matches the Deployment pod labels and exposes the serving port.
D:Query ACR repository manifests for the exact release tag and record its digest. Instead, apply a ClusterIP Service whose selector matches the Deployment pod labels and exposes the serving port.
Question 131
An AKS model-serving pod needs a stable internal service address across repeated rolling deployments. What outcome should be checked before the engineering change is accepted?
- As concurrent requests increase, the app adds replicas up to the configured maximum.
- Traffic remains served by ready old or new pods while the rollout progresses.
- Requests to the Service name reach healthy model-serving endpoints even after pods are replaced.
- A new qualifying commit starts a task run and publishes the expected image.
Explanation
Correct Answer
C:Requests to the Service name reach healthy model-serving endpoints even after pods are replaced. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Kubernetes Services route requests to pods selected by matching labels.
Incorrect Answers
A:As concurrent requests increase, the app adds replicas up to the configured maximum. Here, requests to the Service name reach healthy model-serving endpoints even after pods are replaced.
B:Traffic remains served by ready old or new pods while the rollout progresses. Here, requests to the Service name reach healthy model-serving endpoints even after pods are replaced.
D:A new qualifying commit starts a task run and publishes the expected image. Here, requests to the Service name reach healthy model-serving endpoints even after pods are replaced.
Question 132
An AKS model-serving pod needs a stable internal service address across repeated rolling deployments. After rollout the observed failure is: The Service has no endpoints although pods are running and ready. What best explains it?
- The update strategy or maxUnavailable setting permits too many simultaneous unavailable replicas.
- The scaler authentication credential or role assignment does not permit reading queue metrics.
- The production App Service environment setting still contains the staging endpoint.
- The Service selector does not match labels on the serving pods.
Explanation
Correct Answer
D:The Service selector does not match labels on the serving pods. The described symptom and this root cause fit together. Kubernetes Services route requests to pods selected by matching labels.
Incorrect Answers
A:The update strategy or maxUnavailable setting permits too many simultaneous unavailable replicas. Here, the Service selector does not match labels on the serving pods.
B:The scaler authentication credential or role assignment does not permit reading queue metrics. Here, the Service selector does not match labels on the serving pods.
C:The production App Service environment setting still contains the staging endpoint. Here, the Service selector does not match labels on the serving pods.
Question 133
An AKS team wants a publicly reachable HTTP inference API with managed edge routing. Which architecture most directly addresses the required outcome?
- Use pod anti-affinity or topology spread constraints in the Deployment spec.
- Expose the service through an appropriate ingress controller and Kubernetes Ingress resource.
- Use a Kubernetes liveness probe to recover from an unrecoverable stalled process.
- Use build arguments only for nonsecret build parameters and inject production secrets at runtime.
Explanation
Correct Answer
B:Expose the service through an appropriate ingress controller and Kubernetes Ingress resource. It directly addresses the architecture in this case. Ingress resources need an active controller and valid backend routing.
Incorrect Answers
A:Use pod anti-affinity or topology spread constraints in the Deployment spec. Topology spread or anti-affinity influences placement across failure domains. Instead, expose the service through an appropriate ingress controller and Kubernetes Ingress resource.
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, expose the service through an appropriate ingress controller and Kubernetes Ingress resource.
D:Use build arguments only for nonsecret build parameters and inject production secrets at runtime. Secrets must not be stored in immutable image layers or exposed by the build history. Instead, expose the service through an appropriate ingress controller and Kubernetes Ingress resource.
Question 134
An AKS team wants a publicly reachable HTTP inference API with managed edge routing. The team has selected this architecture: Expose the service through an appropriate ingress controller and Kubernetes Ingress resource. Which action correctly implements it?
- Set minReplicas to one and configure the expected HTTP ingress and readiness behavior.
- Inspect kubectl logs --previous and the Deployment's changed environment and command fields.
- Create an Ingress routing rule and associate it with the deployed ingress controller and backend Service.
- Configure the Key Vault secret reference in App Service settings and grant the web app identity permission to retrieve it.
Explanation
Correct Answer
C:Create an Ingress routing rule and associate it with the deployed ingress controller and backend Service. This is the actionable setup step for the selected design. Ingress resources need an active controller and valid backend routing.
Incorrect Answers
A:Set minReplicas to one and configure the expected HTTP ingress and readiness behavior. Instead, create an Ingress routing rule and associate it with the deployed ingress controller and backend Service.
B:Inspect kubectl logs --previous and the Deployment's changed environment and command fields. Instead, create an Ingress routing rule and associate it with the deployed ingress controller and backend Service.
D:Configure the Key Vault secret reference in App Service settings and grant the web app identity permission to retrieve it. Instead, create an Ingress routing rule and associate it with the deployed ingress controller and backend Service.
Question 135
An AKS team wants a publicly reachable HTTP inference API with managed edge routing. After configuring the solution, which measurable result would demonstrate success?
- Replicas rise as load increases but do not exceed the approved maximum.
- The container completes a normal cold initialization without repeated liveness-triggered restarts.
- Inspecting built image layers does not reveal a production credential.
- A request to the configured hostname reaches the intended backend service over the expected path.
Explanation
Correct Answer
D:A request to the configured hostname reaches the intended backend service over the expected path. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Ingress resources need an active controller and valid backend routing.
Incorrect Answers
A:Replicas rise as load increases but do not exceed the approved maximum. Here, a request to the configured hostname reaches the intended backend service over the expected path.
B:The container completes a normal cold initialization without repeated liveness-triggered restarts. Here, a request to the configured hostname reaches the intended backend service over the expected path.
C:Inspecting built image layers does not reveal a production credential. Here, a request to the configured hostname reaches the intended backend service over the expected path.
Question 136
An AKS team wants a publicly reachable HTTP inference API with managed edge routing. During a trial, the team sees this problem: The Ingress object exists but no requests reach the backend. Which cause is most consistent?
- No functioning ingress controller is watching the Ingress class or its rules point to a wrong service.
- The Deployment lacks the intended topology spreading constraints.
- The liveness probe begins too early or uses thresholds unsuitable for model startup.
- The managed identity pull setting or required ACR authorization is missing.
Explanation
Correct Answer
A:No functioning ingress controller is watching the Ingress class or its rules point to a wrong service. The described symptom and this root cause fit together. Ingress resources need an active controller and valid backend routing.
Incorrect Answers
B:The Deployment lacks the intended topology spreading constraints. Here, no functioning ingress controller is watching the Ingress class or its rules point to a wrong service.
C:The liveness probe begins too early or uses thresholds unsuitable for model startup. Here, no functioning ingress controller is watching the Ingress class or its rules point to a wrong service.
D:The managed identity pull setting or required ACR authorization is missing. Here, no functioning ingress controller is watching the Ingress class or its rules point to a wrong service.
Question 137
An AKS deployment must avoid accepting prediction traffic until its model and tokenizer files finish loading. What primary technical approach is best justified by these constraints?
- Use multiple active Container Apps revisions with weighted ingress traffic splitting.
- Use a Kubernetes Secret or an approved external secret integration for the pod.
- Use a Kubernetes readiness probe that tests actual application readiness.
- Use a scheduled Azure Container Registry Task for the recurring image build.
Explanation
Correct Answer
C:Use a Kubernetes readiness probe that tests actual application readiness. It directly addresses the architecture in this case. Readiness probes control endpoint eligibility, unlike liveness probes which address restart behavior.
Incorrect Answers
A:Use multiple active Container Apps revisions with weighted ingress traffic splitting. Container Apps routing weights and revision activation control which version receives ingress traffic. Instead, use a Kubernetes readiness probe that tests actual application readiness.
B:Use a Kubernetes Secret or an approved external secret integration for the pod. Pods can consume Kubernetes Secrets only when the referenced resource and key are present. Instead, use a Kubernetes readiness probe that tests actual application readiness.
D:Use a scheduled Azure Container Registry Task for the recurring image build. A scheduled ACR Task can execute image builds in the registry without local Docker infrastructure. Instead, use a Kubernetes readiness probe that tests actual application readiness.
Question 138
An AKS deployment must avoid accepting prediction traffic until its model and tokenizer files finish loading. After deciding to use a Kubernetes readiness probe that tests actual application readiness, what configuration is most relevant?
- Create an Ingress routing rule and associate it with the deployed ingress controller and backend Service.
- Configure a KEDA scale rule for the correct message source and supply its authentication.
- Assign the appropriate repository-scoped pull permission or AcrPull role to the runtime identity.
- Configure a readiness probe against an endpoint that reports ready only after model initialization.
Explanation
Correct Answer
D:Configure a readiness probe against an endpoint that reports ready only after model initialization. This is the actionable setup step for the selected design. Readiness probes control endpoint eligibility, unlike liveness probes which address restart behavior.
Incorrect Answers
A:Create an Ingress routing rule and associate it with the deployed ingress controller and backend Service. Instead, configure a readiness probe against an endpoint that reports ready only after model initialization.
B:Configure a KEDA scale rule for the correct message source and supply its authentication. Instead, configure a readiness probe against an endpoint that reports ready only after model initialization.
C:Assign the appropriate repository-scoped pull permission or AcrPull role to the runtime identity. Instead, configure a readiness probe against an endpoint that reports ready only after model initialization.
Question 139
An AKS deployment must avoid accepting prediction traffic until its model and tokenizer files finish loading. Which validation result is the strongest evidence that the intended behavior works?
- The pod is omitted from ready service endpoints until its model is loaded.
- The previous-container logs identify the process exit immediately before restart.
- As concurrent requests increase, the app adds replicas up to the configured maximum.
- The approved image is pullable from both regional replica endpoints without duplicating manual uploads.
Explanation
Correct Answer
A:The pod is omitted from ready service endpoints until its model is loaded. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Readiness probes control endpoint eligibility, unlike liveness probes which address restart behavior.
Incorrect Answers
B:The previous-container logs identify the process exit immediately before restart. Here, the pod is omitted from ready service endpoints until its model is loaded.
C:As concurrent requests increase, the app adds replicas up to the configured maximum. Here, the pod is omitted from ready service endpoints until its model is loaded.
D:The approved image is pullable from both regional replica endpoints without duplicating manual uploads. Here, the pod is omitted from ready service endpoints until its model is loaded.
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.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests