Which example best demonstrates handling user intent through constraints?
Answer
User: “Give practical steps to secure a web app, focusing on authentication and sessions.”
Explanation
Constraining scope (web app security) and focus areas (authentication and sessions) directs the response toward the user’s specific intent.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Consider safety and responsible use. Which action best helps prevent unsafe or disallowed outputs?
View question →
You want structured output (e.g., a checklist). What is the most effective instruction?
View question →
In prompt engineering, what does “few-shot prompting” typically involve?
View question →
You ask Claude to summarize a document. Which approach most improves summarization quality?
View question →
Which statement best describes what an LLM is in the context of Claude Certified Associate — Foundations?
View question →
When a model output may contain inaccuracies, which strategy is most effective?
View question →