exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 7 question 2 discussion

Actual exam question from Microsoft's AI-102
Question #: 2
Topic #: 7
[All AI-102 Questions]

You have an Azure subscription. The subscription contains an Azure OpenAI resource that hosts a GPT-3.5 Turbo model named Model1.

You configure Model1 to use the following system message: “You are an AI assistant that helps people solve mathematical puzzles. Explain your answers as if the request is by a 4-year-old.”

Which type of prompt engineering technique is this an example of?

  • A. few-shot learning
  • B. affordance
  • C. chain of thought
  • D. priming
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
River06
Highly Voted 1 year, 1 month ago
Selected Answer: D
Priming is utilised in this example because it involves setting up the context or role of the AI model explicitly in a system message. It instructs the model about its role (“You are an AI assistant that helps people solve mathematical puzzles.") and also provides directions about how it should respond ("Explain your answers as if the requestor is a 4-year-old."). This essentially 'primes' the model for the conversation, as it lets the model know the expected behavior and persona that it needs to take on throughout the dialogue.
upvoted 14 times
[Removed]
1 year, 1 month ago
ChatGPT gave the same answer.
upvoted 1 times
...
...
eskimolight
Highly Voted 10 months ago
Exam Question June 2024
upvoted 6 times
...
syupwsh
Most Recent 1 month, 4 weeks ago
Selected Answer: D
Priming is CORRECT because it involves setting up the model with specific instructions or context in the system message to guide its responses. In this case, the system message instructs the model to explain mathematical puzzles as if the request is by a 4-year-old, which is a clear example of priming. D it is
upvoted 1 times
...
HaraTadahisa
10 months, 1 week ago
Selected Answer: D
I say this answer is D.
upvoted 2 times
...
nanaw770
10 months, 2 weeks ago
Selected Answer: D
D is correct answer.
upvoted 2 times
...
demonite
10 months, 3 weeks ago
C is the answer : to explain it step by step Not priming, that manipulates the output
upvoted 1 times
...
taiwan_is_not_china
11 months ago
Selected Answer: A
A. few-shot learning is right answer.
upvoted 1 times
Toby86
9 months, 3 weeks ago
Where is the example? Few shot is: 2+2=4, 5+5=10. What is 4+4?
upvoted 1 times
...
...
Eskape
11 months ago
A is the answer. A common way to adapt language models to new tasks is to use few-shot learning. In few-shot learning, a set of training examples is provided as part of the prompt to give additional context to the model. When using the Chat Completions API, a series of messages between the User and Assistant (written in the new prompt format), can serve as examples for few-shot learning. These examples can be used to prime the model to "respond in a certain way, emulate particular behaviors", and seed answers to common questions.
upvoted 2 times
Toby86
9 months, 3 weeks ago
Are we reading the same question? There are no examples.
upvoted 1 times
...
...
bugimachi
1 year ago
Selected Answer: C
I'd go with "chain of thoughts", since it's about explaining the answers. Priming is a different story: "This refers to including a few words or phrases at the end of the prompt to obtain a model response that follows the desired form. For example, using a cue such as “Here’s a bulleted list of key points:\n- ” can help make sure the output is formatted as a list of bullet points." ...that's not the case here! https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/advanced-prompt-engineering?pivots=programming-language-chat-completions#prime-the-output
upvoted 3 times
...
shorymor
1 year ago
Selected Answer: D
Priming is the answer https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/advanced-prompt-engineering?pivots=programming-language-chat-completions#system-message
upvoted 3 times
...
chandiochan
1 year, 1 month ago
Selected Answer: D
Must be priming, here we setting the role for the AI model
upvoted 1 times
...
warrior1234
1 year, 1 month ago
D. Priming Priming involves providing context or instructions to the model before it generates a response. In this case, the system message is priming the GPT-3.5 Turbo model by setting the expectation that it should provide explanations in a way that is understandable to a 4-year-old. This technique helps guide the model's behavior and output based on the given context or instruction.
upvoted 2 times
...
Harry300
1 year, 1 month ago
Selected Answer: C
chain of thought. Try it on OpenAI. It explains step by step for a formular like 7+5*3+8
upvoted 1 times
famco
7 months, 3 weeks ago
sir, really, no
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago