Courseiva

CCNA Computer Vision Questions

67 questions · Computer Vision · All types, answers revealed

1
MCQeasy

You need to extract text from a multi-page PDF document using Azure AI Vision Read API. How are pages represented in the JSON response structure?

A.They are organized under a 'readResult.pages' or 'pages' array in the analyze result.
B.All text from all pages is merged into a single unstructured string without page separation.
C.Pages are returned as separate JPEG files in a ZIP archive.
D.Each page requires a separate API transaction starting with a new POST request.
AnswerA

Multi-page document results are structured page by page within the analysis payload.

Why this answer

The Read API output organizes results by pages, where each page object contains dimensions, language, lines, and words.

2
MCQmedium

You have trained a Custom Vision classification model. You need to export the model to run locally on an edge device using ONNX format. Which project domain must you select when creating the project to support export?

A.General (compact)
B.Retail
C.Food (compact) for edge deployment
D.General
AnswerA

Compact domains are optimized for mobile and edge deployment and support export.

Why this answer

To export Custom Vision models to formats like ONNX, TensorFlow, or Docker, you must select a domain marked with '(compact)'.

3
MCQeasy

You are testing an image analysis application in Python. You want to retrieve object bounding boxes using Azure AI Vision 4.0. Which feature string should you pass to the client?

A.VisualFeatures.TAGS
B.VisualFeatures.CAPTION
C.VisualFeatures.OBJECTS
D.VisualFeatures.READ
AnswerC

VisualFeatures.OBJECTS (or string 'objects') requests object detection bounding boxes.

Why this answer

The correct feature string for object detection in Image Analysis 4.0 is 'objects'.

4
MCQmedium

You are deploying a Custom Vision model as a Docker container. You need to verify that the container is running and healthy before routing production traffic to it. Which health check endpoint should your load balancer ping?

A./status
B./ping
C./health
D./ready
AnswerD

The /ready endpoint indicates whether the container has initialized and is ready to accept prediction requests.

Why this answer

Cognitive Services containers provide a standard liveness/readiness health check endpoint at `/live` or `/ready` depending on container configuration.

5
MCQeasy

You want to detect whether corporate logos appear in user-submitted images using Azure AI Vision. Which visual feature parameter should you request?

A.features=brands
B.features=domain-specific
C.features=objects
D.features=tags
AnswerA

The brands feature detects logos and brands within images.

Why this answer

The 'brands' visual feature detects known commercial brands and logos in an image.

6
MCQmedium

Your application processes images submitted by users. You want to ensure that images containing inappropriate or explicit content are rejected before further processing. Which Azure AI Vision feature should you evaluate first?

A.Custom Vision Object Detection
B.Image Analysis Read feature
C.Analyze Image with features=adult
D.Azure AI Language Content Moderation
AnswerC

The adult feature evaluates images for adult and racy content scores.

Why this answer

The adult content feature detects adult, racy, and gory content to flag inappropriate images.

7
MCQmedium

You are creating a Custom Vision project and need to select a domain. Your project involves classifying images of various food dishes. Which domain should you select to optimize model accuracy for food classification?

A.Landmark
B.Food
C.General
D.Retail
AnswerB

The Food domain is optimized for recognizing various dishes and food items.

Why this answer

Custom Vision offers domain-specific options such as Food, Retail, and Landmark to optimize neural networks for specific domains.

8
Multi-Selectmedium

You are developing a .NET application that interacts with Azure AI Vision Read API. Which TWO objects or properties would you inspect in the asynchronous response to retrieve extracted text lines and their confidence scores? (Choose two.)

Select 2 answers
A.text
B.dominantColors
C.adultScore
D.smartCrops
E.lines
AnswersA, E

The text property holds the string content of the detected line or word.

Why this answer

The Read API response contains `analyzeResult.readResults` or `readResult.blocks`/`lines`, where each line has `text`, `boundingBox`, and `confidence` (in older versions) or text content.

9
MCQhard

You are integrating Azure AI Vision into a serverless Azure Functions architecture. A batch of 500 high-resolution images needs to be processed. To prevent function timeouts and optimize throughput, how should you architect the function triggers?

A.Use Azure Logic Apps with a synchronous batch loop.
B.Trigger a single synchronous Azure Function that loops through all 500 images sequentially within a single HTTP request.
C.Configure an Azure Event Grid subscription to directly invoke Azure AI Vision REST endpoints without compute logic.
D.Use a Blob Storage trigger to enqueue image messages onto an Azure Storage Queue, and configure Queue-triggered functions to process image analysis asynchronously.
AnswerD

Decoupling blob uploads from processing via queues prevents timeouts and enables resilient horizontal scaling.

Why this answer

Using Azure Blob Storage triggers combined with Azure Queue Storage and queue-triggered functions allows decoupled, scalable, asynchronous processing without function timeout bottlenecks.

10
MCQhard

Your enterprise application uses Custom Vision. Due to compliance policies, you must ensure that your training data and model endpoints reside within a specific Azure region with strict data residency guarantees. Which resource configuration should you use?

A.Use the Global resource endpoint for Custom Vision.
B.Use Azure AI Vision multi-service account with global routing.
C.Create a Custom Vision training and prediction resource in the targeted Azure region.
D.Store images in Azure Blob Storage with geo-replication.
AnswerC

Regional Custom Vision resources ensure that training data and API calls remain within that specific geography.

Why this answer

Custom Vision resources must be created in an Azure region that supports Custom Vision, and data remains within that region. Using a Cognitive Services multi-service resource or regional Custom Vision resource ensures regional residency.

11
MCQhard

You are troubleshooting a performance issue where your application's calls to Azure AI Vision experience high latency. Your application is hosted in Azure West US, but your Azure AI Vision resource was accidentally created in Azure Southeast Asia. What is the recommended remediation?

A.Increase the timeout threshold in the HTTP client configuration.
B.Recreate the Azure AI Vision resource in the West US region close to your application hosting.
C.Enable Azure ExpressRoute between West US and Southeast Asia.
D.Switch from REST API to gRPC protocol.
AnswerB

Co-locating the AI resource in the same Azure region as the application significantly reduces network latency.

Why this answer

To minimize network latency, cognitive services resources should be deployed in the same Azure region as the consuming application.

12
MCQhard

You are troubleshooting a Custom Vision object detection model that has low precision and high false-positive rates for a specific object class. During data analysis, you notice that negative images (images without the object) lack background variety. What is the recommended remediation step?

A.Increase the probability threshold in the prediction API call.
B.Remove all tagged bounding boxes and retrain as a multi-class classification model.
C.Apply aggressive data augmentation to duplicate existing positive images.
D.Add diverse negative images containing background environments similar to where false positives occur.
AnswerD

Adding challenging negative images helps reduce false positives by providing negative context.

Why this answer

Adding more diverse negative images that resemble difficult backgrounds helps the model distinguish the target object from confusing background elements.

13
MCQhard

You are analyzing multi-language documents containing mixed English and Japanese text using Azure AI Vision Read API. How should you specify the language parameter to ensure optimal OCR accuracy?

A.Use the legacy OCR v3.0 endpoint with multi-language flag.
B.You must submit English and Japanese pages separately in distinct API calls.
C.Set language=en-US exclusively.
D.Omit the language parameter or set language=unk to enable automatic language detection across supported languages.
AnswerD

Read API automatically detects languages when language is not specified or set to auto/unknown.

Why this answer

The Read API supports automatic language detection, but you can also specify the `language` parameter or rely on auto-detection for multilingual documents.

14
Multi-Selectmedium

You are designing an image analysis solution using Azure AI Vision 4.0. Which TWO visual features can be requested in a single Image Analysis API analyze request? (Choose two.)

Select 2 answers
A.tags
B.Custom Vision Classification
C.read
D.Azure AI Face Analyze
E.Azure AI Document Intelligence Layout
AnswersA, C

Tags can be combined with other features in a single request.

Why this answer

Image Analysis 4.0 supports combining multiple features such as 'tags', 'objects', 'read', 'caption', 'denseCaptions', 'smartCrops', 'people', and 'brands' in one analyze call.

15
MCQeasy

When creating a new project in the Custom Vision portal, you need to choose a classification type. You want to tag an image with multiple independent tags (e.g., 'outdoor', 'sunset', 'mountain'). Which classification type should you select?

A.Multilabel
B.Object Detection
C.Binary Classification
D.Multiclass
AnswerA

Multilabel classification allows multiple tags to be assigned to a single image.

Why this answer

Multilabel classification allows zero or more tags to be applied to each image independently.

16
MCQmedium

You are using Custom Vision to train an object detection model. You want to evaluate model performance before publishing an iteration. Which metric represents the overall accuracy of the model across all classes at various confidence thresholds?

A.Perplexity
B.Word Error Rate (WER)
C.BLEU Score
D.Mean Average Precision (mAP)
AnswerD

mAP summarizes object detection accuracy across multiple classes and thresholds.

Why this answer

Mean Average Precision (mAP) is the standard metric used in Custom Vision and object detection to evaluate overall model accuracy.

17
Multi-Selecthard

When designing an automated document processing pipeline using Azure AI Vision Read API, which THREE architectural considerations should you account for? (Choose three.)

Select 3 answers
A.Ensure document files adhere to supported page count and file size limits.
B.Expect synchronous JSON responses containing all extracted text directly on the initial POST call.
C.Handle asynchronous polling using the Operation-Location response header.
D.Configure the API to store extracted text permanently in local memory without pagination.
E.Implement retry logic with exponential backoff for HTTP 429 rate limit responses.
AnswersA, C, E

Exceeding size or page limits results in validation errors.

Why this answer

Read API is asynchronous, returns HTTP 202, requires polling the Operation-Location URL, and processes documents page-by-page or up to supported multi-page limits.

18
MCQmedium

Your application uploads images to Azure AI Vision via URLs. One of your URLs is failing with an invalid image error, even though the image opens correctly in web browsers. What is the most likely reason?

A.Azure AI Vision does not support URL-based inputs; you must upload binary bytes.
B.The image file size exceeds 500 MB.
C.Image URLs are restricted to PNG format only.
D.The URL requires HTTP Basic Authentication or redirects that the vision service cannot resolve.
AnswerD

The image URL must be publicly accessible and directly downloadable without authentication or complex session cookies.

Why this answer

Azure AI Vision must be able to publicly access the URL without authentication barriers (like cookies, redirects, or private IP spaces).

19
MCQmedium

Your application calls Azure AI Vision API and receives an HTTP 429 Too Many Requests response. What does this error signify, and how should your application handle it?

A.The service is undergoing maintenance. Fail over to a secondary region.
B.The image file format is unsupported. Convert to PNG.
C.Your API key is invalid. Refresh your subscription key immediately.
D.You have exceeded your pricing tier rate limits. Implement exponential backoff and retry the request.
AnswerD

HTTP 429 represents throttling due to rate limits; exponential backoff is the standard remediation.

Why this answer

HTTP 429 indicates rate limiting (quota exceeded). The application should implement exponential backoff and retry the request.

20
MCQmedium

You are evaluating a Custom Vision classification model. You want to programmatically test the model against a validation dataset without using the portal UI. Which endpoint should your script call?

A.POST /computervision/imageanalysis:analyze
B.POST /customvision/v3.3/Training/{projectId}/images
C.GET /vision/v3.2/models
D.POST /customvision/v3.3/Prediction/{projectId}/classify/iterations/{publishedName}/image
AnswerD

This is the standard Custom Vision iteration prediction endpoint for image classification.

Why this answer

Predictions are queried via the Prediction endpoint of the Custom Vision project.

21
MCQhard

You are training a Custom Vision object detection model. You have 1,000 images, but only 200 of them contain the rare object you want to detect. The other 800 images are background images without the object. What impact will this class imbalance have on training, and how should you address it?

A.Reduce training iteration time to 1 minute.
B.Convert the project to multilabel classification.
C.Ensure that you have tagged at least 15 bounding boxes per tag; having background images is beneficial for reducing false positives.
D.Delete all 800 background images immediately, as they will cause training to fail.
AnswerC

Background images act as negative examples to reduce false positives, provided the positive tag has met the minimum instance threshold.

Why this answer

While having background (negative) images helps reduce false positives, an extreme imbalance or lack of positive bounding box instances per image can hinder learning. Ensuring sufficient positive instances (at least 15 per tag, preferably more for robust object detection) is essential.

22
MCQeasy

You are building an image search engine. You want to extract visual feature tags from user photos using Azure AI Vision 4.0. Which visual feature should you request?

A.features=read
B.features=caption
C.features=smartCrops
D.features=tags
AnswerD

The tags feature extracts keywords describing the visual content of the image.

Why this answer

The 'tags' visual feature extracts content-based tags or keywords representing objects, scenery, and concepts in the image.

23
MCQmedium

You are developing a script to query a Custom Vision prediction endpoint. Which HTTP header must be included to authenticate your request using an API key?

A.Authorization: Bearer
B.X-Auth-Token
C.Vision-Api-Key
D.Prediction-Key
AnswerD

Custom Vision prediction endpoints require the Prediction-Key header (or Ocp-Apim-Subscription-Key).

Why this answer

Custom Vision prediction and training APIs authenticate using the `Prediction-Key` or `Training-Key` header respectively (or `Ocp-Apim-Subscription-Key`).

24
MCQeasy

You are developing a .NET application that extracts bounding boxes of text from scanned documents using Azure AI Vision 4.0. Which asynchronous API operation should you call first to initiate the OCR process?

A.POST /computervision/imageanalysis:analyze?api-version=2024-02-01
B.POST /vision/v3.2/ocr
C.POST /vision/v2.1/recognizeText
D.POST /customvision/v3.3/Prediction
AnswerA

This is the correct endpoint and version for the unified Image Analysis 4.0 API which includes the Read feature.

Why this answer

Image Analysis 4.0 uses the Read API (Analyze Image 4.0 Read operation) for OCR, which is an asynchronous operation returning an Operation-Location header.

25
Multi-Selecthard

You are deploying Custom Vision containers on-premises using Docker. Which THREE prerequisites and configuration steps are required? (Choose three.)

Select 3 answers
A.Ensure internet connectivity or periodic connection to Azure for billing metering.
B.Provide the Billing Endpoint URI and API Key via environment variables.
C.Accept the End-User License Agreement (EULA) by setting the EULA=accept environment variable.
D.Install the full Azure CLI inside every prediction container.
E.Grant root access to the Azure subscription billing portal from inside the container.
AnswersA, B, C

Containers report billing usage periodically back to Azure.

Why this answer

Custom Vision containers require an Azure AI Services or Custom Vision billing endpoint/key, acceptance of the EULA, and proper Docker runtime environment variables.

26
MCQmedium

You are training a Custom Vision object detection model to identify specific manufacturing defects on a production line. You have uploaded 50 images and tagged the defects. When you attempt to train the model, the training fails. What is the most likely cause?

A.You must have at least 5 tags defined in the project.
B.Object detection requires a minimum of 15 tagged images per tag.
C.You must use multi-class classification instead of object detection for manufacturing defects.
D.Training images must be smaller than 256x256 pixels.
AnswerB

Custom Vision requires at least 15 images per tag for object detection projects.

Why this answer

Custom Vision object detection requires a minimum of 15 images per tag for the training set.

27
MCQhard

You are designing an edge solution where a Custom Vision exported model runs inside a Linux container on an IoT Edge device without internet connectivity. How must you configure billing for the container?

A.Provide the container with a billing endpoint URL and API key, and ensure periodic connectivity to Azure to report billing metrics.
B.Use Custom Vision Training API keys for container runtime billing.
C.Purchase an Azure Storage account to store offline billing logs locally.
D.Deploy the container with no environment variables; billing is handled automatically by IoT Hub.
AnswerA

Cognitive services containers require billing endpoint credentials and periodic connectivity to report usage.

Why this answer

Custom Vision and cognitive services containers running disconnected or on edge devices require a billing endpoint and API key, but for fully offline scenarios without cloud connectivity, commitment tiers or specific edge billing configurations (such as cloud reporting when connected periodically) apply. However, containers generally require connection to report billing unless configured with specific volume mount billing mechanisms supported by Azure.

28
Multi-Selecthard

You are optimizing an application that calls Azure AI Vision Read API. Which THREE techniques help reduce latency and improve overall throughput? (Choose three.)

Select 3 answers
A.Send uncompressed RAW bitmap data to bypass image decoding overhead.
B.Disable SSL/TLS verification to speed up TCP handshakes.
C.Resize extremely large images to optimal dimensions while maintaining readability.
D.Implement proper polling intervals (e.g., waiting 1 second between checks) rather than aggressive busy-waiting.
E.Co-locate the application hosting and the Azure AI Vision resource in the same Azure region.
AnswersC, D, E

Reducing massive file sizes speeds up network transfer and processing.

Why this answer

Throughput and latency improvements include resizing excessively large images before upload, using asynchronous polling efficiently without tight busy-wait loops, and co-locating resources.

29
MCQhard

You are deploying a Custom Vision object detection model as a Docker container on an Azure Kubernetes Service (AKS) cluster. During load testing, you notice high memory consumption and container restarts. Which configuration setting in the deployment manifest should you review to ensure stability?

A.Billing endpoint URL syntax.
B.Azure Blob Storage connection string persistence.
C.Custom Vision iteration publishing name environment variable.
D.Kubernetes resource requests and limits for memory and CPU.
AnswerD

Configuring adequate memory and CPU limits prevents OOM termination and CPU throttling for vision containers.

Why this answer

Custom Vision container deployments require proper CPU and memory limits/requests configured in the Kubernetes pod spec to prevent Out-Of-Memory (OOM) kills during heavy inference workloads.

30
Multi-Selectmedium

Which TWO image file formats are natively supported by Azure AI Vision for image analysis? (Choose two.)

Select 2 answers
A.MP3
B.MKV
C.WAV
D.JPEG
E.PNG
AnswersD, E

JPEG is fully supported by Azure AI Vision.

Why this answer

Azure AI Vision supports standard web formats including JPEG, PNG, GIF, BMP, WEBP, and TIFF (for Read).

31
MCQhard

You are designing a multimodal solution that combines Azure AI Vision dense captions with Azure OpenAI GPT-4 Vision. You want to extract precise bounding box coordinates for multiple objects in complex scenes and pass them as structured context. Which API feature should you invoke?

A.features=denseCaptions
B.features=objects
C.features=smartCrops
D.features=tags
AnswerA

Dense captions provide detailed descriptions and bounding box coordinates for multiple sub-regions in an image.

Why this answer

Dense captions return a set of regional bounding boxes and corresponding descriptive text snippets.

32
MCQeasy

You are using Azure AI Vision to analyze an image. You want to receive the output in Spanish instead of English. Which query parameter should you add to your request?

A.language=es
B.translation=spanish
C.output-lang=es
D.locale=es-ES
AnswerA

The language parameter translates or returns analysis results in the specified ISO language code.

Why this answer

The 'language' query parameter specifies the language for the output results (e.g., language=es for Spanish).

33
MCQhard

You are configuring a secure enterprise architecture where Azure AI Vision calls must not traverse the public internet. You create a private endpoint for your Azure AI Services resource in your Virtual Network. Which DNS configuration step is required for client applications within the VNet to resolve the private endpoint correctly?

A.Add the endpoint IP to the local hosts file of every Azure AI Vision instance.
B.Configure Azure Private DNS zones corresponding to the cognitive services DNS zone and link it to your VNet.
C.Configure public DNS records on your corporate DNS server to point to the public IP.
D.Modify the routing table to drop all DNS traffic.
AnswerB

Private DNS zones ensure that DNS queries within the VNet resolve the service endpoint to its assigned private IP address.

Why this answer

When configuring private endpoints for Azure AI Services, you must update or create Private DNS zones (e.g., `privatelink.cognitiveservices.azure.com`) to map the resource FQDN to the private IP address.

34
MCQmedium

Your application uploads an image to Azure AI Vision for analysis. You need to generate thumbnail images with specific aspect ratios while maintaining the primary region of interest. Which API endpoint or feature should you use?

A.Use Custom Vision Training API to train a cropping model.
B.Call the Analyze Image API with features=objects and crop the image locally.
C.Call the Get Thumbnail API passing width, height, and smartCropping parameters.
D.Use Azure AI Document Intelligence layout analysis.
AnswerC

Get Thumbnail analyzes the image and crops it around the region of interest.

Why this answer

The 'smartCrops' feature in Image Analysis 4.0 generates thumbnail coordinates optimized for target aspect ratios.

35
MCQeasy

You want to extract gender and age attributes from human faces in photos. While Azure AI Face service handles facial analysis, which base Azure AI Vision 4.0 feature detects the presence and bounding boxes of people?

A.features=objects
B.features=people
C.features=tags
D.features=read
AnswerB

The people feature detects human bounding boxes in Image Analysis 4.0.

Why this answer

The 'people' feature in Image Analysis 4.0 detects humans and returns their bounding boxes.

36
MCQhard

Your application integrates Azure AI Vision and processes images stored in an Azure Blob Storage container. To adhere to security best practices, you want to avoid exposing public blob URLs. How should you provide the image to the Image Analysis API?

A.Use FTP to transfer images to the vision service endpoint.
B.Download the image bytes in your application code and send them in the binary request body (application/octet-stream).
C.Permanently change the blob container access level to Public Read.
D.Mount the Blob Storage container directly to the Azure AI Vision service via NFS.
AnswerB

Sending binary bytes directly avoids the need for public URLs or SAS tokens.

Why this answer

Instead of public URLs, you can pass the image binary bytes directly in the HTTP request body (using application/octet-stream), or generate a short-lived SAS token URL.

37
MCQmedium

You are training a Custom Vision multiclass classification model for retail products. After training, you notice that the precision is high, but the recall is low for a specific product category. What does low recall indicate?

A.The training dataset had zero images for that category.
B.The model is incorrectly predicting that product when it is not present (high false positives).
C.The model is missing many actual instances of that product category (high false negatives).
D.The probability threshold is set too high for all classes uniformly.
AnswerC

Recall measures the model's ability to find all actual positive instances; low recall means many true items were missed.

Why this answer

Low recall indicates that the model has a high false negative rate—it misses actual instances of the product category.

38
Multi-Selectmedium

When configuring a Custom Vision project, which TWO project types are available? (Choose two.)

Select 2 answers
A.Speech Synthesis
B.Form Extraction
C.Classification
D.Text Recognition (OCR)
E.Object Detection
AnswersC, E

Classification is a supported project type for tagging entire images.

Why this answer

Custom Vision supports two main project types: Classification (Multiclass/Multilabel) and Object Detection.

39
MCQhard

You are analyzing performance metrics of a Custom Vision object detection iteration. You observe a Mean Average Precision (mAP) of 88%, but when testing with real-world user photos, the model fails to detect objects that are partially occluded. What should you do to improve occlusion handling?

A.Switch from General domain to Food domain.
B.Lower the confidence threshold to 0.01.
C.Add training images containing partially occluded objects and ensure they are correctly tagged.
D.Increase image compression artifacts.
AnswerC

Training with occluded examples teaches the model to recognize partial features of the object.

Why this answer

To improve detection of occluded objects, you must include training images that feature partially blocked or occluded instances of the target objects.

40
MCQmedium

Your application processes receipt images using Azure AI Vision Read API. You need to extract text specifically from tables within the receipts. Which service is better suited for advanced table structure and key-value pair extraction compared to base Azure AI Vision Read?

A.Azure AI Face Service
B.Azure AI Document Intelligence
C.Custom Vision Service
D.Azure AI Content Safety
AnswerB

Document Intelligence specializes in extracting tables, key-value pairs, and structured fields from forms and receipts.

Why this answer

Azure AI Document Intelligence (formerly Form Recognizer) is specifically designed for structured data, tables, and key-value extraction from documents and receipts.

41
MCQeasy

You need to determine the primary dominant colors and whether an image is predominantly black-and-white using Azure AI Vision. Which visual feature parameter provides this information?

A.features=denseCaptions
B.features=color
C.features=people
D.features=tags
AnswerB

The color feature analyzes color properties including dominant colors and black-and-white status.

Why this answer

The color feature returns dominant foreground color, background color, accent color, and whether the image is black and white.

42
MCQhard

You are building an automated asset management system that processes millions of images annually. To optimize costs and latency, you want to minimize the number of API calls while extracting tags, bounding box objects, and OCR text simultaneously. How should you structure your API request?

A.Submit three separate asynchronous requests for tags, objects, and read.
B.Include multiple comma-separated values in the features parameter, such as features=tags,objects,read.
C.Use the legacy Computer Vision v3.2 batch analysis endpoint.
D.Train a Custom Vision model to combine all three tasks.
AnswerB

Combining features in a single analyze request avoids redundant API calls and processing overhead.

Why this answer

Image Analysis 4.0 allows combining multiple features in a single API call using the 'features' query parameter.

43
MCQmedium

You are using Azure AI Vision Read API in your application. You want to ensure that the extracted text blocks return word-level bounding polygons rather than just line-level bounding boxes. What parameter or response structure should you examine?

A.Add ?wordLevel=true to the query string.
B.Examine the 'words' array within each returned 'lines' object in the JSON response payload.
C.Call the legacy OCR endpoint instead.
D.Set the model-version parameter to v2.0.
AnswerB

The JSON response for Read results contains line objects which include nested word objects with individual bounding polygons.

Why this answer

The Read API response structure automatically includes word-level details inside each line object (`lines[*].words[*]`), providing bounding polygons for both lines and individual words.

44
Multi-Selecthard

You are troubleshooting a Custom Vision object detection model that exhibits poor performance in production. Which THREE actions can you take using the Custom Vision portal or APIs to diagnose and improve the model? (Choose three.)

Select 3 answers
A.Delete all project iteration history to reset model weights to random initialization.
B.Examine prediction suggestions to find low-confidence or incorrectly predicted images and add them to training data.
C.Review precision and recall metrics per tag in the Performance tab.
D.Adjust the probability threshold on the performance page to evaluate precision/recall trade-offs.
E.Manually edit model neural network weights via the REST API.
AnswersB, C, D

Adding hard examples from prediction suggestions (active learning) improves model robustness.

Why this answer

Portal diagnostics include reviewing prediction performance metrics (Precision, Recall, mAP), tagging missed detections (Smart Labeling / Suggested Tags), and adjusting probability thresholds.

45
MCQhard

You are implementing a disaster recovery strategy for a critical image processing application that relies on Azure AI Vision. If the primary Azure region experiences an outage, how should you configure failover?

A.Use geo-replication on the Azure Blob Storage account to automatically fail over the AI service endpoints.
B.Configure Azure Site Recovery to replicate the Azure AI Vision service backend VMs.
C.Rely on automatic synchronous replication of Custom Vision models across all global Azure datacenters without application changes.
D.Deploy a secondary Azure AI Vision resource in a paired Azure region and configure your application to fail over to the secondary endpoint if errors occur.
AnswerD

Multi-region deployment with application-level failover or Traffic Manager ensures high availability.

Why this answer

Deploying a secondary Azure AI Vision resource in a paired region and updating the application configuration (or using Azure Front Door / Traffic Manager) enables regional failover.

46
MCQhard

You are managing a multi-tenant SaaS application that uses Azure AI Vision. Each tenant has their own isolated data, and you want to track costs per tenant. How should you provision Azure AI services to achieve granular cost attribution?

A.Use a single global Azure AI Services resource and parse tenant IDs from request user-agent headers for billing.
B.Store tenant IDs in Custom Vision project tags.
C.Deploy a dedicated Azure AI Services resource per tenant and use Azure Cost Management for billing attribution.
D.Use Azure Blob Storage cost allocation tags to cover AI API costs.
AnswerC

Dedicated resources per tenant provide exact, isolated cost tracking via Azure Cost Management.

Why this answer

Provisioning separate Azure AI Services resources per tenant (or using resource tags with Azure Cost Management) allows granular cost tracking, though separate resources provide strict billing isolation.

47
MCQmedium

You are using Custom Vision and want to programmatically publish a trained iteration so that prediction endpoints can use it. Which API operation should you call?

A.GET /customvision/v3.3/Training/{projectId}/iterations/{iterationId}/make-default
B.PUT /customvision/v3.3/Prediction/{projectId}/iterations/{iterationId}/activate
C.PATCH /customvision/v3.3/Training/{projectId}/projects/{projectId}
D.POST /customvision/v3.3/Training/{projectId}/iterations/{iterationId}/publish
AnswerD

This is the correct endpoint for publishing a training iteration.

Why this answer

Publishing an iteration in Custom Vision requires calling the publish iteration endpoint with the published name and prediction resource ID.

48
Multi-Selecthard

Your enterprise requires strict security and governance over your Azure AI Vision resources. Which THREE security configurations should you implement? (Choose three.)

Select 3 answers
A.Store API keys in plain text configuration files on public GitHub repositories.
B.Disable TLS encryption to improve API response latency.
C.Configure Azure Private Endpoints to restrict access to your Virtual Network.
D.Enable diagnostic logging and stream audit records to Log Analytics.
E.Implement Microsoft Entra ID role-based access control (RBAC) instead of relying solely on API keys.
AnswersC, D, E

Private endpoints keep traffic off the public internet.

Why this answer

Enterprise security for Azure AI Services includes Private Endpoints, disabling local authentication in favor of Microsoft Entra ID (RBAC), and Key Vault integration for secrets.

49
MCQmedium

You are configuring a Custom Vision project to classify images of plant diseases. You notice that some image files uploaded via the API are rejected because they exceed the maximum allowed file size. What is the maximum image file size supported by Custom Vision for training?

A.2 GB
B.500 KB
C.6 MB
D.50 MB
AnswerC

Custom Vision imposes a 6 MB limit per image for training data uploads.

Why this answer

Custom Vision training images uploaded via API or portal generally have a maximum file size limit of 6 MB per image.

50
MCQeasy

You are developing a mobile application that captures business card photos and extracts contact information. Which Azure AI Vision feature is specifically designed to extract printed and handwritten text lines and words?

A.Image Tagging
B.Dense Captions
C.Brand Detection
D.Read
AnswerD

The Read feature extracts text lines, words, bounding boxes, and confidence scores.

Why this answer

The Read feature is Azure AI Vision's optical character recognition (OCR) tool for extracting printed and handwritten text.

51
MCQmedium

You are testing a Custom Vision object detection model using the test image feature in the portal. You notice that objects are detected with low confidence scores. You want to improve the model's performance without adding more training images. What can you adjust in the training settings?

A.Switch from object detection to multiclass classification.
B.Increase the training time budget in advanced training settings.
C.Decrease the image resolution setting in project properties.
D.Disable data augmentation.
AnswerB

Increasing the training time allows the underlying neural network more epochs to converge on complex patterns.

Why this answer

While training data is primary, training iterations allow selecting different training time budgets or domains, but adjusting the probability threshold in prediction evaluation helps filter results. However, re-training with advanced training time settings can improve model accuracy.

52
MCQeasy

You need to retrieve coordinates of people detected in an image using Azure AI Vision 4.0. Which visual feature should you request?

A.features=objects
B.features=faces
C.features=people
D.features=tags
AnswerC

The people feature returns bounding box coordinates for humans in the image.

Why this answer

The 'people' visual feature detects people in the image and returns their bounding box coordinates.

53
MCQhard

Your organization requires that all Azure AI Vision API calls are audited and that request payloads (including images) are logged for compliance investigations. Which Azure service feature should you configure alongside Azure AI Services?

A.Enable Diagnostic Settings on the Azure AI Services resource to stream audit logs and telemetry to Azure Monitor Log Analytics.
B.Configure Custom Vision training iterations export.
C.Enable Azure Bastion session recording.
D.Configure Azure Traffic Manager with logging rules.
AnswerA

Diagnostic settings capture service logs, metrics, and audit information for security and compliance monitoring.

Why this answer

Azure Diagnostic Settings allow logging API requests, metrics, and audit trails to Azure Monitor, Log Analytics, or Azure Storage.

54
MCQmedium

You are integrating Azure AI Vision Read API into a high-throughput workflow. You receive an HTTP 202 Accepted response. What action should your application take next?

A.Poll the URL specified in the Operation-Location response header until the status is succeeded.
B.Switch to synchronous Read API endpoint.
C.Parse the response body directly for the extracted text results.
D.Immediately retry the POST request with an increased timeout value.
AnswerA

Asynchronous OCR operations require polling the Operation-Location endpoint.

Why this answer

An HTTP 202 response indicates the asynchronous operation has started. The application must poll the URL provided in the Operation-Location header.

55
MCQhard

You are optimizing performance for a real-time video analytics pipeline that sends video frames to Azure AI Vision. Due to network bandwidth constraints, you need to reduce payload sizes while maintaining high OCR accuracy. What is the recommended approach?

A.Encode frames as optimized JPEG images with appropriate resolution scaling, ensuring text remains legible.
B.Convert frames to uncompressed 32-bit BMP format.
C.Extract audio tracks instead of video frames.
D.Send raw YUV byte arrays directly without image containerization.
AnswerA

Optimized JPEG encoding and careful resolution scaling reduce payload bandwidth while preserving text fidelity.

Why this answer

Compressing frames as high-quality JPEGs or WebP images and resizing them to fit optimal dimension thresholds without excessive downsampling preserves OCR accuracy while drastically reducing payload size.

56
MCQeasy

Which Azure AI service should you use if you need to train a model to recognize your company's proprietary product packaging using custom-labeled images with minimal machine learning expertise?

A.Azure AI Vision Prebuilt API
B.Azure AI Custom Vision
C.Azure Machine Learning Automated ML
D.Azure AI Document Intelligence
AnswerB

Custom Vision is designed for training custom image classifiers and object detectors with user-provided images.

Why this answer

Custom Vision allows users to train custom image classifiers and object detectors using a web portal with no ML expertise required.

57
MCQmedium

You are testing a Custom Vision model via the REST API. You receive an HTTP 400 Bad Request error with the message 'InvalidProjectId'. What is the most likely cause?

A.The image file format is invalid.
B.The project ID GUID in the request URL is incorrect or does not exist in this Custom Vision account.
C.The subscription has reached its monthly quota limit.
D.The prediction key header was omitted.
AnswerB

An invalid project ID returns a 400 Bad Request indicating the project cannot be found.

Why this answer

The project ID GUID provided in the URL path is malformed, does not exist, or belongs to a different region/resource.

58
MCQeasy

Which HTTP status code does the Azure AI Vision Read API return upon successfully initiating an asynchronous OCR analysis job?

A.204 No Content
B.200 OK
C.202 Accepted
D.201 Created
AnswerC

HTTP 202 is returned for accepted asynchronous long-running operations.

Why this answer

Asynchronous operations in Azure AI Services return HTTP 202 Accepted when the request has been accepted for processing.

59
MCQeasy

You need to programmatically delete an iteration of a Custom Vision model that performed poorly. Which API method should you invoke?

A.DELETE /customvision/v3.3/Training/{projectId}/iterations/{iterationId}
B.PUT /customvision/v3.3/Training/{projectId}/iterations/{iterationId}
C.GET /customvision/v3.3/Training/{projectId}/iterations/{iterationId}/purge
D.POST /customvision/v3.3/Training/{projectId}/iterations/{iterationId}/delete
AnswerA

This is the correct REST endpoint for deleting a specific Custom Vision model iteration.

Why this answer

Deleting an iteration in Custom Vision is performed via a DELETE request on the Training API iteration endpoint.

60
MCQeasy

You are using Azure AI Vision 4.0. You want to obtain a concise, single-sentence human-readable description of an image. Which feature parameter should you request?

A.features=caption
B.features=tags
C.features=denseCaptions
D.features=read
AnswerA

The caption feature generates a descriptive sentence for the image.

Why this answer

The 'caption' feature returns a single descriptive sentence about the image content.

61
MCQhard

Your enterprise application uses Azure AI Vision. Security policies require that all API keys are rotated every 30 days without causing application downtime. How should you manage the key rotation?

A.Restart the Azure App Service hosting the client application.
B.Switch client applications to Key 2, regenerate Key 1 in the Azure portal, switch clients to Key 1, and then regenerate Key 2.
C.Delete the Azure AI service resource and create a new one every 30 days.
D.Disable authentication on the resource during the rotation window.
AnswerB

Using the dual-key mechanism allows zero-downtime key rotation.

Why this answer

Azure AI Services resources provide two keys (Key 1 and Key 2). To rotate keys without downtime, update applications to use Key 2, regenerate Key 1, update applications to use Key 1, and then regenerate Key 2.

62
MCQhard

Your application analyzes high-resolution engineering blueprints using Azure AI Vision Read API. Users report that small text annotations are occasionally missed. How can you optimize the input image or API configuration to improve recognition of small text?

A.Convert the blueprint to grayscale and reduce color depth to 1-bit monochrome.
B.Switch from Read API to Tagging API.
C.Ensure the image is submitted at full resolution without lossy compression, and verify contrast.
D.Downsample the image resolution to under 1000x1000 pixels before submission.
AnswerC

Preserving high resolution and sharp contrast ensures small text features are retained for the OCR model.

Why this answer

For high-resolution images or very small text, ensuring the image is clear and within supported size limits, or preprocessing to enhance contrast and scale, is crucial. Additionally, Image Analysis 4.0 Read handles high-res documents efficiently when passed directly.

63
Multi-Selectmedium

You are preparing training images for a Custom Vision object detection project. Which THREE data preparation practices should you follow to ensure high model accuracy? (Choose three.)

Select 3 answers
A.Vary object angles, lighting, and scale across your training images.
B.Use identical background images for all training samples to maintain consistency.
C.Ensure at least 15 tagged images per tag for object detection.
D.Include images with varied backgrounds for the same object class.
E.Keep all training images under 100x100 pixels to speed up training.
AnswersA, C, D

Varying lighting, angles, and scale ensures robust real-world performance.

Why this answer

Good practices for Custom Vision include providing variety in backgrounds, ensuring multiple instances of objects across different angles and lighting, and meeting minimum tag counts.

64
MCQeasy

Your company wants to generate descriptive captions for thousands of product images automatically using Azure AI Vision. Which visual feature parameter should you specify in the analyze request?

A.features=read
B.features=smartCrops
C.features=caption
D.features=objects
AnswerC

The caption feature generates a human-readable sentence describing the image.

Why this answer

The 'captions' visual feature extracts a human-readable sentence describing the image content.

65
MCQeasy

You are examining the metadata of an image analysis result from Azure AI Vision 4.0. Which property contains the dimensions (width and height) of the analyzed image?

A.dimensions
B.modelVersion
C.metadata
D.requestId
AnswerC

The metadata object returns width and height properties of the image.

Why this answer

The image metadata object in the API response contains `width` and `height` properties representing the pixel dimensions of the submitted image.

66
MCQeasy

You are building a content moderation pipeline. You need to detect if user-uploaded images contain adult content, racy content, or gore using Azure AI Vision. Which feature should you include?

A.features=adult
B.features=safety
C.features=moderation
D.features=image-analysis safety check
AnswerA

The adult feature detects adult content, racy content, and gore.

Why this answer

The 'image-analysis' safety analysis includes detection for adult, racy, and gory content.

67
MCQeasy

You are writing a Python script using the Azure AI Vision SDK to analyze an image from a local file path. Which client class should you instantiate first?

A.ImageAnalysisClient
B.ComputerVisionClient
C.VisionServiceClient
D.CustomVisionPredictionClient
AnswerA

ImageAnalysisClient is the modern client for Azure AI Vision 4.0.

Why this answer

The ImageAnalysisClient is the primary client class used in the Azure AI Vision SDK (v4.0) for image analysis tasks.

Ready to test yourself?

Try a timed practice session using only Computer Vision questions.