You are tasked to identify the PII data in a given text.
Using custom functions, your application will anonymize that data to comply with the regulations.
For this purpose, you decide to use Azure Content Moderator API to identify the PII information in a given text.
Review the JSON response for the text “Is this a correct email test@domain.com, IP: 255.255.255.255” and complete the statement by choosing appropriate answer choices.
[select three answer choices]
"pii":{ "....................................":[ { "detected":"test@domain.com", "sub_type":"Regular", "text":"test@domain.com", “....................................":21 } ], "....................................":[ { "sub_type":"IPV4", "text":"255.255.255.255", "index":27 } ], }
Click on the arrows to vote for the correct answer
A. B. C. D. E.Correct Answers: B, C and D
Here is the completed JSON response.
<pre>"pii":{
"email":[
{
"detected":"test@domain.com",
"sub_type":"Regular",
"text":"test@domain.com",
"index":21
}
],
"ipa":[
{
"sub_type":"IPV4",
"text":"255.255.255.255",
"index":27
}
],
}
</pre>Option A is incorrect because “index” is the correct keyword that gives the location of the text.
Option B is correct because “index” is the correct keyword that gives the location of the text.
Option C is correct because "email” is the identified personal data feature for email test@domain.com.
Option D is correct because “ipa” is the identified personal data feature for the IP address 255.255.255.255.
Option E is incorrect because “index” is the correct keyword that gives the location of the text.
Reference:
To learn more about text moderation using content moderator API, use the link given below: