↑ ↓ 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 4 of 12

    Question AI-901-021

    Drop-downChoose an answer.

    You are building an application that converts text to spoken audio and stores the synthesized audio in a file by using Azure Speech in Foundry Tools.

    How should you complete the Python code?

    import azure.cognitiveservices.speech as speechsdk ... speech_config = speechsdk.SpeechConfig(subscription=key, region=region) audio_config = speechsdk.audio. synthesizer = speechsdk.SpeechSynthesizer( speech_config=speech_config, audio_config=audio_config ) ...
    Enter check answerF flag←→ move