Practice Free AI-102 Exam Online Questions
You are building an app that will share user images.
You need to configure the app to perform the following actions when a user uploads an image:
• Categorize the image as either a photograph or a drawing.
• Generate a caption for the image.
The solution must minimize development effort.
Which two services should you include in the solution? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . object detection in Computer Vision
- B . content tags in Computer Vision
- C . image descriptions in Computer Vision
- D . image type detection in Computer Vison
- E . image classification in Custom Vision
CD
Explanation:
According to the Microsoft documentation, Computer Vision is a cloud-based service that provides developers with access to advanced algorithms for processing images and returning information. By uploading an image or specifying an image URL, Computer Vision algorithms can analyze visual content in different ways based on inputs and user choices.
According to the Microsoft documentation, image type detection is one of the features of Computer Vision that can categorize an image as either a photograph or a drawing. You can use the image type detection feature by calling the Analyze Image API with the visualFeatures parameter set to ImageType. The API will return a JSON response with an imageType field that indicates whether the image is a photo or a clipart.
According to the Microsoft documentation, image descriptions is another feature of Computer Vision that can generate a caption for an image. You can use the image descriptions feature by calling the Analyze Image API with the visualFeatures parameter set to Description. The API will return a JSON response with a description field that contains a list of captions for the image, each with a confidence score.
Therefore, by using these two features of Computer Vision, you can achieve your app requirements
with minimal development effort. You don’t need to use any other services, such as object detection, content tags, or Custom Vision, which are designed for different purposes.
HOTSPOT
You need to develop code to upload images for the product creation project. The solution must meet the accessibility requirements.
How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation:
Reference: https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/blob/master/documentation-samples/quickstarts/ComputerVision/Program.cs
HOTSPOT
You need to develop code to upload images for the product creation project. The solution must meet the accessibility requirements.
How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation:
Reference: https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/blob/master/documentation-samples/quickstarts/ComputerVision/Program.cs
You have a library that contains 1,000 video files.
You need to perform sentiment analysis on the videos by using an Azure Al Content Understanding project. The solution must minimize development effort.
Which type of template should you use for the project?
- A . Video shot analysis
- B . Media asset management
- C . Advertising
You are building a chatbot.
You need to configure the bot to guide users through a product setup process.
Which type of dialog should you use?
- A . component
- B . waterfall
- C . adaptive
- D . action
You have an Azure subscription that contains an Azure OpenAI resource.
You plan to build an agent by using the Azure Ai Agent Service.
The agent will perform the following actions:
• Interpret written and spoken questions from users.
• Generate answers to the questions.
• Output the answers as speech.
You need to create the project for the agent.
What should you use?
- A . Language Studio
- B . Azure Al Foundry
- C . Speech studio
- D . the Azure portal
You have an Azure subscription that contains an Azure OpenAI resource.
You plan to build an agent by using the Azure Ai Agent Service.
The agent will perform the following actions:
• Interpret written and spoken questions from users.
• Generate answers to the questions.
• Output the answers as speech.
You need to create the project for the agent.
What should you use?
- A . Language Studio
- B . Azure Al Foundry
- C . Speech studio
- D . the Azure portal
HOTSPOT
You are developing an application that includes language translation.
The application will translate text retrieved by using a function named get_text_to_be_translated. The text can be in one of many languages. The content of the text must remain within the Americas Azure geography.
You need to develop code to translate the text to a single language.
How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

HOTSPOT
You are building an app that will process incoming email and direct email messages to either French or English language support teams.
Which Azure Cognitive Services API should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

HOTSPOT
You are building a text-to-speech app that will use a custom neural voice.
You need to create an SSML file for the app.
The solution must ensure that the voice profile meets the following requirements:
• Expresses a calm tone
• Imitates the voice of a young adult female
How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
