Microsoft Azure AI Engineer Associate AI-102 Practice Question
You have published a prompt flow named draft-email from an Azure AI project called marketing-comms to a managed online endpoint. You now need to call the flow from a line-of-business Python web API and must reuse the project's existing authentication and routing configuration. According to the Azure AI SDK, which client object should you instantiate first in your application code to interact with your project and invoke the deployed flow?
OnlineDeployment from the azure.ai.ml.entities package
MLClient from the azure.ai.ml package
AIProjectClient from the azure.ai.projects package
AzureOpenAIClient from the azure.ai.openai package
The Azure AI SDK uses a top-level client to interact with project resources. You should begin by creating an AIProjectClient, passing in the project's endpoint and a credential. This client is the primary entry point for accessing all resources within the Azure AI project, including online endpoints where prompt flows are deployed. Instantiating the MLClient provides access to the broader Azure Machine Learning workspace but is not the specific client for an AI project. OnlineDeployment is an entity object representing a deployment, not an interactive client. AzureOpenAIClient is used for calling an Azure OpenAI model directly, not for invoking a deployed prompt flow which may orchestrate one or more models.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of the AIProjectClient in the Azure AI SDK?
Open an interactive chat with Bash
How does AIProjectClient differ from MLClient?
Open an interactive chat with Bash
What credentials and configuration are needed to initialize AIProjectClient?
Open an interactive chat with Bash
Microsoft Azure AI Engineer Associate AI-102
Implement generative AI solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .