DashboardPart 6Full Quiz
✅ Part 6 · All 3 Topics

Part 6 Full Quiz

15 scenario-based questions covering all 3 Part 6 topics. Select an answer to reveal the explanation.

Question
1 / 15
Score
0 / 15
Progress
Part 6 — Computer Vision1 / 15
🖼️ Topic 1 — Analyze Images
Scenario: A developer is analysing product photos using Azure AI Vision Image Analysis 4.0. For each image, they need: (1) category labels describing what is in the image overall, (2) the locations of specific recognisable objects within the image with bounding boxes, and (3) a single natural-language sentence summarising the image.

Which three visual features should the developer request in a single analyze() call?

💡 Explanation

B is correct. TAGS returns category labels for the whole image without location information — exactly requirement (1). OBJECTS returns specific detected items with bounding box coordinates (x, y, width, height as fractions) — requirement (2). CAPTION returns a single natural-language descriptive sentence — requirement (3). DENSE_CAPTIONS (option C) generates multiple captions for different regions — not what was asked. READ extracts text (OCR) — not needed. PEOPLE detects human figures — not the same as general object detection. All three correct features can be requested in one analyze() call, which is more efficient than making separate requests.

🖼️ Topic 1 — Analyze Images
Scenario: A news agency wants to build a system that automatically reads text from photographs of printed documents, handwritten notes, and newspaper clippings. The extracted text must include the position of each word in the image so the agency can reconstruct the document layout.

Which Azure AI Vision feature provides this, and what does its result structure look like?

💡 Explanation

C is correct. The READ visual feature is the OCR capability of Image Analysis 4.0. It extracts text from both printed and handwritten sources and returns a hierarchical structure: Pages → Lines → Words. Each Word object has: the recognised text, a confidence score, and a bounding polygon (list of vertex coordinates — not just a rectangle, but the actual polygon boundary of the word in the image). This enables precise layout reconstruction. TAGS (A) returns content category labels, not text content. CAPTION (B) writes a description sentence about the image, not the actual text within it. OBJECTS (D) detects things like "car" or "bottle" — not text content.

🖼️ Topic 1 — Analyze Images
Scenario: A security company wants to use Azure AI Vision in two ways: (1) Detect whether any faces are present in security camera still images and count them. (2) Identify which specific employees appear in the images by matching faces against a database of employee photos.

Which of these capabilities requires Microsoft Limited Access approval?

💡 Explanation

B is correct. Microsoft's Responsible AI policy distinguishes between detection and identification. Face detection (finding that faces exist, counting them, getting their location and basic attributes like estimated age) is available without approval — it's low privacy risk. Face identification (matching a detected face to a specific known person) creates biometric recognition capabilities and carries significant privacy implications, so it requires Microsoft Limited Access approval before use. This distinction appears frequently in the exam — the key question is always whether you need to know WHO the face belongs to (identification → approval needed) or just that faces exist (detection → no approval).

🖼️ Topic 1 — Analyze Images

An Image Analysis 4.0 result shows an object with bounding box values: x=0.15, y=0.30, width=0.40, height=0.25. The source image is 1200 × 800 pixels. What are the pixel coordinates of the top-left corner and the bottom-right corner of the bounding box?

💡 Explanation

C is correct. Image Analysis bounding boxes use normalised coordinates (0.0–1.0 as fractions of the image). x=0.15 and y=0.30 are the top-left corner as fractions. width=0.40 and height=0.25 are the box dimensions as fractions. To convert: top-left pixel = (x × img_width, y × img_height) = (0.15 × 1200, 0.30 × 800) = (180, 240). Bottom-right pixel = ((x + width) × img_width, (y + height) × img_height) = (0.55 × 1200, 0.55 × 800) = (660, 440). Option B makes the mistake of using x and width directly without adding them together for bottom-right, and doesn't multiply by image dimensions correctly.

🖼️ Topic 1 — Analyze Images
Scenario: A travel website wants to display hero images at multiple aspect ratios — 16:9 for desktop headers, 1:1 for mobile thumbnails, and 4:3 for tablet cards — without manually editing each photo. They have thousands of images in Azure Blob Storage and need automatic crop suggestions that focus on the most visually interesting part of each image.

Which Azure AI Vision 4.0 feature handles this requirement?

💡 Explanation

C is correct. Smart Cropping is designed exactly for this use case — automatic crop suggestion at multiple aspect ratios. You request SMART_CROPS as a visual feature and specify the desired aspect ratios. The service uses saliency detection to identify the most visually interesting and important part of the image and returns crop rectangle suggestions that preserve that area at each ratio. DENSE_CAPTIONS (A) describes regions in text, not crop coordinates. Background Removal (B) is useful for subject isolation but doesn't handle aspect-ratio cropping. OBJECTS (D) finds item boundaries — not the same as finding the best compositional crop for the image.

🎯 Topic 2 — Custom Vision Models
Scenario: A food delivery app receives photo submissions from restaurant partners. Each photo can show multiple food items — a single photo may include a burger, fries, and a drink simultaneously. The company wants to automatically label each photo with all applicable category tags (e.g. "Fast Food", "Beverage", "Sides") to power search filters.

Which Custom Vision project type is correct for this scenario?

💡 Explanation

C is correct. The key requirement is "each photo can include multiple categories simultaneously" — this is the definition of multi-label classification. Multi-label classification assigns multiple tags to a single image where categories are NOT mutually exclusive. Multi-class classification (A/D) assigns exactly ONE tag per image — categories are mutually exclusive. It cannot assign "Fast Food" AND "Beverage" to the same image. Object Detection (B) would find where each item is in the image with bounding boxes — overkill for this use case, which only needs whole-image category labels, not locations. No location information is needed for the search filter requirement.

🎯 Topic 2 — Custom Vision Models
Scenario: A printed circuit board manufacturer uses Custom Vision object detection to inspect boards. After training, the model shows: Precision: 95%, Recall: 71%, mAP: 68%. The quality team says the model is missing too many actual defects — defective boards are slipping through the inspection line into production.

What single change to the model configuration will best address this concern?

💡 Explanation

C is correct. The problem is 71% Recall — 29% of real defects are being missed. In a safety/quality critical scenario, missing true positives (false negatives) is the primary concern. Lowering the probability threshold makes the model report detections at lower confidence levels — it will now flag more potential defects, including real ones it was previously too uncertain to report. This increases Recall at the cost of more false positives (boards flagged as defective that are actually fine) — acceptable because those can be manually reviewed. Raising the threshold (A) does the opposite — it becomes even more conservative, missing even more defects. Switching to classification (B) is the wrong tool — you lose the location information. Reducing training data (D) would make everything worse.

🎯 Topic 2 — Custom Vision Models

A developer writes code that creates a CustomVisionTrainingClient using the Prediction Key to upload training images and train a model. The code fails with an authentication error. What is the root cause?

💡 Explanation

B is correct. Custom Vision has TWO completely separate key pairs and endpoints: (1) Training endpoint + Training Key → authenticates the CustomVisionTrainingClient for all project management operations: creating tags, uploading images, training models, evaluating metrics, publishing iterations. (2) Prediction endpoint + Prediction Key → authenticates the CustomVisionPredictionClient for making predictions against published models. Using the Prediction Key with the Training Client will fail authentication — they are separate credentials, not interchangeable. This separation is intentional: production apps only need prediction access, not the ability to modify the training project.

🎯 Topic 2 — Custom Vision Models
Scenario: After training an object detection model, a developer calls detect_image() and receives the following prediction for one object: tag_name="Defect", probability=0.82, bounding_box={left=0.10, top=0.20, width=0.30, height=0.15}. The image is 640 × 480 pixels. The developer needs to draw the bounding box in pixels.

What are the pixel coordinates of the defect's bounding box top-left and bottom-right corners?

💡 Explanation

C is correct. Custom Vision bounding boxes use normalised coordinates (0.0–1.0). Top-left pixel: (left × img_width, top × img_height) = (0.10 × 640, 0.20 × 480) = (64, 96). Bottom-right pixel: ((left + width) × img_width, (top + height) × img_height) = (0.40 × 640, 0.35 × 480) = (256, 168). Option B has the bottom-right calculation wrong — it uses raw width/height values instead of adding them to the position first. Option A and D are wrong because these are normalised fractions — they MUST be multiplied by the image dimensions to get pixel coordinates before drawing on an image.

🎯 Topic 2 — Custom Vision Models

An object detection model evaluation shows: Precision 88%, Recall 82%, mAP 74%. A colleague argues that mAP should equal (88% + 82%) / 2 = 85% and that the displayed 74% must be a calculation error. Is the colleague correct?

💡 Explanation

C is correct. mAP (Mean Average Precision) is NOT the arithmetic mean of Precision and Recall. The reported Precision (88%) and Recall (82%) are evaluated at a single probability threshold (typically 50%). mAP is a much more comprehensive metric: it calculates Average Precision (AP) by computing the area under the precision-recall curve across ALL probability thresholds, then averages that across ALL object classes. Additionally, for object detection, correct detections require the predicted bounding box to sufficiently overlap the ground truth box (measured by IoU — Intersection over Union, typically IoU ≥ 0.5). This bounding box accuracy requirement means mAP can be significantly lower than the point-in-time Precision and Recall. mAP is specifically the standard for object detection (not AUC, which is for classification ROC curves).

🎥 Topic 3 — Video Analysis & Spatial Intelligence
Scenario: A legal firm wants to index 500 hours of recorded deposition videos. They need to search across all videos by the names of legal entities mentioned in testimony, find specific expert witnesses by face, and extract keyword summaries. All video content must remain within the firm's own Azure subscription in the EU West region for legal compliance.

Which Video Indexer account type is required and why?

💡 Explanation

