100% Latest & Updated Microsoft AI-901 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 220
An app uses a temporary developer deployment with no SLA as if it were a permanent production endpoint. What is wrong?
- Run the same representative ticket set on both deployments and compare validated metrics.
- Record exact model/deployment version with evaluation results and change time.
- Select a geography-compliant supported deployment type before routing protected prompts.
- Replace evaluation-only developer serving with a production-supported deployment.
Explanation
Correct Answer
D:Temporary developer tiers are intended for testing and lack production guarantees.
Incorrect Answers
A:Side-by-side workload evaluation supports evidence-based model selection. Temporary developer tiers are intended for testing and lack production guarantees.
B:Deployment version traceability connects regression to the corresponding model revision, but temporary developer tiers are intended for testing and lack production guarantees.
C:Global processing can violate regional requirements despite the resource's location. Temporary developer tiers are intended for testing and lack production guarantees.
Question 221
A developer wants to authenticate an SDK client without storing a raw API key in code. What identity strategy fits?
- Use role-typed messages to separate system instructions and user content.
- Supply the project's documented endpoint and appropriate credential.
- Use an Entra-based credential flow with least-privilege permissions.
- Include appropriate conversation history or use an explicitly managed conversation state.
Explanation
Correct Answer
C:Identity-based authentication avoids hardcoded secrets and supports explicit authorization.
Incorrect Answers
A:Typed chat roles preserve instruction boundaries during inference, but identity-based authentication avoids hardcoded secrets and supports explicit authorization.
B:The SDK requires a service/project location and authentication, not merely an advertised model label. Identity-based authentication avoids hardcoded secrets and supports explicit authorization.
D:The model has no guaranteed memory of prior stateless requests without supplied state, whereas identity-based authentication avoids hardcoded secrets and supports explicit authorization.
Question 222
A Python client needs to connect to a Foundry project but only has a model's display name. What configuration is missing?
- Retrieve relevant document slices and fit them within the context budget.
- Supply the project's documented endpoint and appropriate credential.
- Use an Entra-based credential flow with least-privilege permissions.
- Include appropriate conversation history or use an explicitly managed conversation state.
Explanation
Correct Answer
B:The SDK requires a service/project location and authentication, not merely an advertised model label.
Incorrect Answers
A:Context-limited retrieval supplies useful evidence without exceeding model limits. The SDK requires a service/project location and authentication, not merely an advertised model label.
C:Identity-based authentication avoids hardcoded secrets and supports explicit authorization, whereas the SDK requires a service/project location and authentication, not merely an advertised model label.
D:The model has no guaranteed memory of prior stateless requests without supplied state. The SDK requires a service/project location and authentication, not merely an advertised model label.
Question 223
An application calls a chat model repeatedly but forgets the prior conversation. What should the client maintain?
- Include appropriate conversation history or use an explicitly managed conversation state.
- Retrieve relevant document slices and fit them within the context budget.
- Send the user message, read the model reply and maintain required chat state.
- Use role-typed messages to separate system instructions and user content.
Explanation
Correct Answer
A:The model has no guaranteed memory of prior stateless requests without supplied state.
Incorrect Answers
B:Context-limited retrieval supplies useful evidence without exceeding model limits, whereas the model has no guaranteed memory of prior stateless requests without supplied state.
C:A basic chat client only needs authenticated inference calls and correctly managed messages. The model has no guaranteed memory of prior stateless requests without supplied state.
D:Typed chat roles preserve instruction boundaries during inference, but the model has no guaranteed memory of prior stateless requests without supplied state.
Question 224
A developer wants to distinguish role instructions from a user's current question in a chat request. What message organization fits?
- Send the user message, read the model reply and maintain required chat state.
- Use an Entra-based credential flow with least-privilege permissions.
- Use role-typed messages to separate system instructions and user content.
- Include appropriate conversation history or use an explicitly managed conversation state.
Explanation
Correct Answer
C:Typed chat roles preserve instruction boundaries during inference.
Incorrect Answers
A:A basic chat client only needs authenticated inference calls and correctly managed messages, whereas typed chat roles preserve instruction boundaries during inference.
B:Identity-based authentication avoids hardcoded secrets and supports explicit authorization. Typed chat roles preserve instruction boundaries during inference.
D:The model has no guaranteed memory of prior stateless requests without supplied state. Typed chat roles preserve instruction boundaries during inference.
Question 225
A client sends private customer identifiers in diagnostic logs to investigate API errors. What correction is needed?
- Supply the project's documented endpoint and appropriate credential.
- Retry only safe transient failures with bounded exponential backoff.
- Sanitize logged prompts and outputs while retaining safe correlation identifiers.
- Use an Entra-based credential flow with least-privilege permissions.
Explanation
Correct Answer
C:Diagnostics should not copy sensitive customer data unnecessarily.
Incorrect Answers
A:The SDK requires a service/project location and authentication, not merely an advertised model label. Diagnostics should not copy sensitive customer data unnecessarily.
B:Controlled backoff reduces load and avoids turning transient failures into a retry storm, but diagnostics should not copy sensitive customer data unnecessarily.
D:Identity-based authentication avoids hardcoded secrets and supports explicit authorization; diagnostics should not copy sensitive customer data unnecessarily.
Question 226
An SDK call returns a transient service error while creating a chat response. What retry behavior is appropriate?
- Retry only safe transient failures with bounded exponential backoff.
- Sanitize logged prompts and outputs while retaining safe correlation identifiers.
- Use an Entra-based credential flow with least-privilege permissions.
- Retrieve relevant document slices and fit them within the context budget.
Explanation
Correct Answer
A:Controlled backoff reduces load and avoids turning transient failures into a retry storm.
Incorrect Answers
B:Diagnostics should not copy sensitive customer data unnecessarily. Controlled backoff reduces load and avoids turning transient failures into a retry storm.
C:Identity-based authentication avoids hardcoded secrets and supports explicit authorization; controlled backoff reduces load and avoids turning transient failures into a retry storm.
D:Context-limited retrieval supplies useful evidence without exceeding model limits, whereas controlled backoff reduces load and avoids turning transient failures into a retry storm.
Question 227
A client expects a model to always return exactly one field named result, but free-form text sometimes breaks parsing. What should it add?
- The actual image must be passed through the API's supported multimodal input representation.
- Use an Entra-based credential flow with least-privilege permissions.
- Supply the project's documented endpoint and appropriate credential.
- Validate a supported structured response format before accepting the result.
Explanation
Correct Answer
D:Schema validation makes model output suitable for deterministic downstream code.
Incorrect Answers
A:A filename is only text and cannot supply pixels to a remote model; the client must transmit authorized image data in a supported format. Schema validation makes model output suitable for deterministic downstream code.
B:Identity-based authentication avoids hardcoded secrets and supports explicit authorization; schema validation makes model output suitable for deterministic downstream code.
C:The SDK requires a service/project location and authentication, not merely an advertised model label, whereas schema validation makes model output suitable for deterministic downstream code.
Question 228
An engineer calls a model that needs to see an image and sends only a string with the image's filename. Why does it fail?
- Use an Entra-based credential flow with least-privilege permissions.
- Retrieve relevant document slices and fit them within the context budget.
- The actual image must be passed through the API's supported multimodal input representation.
- Validate a supported structured response format before accepting the result.
Explanation
Correct Answer
C:A filename is only text and cannot supply pixels to a remote model; the client must transmit authorized image data in a supported format.
Incorrect Answers
A:Identity-based authentication avoids hardcoded secrets and supports explicit authorization; a filename is only text and cannot supply pixels to a remote model; the client must transmit authorized image data in a supported format.
B:Context-limited retrieval supplies useful evidence without exceeding model limits, whereas a filename is only text and cannot supply pixels to a remote model; the client must transmit authorized image data in a supported format.
D:Schema validation makes model output suitable for deterministic downstream code, but a filename is only text and cannot supply pixels to a remote model; the client must transmit authorized image data in a supported format.
Question 229
A chat client loads its entire document database into every message and exceeds the token budget. What should it implement?
- Retrieve relevant document slices and fit them within the context budget.
- Include appropriate conversation history or use an explicitly managed conversation state.
- Use an Entra-based credential flow with least-privilege permissions.
- Validate a supported structured response format before accepting the result.
Explanation
Correct Answer
A:Context-limited retrieval supplies useful evidence without exceeding model limits.
Incorrect Answers
B:The model has no guaranteed memory of prior stateless requests without supplied state. Context-limited retrieval supplies useful evidence without exceeding model limits.
C:Identity-based authentication avoids hardcoded secrets and supports explicit authorization, but context-limited retrieval supplies useful evidence without exceeding model limits.
D:Schema validation makes model output suitable for deterministic downstream code. Context-limited retrieval supplies useful evidence without exceeding model limits.
Question 230
A Python app needs a lightweight terminal conversation with a deployed model and no tool use. What is the minimum functional loop?
- Use role-typed messages to separate system instructions and user content.
- Include appropriate conversation history or use an explicitly managed conversation state.
- Supply the project's documented endpoint and appropriate credential.
- Send the user message, read the model reply and maintain required chat state.
Explanation
Correct Answer
D:A basic chat client only needs authenticated inference calls and correctly managed messages.
Incorrect Answers
A:Typed chat roles preserve instruction boundaries during inference. A basic chat client only needs authenticated inference calls and correctly managed messages.
B:The model has no guaranteed memory of prior stateless requests without supplied state, but a basic chat client only needs authenticated inference calls and correctly managed messages.
C:The SDK requires a service/project location and authentication, not merely an advertised model label. A basic chat client only needs authenticated inference calls and correctly managed messages.
Microsoft Azure AI Fundamentals (AI-901) Practice Tests