100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 660
A model deployment wants to avoid accidentally using an obsolete Key Vault secret version after a rapid rotation. After rollout the observed failure is: The app continues authenticating using a revoked old secret while Key Vault contains a new version. What best explains it?
- The secret URI points to a nonexistent name and no credential can be loaded.
- The deployed function has no usable managed identity or lacks the corresponding vault authorization.
- The telemetry lacks a reliable model-version attribute.
- The running client pinned or cached an obsolete version without refresh.
Explanation
Correct Answer
D:The running client pinned or cached an obsolete version without refresh. The described symptom and this root cause fit together. Secret version references and caches determine when rotated credentials take effect.
Incorrect Answers
A:The secret URI points to a nonexistent name and no credential can be loaded. A nonexistent secret name would produce a retrieval failure, not explain continued successful use of a cached but revoked old credential.
B:The deployed function has no usable managed identity or lacks the corresponding vault authorization. Here, the running client pinned or cached an obsolete version without refresh.
C:The telemetry lacks a reliable model-version attribute. Here, the running client pinned or cached an obsolete version without refresh.
Question 661
A Python API uses a short-lived credential to access Key Vault and should avoid building a custom token cache. Which architecture most directly addresses the required outcome?
- Use separate appropriately scoped Key Vaults or least-privilege access assignments per tenant.
- Use the supported Azure Identity credential provider with the Key Vault SDK.
- Grant the minimum applicable Key Vault secrets-read role at an appropriate scope.
- Correlate change-feed processing metrics with request-charge data for Cosmos operations.
Explanation
Correct Answer
B:Use the supported Azure Identity credential provider with the Key Vault SDK. It directly addresses the architecture in this case. Azure Identity libraries manage token acquisition and refresh for supported Azure SDK clients.
Incorrect Answers
A:Use separate appropriately scoped Key Vaults or least-privilege access assignments per tenant. Secret access should follow tenant isolation and least privilege. Instead, use the supported Azure Identity credential provider with the Key Vault SDK.
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 the supported Azure Identity credential provider with the Key Vault SDK.
D:Correlate change-feed processing metrics with request-charge data for Cosmos operations. Cosmos DB RU investigations require request-charge telemetry, not CPU metrics alone. Instead, use the supported Azure Identity credential provider with the Key Vault SDK.
Question 662
A Python API uses a short-lived credential to access Key Vault and should avoid building a custom token cache. The team has selected this architecture: Use the supported Azure Identity credential provider with the Key Vault SDK. Which action correctly implements it?
- Configure the private endpoint and private DNS linkage and authorize the container app identity.
- Add the replacement secret as a new Key Vault version and update rotation consumers safely.
- Construct SecretClient with DefaultAzureCredential rather than manually handling bearer tokens.
- Set the intended Application Insights connection string for the deployed environment in the telemetry exporter.
Explanation
Correct Answer
C:Construct SecretClient with DefaultAzureCredential rather than manually handling bearer tokens. This is the actionable setup step for the selected design. Azure Identity libraries manage token acquisition and refresh for supported Azure SDK clients.
Incorrect Answers
A:Configure the private endpoint and private DNS linkage and authorize the container app identity. Here, construct SecretClient with DefaultAzureCredential rather than manually handling bearer tokens.
B:Add the replacement secret as a new Key Vault version and update rotation consumers safely. Here, construct SecretClient with DefaultAzureCredential rather than manually handling bearer tokens.
D:Set the intended Application Insights connection string for the deployed environment in the telemetry exporter. Here, construct SecretClient with DefaultAzureCredential rather than manually handling bearer tokens.
Question 663
A Python API uses a short-lived credential to access Key Vault and should avoid building a custom token cache. After configuring the solution, which measurable result would demonstrate success?
- Instances converge on the updated threshold after their configured refresh interval.
- The production worker reads only production endpoint values after startup.
- The trace shows the failed span with its causal parent and a safe error category.
- Secret requests work after supported credential refresh without storing access tokens in app code.
Explanation
Correct Answer
D:Secret requests work after supported credential refresh without storing access tokens in app code. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Azure Identity libraries manage token acquisition and refresh for supported Azure SDK clients.
Incorrect Answers
A:Instances converge on the updated threshold after their configured refresh interval. Here, secret requests work after supported credential refresh without storing access tokens in app code.
B:The production worker reads only production endpoint values after startup. Here, secret requests work after supported credential refresh without storing access tokens in app code.
C:The trace shows the failed span with its causal parent and a safe error category. Here, secret requests work after supported credential refresh without storing access tokens in app code.
Question 664
A Python API uses a short-lived credential to access Key Vault and should avoid building a custom token cache. During a trial, the team sees this problem: The custom code starts failing when an earlier OAuth token expires. Which cause is most consistent?
- The application stores one static bearer token instead of using the identity SDK's token lifecycle.
- The workload identity was granted broader vault secret permissions than intended.
- The team failed to retain configuration change history or audit evidence.
- The incident dashboard ignores dependency latency and retry metrics.
Explanation
Correct Answer
A:The application stores one static bearer token instead of using the identity SDK's token lifecycle. The described symptom and this root cause fit together. Azure Identity libraries manage token acquisition and refresh for supported Azure SDK clients.
Incorrect Answers
B:The workload identity was granted broader vault secret permissions than intended. Here, the application stores one static bearer token instead of using the identity SDK's token lifecycle.
C:The team failed to retain configuration change history or audit evidence. Here, the application stores one static bearer token instead of using the identity SDK's token lifecycle.
D:The incident dashboard ignores dependency latency and retry metrics. Here, the application stores one static bearer token instead of using the identity SDK's token lifecycle.
Question 665
A production app must keep a model temperature setting out of image builds and allow operations to change it safely. What primary technical approach is best justified by these constraints?
- Use Azure Key Vault secret storage with an authorized workload identity.
- Grant the minimum applicable Key Vault secrets-read role at an appropriate scope.
- Store the nonsecret model setting in Azure App Configuration under a stable key.
- Use KQL filtering and counting against the relevant request telemetry table.
Explanation
Correct Answer
C:Store the nonsecret model setting in Azure App Configuration under a stable key. It directly addresses the architecture in this case. App Configuration can separate mutable runtime settings from immutable application binaries.
Incorrect Answers
A:Use Azure Key Vault secret storage with an authorized workload identity. Key Vault secret retrieval requires both a valid secret URI and authorized runtime identity. Instead, store the nonsecret model setting in Azure App Configuration under a stable key.
B: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, store the nonsecret model setting in Azure App Configuration under a stable key.
D:Use KQL filtering and counting against the relevant request telemetry table. KQL filters must select the target interval and failure state before aggregation. Instead, store the nonsecret model setting in Azure App Configuration under a stable key.
Question 666
A production app must keep a model temperature setting out of image builds and allow operations to change it safely. After deciding to store the nonsecret model setting in Azure App Configuration under a stable key, what configuration is most relevant?
- Add the replacement secret as a new Key Vault version and update rotation consumers safely.
- Redact secret values from app logs and use safe telemetry fields for success/failure.
- Attach the model version to spans/logs and summarize failed operations by version in KQL.
- Set the model threshold key in App Configuration and reference it through the deployed client SDK.
Explanation
Correct Answer
D:Set the model threshold key in App Configuration and reference it through the deployed client SDK. This is the actionable setup step for the selected design. App Configuration can separate mutable runtime settings from immutable application binaries.
Incorrect Answers
A:Add the replacement secret as a new Key Vault version and update rotation consumers safely. Instead, set the model threshold key in App Configuration and reference it through the deployed client SDK.
B:Redact secret values from app logs and use safe telemetry fields for success/failure. Instead, set the model threshold key in App Configuration and reference it through the deployed client SDK.
C:Attach the model version to spans/logs and summarize failed operations by version in KQL. Instead, set the model threshold key in App Configuration and reference it through the deployed client SDK.
Question 667
A production app must keep a model temperature setting out of image builds and allow operations to change it safely. Which validation result is the strongest evidence that the intended behavior works?
- A controlled configuration update affects the model behavior after the documented refresh interval.
- Secret requests work after supported credential refresh without storing access tokens in app code.
- The new source history contains no active credential and the app authenticates using replacements.
- The chart shows failure percentage by five-minute period including intervals with no errors.
Explanation
Correct Answer
A:A controlled configuration update affects the model behavior after the documented refresh interval. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. App Configuration can separate mutable runtime settings from immutable application binaries.
Incorrect Answers
B:Secret requests work after supported credential refresh without storing access tokens in app code. Here, a controlled configuration update affects the model behavior after the documented refresh interval.
C:The new source history contains no active credential and the app authenticates using replacements. Here, a controlled configuration update affects the model behavior after the documented refresh interval.
D:The chart shows failure percentage by five-minute period including intervals with no errors. Here, a controlled configuration update affects the model behavior after the documented refresh interval.
Question 668
A production app must keep a model temperature setting out of image builds and allow operations to change it safely. Production telemetry shows: A settings change requires a new Docker image because the value was compiled into the container. Which underlying issue should be investigated first?
- The SecretClient was pointed at the staging vault URI.
- The application did not externalize the nonsecret setting from the image.
- The deployed function has no usable managed identity or lacks the corresponding vault authorization.
- The query reads request telemetry instead of dependency records or fails to group by target.
Explanation
Correct Answer
B:The application did not externalize the nonsecret setting from the image. The described symptom and this root cause fit together. App Configuration can separate mutable runtime settings from immutable application binaries.
Incorrect Answers
A:The SecretClient was pointed at the staging vault URI. Here, the application did not externalize the nonsecret setting from the image.
C:The deployed function has no usable managed identity or lacks the corresponding vault authorization. Here, the application did not externalize the nonsecret setting from the image.
D:The query reads request telemetry instead of dependency records or fails to group by target. Here, the application did not externalize the nonsecret setting from the image.
Question 669
A team uses Key Vault to store per-environment secrets but the same secret name exists in two vaults. Which design decision should the team make first?
- Use labeled App Configuration settings with the client refresh feature.
- Evaluate feature flags server-side using approved targeting context and a stable cohort identity.
- Use time-window filters and a version dimension for a controlled pre/post comparison.
- Select the correct vault URI based on the deployment environment and verify the identity scope.
Explanation
Correct Answer
D:Select the correct vault URI based on the deployment environment and verify the identity scope. It directly addresses the architecture in this case. The vault endpoint and secret name jointly identify the secret resource to retrieve.
Incorrect Answers
A:Use labeled App Configuration settings with the client refresh feature. App Configuration updates affect running instances only when their loaders and refresh paths use the right keys and labels. Instead, select the correct vault URI based on the deployment environment and verify the identity scope.
B:Evaluate feature flags server-side using approved targeting context and a stable cohort identity. Feature targeting requires consistent context to provide predictable cohort behavior. Instead, select the correct vault URI based on the deployment environment and verify the identity scope.
C:Use time-window filters and a version dimension for a controlled pre/post comparison. Comparing releases requires clear time boundaries and version attribution. Instead, select the correct vault URI based on the deployment environment and verify the identity scope.
Question 670
A team uses Key Vault to store per-environment secrets but the same secret name exists in two vaults. Which concrete setup step puts this selected approach into operation: Select the correct vault URI based on the deployment environment and verify the identity scope.
- Configure production SecretClient with the production vault URI and appropriate managed identity.
- Add the replacement secret as a new Key Vault version and update rotation consumers safely.
- Create and enable the feature flag in App Configuration and load it through the supported feature-management client.
- Exclude prompt and secret content from span attributes and redact exception details.
Explanation
Correct Answer
A:Configure production SecretClient with the production vault URI and appropriate managed identity. This is the actionable setup step for the selected design. The vault endpoint and secret name jointly identify the secret resource to retrieve.
Incorrect Answers
B:Add the replacement secret as a new Key Vault version and update rotation consumers safely. Instead, configure production SecretClient with the production vault URI and appropriate managed identity.
C:Create and enable the feature flag in App Configuration and load it through the supported feature-management client. Instead, configure production SecretClient with the production vault URI and appropriate managed identity.
D:Exclude prompt and secret content from span attributes and redact exception details. Instead, configure production SecretClient with the production vault URI and appropriate managed identity.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests