AI-102

Ace your homework & exams now with Quizwiz!

You have 100 chatbots that each has its own Language Understanding model. Frequently, you must add the same phrases to each model. You need to programmatically update the Language Understanding models to include the new phrases. How should you complete the code? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. Select and Place: var phraselistId = await client.Features. [ ] (appId, versionId, new [ ] { EnabledForAllModels = false, IsExchangeable = true, Name = "PL1", Phrases = "item1, item2, item3, item4, item5" } ); A: AddPhraseListAsync B: PhraseList C: PhraselistCreateObject D: Phrases E: SavePhraselistAsync F: UploadPhraseListaAync

1: A 2: C

You plan to deploy a containerized version of an Azure Cognitive Services service that will be used for text analysis. You configure https://contoso.cognitiveservices.azure.com as the endpoint URI for the service, and you pull the latest version of the Text AnalyticsSentiment Analysis container. You need to run the container on an Azure virtual machine by using Docker. How should you complete the command? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point 1 - docker run -rm -it -p 5000:5000 --memory 8g --cpus 1 \ A: http://contoso.blob.core.windows.net B: https://contoso.cognitiveservices.azure.com C: mcr.microsoft.com/azure-cognitive-services/textanalytics/keyphrase D: mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment 2 BILLING A: http://contoso.blob.core.windows.net B: https://contoso.cognitiveservices.azure.com C: mcr.microsoft.com/azure-cognitive-services/textanalytics/keyphrase D: mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment

1: D 2: B

DRAG DROP -You plan to use containerized versions of the Anomaly Detector API on local devices for testing and in on-premises datacenters. You need to ensure that the containerized deployments meet the following requirements:✑ Prevent billing and API information from being stored in the command-line histories of the devices that run the container.✑ Control access to the container images by using Azure role-based access control (Azure RBAC).Which four 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. (Choose four.)NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select. Select and Place: 1. Create a custom Dockerfile 2. Pull the anomaly detector container image 3. Distribute a docker run script 4. Push the image to an azure container registry 5. Build the image 6. Push the image to Docker Hub

2 1 5 4

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You build a language model by using a Language Understanding service. The language model is used to search for information on a contact list by using an intent named FindContact.A conversational expert provides you with the following list of phrases to use for training. - Find contacts in London. - Who do I know in Seattle? - Search for contacts in Ukraine. You need to implement the phrase list in Language Understanding. Solution: You create a new entity for the domain. Does this meet the goal? A. Yes B. No

A

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.You develop an application to identify species of flowers by training a Custom Vision model.You receive images of new flower species.You need to add the new images to the classifier.Solution: You add the new images and labels to the existing model. You retrain the model, and then publish the model.Does this meet the goal? A. Yes B. No

A

You are building a Language Understanding model for an e-commerce chatbot. Users can speak or type their billing address when prompted by the chatbot.You need to construct an entity to capture billing addresses.Which entity type should you use? A. machine learned B. Regex C. list D. Pattern.any

A

You are building a Language Understanding model for an e-commerce platform.You need to construct an entity to capture billing addresses.Which entity type should you use for the billing address? A. machine learned B. Regex C. geographyV2 D. Pattern.any E. list

A

You are developing a solution to generate a word cloud based on the reviews of a companyג€™s products.Which Text Analytics REST API endpoint should you use? A. keyPhrases B. sentiment C. languages D. entities/recognition/general

A

You have a Video Indexer service that is used to provide a search interface over company videos on your company's website. You need to be able to search for videos based on who is present in the video. What should you do? A. Create a person model and associate the model to the videos. B. Create person objects and provide face images for each object. C. Invite the entire staff of the company to Video Indexer. D. Edit the faces in the videos. E. Upload names to a language model.

A

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", "F0", "westus") B. create_resource(client, "res1", "CustomVision.Prediction", "F0", "westus") C. create_resource(client, "res1", "ComputerVision", "S0", "westus") D. create_resource(client, "res1", "CustomVision.Prediction", "S0", "westus")

A

You need to measure the public perception of your brand on social media by using natural language processing. Which Azure Cognitive Services service should you use? A. Text Analytics B. Content Moderator C. Computer Vision D. Form Recognizer

A

You plan to perform predictive maintenance. You collect IoT sensor data from 100 industrial machines for a year. Each machine has 50 different sensors that generate data at one-minute intervals. In total, you have 5,000 time series datasets. You need to identify unusual values in each time series to help predict machinery failures. Which Azure Cognitive Services service should you use? A. Anomaly Detector B. Cognitive Search C. Form Recognizer D. Custom Vision

A

You have a web app that uses Azure Cognitive Search. When reviewing billing for the app, you discover much higher than expected charges. You suspect that the query key is compromised.You need to prevent unauthorized access to the search endpoint and ensure that users only have read only access to the documents collection. The solution must minimize app downtime.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. A: Add a new query key B: Regenerate the secondary admin key C: Change the app to use the secondary admin key D: Change the app to use the new key E: Regenerate the primary admin key F: Delete the compromised key

A, D, F

You are developing an internet-based training solution for remote learners. Your company identifies that during the training, some learners leave their desk for long periods or become distracted. You need to use a video and audio feed from each learnerג€™s computer to detect whether the learner is present and paying attention. The solution must minimize development effort and identify each learner. Which Azure Cognitive Services service should you use for each requirement? To answer, select the appropriate options in the answer area. 1. From a learner's video feed, verify whether the learner is present: A: Face B: Speech C: Text Analytics 2. From a learner's facial expression in the video feed, verify whether the learner is paying attention: A: Face B: Speech C: Text Analytics 3. From a learner's audio feed, detect whether the learner is talking: A: Face B: Speech C: Text Analytics

A, A, B

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. A: Change th emodel domain B: Retrain the model C: Test the model D: Export the model

A, B, D

A customer uses Azure Cognitive Search. The customer plans to enable a server-side encryption and use customer-managed keys (CMK) stored in Azure. What are three implications of the planned change? Each correct answer presents a complete solution. A. The index size will increase. B. Query times will increase. C. A self-signed X.509 certificate is required. D. The index size will decrease. E. Query times will decrease. F. Azure Key Vault is required.

A, B, E

You need to implement a table projection to generate a physical expression of an Azure Cognitive Search index.Which three properties should you specify in the skillset definition JSON configuration table node? Each correct answer presents part of the solution. (Choose three.) A. tableName B. generatedKeyName C. dataSource D. dataSourceConnection E. source

A, B, E

You build a custom Form Recognizer model. You receive sample files to use for training the model as shown in the following table. Which three files can you use to train the model? Each correct answer presents a complete solution. (Choose three.) A. File1 (PDF, 20MB) B. File2 (MP4, 100MB) C. File3 (JPG, 20MB) D. File4 (PDF, 100MB) E. File5 (GIF, 1MB) F. File6 (JPG, 40MB)

A, C, F

You use the Custom Vision service to build a classifier.After training is complete, you need to evaluate the classifier.Which two metrics are available for review? Each correct answer presents a complete solution. (Choose two.) A. recall B. F-score C. weighted accuracy D. precision E. area under the curve (AUC)

A, D

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You build a language model by using a Language Understanding service. The language model is used to search for information on a contact list by using an intent named FindContact.A conversational expert provides you with the following list of phrases to use for training. - Find contacts in London. - Who do I know in Seattle? - Search for contacts in Ukraine. You need to implement the phrase list in Language Understanding. Solution: You create a new intent for location.Does this meet the goal? A. Yes B. No

B

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You build a language model by using a Language Understanding service. The language model is used to search for information on a contact list by using an intent named FindContact.A conversational expert provides you with the following list of phrases to use for training. - Find contacts in London. - Who do I know in Seattle? - Search for contacts in Ukraine. You need to implement the phrase list in Language Understanding. Solution: You create a new pattern in the FindContact intent. Does this meet the goal?

B

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.You develop an application to identify species of flowers by training a Custom Vision model.You receive images of new flower species.You need to add the new images to the classifier. Solution: You add the new images, and then use the Smart Labeler tool.Does this meet the goal?

B

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.You develop an application to identify species of flowers by training a Custom Vision model.You receive images of new flower species.You need to add the new images to the classifier.Solution: You create a new model, and then upload the new images and labels.Does this meet the goal? A. Yes B. No

B

You are building a bot on a local computer by using the Microsoft Bot Framework. The bot will use an existing Language Understanding model.You need to translate the Language Understanding model locally by using the Bot Framework CLI.What should you do first? A. From the Language Understanding portal, clone the model. B. Export the model as an .lu file. C. Create a new Speech service. D. Create a new Language Understanding service.

B

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. a conditional access policy in Azure Active Directory (Azure AD) B. the Access control (IAM) page for the authoring resources in the Azure portal C. the Access control (IAM) page for the prediction resources in the Azure portal

B

You have the following data sources: - Finance: On-premises Microsoft SQL Server database - Sales: Azure Cosmos DB using the Core (SQL) API - Logs: Azure Table storage - HR: Azure SQL database -You need to ensure that you can search all the data by using the Azure Cognitive Search REST API. What should you do? A. Configure multiple read replicas for the data in Sales. B. Mirror Finance to an Azure SQL database. C. Migrate the data in Sales to the MongoDB API. D. Ingest the data in Logs into Azure Sentinel.

B

You need to upload speech samples to a Speech Studio project.How should you upload the samples? A. Combine the speech samples into a single audio file in the .wma format and upload the file. B. Upload a .zip file that contains a collection of audio files in the .wav format and a corresponding text transcript file. C. Upload individual audio files in the FLAC format and manually upload a corresponding transcript in Microsoft Word format. D. Upload individual audio files in the .wma format.

B

You are creating an enrichment pipeline that will use Azure Cognitive Search. The knowledge store contains unstructured JSON data and scanned PDF documents that contain text. Which projection type should you use for each data type? To answer, select the appropriate options in the answer area. 1. JSON Data: A: File projection B: Object projection C: Table projection 2. Scanned data A: File projection B: Object projection C: Table projection

B, A

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. Parallel.For (0, PersonCount, async i => { Guid personId = persons[i]. PersonId; string person ImageDir = $"/path/to/person/{i}/images"; foreach (string imagePath in Directory.GetFiles (person Imagedir, "*.jpg")) { using ([?] t = File. OpenRead (imagePath)) { await faceclient. PersonGroup Person.[?](personGroupId, personId,t); } } }); 1. A: File B: Stream C: Uri D: Url 2.A: AddFaceFromStreamAsync B: AddFace FromUrlAsync C: CreateAsync D: GetAsync

B, A

You have a Custom Vision resource named acvdev in a development environment.You have a Custom Vision resource named acvprod in a production environment.In acvdev, you build an object detection model named obj1 in a project named proj1.You need to move obj1 to acvprod.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. A: Use the ExportProject endpoint on acvdev B: Use the GetProjects endpoint on acvdev C: Use the ImportProject endpoint on acvdev D: Use the ExportIteration endpoint on acvdev E: Use the GetIterations endpoint on acvdev F: Use the UpdateProject endpoint on acvdev

B, A, C

You are developing a call to the Face API. The call must find similar faces from an existing list named employeefaces. The employeefaces list contains 60,000 images. How should you complete the body of the HTTP request? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. Select and Place: { faceId: "18c51a87...", [?]: "employeefaces", "maxNumOfCandidatesReturned: 1, "mode": [?] } A: "faceListId" B: "LargeFaceListId" C: "matchFace" D: "matchPerson"

B, C

You are developing a new sales system that will process the video and text from a public-facing website. You plan to monitor the sales system to ensure that it provides equitable results regardless of the user's location or background. Which two responsible AI principles provide guidance to meet the monitoring requirements? Each correct answer presents part of the solution. (Choose two.) A. transparency B. fairness C. inclusiveness D. reliability and safety E. privacy and security

B, C

You are developing a streaming Speech to Text solution that will use the Speech SDK and MP3 encoding. You need to develop a method to convert speech to text for streaming MP3 data. How should you complete the code? To answer, select the appropriate options in the answer area. var audioFormat = [?] (AudioStreamContainerformat.MP3) ... using var /recognizer = new [?] (speechConfig, audioConfig) { var result = await recognizer.RecognizeOnceAsync(); var text = result.Text } 1. A: AudioConfig.SetProperty B: AudioStreamFormat.GetCompressedFormat C: AudioStreamFormat.GetWaveFormatPCM D: PullAudioInputStream 2. A: KeywordRecognizer B: SpeakerRecognizer C: SpeechRecognizer D: SpeechSynthesizer

B, C

You are building a multilingual chatbot. You need to send a different answer for positive and negative messages. Which two Text Analytics APIs should you use? Each correct answer presents part of the solution. (Choose two.). A. Linked entities from a well-known knowledge base B. Sentiment Analysis C. Key Phrases D. Detect Language E. Named Entity Recognition

B, D

You are building an Azure Weblob that will create knowledge bases from an array of URLs.You instantiate a QnAMakerClient object that has the relevant API keys and assign the object to a variable named client.You need to develop a method to create the knowledge bases.Which two actions should you include in the method? Each correct answer presents part of the solution. A. Create a list of FileDTO objects that represents data from the WebJob. B. Call the client.Knowledgebase.CreateAsync method. C. Create a list of QnADTO objects that represents data from the WebJob. D. Create a CreateKbDTO object.

B, D

You are developing a method that uses the Computer Vision client library. The method will perform optical character recognition (OCR) in images. The method has the following code.During testing, you discover that the call to the GetReadResultAsync method occurs before the read operation is complete.You need to prevent the GetReadResultAsync method from proceeding until the read operation is complete.Which two actions should you perform? Each correct answer presents part of the solution. (Choose two.) A. Remove the Guid.Parse(operationId) parameter. B. Add code to verify the results.Status value. C. Add code to verify the status of the txtHeaders.Status value. D. Wrap the call to GetReadResultAsync within a loop that contains a delay.

B, D

You are developing a service that records lectures given in English (United Kingdom).You have a method named AppendToTranscriptFile that takes translated text and a language identifier.You need to develop code that will provide transcripts of the lectures to attendees in their respective language. The supported languages are English, French,Spanish, and German.How should you complete the code? To answer, select the appropriate options in the answer area. var lang = new List<string> [?] ... var recognizer = new [?] var result = await recognizer.RecognizeOnceAsync(); if(result.Reason = ResultReason.TranslatedSpeech) 1. A: {"en-GB"} B: {"fr, "de", "es"} C: {"French", "Spansh", "German"} D: {languages} 2. A: IntentRecognizer B: SpeakerRecognizer C: SpeechSynthesizer D: TranslationRecognizer

B, D

You are developing a photo application that will find photos of a person based on a sample image by using the Face API. You need to create a POST request to find the photos. How should you complete the request? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. POST {Endpoint}/face/v1.0/[?] { faceId: "...", largeFaceListId: "sample_list", maxNumOfCandidatesReturned: 10, "mode": [?] } A: detect B: findsimilars C: group D: identify E: matchFace F: matchPerson G: verify

B, F

You are building a natural language model.You need to enable active learning.What should you do? A. Add show-all-intents=true to the prediction endpoint query. B. Enable speech priming. C. Add log=true to the prediction endpoint query. D. Enable sentiment analysis.

C

You build a conversational bot named bot1.You need to configure the bot to use a QnA Maker application.From the Azure Portal, where can you find the information required by bot1 to connect to the QnA Maker application? A. Access control (IAM) B. Properties C. Keys and Endpoint D. Identity

C

You deploy a web app that is used as a management portal for indexing in Azure Cognitive Search. The app is configured to use the primary admin key.During a security review, you discover unauthorized changes to the search index. You suspect that the primary access key is compromised.You need to prevent unauthorized access to the index management endpoint. The solution must minimize downtime.What should you do next? A. Regenerate the primary admin key, change the app to use the secondary admin key, and then regenerate the secondary admin key. B. Change the app to use a query key, and then regenerate the primary admin key and the secondary admin key. C. Regenerate the secondary admin key, change the app to use the secondary admin key, and then regenerate the primary key. D. Add a new query key, change the app to use the new query key, and then delete all the unused query keys.

C

You need to build a chatbot that meets the following requirements:✑ Supports chit-chat, knowledge base, and multilingual models✑ Performs sentiment analysis on user messages✑ Selects the best language model automaticallyWhat should you integrate into the chatbot? A. QnA Maker, Language Understanding, and Dispatch B. Translator, Speech, and Dispatch C. Language Understanding, Text Analytics, and QnA Maker D. Text Analytics, Translator, and Dispatch

C

Your company wants to reduce how long it takes for employees to log receipts in expense reports. All the receipts are in English. You need to extract top-level information from the receipts, such as the vendor and the transaction total. The solution must minimize development effort. Which Azure Cognitive Services service should you use? A. Custom Vision B. Personalizer C. Form Recognizer D. Computer Vision

C

You need to create a new resource that will be used to perform sentiment analysis and optical character recognition (OCR). The solution must meet the following requirements:✑ Use a single key and endpoint to access multiple services.✑ Consolidate billing for future services that you might use.✑ Support the use of Computer Vision in the future. How should you complete the HTTP request to create the new resource? To answer, select the appropriate options in the answer area. 1: A. PATCH B. POST C: PUT 2. A. CognitiveServices B. CompuretVision C.TextAnalytics

C A

You train a Custom Vision model used in a mobile app.You receive 1,000 new images that do not have any associated data.You need to use the images to retrain the model. The solution must minimize how long it takes to retrain the model.Which three actions should you perform in the Custom Vision portal? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. A: Upload the images by category B: Get suggested tags C: Upload all the images D: Group the images locally into category folders E: Review the suggestions and confirm the tags F: Tag the images manually

C, B, E

You have a Computer Vision resource named contoso1 that is hosted in the West US Azure region.You need to use contoso1 to make a different size of a product photo by using the smart cropping feature.How should you complete the API URL? To answer, select the appropriate options in the answer area. [?]/vision/v3.1/[?]?width=100&height=100&smartCropping=true 1. A: "https://api.projectoxford.ai" B: https://contoso1.cognitiveservices.azure.com C: https://westus.api.cognitive.microsoft.com 2. A: areaOfInterest B: detect C: generateThumbnail

C, C

You are developing a method for an application that uses the Translator API.The method will receive the content of a webpage, and then translate the content into Greek (el). The result will also contain a transliteration that uses the Roman alphabet.You need to create the URI for the call to the Translator API.You have the following URI.https://api.cognitive.microsofttranslator.com/translate?api-version=3.0Which three additional query parameters should you include in the URI? Each correct answer presents part of the solution. (Choose three.) A. toScript=Cyrl B. from=el C. textType=html D. to=el E. textType=plain F. toScript=Latn

C, D, F

You have a chatbot that was built by using the Microsoft Bot Framework.You need to debug the chatbot endpoint remotely.Which two tools should you install on a local computer? Each correct answer presents part of the solution. (Choose two.) A. Fiddler B. Bot Framework Composer C. Bot Framework Emulator D. Bot Framework CLI E. ngrok F. nginx

C, E

You are developing a webpage that will use the Video Indexer service to display videos of internal company meetings.You embed the Player widget and the Cognitive Insights widget into the page.You need to configure the widgets to meet the following requirements:✑ Ensure that users can search for keywords.✑ Display the names and faces of people in the video.✑ Show captions in the video in English (United States).How should you complete the URL for each widget? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. Cognitive Insights Widget https://videindexer.ai/embed/insights/<accountId>/<videoid>/?widgets=[?]controls=[?] Player widget https://videindexer.ai/embed/insights/<accountId>/<videoid>/?showcaptions=[?]captions=[?] A: en-us B: false C: people,keywords D: people, search E: search F: true

C, E F, A

You plan to build a chatbot to support task tracking.You create a Language Understanding service named lu1.You need to build a Language Understanding model to integrate into the chatbot. The solution must minimize development time to build the model.Which four 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. (Choose four.) A: Train the application. B: Publish the application. C: Add a new application. D: Add example utterances. E: Add the prebuilt domain ToDo.

C, E, A, B

You plan to use a Language Understanding application named app1 that is deployed to a container.App1 was developed by using a Language Understanding authoring resource named lu1.App1 has the versions shown in the following table. Version TrainedDate Published date v1.2 None None v1.1. 2020-10-01 None v1.0 2020-09-01 2020-09-15 You need to create a container that uses the latest deployable version of app1.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. (Choose three.) A: Run a container that has version set as an environment variable B: Export the model by using the Export as JSON option C: Select v1.1 of app1 D: Run a container and mount the model file E: Select v1.0 of app1 F: Export the model by using the Export for containers (GZIP) option G: Select v1.2 of app1

C, F, D

You are developing a new sales system that will process the video and text from a public-facing website. You plan to notify users that their data has been processed by the sales system. Which responsible AI principle does this help meet? A. transparency B. fairness C. inclusiveness D. reliability and safety

D

You have an existing Azure Cognitive Search service.You have an Azure Blob storage account that contains millions of scanned documents stored as images and PDFs.You need to make the scanned documents available to search as quickly as possible.What should you do? A. Split the data into multiple blob containers. Create a Cognitive Search service for each container. Within each indexer definition, schedule the same runtime execution pattern. B. Split the data into multiple blob containers. Create an indexer for each container. Increase the search units. Within each indexer definition, schedule a sequential execution pattern. C. Create a Cognitive Search service for each type of document. D. Split the data into multiple virtual folders. Create an indexer for each folder. Increase the search units. Within each indexer definition, schedule the same runtime execution pattern.

D

You successfully run the following HTTP request.POST https://management.azure.com/subscriptions/18c51a87-3a69-47a8-aedc-a54745f708a1/resourceGroups/RG1/providers/Microsoft.CognitiveServices/accounts/contosol/regenerateKey?api-version=2017-04-18Body{"keyName": "Key2"}What is the result of the request? A. A key for Azure Cognitive Services was generated in Azure Key Vault. B. A new query key was generated. C. The primary subscription key and the secondary subscription key were rotated. D. The secondary subscription key was reset.

D

You are using a Language Understanding service to handle natural language input from the users of a web-based customer agent.The users report that the agent frequently responds with the following generic response: "Sorry, I don't understand that."You need to improve the ability of the agent to respond to requests.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. (Choose three.) A. Add prebuilt domain models as required. B: Validate the utterances logged for review and modify the model. C: Migrate authoring to an Azure resource authoring key. D: Enable active learning. E: Enable log collection by using Log Analytics. F: Train and republish the Language Understanding model.

D, B, F

You plan to provision a QnA Maker service in a new resource group named RG1.In RG1, you create an App Service plan named AP1.Which two Azure resources are automatically created in RG1 when you provision the QnA Maker service? Each correct answer presents part of the solution. A. Language Understanding B. Azure SQL Database C. Azure Storage D. Azure Cognitive Search E. Azure App Service

D, E

You are building a retail chatbot that will use a QnA Maker service.You upload an internal support document to train the model. The document contains the following question: "What is your warranty period?"Users report that the chatbot returns the default QnA Maker answer when they ask the following question: "How long is the warranty coverage?"The chatbot returns the correct answer when the users ask the following question: 'What is your warranty period?"Both questions should return the same answer.You need to increase the accuracy of the chatbot responses.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. (Choose three.) A: Add a new question and answer pair B: Retrain the model C: Add additional questions to the document D: Republish the model E: Add alternative phrasing to the question and answer pair

E, B, D

You are developing an application that includes language translation.The application will translate text retrieved by using a function named getTextToBeTranslated. 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. var endpoint = [?] ... var uri = endpoint + [?] 1. A: https://api.cognitive.microsofttranslator.com/translate B: https://api.cognitive.microsofttranslator.com/transliterate C: https://api-apc.cognitive.microsofttranslator.com/detect D: https://api-nam.cognitive.microsofttranslator.com/detect E: https://api-nam.cognitive.microsofttranslator.com/translate 2. A: "?from=en" B: "?suggestedFrom=en" C: "?to=en"

E, C

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. 1. ${user.name} retrieves the user name by using a prompt. 2. Greet() is the name of the language generation template. 3. ${Greeting () } is a reference to a template in the language generation file.

N, N, Y

You are developing an application that will use the Computer Vision client library. The application has the following code.For each of the following statements, select Yes if the statement is true. Otherwise, select No. public async TaskAnalyze Image (ComputerVisionclient client, string local Image) {List<visualFeatureTypes> features = new List<visualFeatureTypes>() {VisualFeatureTypes. Description, VisualFeatureTypes. Tags, using (Stream imageStream = File. OpenRead (localImage)) {}; try {ImageAnalysis results = await client. Analyze ImageInStreamAsync (imageStream, features); foreach (var caption in results. Description. Captions) {Console.WriteLine($"{caption.Text} with confidence {caption.Confidence}");} foreach (var tag in results. Tags) {Console.WriteLine($"{tag. Name} {tag.Confidence}");} } catch (Exception ex) {Console.WriteLine (ex.Message); } } } 1. The code will perform face recognition 2. The code will list tags and their associated confidence 3. The code will read a file from the local file system

N, Y, Y

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.You create a web app named app1 that runs on an Azure virtual machine named vm1. Vm1 is on an Azure virtual network named vnet1.You plan to create a new Azure Cognitive Search service named service1.You need to ensure that app1 can connect directly to service1 without routing traffic over the public internet.Solution: You deploy service1 and a public endpoint, and you configure a network security group (NSG) for vnet1.Does this meet the goal?

No

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.You create a web app named app1 that runs on an Azure virtual machine named vm1. Vm1 is on an Azure virtual network named vnet1.You plan to create a new Azure Cognitive Search service named service1.You need to ensure that app1 can connect directly to service1 without routing traffic over the public internet.Solution: You deploy service1 and a public endpoint, and you configure an IP firewall rule.Does this meet the goal?

No

You are building a chatbot for a Microsoft Teams channel by using the Microsoft Bot Framework SDK. The chatbot will use the following code.For each of the following statements, select Yes if the statement is true. Otherwise, select No. 1. OnMembersAddedAsync will be triggered when a user joins the conversation. 2. When a new user joins the conversation, the existing users in the conversation will see the chatbot greeting. 3. OnMembersAddedAsync will be initialized when a user sends a message.

Y, N, N

You are developing a text processing solution.You develop the following method.You call the method by using the following code.GetKeyPhrases(textAnalyticsClient, "the cat sat on the mat");For each of the following statements, select Yes if the statement is true. Otherwise, select No. static void GetKeyPhrases (TextAnalyticsClient textAnalyticsClient, string text) { var response = textAnalyticsClient.ExtractKeyPhrases (text); Console.WriteLine("Key phrases:"); foreach (string keyphrase in response.Value) { Console.WriteLine("\t{keyphrase}"); } } 1. The call will output key phrases from the input string to the console. 2. The output will contain the following words: the, cat, sat, on, and mat. 3. The output will contain the confidence level for key phrases.

Y, N, N

You develop a test method to verify the results retrieved from a call to the Computer Vision API. The call is used to analyze the existence of company logos in images. The call returns a collection of brands named brands. You have the following code segment. For each of the following statements, select Yes if the statement is true. Otherwise, select No. foreach(var brand in brands) { if (brand.Confidence >= .75) Console.WriteLine(..) } 1. The code will return the name of each detected brand with a confidence equal to or higher than 75 percent 2. The code will return coordinates for the top-left corner of the rectangle that contains the brand logo of the displayed brands 3. The code will return coordinates for the bottom right corner of the rectangle that contains the brand logo of the displayed brands

Y, Y, N

You have the following custom skill schema definition.For each of the following statements, select Yes if the statement. Otherwise, select No. {"@odata.type": "#Microsoft.Skills.Custom.WebApiSkill", "description": "My custom skill description", "uri": "https://contoso-webskill.azurewebsites.net/api/process", "context": "/document/organizations/*", "inputs":[{ "name": "companyName", "source": "/document/organizations/" }], "outputs":[ { "name": "companyDescription", } ]} 1. CompanyDescription is available for indexing. 2. The definition calls a web API as part of the enrichment process. 3. The enrichment step is called only for the first organization under "/document/organizations".

Y, Y, N

You are developing an application to recognize employeesג€™ faces by using the Face Recognition API. Images of the faces will be accessible from a URI endpoint.The application has the following code.For each of the following statements, select Yes if the statement is true. Otherwise, select No. 1. The code will add a face image to a person object in a person group 2. The code will work for a group of 10k people 3. AddFace can be called multiple times to add multiple face images to a person object

Y, Y, Y

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.You create a web app named app1 that runs on an Azure virtual machine named vm1. Vm1 is on an Azure virtual network named vnet1.You plan to create a new Azure Cognitive Search service named service1.You need to ensure that app1 can connect directly to service1 without routing traffic over the public internet.Solution: You deploy service1 and a public endpoint to a new virtual network, and you configure Azure Private Link.Does this meet the goal? A. Yes

Yes


Related study sets

Inflammatory Bowel Disease (case study)

View Set

Comfort, Rest, Sleep, and Pain quiz

View Set

Chapter 16 - Cardiovascular Emergencies

View Set

2-2 Properties of Quadratic Functions in Standard Form

View Set

Absorption and Variable Income Statements

View Set