AI-102 exam dumps

AI-102 practice question 481 of 493

Designing and Implementing a Microsoft Azure AI Solution. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AI-102 Question 481

Select 3

You are building a chatbot using Azure OpenAI Service to provide customer support. During testing, you notice that the responses from the model are frequently vague and not directly addressing the user queries. Which prompt engineering techniques can you apply to improve the quality and relevance of the responses?

  1. A

    Provide explicit instructions in the prompt to guide the model's response.

  2. B

    Include examples of desired outputs in the prompt.

  3. C

    Shorten the prompt to reduce the processing time and improve response quality.

  4. D

    Use system messages to define the chatbot's role and tone.

  5. E

    Avoid specifying the format of the response to let the model be more creative.

Show answer and explanation

Correct answers: A, B, D

Explanation

Prompt engineering involves techniques like providing clear instructions, using examples, and leveraging system messages to improve the quality and relevance of responses. These approaches help guide the AI model to better understand the intent and context of the query, resulting in more accurate and satisfactory outputs. Avoiding structure or relying on overly simplistic prompts often leads to suboptimal results.

  • A. Correct.

    Providing explicit instructions ensures the model understands the specific intent and context, leading to more accurate and relevant responses.

  • B. Correct.

    Including examples of desired outputs in the prompt helps the model align its responses with your expectations.

  • C. Incorrect.

    Shortening the prompt does not inherently improve the quality of the response. Context and clarity in the prompt are more important than its length.

  • D. Correct.

    Using system messages allows you to set the chatbot's role and tone, ensuring consistency in the responses provided.

  • E. Incorrect.

    Avoiding specification of the response format can lead to inconsistent and vague outputs, as the model may not understand the desired structure or detail.

Timed practice exam

Take a AI-102 practice test under exam conditions

40 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam