Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AI-500 Exam - Topic 3 Question 6 Discussion

Posted by Rosalind on Sep 30, 2026 at 02:05 AM

You need to modify claim Approval to prevent the prompt injection issue. Which guardrail should you use?

Suggested Answer: B

The malicious text is contained in an uploaded email rather than being typed directly as the user's prompt. Microsoft classifies malicious instructions embedded in external or retrieved content as an indirect prompt-injection attack. Prompt Shields for documents is designed to detect those attacks in document content before the content can steer the model away from its system instructions. Prompt Shields for user prompts addresses direct attacks originating in the user's prompt and therefore targets the wrong attack surface here. Groundedness evaluates whether a response is supported by context; it does not prevent an injected instruction from changing agent behavior. Task Adherence can assess whether an agent follows its task constraints, but it is not the primary control for document-borne prompt injection. Because the source of the attack is the uploaded email, the document-oriented Prompt Shields control is the technically aligned guardrail. The same configuration should be paired with auditable identity, trace, and evaluation data so reviewers can prove which principal acted, which policy was applied, and why a request was allowed or blocked. That is particularly important for production multi-agent systems with external tools.

Official Microsoft reference: Microsoft Foundry guardrails - intervention points and indirect attacks


Get Premium AI-500 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
AV
Avery
I prefer A. Task adherence keeps everything on track.
VA
Valentin 5 days ago
I think D is the best choice. User prompts need protection.
BE
Bette 10 days ago
Not sure if any of these will fully prevent injection issues.
TH
Thersa 15 days ago
Totally agree with D, it makes the most sense!
FL
Floyd 20 days ago
Wait, can prompt shields really fix this? Sounds risky!
JU
Juliana 26 days ago
A seems too vague for this issue.
YU
Yun 1 month ago
I think D is the best choice for user prompts.
LO
Loren 1 month ago
I'm leaning towards option D, prompt shields for user prompts, since it seems more directly related to preventing injection issues.
GL
Glendora 1 month ago
I remember practicing with a similar question, and I think the answer was related to task adherence, but I might be mixing it up with another topic.
BR
Brendan 2 months ago
I feel like groundedness detection was mentioned as a way to handle prompt injection, but I'm not entirely sure if it's the best option here.
SV
Svetlana 2 months ago
I think we discussed something about prompt shields in class, but I can't remember if it was specifically for documents or user prompts.
0/2000 characters

Save Cancel