Latest AI-102 Practice Test Questions Verified Answers As Experienced in the Actual Test!
Pass Microsoft AI-102 Exam in First Attempt Easily
NEW QUESTION # 178
Select the answer that correctly completes the sentence.
Answer:
Explanation:
NEW QUESTION # 179
You have the following C# method for creating Azure Cognitive Services resources programmatically.
You need to call the method to create a free Azure resource in the West US Azure region. The resource will be used to generate captions of images automatically.
Which code should you use?
- A. create_resource(client, "res1", "ComputerVision", "S0", "westus")
- B. create_resource(client, "res1", "CustomVision.Prediction", "F0", "westus")
- C. create_resource(client, "res1", "ComputerVision", "F0", "westus")
- D. create_resource(client, "res1", "CustomVision.Prediction", "S0", "westus")
Answer: B
Explanation:
Many of the Cognitive Services have a free tier you can use to try the service. To use the free tier, use F0 as the SKU for your resource.
There are two tiers of keys for the Custom Vision service. You can sign up for a F0 (free) or S0 (standard) subscription through the Azure portal.
Incorrect Answers:
A: There is no free tier (F0) for ComputerVision.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account-client-library?pivots=programming-language-csharp
https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/limits-and-quotas
NEW QUESTION # 180
You have an Azure subscription. The subscription contains an Azure OpenAI resource that hosts a GPT-3.5 Turbo model named Model1.
You configure Model1 to use the following system message: "You are an Al assistant that helps people solve mathematical puzzles. Explain your answers as if the request is by a 4-year-old." Which type of prompt engineering technique is this an example of?
- A. priming
- B. chain of thought
- C. few-shot learning
- D. affordance
Answer: C
NEW QUESTION # 181
You build a Language Understanding model by using the Language Understanding portal.
You export the model as a JSON file as shown in the following sample.
To what does the Weather.Historic entity correspond in the utterance?
- A. chicago
- B. by month
- C. location
- D. rain
Answer: B
NEW QUESTION # 182
You run the following command.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Answer:
Explanation:
Explanation:
Box 1: Yes
http://localhost:5000/status: Also requested with GET, this verifies if the api-key used to start the container is valid without causing an endpoint query.
Box 2: Yes
The command saves container and LUIS logs to output mount at C:\output, located on container host Box 3: Yes
http://localhost:5000/swagger: The container provides a full set of documentation for the endpoints and a Try it out feature. With this feature, you can enter your settings into a web-based HTML form and make the query without having to write any code. After the query returns, an example CURL command is provided to demonstrate the HTTP headers and body format that's required.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-container-howto
NEW QUESTION # 183
You develop an application that uses the Face API.
You need to add multiple images to a person group.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Box 1: Stream
The File.OpenRead(String) method opens an existing file for reading.
Example: Open the stream and read it back.
using (FileStream fs = File.OpenRead(path))
Box 2: CreateAsync
Create the persons for the PersonGroup. Persons are created concurrently.
Example:
await faceClient.PersonGroupPerson.CreateAsync(personGroupId, personName); Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/how-to-add-faces
NEW QUESTION # 184
Select the answer that correctly completes the sentence.
Answer:
Explanation:
Explanation:
NEW QUESTION # 185
You are reviewing the design of a chatbot. The chatbot includes a language generation file that contains the following fragment.
# Greet(user)
- ${Greeting()}, ${user.name}
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Reference:
https://docs.microsoft.com/en-us/composer/how-to-ask-for-user-input
NEW QUESTION # 186
You develop an application that uses the Face API.
You need to add multiple images to a person group.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Explanation:
Box 1: Stream
The File.OpenRead(String) method opens an existing file for reading.
Example: Open the stream and read it back.
using (FileStream fs = File.OpenRead(path))
Box 2: CreateAsync
Create the persons for the PersonGroup. Persons are created concurrently.
Example:
await faceClient.PersonGroupPerson.CreateAsync(personGroupId, personName); Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/how-to-add-faces
NEW QUESTION # 187
You build a QnA Maker resource to meet the chatbot requirements.
Which RBAC role should you assign to each group? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/concepts/role-based-access-control
NEW QUESTION # 188
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. image descriptions in Computer Vision
- B. image classification in Custom Vision
- C. object detection in Computer Vision
- D. image type detection in Computer Vison
- E. content tags in Computer Vision
Answer: A,D
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.
NEW QUESTION # 189
You are building an app that will enable users to upload images. The solution must meet the following requirements:
* Automatically suggest alt text for the images.
* Detect inappropriate images and block them.
* Minimize development effort.
You need to recommend a computer vision endpoint for each requirement.
What should you recommend? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
NEW QUESTION # 190
You are building a language model by using a Language Understanding service.
You create a new Language Understanding resource.
You need to add more contributors.
What should you use?
- A. the Access control (1AM) page for the authoring resources in the Azure portal
- B. the Access control (1AM) page for the prediction resources in the Azure portal
- C. a conditional access policy in Azure Active Directory (Azure AD)
Answer: A
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-to-collaborate
NEW QUESTION # 191
You are building a model that will be used in an iOS app.
You have images of cats and dogs. Each image contains either a cat or a dog.
You need to use the Custom Vision service to detect whether the images is of a cat or a dog.
How should you configure the project in the Custom Vision portal? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Reference:
https://cran.r-project.org/web/packages/AzureVision/vignettes/customvision.html
NEW QUESTION # 192
You train a Custom Vision model to identify a company's products by using the Retail domain.
You plan to deploy the model as part of an app for Android phones.
You need to prepare the model for deployment.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Answer:
Explanation:
Explanation
In user want to change to deploy offline model
1. Change model domain to compact model
2. Retrain compact model
3. Export model
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/export-your-model
NEW QUESTION # 193
......
We offers you the latest free online AI-102 dumps to practice: https://easytest.exams4collection.com/AI-102-latest-braindumps.html
