Question 83 of 500
Deploying and Managing Generative AI on OCIhardMultiple ChoiceObjective-mapped

Quick Answer

The correct technique is implementing dynamic batching that groups requests of similar lengths together before inference. This approach directly addresses the root cause of high tail latency in LLM inference on OCI: variable-length input sequences create unpredictable processing times because longer sequences dominate batch execution when mixed with shorter ones. By grouping requests of comparable token lengths, dynamic batching minimizes padding overhead and ensures each batch processes tokens of similar size, making per-request latency far more consistent and predictable. On the Oracle Cloud Infrastructure Generative AI Professional 1Z0-1127 exam, this question tests your understanding of latency optimization strategies for deployed models, often appearing as a distractor against static batching or model pruning. A common trap is choosing request-level parallelism, which doesn’t reduce variance from length disparities. Memory tip: think “like with like” — similar lengths batched together keep tail latency in check.

1Z0-1127 Deploying and Managing Generative AI on OCI Practice Question

This 1Z0-1127 practice question tests your understanding of deploying and managing generative ai on oci. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A generative AI model deployed on OCI Model Deployment is experiencing high tail latency. The model is a large language model that processes variable-length input sequences. Profiling shows that inference time varies significantly: short inputs (100 tokens) take 100ms, while long inputs (2000 tokens) take 2 seconds. The application requires consistent low latency (<500ms) for most requests. You want to reduce the variance in inference time without major changes to the model architecture. Which technique should you apply?

Question 1hardmultiple choice
Full question →

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

Implement dynamic batching that groups requests of similar lengths together before inference

Dynamic batching groups requests of similar input lengths together, which reduces the variance in inference time by ensuring that each batch processes tokens of comparable size. This minimizes the padding overhead and keeps the per-request latency more predictable, directly addressing the high tail latency caused by variable-length sequences without altering the model architecture.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Implement dynamic batching that groups requests of similar lengths together before inference

    Why this is correct

    Grouping by length reduces the overhead from padding and stabilizes inference time.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Increase the number of replicas to distribute the load evenly

    Why it's wrong here

    More replicas improve throughput but not per-request latency variance.

  • Reduce the model size by removing layers or using a smaller version

    Why it's wrong here

    This changes model accuracy and is not desired.

  • Deploy multiple model endpoints for different length ranges and route requests accordingly

    Why it's wrong here

    This adds operational complexity and may not reduce tail latency as each endpoint still faces variable lengths.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse horizontal scaling (Option B) with latency variance reduction, but scaling replicas does not address the root cause of variable inference time due to sequence length differences.

Detailed technical explanation

How to think about this question

Dynamic batching works by accumulating requests in a queue and grouping those with similar sequence lengths into a single inference call, often using a threshold-based or time-based policy. Under the hood, this minimizes the wasted computation from padding shorter sequences to match the longest in a batch, which is a primary cause of latency variance in transformer-based models. In real-world deployments on OCI Model Deployment, this technique can be implemented via a custom inference script that uses a priority queue or length-based bucketing to achieve consistent sub-500ms latency for the majority of requests.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the 1Z0-1127 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related 1Z0-1127 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free 1Z0-1127 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this 1Z0-1127 question test?

Deploying and Managing Generative AI on OCI — This question tests Deploying and Managing Generative AI on OCI — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Implement dynamic batching that groups requests of similar lengths together before inference — Dynamic batching groups requests of similar input lengths together, which reduces the variance in inference time by ensuring that each batch processes tokens of comparable size. This minimizes the padding overhead and keeps the per-request latency more predictable, directly addressing the high tail latency caused by variable-length sequences without altering the model architecture.

What should I do if I get this 1Z0-1127 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This 1Z0-1127 practice question is part of Courseiva's free Oracle 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 1Z0-1127 exam.