100% Latest & Updated Microsoft AI-200 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 580
A Function App needs distinct staging and production versions for testing before promotion. During a trial, the team sees this problem: After a swap, production unexpectedly connects to a staging database. Which cause is most consistent?
- Unbounded function concurrency exceeds the downstream service's permitted request rate.
- The production Function App setting still contains the test endpoint.
- The receiver abandons failures without using an appropriate dead-letter policy or delivery-count handling.
- An environment-specific setting was not marked sticky to its slot.
Explanation
Correct Answer
D:An environment-specific setting was not marked sticky to its slot. The described symptom and this root cause fit together. Deployment slots can isolate staged versions but slot settings need deliberate stickiness.
Incorrect Answers
A:Unbounded function concurrency exceeds the downstream service's permitted request rate. Here, an environment-specific setting was not marked sticky to its slot.
B:The production Function App setting still contains the test endpoint. Here, an environment-specific setting was not marked sticky to its slot.
C:The receiver abandons failures without using an appropriate dead-letter policy or delivery-count handling. Here, an environment-specific setting was not marked sticky to its slot.
Question 581
An HTTP Function API must receive a query parameter and return a filtered search result. What primary technical approach is best justified by these constraints?
- Use a managed identity and supported Azure SDK credential chain for downstream access.
- Use the HTTP trigger request binding to parse validated request parameters.
- Move long-running processing to a supported asynchronous or durable orchestration pattern.
- Use message application properties or supported tracing context to carry correlation metadata.
Explanation
Correct Answer
B:Use the HTTP trigger request binding to parse validated request parameters. It directly addresses the architecture in this case. HTTP-trigger functions must validate untrusted input before calling downstream services.
Incorrect Answers
A:Use a managed identity and supported Azure SDK credential chain for downstream access. Managed identity authentication still requires downstream authorization. Instead, use the HTTP trigger request binding to parse validated request parameters.
C:Move long-running processing to a supported asynchronous or durable orchestration pattern. Long-running asynchronous work should not depend on the client's short-lived HTTP connection. Instead, use the HTTP trigger request binding to parse validated request parameters.
D:Use message application properties or supported tracing context to carry correlation metadata. Asynchronous work needs explicit correlation-context propagation across queue boundaries. Instead, use the HTTP trigger request binding to parse validated request parameters.
Question 582
An HTTP Function API must receive a query parameter and return a filtered search result. After deciding to use the HTTP trigger request binding to parse validated request parameters, what configuration is most relevant?
- Configure the timer schedule in the function trigger and deploy the function app.
- Configure a Blob output binding with the intended container/path and authorized storage connection.
- Read the query parameter from the HTTP request, validate it, and pass it to the retrieval service.
- Configure a subscription rule on the message's application property for the finance event category.
Explanation
Correct Answer
C:Read the query parameter from the HTTP request, validate it, and pass it to the retrieval service. This is the actionable setup step for the selected design. HTTP-trigger functions must validate untrusted input before calling downstream services.
Incorrect Answers
A:Configure the timer schedule in the function trigger and deploy the function app. Instead, read the query parameter from the HTTP request, validate it, and pass it to the retrieval service.
B:Configure a Blob output binding with the intended container/path and authorized storage connection. Instead, read the query parameter from the HTTP request, validate it, and pass it to the retrieval service.
D:Configure a subscription rule on the message's application property for the finance event category. Instead, read the query parameter from the HTTP request, validate it, and pass it to the retrieval service.
Question 583
An HTTP Function API must receive a query parameter and return a filtered search result. Which validation result is the strongest evidence that the intended behavior works?
- The function resolves the private database hostname and opens the expected TLS connection.
- Clients receive a safe error code and operators can trace the failed dependency.
- A simulated transient send failure recovers without creating duplicate business processing.
- A request with a valid query returns only matching data while invalid input receives a clear validation error.
Explanation
Correct Answer
D:A request with a valid query returns only matching data while invalid input receives a clear validation error. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. HTTP-trigger functions must validate untrusted input before calling downstream services.
Incorrect Answers
A:The function resolves the private database hostname and opens the expected TLS connection. Here, a request with a valid query returns only matching data while invalid input receives a clear validation error.
B:Clients receive a safe error code and operators can trace the failed dependency. Here, a request with a valid query returns only matching data while invalid input receives a clear validation error.
C:A simulated transient send failure recovers without creating duplicate business processing. Here, a request with a valid query returns only matching data while invalid input receives a clear validation error.
Question 584
An HTTP Function API must receive a query parameter and return a filtered search result. Production telemetry shows: A missing query parameter causes an unhandled exception before a response is formed. Which underlying issue should be investigated first?
- The function lacks validation for required request parameters.
- The managed identity lacks the required resource permission or credential configuration.
- The Blob trigger path or storage connection is incorrect.
- The sender resends with unrelated message IDs and the consumer is not idempotent.
Explanation
Correct Answer
A:The function lacks validation for required request parameters. The described symptom and this root cause fit together. HTTP-trigger functions must validate untrusted input before calling downstream services.
Incorrect Answers
B:The managed identity lacks the required resource permission or credential configuration. Here, the function lacks validation for required request parameters.
C:The Blob trigger path or storage connection is incorrect. Here, the function lacks validation for required request parameters.
D:The sender resends with unrelated message IDs and the consumer is not idempotent. Here, the function lacks validation for required request parameters.
Question 585
A containerized Azure Functions app needs to select a compatible runtime configuration for its deployment. Which design decision should the team make first?
- Use supported Function App deployment slots when available in the selected hosting plan.
- Use a Service Bus trigger instead of polling the queue from an HTTP function.
- Choose a Functions-supported runtime image and configure the required Functions host environment.
- Use PeekLock processing with lock renewal for operations that may run longer than the initial lock.
Explanation
Correct Answer
C:Choose a Functions-supported runtime image and configure the required Functions host environment. It directly addresses the architecture in this case. Containerized Functions need a suitable Functions host and language worker.
Incorrect Answers
A:Use supported Function App deployment slots when available in the selected hosting plan. Deployment slots can isolate staged versions but slot settings need deliberate stickiness. Instead, choose a Functions-supported runtime image and configure the required Functions host environment.
B:Use a Service Bus trigger instead of polling the queue from an HTTP function. A Service Bus trigger must be bound to the correct entity and authorized connection. Instead, choose a Functions-supported runtime image and configure the required Functions host environment.
D:Use PeekLock processing with lock renewal for operations that may run longer than the initial lock. PeekLock messages become available again when their locks expire without settlement. Instead, choose a Functions-supported runtime image and configure the required Functions host environment.
Question 586
A containerized Azure Functions app needs to select a compatible runtime configuration for its deployment. Which concrete setup step puts this selected approach into operation: Choose a Functions-supported runtime image and configure the required Functions host environment.
- Publish the package and perform supported trigger synchronization after the code/config change.
- Create the secret reference and authorize the identity to retrieve it from the vault.
- Create the topic and independent subscriptions with appropriate filtering and send one event to the topic.
- Package the correct language worker and host runtime in the function container image.
Explanation
Correct Answer
D:Package the correct language worker and host runtime in the function container image. This is the actionable setup step for the selected design. Containerized Functions need a suitable Functions host and language worker.
Incorrect Answers
A:Publish the package and perform supported trigger synchronization after the code/config change. Here, package the correct language worker and host runtime in the function container image.
B:Create the secret reference and authorize the identity to retrieve it from the vault. Here, package the correct language worker and host runtime in the function container image.
C:Create the topic and independent subscriptions with appropriate filtering and send one event to the topic. Here, package the correct language worker and host runtime in the function container image.
Question 587
A containerized Azure Functions app needs to select a compatible runtime configuration for its deployment. What outcome should be checked before the engineering change is accepted?
- The deployed host indexes functions and executes the expected trigger.
- A successful execution publishes a message to the expected queue.
- Two deliveries of the same message do not create duplicate indexed records.
- A successfully committed result corresponds to a completed message that is not redelivered.
Explanation
Correct Answer
A:The deployed host indexes functions and executes the expected trigger. This is direct acceptance evidence for the specified behavior rather than merely proof of deployment. Containerized Functions need a suitable Functions host and language worker.
Incorrect Answers
B:A successful execution publishes a message to the expected queue. Here, the deployed host indexes functions and executes the expected trigger.
C:Two deliveries of the same message do not create duplicate indexed records. Here, the deployed host indexes functions and executes the expected trigger.
D:A successfully committed result corresponds to a completed message that is not redelivered. Here, the deployed host indexes functions and executes the expected trigger.
Question 588
A containerized Azure Functions app needs to select a compatible runtime configuration for its deployment. After rollout the observed failure is: A custom container starts but no Functions runtime is available to index its triggers. What best explains it?
- The managed identity lacks the required resource permission or credential configuration.
- The image lacks a compatible Azure Functions host runtime or worker configuration.
- The handler lacks safe exception mapping and sanitization.
- The message lock expired because the worker did not renew it while processing.
Explanation
Correct Answer
B:The image lacks a compatible Azure Functions host runtime or worker configuration. The described symptom and this root cause fit together. Containerized Functions need a suitable Functions host and language worker.
Incorrect Answers
A:The managed identity lacks the required resource permission or credential configuration. Here, the image lacks a compatible Azure Functions host runtime or worker configuration.
C:The handler lacks safe exception mapping and sanitization. Here, the image lacks a compatible Azure Functions host runtime or worker configuration.
D:The message lock expired because the worker did not renew it while processing. Here, the image lacks a compatible Azure Functions host runtime or worker configuration.
Question 589
An Azure Functions endpoint experiences occasional downstream HTTP 429 responses from an AI service. Which architecture most directly addresses the required outcome?
- Move long-running processing to a supported asynchronous or durable orchestration pattern.
- Synchronize triggers or restart the Function App according to the deployment method.
- Use an Azure Service Bus topic with separate subscriptions for each consumer.
- Use bounded exponential retry with jitter and honor service retry hints.
Explanation
Correct Answer
D:Use bounded exponential retry with jitter and honor service retry hints. It directly addresses the architecture in this case. Throttled dependencies need bounded retries aligned to the service's rate limits.
Incorrect Answers
A:Move long-running processing to a supported asynchronous or durable orchestration pattern. Long-running asynchronous work should not depend on the client's short-lived HTTP connection. Instead, use bounded exponential retry with jitter and honor service retry hints.
B:Synchronize triggers or restart the Function App according to the deployment method. Trigger metadata may need synchronization or host reload after deployment changes. Instead, use bounded exponential retry with jitter and honor service retry hints.
C:Use an Azure Service Bus topic with separate subscriptions for each consumer. Service Bus topics fan out published messages to subscriptions whose filters match. Instead, use bounded exponential retry with jitter and honor service retry hints.
Question 590
An Azure Functions endpoint experiences occasional downstream HTTP 429 responses from an AI service. The team has selected this architecture: Use bounded exponential retry with jitter and honor service retry hints. Which action correctly implements it?
- Configure retry-aware SDK calls with controlled backoff and a maximum attempt budget.
- Configure a Blob output binding with the intended container/path and authorized storage connection.
- Inspect deployment files, trigger decorators and Function App host startup logs for indexing errors.
- Run the operation, persist its result, then call CompleteMessage on the received lock token.
Explanation
Correct Answer
A:Configure retry-aware SDK calls with controlled backoff and a maximum attempt budget. This is the actionable setup step for the selected design. Throttled dependencies need bounded retries aligned to the service's rate limits.
Incorrect Answers
B:Configure a Blob output binding with the intended container/path and authorized storage connection. Instead, configure retry-aware SDK calls with controlled backoff and a maximum attempt budget.
C:Inspect deployment files, trigger decorators and Function App host startup logs for indexing errors. Instead, configure retry-aware SDK calls with controlled backoff and a maximum attempt budget.
D:Run the operation, persist its result, then call CompleteMessage on the received lock token. Instead, configure retry-aware SDK calls with controlled backoff and a maximum attempt budget.
Developing AI Cloud Solutions on Azure (AI-200) Practice Tests