AWS Certified AI Practitioner AIF-C01 Practice Question

A developer must prevent an LLM from returning personal data in its responses. Which prompt-engineering practice provides this guardrail at the prompt level?

  • Increase the maximum output tokens so responses can fully elaborate.

  • Insert a negative prompt that instructs the model to exclude any personal data.

  • Provide chain-of-thought examples so the model explains its reasoning step-by-step.

  • Set the temperature parameter close to 0 to make outputs more deterministic.

AWS Certified AI Practitioner AIF-C01
Applications of Foundation Models
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot