↑ ↓ to move, Enter to open, Esc to close

    AI-901Azure AI Fundamentals

    Switch exam

    Microsoft Azure

    aws Amazon Web Services

    Google Cloud

    ServiceNow

    Databricks

    Cisco

    Salesforce

    All exams and search
    Free exam

    AI-901 · Practice

    Question 1 of 25

    Question AI-901-011

    Drag and dropPlace the right item in each slot.

    You have a Microsoft Foundry project named project1 that contains an Azure OpenAI resource named Resource1.

    A gpt-4.1-mini model is deployed to Resource1 by using the model deployment named my-mini-gpt.

    You need to connect to my-mini-gpt from an application.

    How should you complete the Python code? Each value may be used once, more than once, or not at all.

    Drag an item to a slot, or select an item and then a slot. Items can be used more than once.

    client = OpenAI(api_key="...", base_url="https://.openai.azure.com/openai/v1/",) response = client.responses.create( model="", ... )
    Enter check answerF flag←→ move