Implementing a Microsoft
Azure AI Solution
Comprehensive Questions and
Solutions Graded A+
Which of the following best describes the predictions made by a machine learning model?
-Absolutely correct values based on conditional logic.
-Randomly selected values with an equal chance of selection.
-Probabilistic values based on correlations found in training data. - Answer: Probabilistic values
based on correlations found in training data.
-Machine learning models are trained using historic data, and rely on algorithms that find
statistical relationships in the data. Predictions are generally based on probability; and while
models are often extremely accurate, predictions are based on a confidence score that indicates
a level of probability.
A data scientist has used Azure Machine Learning to train a machine learning model. How can
you use the model in your application?
-Use Azure Machine Learning to publish the model as a web service.
,-Export the model as a cognitive service.
-You must build your application using the Azure Machine Learning designer. - Answer: Use
Azure Machine Learning to publish the model as a web service.
-You can use Azure Machine Learning to publish a trained model as a web service, and consume
it from applications through its REST interface.
You want to index a collection of text documents, and search them from a mobile application.
Which service should you use to create the index?
-The Language cognitive service
-Azure Cognitive Search
-Azure Bot Service - Answer: Azure Cognitive Search
-Use Azure Cognitive Search to index documents for search.
How are client applications typically granted access to a cognitive services endpoint?
-The application must specify a valid subscription key for the Azure resource.
-The user of the application must enter a user name and password associated with the Azure
subscription.
-Access to cognitive services is granted to anonymous users by default. - Answer: The
application must specify a valid subscription key for the Azure resource.
-By default, access to a cognitive services resource is based on a subscription key.
In which format are message exchanged between a client app and a cognitive services resource
when using a REST API?
,-XML
-JSON
-HTML - Answer: JSON
-Client apps submit JSON requests and receive JSON responses.
You need to regenerate the primary subscription key for a Cognitive Services resource that an
app uses. What should you do first to minimize service interruption for the app?
-Switch the app to use the secondary key
-Change the resource endpoint
-Enable a firewall - Answer: Switch the app to use the secondary key
-The app can use the secondary key to access the resource.
You want to store the subscription keys for a Cognitive Services resource securely, so that
authorized apps can retrieve them when needed. What kind of Azure resource should you
provision?
-Azure Storage
-Azure Key Vault
-Azure App Service - Answer: Azure Key Vault
-Use Azure Key Vault to store credentials securely.
, When running code on your computer that connects to Cognitive Services, you receive an error
that access is denied due to Virtual Network/Firewall rules. What configuration do you need to
set in the Cognitive Services instance?
-In the Networking properties, configure Selected Networks and Private Endpoints.
-In Networking properties, add your client IP address to the Firewall allowed list.
-In Access control, add your Azure Active Directory user account to a role. - Answer: In
Networking properties, add your client IP address to the Firewall allowed list.
-The public IP address for your computer can be allowed access in the Firewall settings.
How should you collect telemetry for your Azure Cognitive Services resource for later analysis?
-Create an alert.
-Configure diagnostic settings.
-Create a dashboard. - Answer: Configure diagnostic settings.
-Diagnostic settings enable you to capture data for subsequent analysis.
You are defining an alert that notifies you when a key regeneration event is recorded in the
activity log for your Cognitive Services resource? What should you do?
-Specify a Scope of Activity Log.
-Specify an Action that uses an Azure Logic App to read the activity log.
-Specify a Condition with a Signal Type of Activity Log. - Answer: Specify a Condition with a
Signal Type of Activity Log.
-The Regenerate Key event is an Activity Log signal.