Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Extract information from images by using Content Understanding

A worked example

Single answer

A developer will create a new Microsoft Foundry resource in an existing resource group and then call the Content Understanding REST API to generate a text description of each chart image (JPG files) in a reporting archive. You must assign the developer a built-in role at the resource group scope, following the principle of least privilege.

Which role should you assign, and which analyzer should the developer call?

Choose one answer
Why

Two requirements must both be met. To create the Foundry resource, the developer needs Contributor or higher on the subscription or resource group, so Contributor is the least-privileged choice among these roles. To produce a description of each chart image, the developer calls the prebuilt-imageSearch analyzer, which generates a description of an image.

  • Not correct: Reader role; prebuilt-imageSearch analyzer. Creating the Foundry resource requires the Contributor role or higher, and Reader is below Contributor.
  • Not correct: Contributor role; prebuilt-videoSearch analyzer. The prebuilt-videoSearch analyzer extracts keyframes, transcripts and chapter segments from video, not descriptions of still JPG images.
  • Not correct: Contributor role; prebuilt-invoice analyzer. The prebuilt-invoice analyzer extracts structured data from invoice documents; it does not generate a description of a chart image.
  • Not correct: Owner role; prebuilt-imageSearch analyzer. Owner meets the Contributor-or-higher requirement but grants more than needed, because Contributor is enough to create the resource.
  • Correct: Contributor role; prebuilt-imageSearch analyzer. Contributor is the lowest of these roles that meets the stated requirement for creating the Foundry resource, and prebuilt-imageSearch generates a description of an image.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free