100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 170
An AKS application must inject a nonsecret feature-configuration value into all serving containers. The team has selected this architecture: Use a Kubernetes ConfigMap referenced by the container environment. Which action correctly implements it?
- Set realistic pod requests and provide nodes with sufficient allocatable memory for scheduling.
- Configure a KEDA scale rule for the correct message source and supply its authentication.
- 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
D:Create a ConfigMap key and reference it through the Deployment's env or envFrom section. This is the actionable setup step for the selected design. ConfigMaps hold nonsecret values but pods must reference the right resource and key.
Incorrect Answers
A:Set realistic pod requests and provide nodes with sufficient allocatable memory for scheduling. Instead, create a ConfigMap key and reference it through the Deployment's env or envFrom section.
B:Configure a KEDA scale rule for the correct message source and supply its authentication. Instead, create a ConfigMap key and reference it through the Deployment's env or envFrom section.
C:Configure the ACR Task timer trigger with the intended schedule and repository output. Instead, create a ConfigMap key and reference it through the Deployment's env or envFrom section.
Question 171
An AKS application must inject a nonsecret feature-configuration value into all serving containers. After configuring the solution, which measurable result would demonstrate success?
- The running pod observes the expected nonsecret configuration key.
- Replica pods are distributed across eligible nodes subject to the configured constraints.
- All new requests go to the known-good revision after the routing update.
- The app resolves the intended secret version via its managed identity at runtime.
Explanation
Correct Answer
A:The running pod observes the expected nonsecret configuration key. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. ConfigMaps hold nonsecret values but pods must reference the right resource and key.
Incorrect Answers
B:Replica pods are distributed across eligible nodes subject to the configured constraints. Here, the running pod observes the expected nonsecret configuration key.
C:All new requests go to the known-good revision after the routing update. Here, the running pod observes the expected nonsecret configuration key.
D:The app resolves the intended secret version via its managed identity at runtime. Here, the running pod observes the expected nonsecret configuration key.
Question 172
An AKS application must inject a nonsecret feature-configuration value into all serving containers. During a trial, the team sees this problem: New pods contain a missing environment variable although the ConfigMap exists. Which cause is most consistent?
- The liveness probe begins too early or uses thresholds unsuitable for model startup.
- The Deployment references a wrong ConfigMap name or key.
- No suitable startup probe or initialization grace period was configured.
- The pipeline retained only a mutable tag and not the build run and image digest.
Explanation
Correct Answer
B:The Deployment references a wrong ConfigMap name or key. The described symptom and this root cause fit together. ConfigMaps hold nonsecret values but pods must reference the right resource and key.
Incorrect Answers
A:The liveness probe begins too early or uses thresholds unsuitable for model startup. Here, the Deployment references a wrong ConfigMap name or key.
C:No suitable startup probe or initialization grace period was configured. Here, the Deployment references a wrong ConfigMap name or key.
D:The pipeline retained only a mutable tag and not the build run and image digest. Here, the Deployment references a wrong ConfigMap name or key.
Question 173
An AKS service needs a confidential API token rather than storing it inside its Deployment YAML. What primary technical approach is best justified by these constraints?
- Keep a stable Container Apps revision available and switch ingress traffic back to it.
- Use an event-driven Container Apps job backed by a supported KEDA trigger.
- Use build arguments only for nonsecret build parameters and inject production secrets at runtime.
- Use a Kubernetes Secret or an approved external secret integration for the pod.
Explanation
Correct Answer
D:Use a Kubernetes Secret or an approved external secret integration for the pod. It directly addresses the architecture in this case. Pods can consume Kubernetes Secrets only when the referenced resource and key are present.
Incorrect Answers
A: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 a Kubernetes Secret or an approved external secret integration for the pod.
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 Secret or an approved external secret integration for the pod.
C: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, use a Kubernetes Secret or an approved external secret integration for the pod.
Question 174
An AKS service needs a confidential API token rather than storing it inside its Deployment YAML. After deciding to use a Kubernetes Secret or an approved external secret integration for the pod, what configuration is most relevant?
- Mount or reference the Secret at runtime instead of inlining the token in the manifest.
- Apply a ClusterIP Service whose selector matches the Deployment pod labels and exposes the serving port.
- Use kubectl describe, logs, endpoints and a controlled test request from a frontend pod.
- Assign the appropriate repository-scoped pull permission or AcrPull role to the runtime identity.
Explanation
Correct Answer
A:Mount or reference the Secret at runtime instead of inlining the token in the manifest. This is the actionable setup step for the selected design. Pods can consume Kubernetes Secrets only when the referenced resource and key are present.
Incorrect Answers
B:Apply a ClusterIP Service whose selector matches the Deployment pod labels and exposes the serving port. Here, mount or reference the Secret at runtime instead of inlining the token in the manifest.
C:Use kubectl describe, logs, endpoints and a controlled test request from a frontend pod. Here, mount or reference the Secret at runtime instead of inlining the token in the manifest.
D:Assign the appropriate repository-scoped pull permission or AcrPull role to the runtime identity. Here, mount or reference the Secret at runtime instead of inlining the token in the manifest.
Question 175
An AKS service needs a confidential API token rather than storing it inside its Deployment YAML. Which validation result is the strongest evidence that the intended behavior works?
- A request to the configured hostname reaches the intended backend service over the expected path.
- The pod reads the secret at runtime and no plain token appears in the checked-in YAML.
- Traffic observations approach the configured split across enough requests and both revisions remain active.
- A pull of the serving repository succeeds while a pull of an unrelated repository is denied.
Explanation
Correct Answer
B:The pod reads the secret at runtime and no plain token appears in the checked-in YAML. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Pods can consume Kubernetes Secrets only when the referenced resource and key are present.
Incorrect Answers
A:A request to the configured hostname reaches the intended backend service over the expected path. Here, the pod reads the secret at runtime and no plain token appears in the checked-in YAML.
C:Traffic observations approach the configured split across enough requests and both revisions remain active. Here, the pod reads the secret at runtime and no plain token appears in the checked-in YAML.
D:A pull of the serving repository succeeds while a pull of an unrelated repository is denied. Here, the pod reads the secret at runtime and no plain token appears in the checked-in YAML.
Question 176
An AKS service needs a confidential API token rather than storing it inside its Deployment YAML. Production telemetry shows: The pod shows CreateContainerConfigError for a missing secret reference. Which underlying issue should be investigated first?
- The readiness probe reports success before model initialization completes.
- The job trigger authentication or event source metadata is incorrect.
- The Secret name or key in the pod specification does not exist in its namespace.
- The deployment image URI points to the wrong registry or repository.
Explanation
Correct Answer
C:The Secret name or key in the pod specification does not exist in its namespace. The described symptom and this root cause fit together. Pods can consume Kubernetes Secrets only when the referenced resource and key are present.
Incorrect Answers
A:The readiness probe reports success before model initialization completes. Here, the Secret name or key in the pod specification does not exist in its namespace.
B:The job trigger authentication or event source metadata is incorrect. Here, the Secret name or key in the pod specification does not exist in its namespace.
D:The deployment image URI points to the wrong registry or repository. Here, the Secret name or key in the pod specification does not exist in its namespace.
Question 177
A team needs to diagnose failing requests between a frontend pod and an internal model service on AKS. Which design decision should the team make first?
- Inspect pod logs, Service endpoints, network policy and DNS connectivity in the cluster.
- Use pod anti-affinity or topology spread constraints in the Deployment spec.
- Use a supported trigger authentication mechanism with the queue scaler.
- Use a reproducible container build with the needed Linux runtime dependencies included.
Explanation
Correct Answer
A:Inspect pod logs, Service endpoints, network policy and DNS connectivity in the cluster. It directly addresses the architecture in this case. DNS resolution and network transport are separate, so successful DNS with timed-out connections suggests a connectivity control.
Incorrect Answers
B:Use pod anti-affinity or topology spread constraints in the Deployment spec. Topology spread or anti-affinity influences placement across failure domains. Instead, inspect pod logs, Service endpoints, network policy and DNS connectivity in the cluster.
C:Use a supported trigger authentication mechanism with the queue scaler. Event scalers require both valid trigger metadata and access to the backing service. Instead, inspect pod logs, Service endpoints, network policy and DNS connectivity in the cluster.
D:Use a reproducible container build with the needed Linux runtime dependencies included. Container image dependencies must be present inside the deployed runtime filesystem. Instead, inspect pod logs, Service endpoints, network policy and DNS connectivity in the cluster.
Question 178
A team needs to diagnose failing requests between a frontend pod and an internal model service on AKS. Which concrete setup step puts this selected approach into operation: Inspect pod logs, Service endpoints, network policy and DNS connectivity in the cluster.
- Enable multiple revision mode and assign 90/10 traffic weights to stable and candidate revisions.
- Use kubectl describe, logs, endpoints and a controlled test request from a frontend pod.
- Define a topology spread constraint by hostname with a selector that matches the serving pods.
- Create and run an ACR Task against the Dockerfile with the base-image trigger enabled.
Explanation
Correct Answer
B:Use kubectl describe, logs, endpoints and a controlled test request from a frontend pod. This is the actionable setup step for the selected design. DNS resolution and network transport are separate, so successful DNS with timed-out connections suggests a connectivity control.
Incorrect Answers
A:Enable multiple revision mode and assign 90/10 traffic weights to stable and candidate revisions. Instead, use kubectl describe, logs, endpoints and a controlled test request from a frontend pod.
C:Define a topology spread constraint by hostname with a selector that matches the serving pods. Instead, use kubectl describe, logs, endpoints and a controlled test request from a frontend pod.
D:Create and run an ACR Task against the Dockerfile with the base-image trigger enabled. Instead, use kubectl describe, logs, endpoints and a controlled test request from a frontend pod.
Question 179
A team needs to diagnose failing requests between a frontend pod and an internal model service on AKS. What outcome should be checked before the engineering change is accepted?
- The running pod observes the expected nonsecret configuration key.
- The pod is omitted from ready service endpoints until its model is loaded.
- The debug request resolves the service name and reaches a ready model endpoint.
- The approved image is pullable from both regional replica endpoints without duplicating manual uploads.
Explanation
Correct Answer
C:The debug request resolves the service name and reaches a ready model endpoint. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. DNS resolution and network transport are separate, so successful DNS with timed-out connections suggests a connectivity control.
Incorrect Answers
A:The running pod observes the expected nonsecret configuration key. Here, the debug request resolves the service name and reaches a ready model endpoint.
B:The pod is omitted from ready service endpoints until its model is loaded. Here, the debug request resolves the service name and reaches a ready model endpoint.
D:The approved image is pullable from both regional replica endpoints without duplicating manual uploads. Here, the debug request resolves the service name and reaches a ready model endpoint.
Question 180
A team needs to diagnose failing requests between a frontend pod and an internal model service on AKS. After rollout the observed failure is: Name resolution succeeds but traffic to a ready pod times out only from the frontend namespace. What best explains it?
- The Deployment references a wrong ConfigMap name or key.
- The scaler authentication credential or role assignment does not permit reading queue metrics.
- The deployment image URI points to the wrong registry or repository.
- A Kubernetes NetworkPolicy or other network path blocks the required traffic.
Explanation
Correct Answer
D:A Kubernetes NetworkPolicy or other network path blocks the required traffic. The described symptom and this root cause fit together. DNS resolution and network transport are separate, so successful DNS with timed-out connections suggests a connectivity control.
Incorrect Answers
A:The Deployment references a wrong ConfigMap name or key. Here, a Kubernetes NetworkPolicy or other network path blocks the required traffic.
B:The scaler authentication credential or role assignment does not permit reading queue metrics. Here, a Kubernetes NetworkPolicy or other network path blocks the required traffic.
C:The deployment image URI points to the wrong registry or repository. Here, a Kubernetes NetworkPolicy or other network path blocks the required traffic.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests