AI-102 exam dumps

AI-102 practice question 458 of 493

Designing and Implementing a Microsoft Azure AI Solution. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AI-102 Question 458

Select 3

You are developing a web application that allows users to generate custom images based on text prompts using the DALL-E model in Azure OpenAI Service. To ensure the solution meets both functional and cost efficiency requirements, which steps should you include when designing the integration with the DALL-E model?

  1. A

    Use the Azure OpenAI API to send text prompts directly to the DALL-E model endpoint.

  2. B

    Implement caching to store generated images and reduce repeated requests for the same text prompt.

  3. C

    Configure the DALL-E model to accept prompts in multiple languages without any preprocessing.

  4. D

    Restrict request inputs to validated text prompts to avoid inappropriate or unsupported content.

  5. E

    Deploy the DALL-E model on a dedicated virtual machine for better control over the model's performance.

Show answer and explanation

Correct answers: A, B, D

Explanation

To effectively integrate the DALL-E model with an application, it's crucial to use the Azure OpenAI API for communication, implement caching for efficiency, and validate inputs for responsible usage. These steps ensure the application meets functional requirements while maintaining cost efficiency and compliance with Azure's AI guidelines. Deploying the model on a dedicated virtual machine is not possible as the model is only accessible as a managed service, and multilingual support requires preprocessing.

  • A. Correct.

    Correct. Using the Azure OpenAI API is the standard way to interact with the DALL-E model, allowing text prompts to be sent and receiving generated images.

  • B. Correct.

    Correct. Caching previously generated images can help reduce costs and latency by avoiding redundant calls to the DALL-E model for the same prompts.

  • C. Incorrect.

    Incorrect. The DALL-E model does not natively support prompts in multiple languages. Preprocessing or translation is required for non-English inputs.

  • D. Correct.

    Correct. Validating text prompts ensures that inappropriate or unsupported content is filtered before sending requests to the DALL-E model, aligning with responsible AI practices.

  • E. Incorrect.

    Incorrect. The DALL-E model is provided as a service through the Azure OpenAI platform and cannot be deployed on a dedicated virtual machine.

Timed practice exam

Take a AI-102 practice test under exam conditions

40 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam