Courseiva
mediumMultiple Choice

Generative AI Leader Practice Question: Generate high-quality images from text…

A company wants to generate high-quality images from text descriptions for their marketing materials. They need the ability to edit specific regions of an image without regenerating the entire image. Which Google Cloud service should they use?

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

✓

Imagen

Imagen offers inpainting and outpainting capabilities for editing specific regions. Gemini is multimodal but not optimized for image editing. Veo generates video, not still images. Codey is for code.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Gemini

    Why it's wrong here

    Gemini is a multimodal reasoning and text model; it does not provide region-masked image editing that preserves untouched pixels. It is tempting because it accepts image and text prompts and can describe or analyse images, which suits captioning, classification or content generation tasks rather than pixel-level inpainting.

  • ✗

    Codey

    Why it's wrong here

    Codey is designed for code generation and completion, not image synthesis or editing. It fails this scenario because it lacks any mechanism for region-specific image inpainting or text-to-image generation, which requires a diffusion model. The temptation arises because Codey handles natural language prompts for code, so it seems a plausible choice for any text-to-output task; it would be correct for generating Python scripts or SQL queries from descriptions.

  • ✓

    Imagen

    Why this is correct

    Imagen on Vertex AI supports inpainting and outpainting, letting you mask a region and regenerate only that area from a text prompt while the rest of the image stays untouched. This directly satisfies the stem's requirement to edit specific regions without regenerating the entire image.

  • ✗

    Veo

    Why it's wrong here

    Veo generates video from text and image prompts, not still marketing imagery, and offers no masked inpainting of a region within an existing image. It is tempting because it is Google Cloud's flagship generative media model, and it would be the right choice when the deliverable is short video clips rather than editable images.

About these practice questions

One of 1,008 original Generative AI Leader practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 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.