Question 224 of 500
Fundamentals of Generative AImediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is attention regularization to counter overfitting to irrelevant visual details. The more powerful ViT-L image encoder captures richer, high-resolution features, including background objects, which the decoder amplifies into longer, less focused descriptions—a classic case of overfitting to irrelevant visual patterns in the training images rather than to the labels. This question tests your understanding of multimodal transformer dynamics and regularization strategies on the Google Cloud Generative AI Leader exam, where a common trap is assuming a stronger backbone always improves performance without considering overfitting to noise. The best fix is to continue fine-tuning with additional loss terms that penalize description of irrelevant details, such as attention regularization that forces the model to focus on product-relevant regions. Memory tip: “Bigger encoder, bigger risk—regularize attention to keep the description crisp.”

Generative AI Leader Fundamentals of Generative AI Practice Question

This Generative AI Leader practice question tests your understanding of fundamentals of generative ai. 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.

You are the AI lead at an e-commerce company that uses a generative model to write product descriptions from images and key attributes. The model is a multimodal transformer that encodes both image and text (attributes) and decodes a description. Recently, your team deployed a new version of the image encoder that uses a more powerful backbone (ViT-L instead of ViT-B). After deployment, the generated descriptions became longer but often include irrelevant visual details (e.g., background objects) and occasionally misrepresent the product's main features. The model was fine-tuned on the same dataset as before. The descriptions from the old model were concise and focused. What is the most likely cause of the degradation and the best fix?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "best"

    Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1mediummultiple 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

The powerful encoder introduces overfitting to the training images; continue fine-tuning with additional loss terms that penalize description of irrelevant details (e.g., using attention regularization).

Option D is correct because the more powerful ViT-L encoder captures richer, high-resolution features, including background details, which the decoder then amplifies into longer, less focused descriptions. This is a form of overfitting to irrelevant visual patterns in the training images, not to the labels. Adding attention regularization (e.g., penalizing attention weights on non-salient regions) forces the model to focus on product-relevant features, restoring conciseness and accuracy without reverting to the weaker encoder.

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.

  • The decoder is now too small relative to the encoder; reduce the encoder's hidden size or increase the decoder's capacity.

    Why it's wrong here

    Mismatched sizes can cause issues but more likely the encoder is providing noisy signals.

  • The new encoder produces less discriminative features; replace it with an older version.

    Why it's wrong here

    The new encoder likely produces richer but less targeted features; a better fix is to guide it.

  • Lower the decoder's temperature to reduce diversity and hallucination.

    Why it's wrong here

    Lower temperature does not solve the problem of encoder providing irrelevant information.

  • The powerful encoder introduces overfitting to the training images; continue fine-tuning with additional loss terms that penalize description of irrelevant details (e.g., using attention regularization).

    Why this is correct

    Attention regularization forces the model to focus on product-relevant regions.

    Clue confirmation

    The clue words "best", "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that a more powerful encoder always improves performance, when in fact it can introduce overfitting to irrelevant features, and the fix is not to downgrade the encoder but to add regularization that guides attention to salient regions.

Detailed technical explanation

How to think about this question

Under the hood, ViT-L has more attention heads and larger patch embeddings, which can encode fine-grained spatial information from the entire image, including background clutter. During fine-tuning, the cross-attention between encoder outputs and decoder tokens may learn to attend to these irrelevant regions if the training data contains such patterns. Attention regularization, such as adding a loss term that minimizes attention entropy on non-object regions (e.g., using a saliency mask or a learned attention gating mechanism), directly suppresses this behavior. In practice, this is similar to techniques used in image captioning to avoid hallucinating objects not in the foreground.

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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

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 Generative AI Leader 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 Generative AI Leader 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 Generative AI Leader question test?

Fundamentals of Generative AI — This question tests Fundamentals of Generative AI — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The powerful encoder introduces overfitting to the training images; continue fine-tuning with additional loss terms that penalize description of irrelevant details (e.g., using attention regularization). — Option D is correct because the more powerful ViT-L encoder captures richer, high-resolution features, including background details, which the decoder then amplifies into longer, less focused descriptions. This is a form of overfitting to irrelevant visual patterns in the training images, not to the labels. Adding attention regularization (e.g., penalizing attention weights on non-salient regions) forces the model to focus on product-relevant features, restoring conciseness and accuracy without reverting to the weaker encoder.

What should I do if I get this Generative AI Leader question wrong?

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

Are there clue words in this question I should notice?

Yes — watch for: "best", "most likely". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

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 30, 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 Generative AI Leader practice question is part of Courseiva's free Google Cloud 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 Generative AI Leader exam.