Questão 23 — Amazon AIF-C01 Simulado | AWS Certified AI Practitioner Questões e Respostas

An AI practitioner is using Amazon Bedrock Prompt Management to create a reusable prompt. The prompt must be able to interact with external services by calling an external API. Which solution will meet this requirement?
  • A. Use special tokens.
  • B. Use a tools configuration.
  • C. Use prompt variables.
  • D. Use a stop sequence.
Resposta correta: B

Explicação

Explanation: The correct answer is B because Amazon Bedrock Prompt Management supports tool use via tools configuration, which enables a prompt to define tools that can invoke external APIs or services. According to the AWS documentation: "You can use the tools configuration in Amazon Bedrock to specify external APIs that a foundation model can call during inference. This enables the model to interact with external services, such as invoking functions, retrieving real-time data, or executing workflows." The tools configuration allows a prompt to describe which external functions (APIs) are available, their parameters, and how they should be invoked, similar to OpenAI's function calling or tool use pattern.