Developing AI Cloud Solutions on Azure AI-200 Practice Test 53
Question 520
A shared App Configuration store holds keys for unrelated services and a backend must fetch only its own namespace. Which change should the developer make?
- Use App Configuration labels or scoped key filters to separate environment values
- Remove secret values from diagnostic output and mask sensitive fields before telemetry export
- Download every available setting and let arbitrary application code decide later
- Use key prefixes and selectors or labels in the application's configuration provider
Explanation
Correct Answer
D:Use key prefixes and selectors or labels in the application's configuration provider. Selective configuration loading reduces unrelated settings and accidental key collisions. Evidence: the backend exposes only its allowed prefixed settings under test.
Incorrect Answers
A:Use App Configuration labels or scoped key filters to separate environment values. The decisive condition here is different: use key prefixes and selectors or labels in the application's configuration provider.
B:Remove secret values from diagnostic output and mask sensitive fields before telemetry export. In this question, use key prefixes and selectors or labels in the application's configuration provider.
C:Broad configuration exposure increases leakage and confusion risk. This does not establish the required control: use key prefixes and selectors or labels in the application's configuration provider.
Question 521
An AI feature-management team needs to roll back a model threshold after a problematic release without rebuilding deployed code. A team instead suggests: "Change the model-serving image digest solely to alter a runtime flag." Which technical limitation makes the alternative unsuitable?
- Central configuration versioning enables parameter rollback independently of images
- Artifact rollback is an unnecessary and riskier way to restore one configuration key
- Premature deletion can cause authentication failures during rollover
- Repository credentials can be copied and misused
Explanation
Correct Answer
B:Artifact rollback is an unnecessary and riskier way to restore one configuration key. The proposal Change the model-serving image digest solely to alter a runtime flag cannot meet the requirement; Preserve configuration history or snapshots and restore the known-good values through a controlled change is the targeted remediation.
Incorrect Answers
A:Central configuration versioning enables parameter rollback independently of images. In this question, artifact rollback is an unnecessary and riskier way to restore one configuration key.
C:Premature deletion can cause authentication failures during rollover. The decisive condition here is different: artifact rollback is an unnecessary and riskier way to restore one configuration key.
D:Repository credentials can be copied and misused. In this question, artifact rollback is an unnecessary and riskier way to restore one configuration key.
Question 522
An AI feature-management team needs to roll back a model threshold after a problematic release without rebuilding deployed code. After the planned remediation, what would constitute useful acceptance evidence?
- The same deployed image uses the restored approved configuration version
- The backend exposes only its allowed prefixed settings under test
- The production identity reads only allowed configuration values without a connection string
- Each environment resolves its correctly labeled model endpoint
Explanation
Correct Answer
A:The same deployed image uses the restored approved configuration version. This directly verifies that the required change, Preserve configuration history or snapshots and restore the known-good values through a controlled change, produced the specified outcome.
Incorrect Answers
B:The backend exposes only its allowed prefixed settings under test. The decisive condition here is different: the same deployed image uses the restored approved configuration version.
C:The production identity reads only allowed configuration values without a connection string. In this question, the same deployed image uses the restored approved configuration version.
D:Each environment resolves its correctly labeled model endpoint. This does not establish the required control: the same deployed image uses the restored approved configuration version.
Question 523
An AI feature-management team needs to roll back a model threshold after a problematic release without rebuilding deployed code. Which change should the developer make?
- Preserve configuration history or snapshots and restore the known-good values through a controlled change
- Change the model-serving image digest solely to alter a runtime flag
- Use key prefixes and selectors or labels in the application's configuration provider
- Configure and verify client refresh interval or sentinel-key triggering
Explanation
Correct Answer
A:Preserve configuration history or snapshots and restore the known-good values through a controlled change. Central configuration versioning enables parameter rollback independently of images. Evidence: the same deployed image uses the restored approved configuration version.
Incorrect Answers
B:Artifact rollback is an unnecessary and riskier way to restore one configuration key. In this question, preserve configuration history or snapshots and restore the known-good values through a controlled change.
C:Use key prefixes and selectors or labels in the application's configuration provider. This does not establish the required control: preserve configuration history or snapshots and restore the known-good values through a controlled change.
D:Configure and verify client refresh interval or sentinel-key triggering. The decisive condition here is different: preserve configuration history or snapshots and restore the known-good values through a controlled change.
Question 524
An AI feature-management team needs to roll back a model threshold after a problematic release without rebuilding deployed code. A reviewer recommends: Preserve configuration history or snapshots and restore the known-good values through a controlled change. Which underlying behavior justifies the implementation?
- App Configuration centralizes nonsecret settings and feature management
- Labels allow multiple keyed configuration variants in one store
- A certificate object and its underlying secret/key material have distinct access considerations
- Central configuration versioning enables parameter rollback independently of images
Explanation
Correct Answer
D:Central configuration versioning enables parameter rollback independently of images. This is the behavior that makes Preserve configuration history or snapshots and restore the known-good values through a controlled change appropriate for the given scenario.
Incorrect Answers
A:App Configuration centralizes nonsecret settings and feature management. In this question, central configuration versioning enables parameter rollback independently of images.
B:Labels allow multiple keyed configuration variants in one store. This does not establish the required control: central configuration versioning enables parameter rollback independently of images.
C:A certificate object and its underlying secret/key material have distinct access considerations. The decisive condition here is different: central configuration versioning enables parameter rollback independently of images.
Question 525
A configuration client uses a long-lived connection string in a repository to read feature flags. After the planned remediation, which verification result is specific to this issue?
- A managed identity reads allowed flags with no connection string in the artifact
- The same deployed image uses the restored approved configuration version
- The backend exposes only its allowed prefixed settings under test
- The service uses the new version and partner calls remain successful throughout cutover
Explanation
Correct Answer
A:A managed identity reads allowed flags with no connection string in the artifact. This directly verifies that the required change, Use managed identity-based App Configuration authentication with least-privilege data roles, produced the specified outcome.
Incorrect Answers
B:The same deployed image uses the restored approved configuration version. The decisive condition here is different: a managed identity reads allowed flags with no connection string in the artifact.
C:The backend exposes only its allowed prefixed settings under test. In this question, a managed identity reads allowed flags with no connection string in the artifact.
D:The service uses the new version and partner calls remain successful throughout cutover. This does not establish the required control: a managed identity reads allowed flags with no connection string in the artifact.
Question 526
A configuration client uses a long-lived connection string in a repository to read feature flags. Which configuration is the best fit for these constraints?
- Use managed identity-based App Configuration authentication with least-privilege data roles
- Remove secret values from diagnostic output and mask sensitive fields before telemetry export
- Publish the connection string in sample configuration to simplify onboarding
- Keep secrets in Key Vault and reference them from App Configuration where appropriate
Explanation
Correct Answer
A:Use managed identity-based App Configuration authentication with least-privilege data roles. Identity-based access avoids secret-bearing static connection strings in code. Evidence: a managed identity reads allowed flags with no connection string in the artifact.
Incorrect Answers
B:Remove secret values from diagnostic output and mask sensitive fields before telemetry export. In this question, use managed identity-based App Configuration authentication with least-privilege data roles.
C:Repository credentials can be copied and misused. This does not establish the required control: use managed identity-based App Configuration authentication with least-privilege data roles.
D:Keep secrets in Key Vault and reference them from App Configuration where appropriate. The decisive condition here is different: use managed identity-based App Configuration authentication with least-privilege data roles.
Question 527
A configuration client uses a long-lived connection string in a repository to read feature flags. A reviewer recommends: Use managed identity-based App Configuration authentication with least-privilege data roles. What is the key mechanism behind this approach?
- Selective configuration loading reduces unrelated settings and accidental key collisions
- Central secret storage does not prevent accidental exposure in logs
- Labels allow multiple keyed configuration variants in one store
- Identity-based access avoids secret-bearing static connection strings in code
Explanation
Correct Answer
D:Identity-based access avoids secret-bearing static connection strings in code. This is the behavior that makes Use managed identity-based App Configuration authentication with least-privilege data roles appropriate for the given scenario.
Incorrect Answers
A:Selective configuration loading reduces unrelated settings and accidental key collisions. In this question, identity-based access avoids secret-bearing static connection strings in code.
B:Central secret storage does not prevent accidental exposure in logs. This does not establish the required control: identity-based access avoids secret-bearing static connection strings in code.
C:Labels allow multiple keyed configuration variants in one store. The decisive condition here is different: identity-based access avoids secret-bearing static connection strings in code.
Question 528
A configuration client uses a long-lived connection string in a repository to read feature flags. A team instead suggests: "Publish the connection string in sample configuration to simplify onboarding." Which risk would the review team identify in the shortcut?
- Premature deletion can cause authentication failures during rollover
- Repository credentials can be copied and misused
- Feature flag values are not a substitute for controlled secret storage
- Identity-based access avoids secret-bearing static connection strings in code
Explanation
Correct Answer
B:Repository credentials can be copied and misused. The proposal Publish the connection string in sample configuration to simplify onboarding cannot meet the requirement; Use managed identity-based App Configuration authentication with least-privilege data roles is the targeted remediation.
Incorrect Answers
A:Premature deletion can cause authentication failures during rollover. This does not establish the required control: repository credentials can be copied and misused.
C:Feature flag values are not a substitute for controlled secret storage. In this question, repository credentials can be copied and misused.
D:Identity-based access avoids secret-bearing static connection strings in code. This does not establish the required control: repository credentials can be copied and misused.
Question 529
An HTTP request calls a vector retrieval service and model gateway, but the tracing dashboard shows each service as unrelated transactions. A reviewer recommends: Propagate W3C trace context across HTTP and messaging boundaries using OpenTelemetry SDKs. What is the key mechanism behind this approach?
- Early KQL time filtering reduces log-query scan work
- Distributed trace context connects spans from multiple services into one end-to-end trace
- KQL bin buckets time values for consistent interval aggregation
- Retries can inflate latency independently of successful query execution time
Explanation
Correct Answer
B:Distributed trace context connects spans from multiple services into one end-to-end trace. This is the behavior that makes Propagate W3C trace context across HTTP and messaging boundaries using OpenTelemetry SDKs appropriate for the given scenario.
Incorrect Answers
A:This improves a Log Analytics query but cannot connect independently generated spans into one distributed trace.
C:KQL bin buckets time values for consistent interval aggregation. This does not establish the required control: distributed trace context connects spans from multiple services into one end-to-end trace.
D:Retries can inflate latency independently of successful query execution time. The decisive condition here is different: distributed trace context connects spans from multiple services into one end-to-end trace.
Question 530
An HTTP request calls a vector retrieval service and model gateway, but the tracing dashboard shows each service as unrelated transactions. After the planned remediation, which verification result is specific to this issue?
- The gateway, retrieval and inference spans share a trace ID with valid parent relationships
- The output includes a separate correctly calculated P95 latency per service
- A single trace links message publication and worker processing spans
- A failed gateway request appears alongside its matching downstream dependency span
Explanation
Correct Answer
A:The gateway, retrieval and inference spans share a trace ID with valid parent relationships. This directly verifies that the required change, Propagate W3C trace context across HTTP and messaging boundaries using OpenTelemetry SDKs, produced the specified outcome.
Incorrect Answers
B:The output includes a separate correctly calculated P95 latency per service. This does not establish the required control: the gateway, retrieval and inference spans share a trace ID with valid parent relationships.
C:A single trace links message publication and worker processing spans. The decisive condition here is different: the gateway, retrieval and inference spans share a trace ID with valid parent relationships.
D:A failed gateway request appears alongside its matching downstream dependency span. In this question, the gateway, retrieval and inference spans share a trace ID with valid parent relationships.