Microsoft Azure AI Engineer Associate AI-102 Practice Question
You are writing a Python script to train an object-detection model with Azure Custom Vision. After creating a CustomVisionTrainingClient instance named trainer, you build a list of ImageFileCreateEntry objects that contain the image bytes, a tag ID, and Region objects with bounding boxes. Which SDK method should you call to upload the list so the regions are saved and the images become available for training?
For code-first projects you use the classes in the azure-cognitiveservices-vision-customvision SDK. The CustomVisionTrainingClient exposes two relevant upload operations. create_images_from_data is designed for a single image in byte form and cannot carry region metadata. create_images_from_urls supports only external image locations. To upload multiple local images together with their tag assignments and Region definitions you must supply a list of ImageFileCreateEntry items to create_images_from_files. This method persists both the image content and the bounding-box annotations, making the images ready for subsequent training calls. The other options either ignore regional data or use the wrong client type, so they would not satisfy the requirement.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of the CustomVisionTrainingClient in Azure?
Open an interactive chat with Bash
What is the ImageFileCreateEntry object used for?
Open an interactive chat with Bash
What is the difference between create_images_from_files and create_images_from_data?
Open an interactive chat with Bash
Microsoft Azure AI Engineer Associate AI-102
Implement computer vision solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .