Question 30
A deployment is healthy but returns throttling after a sudden tenfold launch-day spike. Which implementation should the team choose?
- Reassess provisioned capacity and compare it with consumption alternatives
- Implement bounded queues, jittered retries, and scaling/quota review
- Account for tokens per request as well as request rate
- Tag resources and emit application-level usage telemetry
- Replace characters with tokenizer-informed input/output token estimates
Explanation
Correct Answer
B:Backpressure stops clients from multiplying overload; capacity planning addresses sustained demand whereas immediate infinite retries worsen it.
Incorrect Answers
A:Cost efficiency depends on measured sustained utilization; reserved inference capacity need not be optimal for low or intermittent load; the requested solution requires implementing bounded queues, jittered retries, and scaling/quota review rather than this different mechanism.
C:Token consumption can exhaust a deployment's token-per-minute allowance even when requests-per-minute appears modest; it cannot substitute for implementing bounded queues, jittered retries, and scaling/quota review under these conditions.
D:Resource charges alone may not identify individual callers; request metadata and token measurements support workload-level allocation; on its own this leaves implementing bounded queues, jittered retries, and scaling/quota review unaddressed.
E:Different text shapes tokenize differently, and both prompt and generated output count toward capacity and cost; meeting the stated constraint still involves implementing bounded queues, jittered retries, and scaling/quota review.
Question 31
A forecast uses character counts as the only measure of language-model capacity. What should the engineer implement?
- Reassess provisioned capacity and compare it with consumption alternatives
- Account for tokens per request as well as request rate
- Check deployment quotas and application request/token throughput
- Replace characters with tokenizer-informed input/output token estimates
Explanation
Correct Answer
D:Different text shapes tokenize differently, and both prompt and generated output count toward capacity and cost.
Incorrect Answers
A:Cost efficiency depends on measured sustained utilization; reserved inference capacity need not be optimal for low or intermittent load; the scenario instead depends on replacing characters with tokenizer-informed input/output token estimates.
B:Token consumption can exhaust a deployment's token-per-minute allowance even when requests-per-minute appears modest; the requested solution requires replacing characters with tokenizer-informed input/output token estimates rather than this different mechanism.
C:Rate limiting is often a capacity or quota issue; retry strategy and authorized quota changes are more relevant than rebuilding healthy resources; it addresses a neighboring concern, while the task tests replacing characters with tokenizer-informed input/output token estimates.
Question 32
A platform owner must attribute usage to several applications sharing a deployment. How should the developer address this requirement?
- Implement bounded queues, jittered retries, and scaling/quota review
- Check deployment quotas and application request/token throughput
- Replace characters with tokenizer-informed input/output token estimates
- Tag resources and emit application-level usage telemetry
- Verify model and capacity availability separately per region
Explanation
Correct Answer
D:Resource charges alone may not identify individual callers; request metadata and token measurements support workload-level allocation.
Incorrect Answers
A:Backpressure stops clients from multiplying overload; capacity planning addresses sustained demand whereas immediate infinite retries worsen it; the needed design choice concerns attributing usage to several applications sharing a deployment instead.
B:Rate limiting is often a capacity or quota issue; retry strategy and authorized quota changes are more relevant than rebuilding healthy resources; the scenario instead depends on attributing usage to several applications sharing a deployment.
C:Different text shapes tokenize differently, and both prompt and generated output count toward capacity and cost; the requested solution requires attributing usage to several applications sharing a deployment rather than this different mechanism.
E:Supported deployment options and quota are not automatically identical across regions, so each target region needs its own validation; it cannot substitute for attributing usage to several applications sharing a deployment under these conditions.
Question 33
A Python service needs credentials without embedding a secret string in its source repository. What should the engineer implement?
- Configure the correct Foundry project or model endpoint URI
- Use an SDK credential provider that refreshes tokens
- Use Microsoft Entra authentication with an appropriate credential chain
- Retry eligible inference operations cautiously and make downstream actions idempotent
- Select the SDK client and API version compatible with the chosen service endpoint
Explanation
Correct Answer
C:Token-based application credentials avoid checked-in API keys and can use workload identity in production; access still requires the necessary role.
Incorrect Answers
A:Routing depends on endpoint configuration independently of authentication; a valid token cannot compensate for an incorrect service target; that would not ensure providing credentials without embedding a secret string in its source repository for this workload.
B:A managed token credential handles expiration and refresh; static bearer-token literals eventually fail even if initial requests succeed; the needed design choice concerns providing credentials without embedding a secret string in its source repository instead.
D:Network retries can repeat a model response or tool plan; durable action identifiers prevent duplicate writes when a workflow resumes; the requested solution requires providing credentials without embedding a secret string in its source repository rather than this different mechanism.
E:Azure AI endpoints and client contracts are not universally interchangeable; align request shapes and versions with the deployed service; it addresses a neighboring concern, while the task tests providing credentials without embedding a secret string in its source repository.
Question 34
A developer has a valid token but requests fail because the client addresses an old environment. Which design choice is most appropriate?
- Use Microsoft Entra authentication with an appropriate credential chain
- Configure the correct Foundry project or model endpoint URI
- Attach correlation identifiers to application telemetry around model requests
- Externalize project endpoints, deployment names, and identity selection
- Select the SDK client and API version compatible with the chosen service endpoint
Explanation
Correct Answer
B:Routing depends on endpoint configuration independently of authentication; a valid token cannot compensate for an incorrect service target.
Incorrect Answers
A:Token-based application credentials avoid checked-in API keys and can use workload identity in production; access still requires the necessary role; the relevant decision is configuring the correct Foundry project or model endpoint URI, not the separate action described here.
C:Trace and request IDs make a failure attributable across client, gateway, and inference layers without logging raw private prompts; the needed design choice concerns configuring the correct Foundry project or model endpoint URI instead.
D:Environment-specific settings allow the same source artifact to target each project without hardcoding infrastructure assumptions; the scenario instead depends on configuring the correct Foundry project or model endpoint URI.
E:Azure AI endpoints and client contracts are not universally interchangeable; align request shapes and versions with the deployed service; the requested solution requires configuring the correct Foundry project or model endpoint URI rather than this different mechanism.
Question 35
A service calls a deployment name that has not been created in its target resource. Which approach best meets the requirement?
- Deploy the model and reference that actual deployment identifier
- Attach correlation identifiers to application telemetry around model requests
- Use an SDK credential provider that refreshes tokens
- Use Microsoft Entra authentication with an appropriate credential chain
Explanation
Correct Answer
A:Inference calls are directed to an existing deployment, not just the catalog model family name; the application and environment must agree.
Incorrect Answers
B:Trace and request IDs make a failure attributable across client, gateway, and inference layers without logging raw private prompts; the relevant decision is deploying the model and reference that actual deployment identifier, not the separate action described here.
C:A managed token credential handles expiration and refresh; static bearer-token literals eventually fail even if initial requests succeed; that would not ensure deploying the model and reference that actual deployment identifier for this workload.
D:Token-based application credentials avoid checked-in API keys and can use workload identity in production; access still requires the necessary role; the needed design choice concerns deploying the model and reference that actual deployment identifier instead.
Question 36
An app must automatically renew its identity tokens when a long-lived worker continues running. What should be included in the design?
- Deploy the model and reference that actual deployment identifier
- Use an SDK credential provider that refreshes tokens
- Configure the correct Foundry project or model endpoint URI
- Use Microsoft Entra authentication with an appropriate credential chain
Explanation
Correct Answer
B:A managed token credential handles expiration and refresh; static bearer-token literals eventually fail even if initial requests succeed.
Incorrect Answers
A:Inference calls are directed to an existing deployment, not just the catalog model family name; the application and environment must agree; meeting the stated constraint still involves automaticallying renew its identity tokens when a long-lived worker continues running.
C:Routing depends on endpoint configuration independently of authentication; a valid token cannot compensate for an incorrect service target; the relevant decision is automaticallying renew its identity tokens when a long-lived worker continues running, not the separate action described here.
D:Token-based application credentials avoid checked-in API keys and can use workload identity in production; access still requires the necessary role; that would not ensure automaticallying renew its identity tokens when a long-lived worker continues running for this workload.
Question 37
A distributed client must preserve request correlation when a model call fails downstream. What is the most suitable next implementation decision?
- Attach correlation identifiers to application telemetry around model requests
- Configure the correct Foundry project or model endpoint URI
- Use an SDK credential provider that refreshes tokens
- Externalize project endpoints, deployment names, and identity selection
Explanation
Correct Answer
A:Trace and request IDs make a failure attributable across client, gateway, and inference layers without logging raw private prompts.
Incorrect Answers
B:Routing depends on endpoint configuration independently of authentication; a valid token cannot compensate for an incorrect service target; meeting the stated constraint still involves preserving request correlation when a model call fails downstream.
C:A managed token credential handles expiration and refresh; static bearer-token literals eventually fail even if initial requests succeed; that mechanism does not itself establish preserving request correlation when a model call fails downstream.
D:Environment-specific settings allow the same source artifact to target each project without hardcoding infrastructure assumptions; the relevant decision is preserving request correlation when a model call fails downstream, not the separate action described here.
Question 38
A team is migrating a Python app between development and production projects. How should the developer address this requirement?
- Externalize project endpoints, deployment names, and identity selection
- Use an SDK credential provider that refreshes tokens
- Deploy the model and reference that actual deployment identifier
- Select the SDK client and API version compatible with the chosen service endpoint
Explanation
Correct Answer
A:Environment-specific settings allow the same source artifact to target each project without hardcoding infrastructure assumptions.
Incorrect Answers
B:A managed token credential handles expiration and refresh; static bearer-token literals eventually fail even if initial requests succeed; on its own this leaves externalizing project endpoints, deployment names, and identity selection unaddressed.
C:Inference calls are directed to an existing deployment, not just the catalog model family name; the application and environment must agree; meeting the stated constraint still involves externalizing project endpoints, deployment names, and identity selection.
D:Azure AI endpoints and client contracts are not universally interchangeable; align request shapes and versions with the deployed service; that mechanism does not itself establish externalizing project endpoints, deployment names, and identity selection.
Question 39
An app uses an SDK client created for a different endpoint/API contract and receives incompatible responses. Which implementation should the team choose?
- Configure the correct Foundry project or model endpoint URI
- Select the SDK client and API version compatible with the chosen service endpoint
- Retry eligible inference operations cautiously and make downstream actions idempotent
- Attach correlation identifiers to application telemetry around model requests
- Externalize project endpoints, deployment names, and identity selection
Explanation
Correct Answer
B:Azure AI endpoints and client contracts are not universally interchangeable; align request shapes and versions with the deployed service.
Incorrect Answers
A:Routing depends on endpoint configuration independently of authentication; a valid token cannot compensate for an incorrect service target; it addresses a neighboring concern, while the task tests selecting the SDK client and API version compatible with the chosen service endpoint.
C:Network retries can repeat a model response or tool plan; durable action identifiers prevent duplicate writes when a workflow resumes; on its own this leaves selecting the SDK client and API version compatible with the chosen service endpoint unaddressed.
D:Trace and request IDs make a failure attributable across client, gateway, and inference layers without logging raw private prompts; meeting the stated constraint still involves selecting the SDK client and API version compatible with the chosen service endpoint.
E:Environment-specific settings allow the same source artifact to target each project without hardcoding infrastructure assumptions; that mechanism does not itself establish selecting the SDK client and API version compatible with the chosen service endpoint.
Question 40
During rollout of an order-assistance application, requests target a model deployment that does not exist in the intended resource. Once routing is repaired, occasional network timeouts can cause a downstream order tool to execute twice. Which TWO changes address both rollout safety and the failure path? Choose TWO.
- Retry transient inference failures with replay protection on the order tool
- Use an SDK credential provider that refreshes tokens
- Deploy the intended model and send requests to its real deployment name
- Configure the correct Foundry project or model endpoint URI
- Select the SDK client and API version compatible with the chosen service endpoint
Explanation
Correct Answers
A:Network retries can repeat a model response or tool plan; durable action identifiers prevent duplicate writes when a workflow resumes; a recovered timeout must not create a second customer order.
C:Inference calls are directed to an existing deployment, not just the catalog model family name; the application and environment must agree; inference cannot succeed against a family name that has not been deployed.
Incorrect Answers
B:A managed token credential handles expiration and refresh; static bearer-token literals eventually fail even if initial requests succeed; it addresses a neighboring concern, while the task tests an existing deployment target and replay-safe order execution.
D:Routing depends on endpoint configuration independently of authentication; a valid token cannot compensate for an incorrect service target; on its own this leaves an existing deployment target and replay-safe order execution unaddressed.
E:Azure AI endpoints and client contracts are not universally interchangeable; align request shapes and versions with the deployed service; meeting the stated constraint still involves an existing deployment target and replay-safe order execution.