AWS Certified AI Practitioner (AIF-C01) — Question 235
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?
Answer options
- A. Use special tokens.
- B. Use a tools configuration.
- C. Use prompt variables.
- D. Use a stop sequence.
Correct answer: B
Explanation
The correct answer is B, as a tools configuration allows the prompt to call external APIs effectively. The other options, such as special tokens, prompt variables, and stop sequences, do not provide the necessary functionality to interact with external services.