AI Engineer: Designing and Implementing an Azure [AI-100] 2 — Questions and Answers
Question 1: Your company wants to extract key phrases and detect sentiment from customer feedback stored in Azure Blob Storage. Which Azure Cognitive Service should you use?
- Azure Form Recognizer
- Azure Text Analytics (Correct answer)
- Azure Translator
- Azure Content Moderator
Correct answer: Azure Text Analytics
Azure Text Analytics provides key phrase extraction and sentiment analysis capabilities for unstructured text.
Question 2: You need to deploy a machine learning model so it can be consumed via a REST API with auto-scaling. Which Azure service is most appropriate?
- Azure Machine Learning managed online endpoint (Correct answer)
- Azure Functions with a Consumption plan
- Azure Logic Apps
- Azure Batch
Correct answer: Azure Machine Learning managed online endpoint
Azure Machine Learning managed online endpoints provide scalable, real-time REST API inference for deployed models.
Question 3: When configuring Azure Cognitive Services, you want to restrict access so only resources within a specific virtual network can call the API. What should you configure?
- Managed identity
- Network access rules on the Cognitive Services resource (Correct answer)
- Azure Policy
- Role-based access control (RBAC)
Correct answer: Network access rules on the Cognitive Services resource
Network access rules on the Cognitive Services resource allow you to limit inbound traffic to specific virtual networks or IP ranges.
Question 4: You are designing a bot that needs to understand natural language commands and map them to predefined intents. Which service should you use?
- Azure QnA Maker
- Language Understanding (LUIS) (Correct answer)
- Azure Speech Service
- Azure Anomaly Detector
Correct answer: Language Understanding (LUIS)
LUIS (Language Understanding) is designed to map natural language utterances to intents and extract entities.
Question 5: A developer needs to transcribe audio files uploaded to Azure Blob Storage in batch mode without real-time requirements. Which Azure Speech feature is best suited?
- Speech Translation
- Batch transcription (Correct answer)
- Custom Neural Voice
- Speaker Recognition
Correct answer: Batch transcription
Batch transcription allows asynchronous processing of audio files stored in blob storage at scale.
Question 6: You want to detect whether uploaded images contain adult or violent content before storing them. Which Azure service should you use?
- Azure Custom Vision
- Azure Computer Vision
- Azure Content Moderator (Correct answer)
- Azure Face API
Correct answer: Azure Content Moderator
Azure Content Moderator is specifically designed to detect adult, violent, and offensive content in images, text, and video.
Question 7: Your AI solution uses a Cognitive Services resource, and you need to rotate the access key without downtime. What is the best approach?
- Delete and recreate the Cognitive Services resource
- Update the key in all clients simultaneously
- Use the secondary key in clients before regenerating the primary key (Correct answer)
- Enable managed identity to avoid key rotation
Correct answer: Use the secondary key in clients before regenerating the primary key
Switching clients to the secondary key before regenerating the primary key ensures continuous availability during rotation.
Your company wants to extract key phrases and detect sentiment from customer feedback stored in Azure Blob Storage.
Which Azure Cognitive Service should you use?