🔥 40% Off Crucial Exams Memberships — This Week Only

3 days, 11 hours remaining!

AWS Certified AI Practitioner AIF-C01 Practice Question

A developer adds the line "You are a security analyst who answers in JSON." at the start of every LLM request. In prompt engineering, what is the main purpose of including this role statement?

  • Override built-in safety filters so the model can include restricted content.

  • Guide the model's persona and output format so responses stay consistent with the intended task.

  • Lower the model's randomness by implicitly reducing the temperature parameter.

  • Increase the prompt's token count to encourage the model to produce longer answers.

AWS Certified AI Practitioner AIF-C01
Fundamentals of Generative AI
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