C is correct. Three requirements force the ARM-Connected account: (1) Data residency — the firm's content must stay in their own Azure subscription and EU West region. Trial accounts store data under Microsoft's control, not in the customer's subscription. (2) Scale — 500 hours far exceeds the Trial limit (40 hours via API). (3) Custom person model — identifying specific expert witnesses by face requires training a custom person model, which is only available on ARM-Connected accounts (and also requires Limited Access approval for face identification). Trial accounts (A/B) have none of these capabilities. All three requirements independently make Trial unsuitable.

🎥 Topic 3 — Video Analysis & Spatial Intelligence
Scenario: During a Video Indexer analysis of an interview video, the following insights are extracted: (a) "Bill Gates" appears in the transcript text because the interviewee said "Bill Gates announced..." (b) A face matching "Bill Gates" is visually detected in the video frames. The developer wants to understand which of these required Limited Access approval.

Which scenario (a or b) required Microsoft Limited Access approval, and why?

💡 Explanation

C is correct. Scenario (a) is pure NLP — the transcript text mentions "Bill Gates" as a string, and Named Entity Recognition (NER) identifies it as a person entity from the text, exactly like Azure AI Language's entity recognition. No biometric processing involved, no Limited Access required. Scenario (b) involves face identification — visually matching a face in video frames to a specific known person. This is biometric recognition and requires Microsoft Limited Access approval. This distinction is important: what someone SAYS about a person vs recognising a person's FACE are entirely different processes with different privacy implications and different access requirements.

🎥 Topic 3 — Video Analysis & Spatial Intelligence
Scenario: A shopping mall operator wants to add intelligent people analytics to their existing security camera system. They need three capabilities: (A) An alert when the food court area exceeds 200 people capacity, (B) Directional count of how many shoppers enter vs leave through the main entrance each hour, (C) Monitoring that staff on the shop floor maintain at least 1.5 metres from each other during the COVID safety period.

Which Spatial Analysis operations should be configured for each requirement?

💡 Explanation

B is correct. (A) The food court is a zone and the requirement is to count people within that zone — personcountingzone is designed for counting within a defined polygon area with configurable threshold alerts. personcount counts the whole camera frame, not a specific zone. (B) The entrance requires directional counting — people going IN vs people going OUT — personcrossingline tracks crossing events with direction (A→B or B→A), enabling separate entry vs exit counts. personcrossingpolygon tracks zone entry/exit but is better for dwell-time analysis. (C) Measuring the physical gap between people is exactly what persondistance does — it measures real-world distance in metres (requires camera calibration) and fires events when distance drops below the threshold.

🎥 Topic 3 — Video Analysis & Spatial Intelligence

A developer needs to embed a Video Indexer cognitive insights panel in a customer-facing web portal, showing the transcript and detected topics for a specific video. They want to use a token scoped only to that video for security. What is the correct authentication approach?

💡 Explanation

C is correct. The correct workflow is: (1) Use the Management API key to request a video-level access token from the Auth endpoint: GET /Auth/{location}/Accounts/{accountId}/Videos/{videoId}/AccessToken?allowEdit=false. The video-level token is scoped to one specific video — even if it's exposed in a web page, it cannot access other videos or perform account-level management. (2) Call GET /Videos/{videoId}/InsightsWidget?accessToken={videoToken} to get the embeddable iframe URL. (3) Embed the returned URL as an iframe. Using the Management API key directly in a public web page (A) would expose full account management access — a serious security risk. An account-level token (B) provides access to all videos, which violates the "scoped to one video" requirement.

🎯 Synthesis — All Part 6 Topics
Scenario: An airport security operations centre needs to implement four AI capabilities: (1) Extract and digitise text from scanned security clearance paper forms, (2) Detect whether specific cleared personnel are present in access-controlled area CCTV images, (3) Count how many people enter the secure airside zone through a specific gate each hour and alert if more than 50 are inside at once, (4) Identify objects and their locations in baggage X-ray images using a custom-trained AI model.

Which Azure service or feature correctly maps to each requirement, and which requirements need Limited Access approval?

💡 Explanation

C is correct. (1) Azure AI Vision READ / OCR — extracts printed text from scanned forms. No Limited Access needed (just general text, no biometrics). (2) Face API identification — detecting whether specific known personnel appear in CCTV images requires face identification (matching faces to known persons), which requires Limited Access. Face detection alone (bounding boxes, count) would not need approval. (3) Spatial Analysis — real-time counting from live CCTV feeds via personcountingzone (capacity alert at 50) and personcrossingline (hourly directional count). The entire Spatial Analysis service requires Limited Access. (4) Custom Vision object detection — trains a custom model to locate objects with bounding boxes in X-ray images. No Limited Access required for custom vision models. Options A misses both Limited Access requirements. Option D misidentifies (3) as Custom Vision (wrong — real-time camera analysis is Spatial Analysis) and (2) as Video Indexer (wrong — single images, not video files).

← Flashcards Back to Dashboard →