AWS Certified AI Practitioner · Free Practice Question Easy

Question 3

A company is using a generative AI model to summarize a text based on a given prompt without providing specific examples in the prompt instructions.

What type of prompting technique does the given use case represent?

  • A

    Negative prompting

  • B

    Few shot Prompting

  • C

    Chain-of-thought prompting

  • D

    Zero shot Prompting

Reveal correct answer

Correct answer: D

Explanation

Correct option:

Zero shot Prompting

Zero-shot prompting is a technique used in generative AI where the model is asked to perform a task or generate content without having seen any examples of that specific task during training. Instead, the model relies on its general understanding and knowledge to provide a response.

For example, classifying text into categories (e.g., sentiment analysis, topic detection) without providing specific training examples for those categories.

Incorrect options:

Negative prompting - Negative prompting refers to guiding a generative AI model to avoid certain outputs or behaviors when generating content. In the context of AWS generative AI, like those using Amazon Bedrock, negative prompting is used to refine and control the output of models by specifying what should not be included in the generated content. For example, when generating text for a marketing campaign, a company can use negative prompts to exclude competitive brand names or sensitive topics.

Chain-of-thought prompting - Chain-of-thought prompting is a technique that breaks down a complex question into smaller, logical parts that mimic a train of thought. This helps the model solve problems in a series of intermediate steps rather than directly answering the question. This enhances its reasoning ability. It involves guiding the model through a step-by-step process to arrive at a solution or generate content, thereby enhancing the quality and coherence of the output.

Few shot Prompting - In few shot prompting, you provide a few examples of a task to the model to guide its output.

Reference:

https://aws.amazon.com/what-is/prompt-engineering/

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