Microsoft Azure AI Engineer Associate AI-102 Practice Question
You send a Recognize PII Entities REST request to Azure AI Language. Besides returning the array of detected entities, the response must contain a copy of the submitted text in which every PII substring is masked with asterisks. Which request property must you set so the service includes this redacted version of the text in its response?
Set the redactionPolicy in the request parameters and choose a masking policy, such as characterMask.
Set stringIndexType to UnicodeCodePoint.
Add disableServiceLogs set to true in the request header.
The service returns the redactedText field only when a masking redaction policy is applied. You enable masking by setting the redactionPolicy property (for example, policyKind = characterMask or entityMask). If you omit redactionPolicy or set it to noMask, the service returns the original text and the redactedText field is omitted. The domain, stringIndexType, and disableServiceLogs settings do not control whether redactedText is included.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of the redactionPolicy property in the Recognize PII Entities REST request?
Open an interactive chat with Bash
What is the difference between characterMask and entityMask in the redactionPolicy property?
Open an interactive chat with Bash
Why doesn't setting domains, stringIndexType, or disableServiceLogs affect the redactedText field?
Open an interactive chat with Bash
Microsoft Azure AI Engineer Associate AI-102
Implement natural language processing solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .