AI-102 Question 454
Select 3You are building an image generation application using the DALL-E model on Azure OpenAI Service. The application should allow users to input a text description and receive an AI-generated image based on the description. Which of the following steps are required to successfully implement this solution?
- A
Enable the Azure OpenAI Service in your Azure subscription and deploy the DALL-E model.
- B
Provide detailed text prompts to the DALL-E model API to generate images.
- C
Train the DALL-E model using a custom dataset to handle specific image styles.
- D
Configure an Azure Function to preprocess user input before sending it to the DALL-E model.
- E
Use the Azure Content Moderator to ensure the generated images comply with content guidelines.
Show answer and explanation
Correct answers: A, B, E
Explanation
To implement an image generation application using the DALL-E model in Azure OpenAI Service, you must first enable the service in your Azure subscription. Then, deploy the DALL-E model and provide appropriate text prompts to generate images. Additionally, using tools like Azure Content Moderator can help ensure that the generated content aligns with compliance and ethical guidelines. Training or fine-tuning the DALL-E model is not supported, and preprocessing user input is optional depending on your application requirements.
- A. Correct.
Correct: Enabling the Azure OpenAI Service and deploying the DALL-E model are prerequisites for using the model.
- B. Correct.
Correct: Providing detailed text prompts is essential as the DALL-E model generates images based on user-provided descriptions.
- C. Incorrect.
Incorrect: The DALL-E model is pre-trained and does not require additional training for standard use cases. However, fine-tuning is not supported for DALL-E in Azure OpenAI Service.
- D. Incorrect.
Incorrect: While preprocessing may be necessary in some scenarios, it is not a mandatory step for using the DALL-E model, which can handle raw text inputs.
- E. Correct.
Correct: Using Azure Content Moderator is recommended to ensure generated content adheres to compliance and ethical standards.