Test your understanding of Azure AI Foundry fundamentals. Choose the best answer for each question.
Your company is starting a new generative AI initiative with multiple teams working on different applications. All teams need access to GPT-4o and Azure AI Search. What is the recommended resource structure?
A) Create a separate AI Hub for each team
B) Create one AI Hub with shared connections and a separate Project for each team
C) Create one Project and share it across all teams
D) Skip AI Foundry and use standalone Azure OpenAI resources
Which underlying Azure resource does AI Foundry use to securely store connection strings and API keys?
A) Azure Storage Account
B) Azure Container Registry
C) Azure Key Vault
D) Azure App Configuration
You need to deploy an AI Foundry hub that is only accessible from your corporate network. Which networking option should you choose?
A) Public access with IP allowlist
B) Managed Virtual Network with private endpoints
C) Azure Front Door
D) Network Security Group only
What is the purpose of a Connection in Azure AI Foundry?
A) To link two AI Hubs together
B) To connect a Project to an external Azure or third-party resource
C) To establish a VPN tunnel to on-premises systems
D) To synchronize data between regions
Which Python package should you install to make chat completion calls to models deployed in AI Foundry?
A) azure-ai-ml
B) azure-ai-projects
C) azure-ai-inference
D) azure-cognitiveservices-language
You are deploying infrastructure for AI Foundry using Bicep. What kind property do you set on the Microsoft.MachineLearningServices/workspaces resource to create a hub?
A) kind: 'Workspace'
B) kind: 'Hub'
C) kind: 'AIServices'
D) kind: 'Project'
What is the recommended authentication approach when developing with the Azure AI Foundry SDK?
A) Embed API keys directly in source code
B) Use DefaultAzureCredential from azure-identity
C) Store keys in environment variables and read them at runtime
D) Use shared access signatures (SAS tokens)
A developer wants to quickly test GPT-4o with different system prompts before writing any application code. Which AI Foundry feature should they use?
A) Prompt Flow
B) Model Catalog
C) Chat Playground
D) Evaluation
Your organization has strict compliance requirements that mandate all AI resources in Europe must be separate from those in North America. How should you structure your AI Foundry resources?
A) One hub with projects in different regions
B) Separate hubs in each region
C) One project with multi-region deployments
D) Use Azure Front Door to route between regions
Which of the following is NOT automatically created when you provision an AI Foundry Hub?
A) Storage Account
B) Key Vault
C) Azure SQL Database
D) AI Services resource
You want to use both GPT-4o from OpenAI and Llama 3.1 from Meta in the same application. What feature of AI Foundry makes this possible?
A) Model fine-tuning
B) Model catalog with multiple deployment types
C) Prompt Flow only
D) Custom containers
What is the relationship between an AI Hub and an AI Project?
A) They are independent resources with no relationship
B) A Project contains multiple Hubs
C) A Hub contains multiple Projects and provides shared infrastructure
D) They are the same resource with different views
Which CLI extension must you install to manage AI Foundry resources from the Azure CLI?
A) az extension add --name ai
B) az extension add --name ml
C) az extension add --name cognitiveservices
D) az extension add --name ai-foundry
A team is building a RAG-based chatbot that needs Azure OpenAI for LLM calls and Azure AI Search for document retrieval. Where should these service references be configured?
A) As environment variables in the application
B) As Connections at the Hub level
C) As separate resource groups
D) As Kubernetes secrets
You deployed an AI Foundry hub in East US. Your team in London reports high latency when using the playground. What is the recommended solution?
A) Upgrade to a higher SKU
B) Create an additional hub in a European region (e.g., UK South or Sweden Central)
C) Enable CDN for the hub
D) Increase the rate limit on the deployment
| Score | Rating |
|---|---|
| 13–15 | ⭐ Excellent — Ready for Module 2 |
| 10–12 | 👍 Good — Review missed topics |
| 7–9 | 📖 Fair — Re-read lessons before continuing |
| < 7 | 🔄 Needs review — Revisit all lessons |
| *← Lesson 2 | Module 2 — Projects & Hubs →* |