Skip to main content

AI-200 practice question · Secure, Monitor, and Troubleshoot Azure Solutions

A company uses Microsoft Entra ID authentication with an Azure AI Content Safety resource.

A company uses Microsoft Entra ID authentication with an Azure AI Content Safety resource. A small trusted group must be able to create and edit custom blocklists through the data-plane API. A broader group should only be able to view the blocklists and must not change them. What should you configure?

  • ARole assignments on the resource: Cognitive Services Data Reader for the broad group and Cognitive Services User for the trusted group
  • BRole assignments on the resource: Reader for the broad group and Cognitive Services Contributor for the trusted group
  • CA ReadOnly resource lock on the Content Safety resource, which the trusted group removes before editing the blocklists
  • DGive the resource's Key 1 to the trusted group and give the broad group Key 2 to use for read-only access
Show the answer and explanation

Correct answer: A) Role assignments on the resource: Cognitive Services Data Reader for the broad group and Cognitive Services User for the trusted group

With Entra ID, access to Content Safety data-plane operations such as blocklist management is controlled by data-plane RBAC roles: Cognitive Services Data Reader for view-only access and Cognitive Services User for full data-plane access. Control-plane roles, locks and shared keys can't separate viewers from editors.

Why each option is right or wrong

  • A) Correct. Blocklists are managed through data-plane operations. Cognitive Services Data Reader grants only the data action Microsoft.CognitiveServices/*/read, which allows viewing. Cognitive Services User grants data-plane access to the resource, including changes. Scoping both assignments to the resource applies least privilege.
  • B) Incorrect. Reader and Cognitive Services Contributor are control-plane roles. Cognitive Services Contributor defines no DataActions, so neither group could read or edit blocklists through the data-plane API with Entra ID.
  • C) Incorrect. A lock applies to all users and roles, so it can't give different access to different groups. Locks also apply only to control-plane operations, so a ReadOnly lock wouldn't stop anyone from changing blocklists through the data plane.
  • D) Incorrect. The two resource keys are interchangeable and exist so keys can be rotated. Each one gives full access to the resource, so Key 2 isn't read-only. Sharing keys also gets around the Entra ID and RBAC model.
Question type
Multiple choice (one answer)

Practise the full AI-200 exam

This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.