Courseiva

AI-102 Practice Question: Implement knowledge mining and document intelligence solutions

A company uses Azure Document Intelligence to extract data from invoices. They deploy the model to a container for on-premises processing. After deployment, they notice that the container consumes more memory than expected. What should they do to optimize memory usage?

⚠ Common exam trap

A common mix-up: candidates think memory optimization is achieved by changing the model or client-side settings, when in fact container memory is controlled by environment variables or runtime resource limits specific to the container orchestrator.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Set the 'Memory' environment variable to a lower value in the container configuration

Azure Document Intelligence containers expose a 'Memory' environment variable that allows you to limit the container's memory allocation. By setting this variable to a lower value, you constrain the container's memory usage, which directly addresses the issue of higher-than-expected consumption. This is the recommended approach for optimizing memory in containerized deployments.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Set the 'Memory' environment variable to a lower value in the container configuration

    Why this is correct

    The container's memory usage can be controlled via the 'Memory' setting.

  • Use the 'Read' model instead of the 'Layout' model

    Why it's wrong here

    The 'Read' model is for text extraction, not for reducing memory.

  • Use the cloud API instead of the container

    Why it's wrong here

    The cloud API may have different costs but does not solve the memory issue.

  • Reduce the batch size in the client application

    Why it's wrong here

    Batch size affects throughput but not container memory allocation.

About these practice questions

This AI-102 question is part of Courseiva's 945-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AI-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-102 exam.