AI-102 exam dumps

AI-102 practice question 483 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 483

Select 3

You are designing an Azure AI chatbot that uses OpenAI's GPT model to respond to user queries. The initial responses are vague and lack specific actionable insights. You want to use prompt engineering techniques to improve the chatbot's responses. Which of the following techniques should you apply?

  1. A

    Provide clear instructions and examples in the prompt to guide the model's response.

  2. B

    Add randomness to the prompt to generate diverse responses.

  3. C

    Use a structured format in the prompt, such as bullet points or specific sections.

  4. D

    Include a system message in the prompt to define the chatbot's behavior and tone.

  5. E

    Shorten the prompt to ensure faster processing and response times.

Show answer and explanation

Correct answers: A, C, D

Explanation

Prompt engineering techniques, such as providing clear instructions and examples, using structured formats, and defining the chatbot's behavior through a system message, are effective in improving the quality and relevance of responses. These strategies ensure the model operates within the desired scope and produces accurate, actionable outputs.

  • A. Correct.

    Providing clear instructions and examples helps the model understand the desired output format and improves response quality.

  • B. Incorrect.

    Adding randomness to the prompt is not a recommended technique for improving response quality, as it may lead to inconsistent results.

  • C. Correct.

    Using structured formats in the prompt enables the model to generate well-organized and actionable responses.

  • D. Correct.

    Including a system message helps establish the chatbot's intended behavior and tone, leading to more relevant and accurate responses.

  • E. Incorrect.

    Shortening the prompt may reduce context and clarity, negatively affecting the quality of the responses.

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