Microsoft Azure AI Fundamentals Azure Cognitive Services 1 — Questions and Answers
Question 1: What are Azure Cognitive Services (now Azure AI Services)?
- A set of virtual machines optimized for AI workloads
- Pre-built AI APIs and models accessible via REST endpoints without requiring ML expertise (Correct answer)
- A managed Kubernetes cluster for deploying AI models
- A code library for building neural networks from scratch
Correct answer: Pre-built AI APIs and models accessible via REST endpoints without requiring ML expertise
Azure Cognitive Services (rebranded as Azure AI Services) are pre-built AI capabilities exposed as REST APIs that developers can consume without deep machine learning knowledge.
Question 2: Which pricing tier for Azure Cognitive Services allows you to use the APIs for free within monthly usage limits?
- Basic tier
- Standard tier
- Free (F0) tier (Correct answer)
- Developer tier
Correct answer: Free (F0) tier
The Free (F0) tier of Azure Cognitive Services provides limited API calls per minute and per month at no cost, suitable for development and testing.
Question 3: How do you authenticate API calls to Azure Cognitive Services?
- Using an Azure Active Directory username and password in every request
- Using a subscription key (API key) passed in the request header (Correct answer)
- Using a public RSA key embedded in the service endpoint URL
- No authentication is required for Cognitive Services APIs
Correct answer: Using a subscription key (API key) passed in the request header
Azure Cognitive Services authenticate API calls using a subscription key passed in the Ocp-Apim-Subscription-Key header, or via an Azure AD token.
Question 4: What is an Azure Cognitive Services 'endpoint'?
- The geographic region where data is stored
- The unique URL used to send API requests to a provisioned Cognitive Services resource (Correct answer)
- A billing unit for measuring API usage
- A type of Azure virtual network configuration
Correct answer: The unique URL used to send API requests to a provisioned Cognitive Services resource
The endpoint is the base URL unique to your Cognitive Services resource, used to route API requests to the correct service instance.
Question 5: Which category of Azure AI Services focuses on understanding and processing human language?
- Azure AI Vision
- Azure AI Language (Correct answer)
- Azure AI Search
- Azure AI Bot Service
Correct answer: Azure AI Language
Azure AI Language (part of Azure AI Services) provides NLP capabilities including sentiment analysis, NER, key phrase extraction, and conversational language understanding.
Question 6: What is the Azure AI Services 'multi-service' resource?
- A resource that trains multiple custom ML models simultaneously
- A single Azure resource that provides access to multiple Cognitive Services APIs under one key and endpoint (Correct answer)
- A network configuration that connects multiple Azure regions
- A subscription plan that waives all API usage fees
Correct answer: A single Azure resource that provides access to multiple Cognitive Services APIs under one key and endpoint
A multi-service resource lets you access multiple Azure AI Services (Vision, Language, Speech, etc.) using a single API key and endpoint, simplifying management.
What are Azure Cognitive Services (now Azure AI Services)?