Microsoft Certified Azure AI Engineer Associate · Free Practice Question Easy

Question 14

You have an Azure subscription that contains an Azure Open AI resource.

You configure a model that has the following settings:

• Temperature: 1

• Top probabilities: 0.5

• Max response tokens: 100


You ask the model a question and receive the following response.



Statement: Subscription will be charged 86 Tokens for the execution of the session ?

  • A

    True

  • B

    False

Reveal correct answer

Correct answer: B

B.

Token costs are for both input and output. For example, suppose you have a 1,000 token JavaScript code sample that you ask an Azure OpenAI model to convert to Python. You would be charged approximately 1,000 tokens for the initial input request sent, and 1,000 more tokens for the output that is received in response for a total of 2,000 tokens.

The total tokens used for the session include both the prompt tokens (37) and the completion tokens (86), totaling 123 tokens. Therefore, the subscription will be charged for 123 tokens, not just 86.


https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/manage-costs?wt.mc_id=knwlserapi_inproduct_azportal#understand-the-azure-openai-full-billing-model

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need