100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 610
A production AI worker must retrieve a database password without embedding it in a container image or repository. Which concrete setup step puts this selected approach into operation: Use Azure Key Vault secret storage with an authorized workload identity.
- Construct SecretClient with DefaultAzureCredential rather than manually handling bearer tokens.
- Store the secret in Key Vault and grant the app's managed identity the minimum required read permission.
- Assign each tenant workload identity permission only to its approved secret scope.
- Set the intended Application Insights connection string for the deployed environment in the telemetry exporter.
Explanation
Correct Answer
B:Store the secret in Key Vault and grant the app's managed identity the minimum required read permission. This is the actionable setup step for the selected design. Key Vault secret retrieval requires both a valid secret URI and authorized runtime identity.
Incorrect Answers
A:Construct SecretClient with DefaultAzureCredential rather than manually handling bearer tokens. Instead, store the secret in Key Vault and grant the app's managed identity the minimum required read permission.
C:Assign each tenant workload identity permission only to its approved secret scope. Instead, store the secret in Key Vault and grant the app's managed identity the minimum required read permission.
D:Set the intended Application Insights connection string for the deployed environment in the telemetry exporter. Instead, store the secret in Key Vault and grant the app's managed identity the minimum required read permission.
Question 611
A production AI worker must retrieve a database password without embedding it in a container image or repository. What outcome should be checked before the engineering change is accepted?
- A test tenant cannot retrieve another tenant's secret while its own retrieval succeeds.
- The app resolves the private App Configuration endpoint and reads its assigned keys.
- The worker retrieves the secret at runtime while its image and source contain no plaintext credential.
- New events and traces appear in the expected monitoring resource.
Explanation
Correct Answer
C:The worker retrieves the secret at runtime while its image and source contain no plaintext credential. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Key Vault secret retrieval requires both a valid secret URI and authorized runtime identity.
Incorrect Answers
A:A test tenant cannot retrieve another tenant's secret while its own retrieval succeeds. Here, the worker retrieves the secret at runtime while its image and source contain no plaintext credential.
B:The app resolves the private App Configuration endpoint and reads its assigned keys. Here, the worker retrieves the secret at runtime while its image and source contain no plaintext credential.
D:New events and traces appear in the expected monitoring resource. Here, the worker retrieves the secret at runtime while its image and source contain no plaintext credential.
Question 612
A production AI worker must retrieve a database password without embedding it in a container image or repository. After rollout the observed failure is: A deployed worker gets forbidden when it requests a known secret URI. What best explains it?
- The SecretClient was pointed at the staging vault URI.
- The team stored ordinary mutable configuration as privileged secret material unnecessarily.
- The instrumentation did not record exception or error status on the span.
- The workload identity lacks the required Key Vault secret access.
Explanation
Correct Answer
D:The workload identity lacks the required Key Vault secret access. The described symptom and this root cause fit together. Key Vault secret retrieval requires both a valid secret URI and authorized runtime identity.
Incorrect Answers
A:The SecretClient was pointed at the staging vault URI. Here, the workload identity lacks the required Key Vault secret access.
B:The team stored ordinary mutable configuration as privileged secret material unnecessarily. Here, the workload identity lacks the required Key Vault secret access.
C:The instrumentation did not record exception or error status on the span. Here, the workload identity lacks the required Key Vault secret access.
Question 613
An API team rotates a downstream service key every month and wants controlled production access. Which architecture most directly addresses the required outcome?
- Use App Configuration revision history or documented diagnostic telemetry for change tracking.
- Use Key Vault secret versions to manage credential changes and deployment validation.
- Grant the minimum applicable Key Vault secrets-read role at an appropriate scope.
- Enable supported OpenTelemetry instrumentation for the HTTP client and configure exporter routing.
Explanation
Correct Answer
B:Use Key Vault secret versions to manage credential changes and deployment validation. It directly addresses the architecture in this case. A versioned or cached secret reference can remain stale unless updated or refreshed.
Incorrect Answers
A:Use App Configuration revision history or documented diagnostic telemetry for change tracking. Configuration governance benefits from retaining update history and actor context. Instead, use Key Vault secret versions to manage credential changes and deployment validation.
C:Grant the minimum applicable Key Vault secrets-read role at an appropriate scope. Azure RBAC separates resource management from Key Vault secret value access. Instead, use Key Vault secret versions to manage credential changes and deployment validation.
D:Enable supported OpenTelemetry instrumentation for the HTTP client and configure exporter routing. Traces require instrumentation of outgoing operations, not only server entry points. Instead, use Key Vault secret versions to manage credential changes and deployment validation.
Question 614
An API team rotates a downstream service key every month and wants controlled production access. The team has selected this architecture: Use Key Vault secret versions to manage credential changes and deployment validation. Which action correctly implements it?
- Create labeled settings for the staging and production environments and load only the active label.
- Configure Key Vault diagnostic settings for relevant audit events and preserve access logs.
- Add the replacement secret as a new Key Vault version and update rotation consumers safely.
- Instrument model execution and SQL calls with named OpenTelemetry spans and measured durations.
Explanation
Correct Answer
C:Add the replacement secret as a new Key Vault version and update rotation consumers safely. This is the actionable setup step for the selected design. A versioned or cached secret reference can remain stale unless updated or refreshed.
Incorrect Answers
A:Create labeled settings for the staging and production environments and load only the active label. Instead, add the replacement secret as a new Key Vault version and update rotation consumers safely.
B:Configure Key Vault diagnostic settings for relevant audit events and preserve access logs. Instead, add the replacement secret as a new Key Vault version and update rotation consumers safely.
D:Instrument model execution and SQL calls with named OpenTelemetry spans and measured durations. Instead, add the replacement secret as a new Key Vault version and update rotation consumers safely.
Question 615
An API team rotates a downstream service key every month and wants controlled production access. After configuring the solution, which measurable result would demonstrate success?
- A controlled configuration update affects the model behavior after the documented refresh interval.
- Disabling the flag causes new requests to choose the approved fallback behavior after refresh.
- The trace contains a middleware child span with its measured latency.
- The application retrieves the intended new version and tests succeed after rotation.
Explanation
Correct Answer
D:The application retrieves the intended new version and tests succeed after rotation. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. A versioned or cached secret reference can remain stale unless updated or refreshed.
Incorrect Answers
A:A controlled configuration update affects the model behavior after the documented refresh interval. Here, the application retrieves the intended new version and tests succeed after rotation.
B:Disabling the flag causes new requests to choose the approved fallback behavior after refresh. Here, the application retrieves the intended new version and tests succeed after rotation.
C:The trace contains a middleware child span with its measured latency. Here, the application retrieves the intended new version and tests succeed after rotation.
Question 616
An API team rotates a downstream service key every month and wants controlled production access. During a trial, the team sees this problem: The app continues using an old key long after the Key Vault secret is updated. Which cause is most consistent?
- The application pins an old secret version or never refreshes its cached secret value.
- The configuration loader selected the staging label or default value incorrectly.
- Key Vault data-plane diagnostic logging was not enabled or routed to the audit sink.
- The query omitted deployment-version dimensions or the proper time split.
Explanation
Correct Answer
A:The application pins an old secret version or never refreshes its cached secret value. The described symptom and this root cause fit together. A versioned or cached secret reference can remain stale unless updated or refreshed.
Incorrect Answers
B:The configuration loader selected the staging label or default value incorrectly. Here, the application pins an old secret version or never refreshes its cached secret value.
C:Key Vault data-plane diagnostic logging was not enabled or routed to the audit sink. Here, the application pins an old secret version or never refreshes its cached secret value.
D:The query omitted deployment-version dimensions or the proper time split. Here, the application pins an old secret version or never refreshes its cached secret value.
Question 617
A function needs to retrieve a secret by its logical name without handling a service-principal password. What primary technical approach is best justified by these constraints?
- Store ordinary tuning parameters in App Configuration while reserving Key Vault for secrets.
- Use App Configuration revision history or documented diagnostic telemetry for change tracking.
- Use DefaultAzureCredential with a managed identity in the deployed Azure workload.
- Attach relevant span status and exception metadata to the failed dependency operation.
Explanation
Correct Answer
C:Use DefaultAzureCredential with a managed identity in the deployed Azure workload. It directly addresses the architecture in this case. DefaultAzureCredential can select environment-appropriate credentials but the deployed identity must exist and be authorized.
Incorrect Answers
A:Store ordinary tuning parameters in App Configuration while reserving Key Vault for secrets. Separating nonsecret configuration from confidential credentials simplifies safe operations. Instead, use DefaultAzureCredential with a managed identity in the deployed Azure workload.
B:Use App Configuration revision history or documented diagnostic telemetry for change tracking. Configuration governance benefits from retaining update history and actor context. Instead, use DefaultAzureCredential with a managed identity in the deployed Azure workload.
D:Attach relevant span status and exception metadata to the failed dependency operation. OpenTelemetry span status and recorded exceptions help isolate failed operations. Instead, use DefaultAzureCredential with a managed identity in the deployed Azure workload.
Question 618
A function needs to retrieve a secret by its logical name without handling a service-principal password. After deciding to use DefaultAzureCredential with a managed identity in the deployed Azure workload, what configuration is most relevant?
- Construct SecretClient with DefaultAzureCredential rather than manually handling bearer tokens.
- Configure the private endpoint and private DNS linkage and authorize the container app identity.
- Send a synthetic trace-tagged request and inspect Azure Monitor for its corresponding service and dependency spans.
- Create a SecretClient for the Key Vault URI using DefaultAzureCredential and enable the workload's identity.
Explanation
Correct Answer
D:Create a SecretClient for the Key Vault URI using DefaultAzureCredential and enable the workload's identity. This is the actionable setup step for the selected design. DefaultAzureCredential can select environment-appropriate credentials but the deployed identity must exist and be authorized.
Incorrect Answers
A:Construct SecretClient with DefaultAzureCredential rather than manually handling bearer tokens. Instead, create a SecretClient for the Key Vault URI using DefaultAzureCredential and enable the workload's identity.
B:Configure the private endpoint and private DNS linkage and authorize the container app identity. Instead, create a SecretClient for the Key Vault URI using DefaultAzureCredential and enable the workload's identity.
C:Send a synthetic trace-tagged request and inspect Azure Monitor for its corresponding service and dependency spans. Instead, create a SecretClient for the Key Vault URI using DefaultAzureCredential and enable the workload's identity.
Question 619
A function needs to retrieve a secret by its logical name without handling a service-principal password. Which validation result is the strongest evidence that the intended behavior works?
- The deployed function authenticates as its managed identity and retrieves the named secret.
- Production requests read a secret from the production vault rather than a similarly named staging vault.
- The application retrieves the intended new version and tests succeed after rotation.
- The synthetic request produces a complete parent-child trace and correlated logs.
Explanation
Correct Answer
A:The deployed function authenticates as its managed identity and retrieves the named secret. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. DefaultAzureCredential can select environment-appropriate credentials but the deployed identity must exist and be authorized.
Incorrect Answers
B:Production requests read a secret from the production vault rather than a similarly named staging vault. Here, the deployed function authenticates as its managed identity and retrieves the named secret.
C:The application retrieves the intended new version and tests succeed after rotation. Here, the deployed function authenticates as its managed identity and retrieves the named secret.
D:The synthetic request produces a complete parent-child trace and correlated logs. Here, the deployed function authenticates as its managed identity and retrieves the named secret.
Question 620
A function needs to retrieve a secret by its logical name without handling a service-principal password. Production telemetry shows: Authentication works on a developer laptop but fails after deployment to Azure. Which underlying issue should be investigated first?
- The relevant instances are not refreshing or are selecting another label.
- The deployed function has no usable managed identity or lacks the corresponding vault authorization.
- The application pins an old secret version or never refreshes its cached secret value.
- The incident dashboard ignores dependency latency and retry metrics.
Explanation
Correct Answer
B:The deployed function has no usable managed identity or lacks the corresponding vault authorization. The described symptom and this root cause fit together. DefaultAzureCredential can select environment-appropriate credentials but the deployed identity must exist and be authorized.
Incorrect Answers
A:The relevant instances are not refreshing or are selecting another label. Here, the deployed function has no usable managed identity or lacks the corresponding vault authorization.
C:The application pins an old secret version or never refreshes its cached secret value. Here, the deployed function has no usable managed identity or lacks the corresponding vault authorization.
D:The incident dashboard ignores dependency latency and retry metrics. Here, the deployed function has no usable managed identity or lacks the corresponding vault authorization.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests