Exam AI-901 Topic 1 Question 110 Discussion
Actual exam question for Microsoft's AI-901 exam
Question #: 110
Topic #: 1
Question #: 110
Topic #: 1
You ate building an application that uses Azure Speech in Foundry Tools. You need to initialize the Speech SDK for Python oy creating a SpechConfig object. Which values should you specify?
Suggested Answer: D Vote an answer
To initialize the Azure Speech SDK for Python, you create a SpeechConfig object with information for the Speech resource. Microsoft documentation states that SpeechConfig includes information such as the Speech resource key and associated region, endpoint, host, or authorization token . It also shows the Python pattern:
speech_config = speechsdk.SpeechConfig(subscription= " YourSpeechKey " , region= " YourSpeechRegion " ) or, for endpoint-based configuration:
speech_config = speechsdk.SpeechConfig(subscription=os.environ.get( " SPEECH_KEY " ), endpoint=os.
environ.get( " ENDPOINT " ))
Therefore, among the provided options, the correct answer is D. the Foundry resource key and endpoint .
Options A, B, and C are incorrect because Speech SDK initialization does not use an OpenAI model deployment name, storage account credentials, or the Foundry project name/project endpoint.
speech_config = speechsdk.SpeechConfig(subscription= " YourSpeechKey " , region= " YourSpeechRegion " ) or, for endpoint-based configuration:
speech_config = speechsdk.SpeechConfig(subscription=os.environ.get( " SPEECH_KEY " ), endpoint=os.
environ.get( " ENDPOINT " ))
Therefore, among the provided options, the correct answer is D. the Foundry resource key and endpoint .
Options A, B, and C are incorrect because Speech SDK initialization does not use an OpenAI model deployment name, storage account credentials, or the Foundry project name/project endpoint.
by Egbert at Nov 12, 2026, 03:47 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).