Unit 6: Advanced Generative AI Applications - Practice Quiz

CSG202 — Generative Ai Fundamentals 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is Vertex AI?

Overview of Vertex AI Easy
A. Google Cloud's unified machine learning platform
B. A hardware chip for training models
C. A programming language for AI models
D. An open-source dataset repository

2 Which company provides the Vertex AI platform?

Overview of Vertex AI Easy
A. Google Cloud
B. Microsoft Azure
C. IBM Cloud
D. Amazon Web Services

3 What is the main purpose of Generative AI Studio?

Generative AI Studio Easy
A. To prototype and test generative AI prompts and models
B. To store large datasets in a warehouse
C. To manage cloud billing accounts
D. To monitor network traffic security

4 Which activity is commonly performed in Generative AI Studio?

Generative AI Studio Easy
A. Firewall configuration
B. Prompt engineering and testing
C. Domain name registration
D. Physical server maintenance

5 What type of model is Gemini?

Gemini Models Easy
A. A file compression algorithm
B. A relational database engine
C. A multimodal generative AI model
D. A spreadsheet automation tool

6 The term multimodal in Gemini models means the model can process:

Gemini Models Easy
A. Multiple types of input such as text, images, and audio
B. Only a single language
C. Only plain text input
D. Only numerical spreadsheet data

7 What is Model Garden in Vertex AI?

Model Garden Easy
A. A tool for gardening simulations
B. A billing dashboard for cloud usage
C. A repository of ready-to-use foundation and ML models
D. A network monitoring service

8 Which task can you perform using Model Garden?

Model Garden Easy
A. Design database schemas
B. Discover and select pre-built models
C. Encrypt user passwords
D. Configure DNS records

9 Which is typically the first step in an end-to-end AI development workflow?

End-to-End AI Development Workflow Easy
A. Real-time monitoring of predictions
B. Model deployment to production
C. Data collection and preparation
D. Retiring the finished model

10 What does model deployment refer to in the AI workflow?

End-to-End AI Development Workflow Easy
A. Deleting unused training data
B. Choosing a programming language
C. Making a trained model available for use
D. Writing the initial project proposal

11 What does text-to-image generation do?

Text-to-Image Generation Easy
A. Compresses image file sizes
B. Converts images into text captions
C. Translates text between languages
D. Creates images from text descriptions

12 In text-to-image generation, the prompt is:

Text-to-Image Generation Easy
A. A database query for images
B. The final rendered image file
C. A text description guiding the image creation
D. A hardware acceleration setting

13 What is the goal of image understanding?

Image Understanding Easy
A. To convert images into audio
B. To generate images from text
C. To analyze and interpret the content of images
D. To increase image resolution only

14 Which task is an example of image understanding?

Image Understanding Easy
A. Encrypting an image for storage
B. Renaming an image file
C. Adjusting screen brightness
D. Identifying objects present in a photo

15 What does video analysis typically involve?

Video Analysis Easy
A. Playing videos at higher speed
B. Reducing video download times
C. Extracting information from video content
D. Adding subtitles manually

16 Which of the following is a common video analysis task?

Video Analysis Easy
A. Detecting actions or events in a video
B. Compressing an audio file
C. Sorting emails by date
D. Formatting a text document

17 Which is an example of an audio processing task?

Audio Processing Easy
A. Cropping an image
B. Rendering a 3D model
C. Indexing a database table
D. Transcribing speech into text

18 Speech-to-text technology converts:

Audio Processing Easy
A. Spoken words into written text
B. Text into printed documents
C. Images into descriptions
D. Video into slideshows

19 What is cross-modal reasoning?

Cross-Modal Reasoning Easy
A. Reasoning using only text data
B. Reasoning across different data types like text and images
C. Sorting files by size
D. Encrypting data across servers

20 A multimodal application is one that:

Multimodal Application Design Easy
A. Works with multiple types of data such as text, images, and audio
B. Only processes plain text files
C. Runs exclusively on mobile devices
D. Handles a single spreadsheet at a time

21 A data science team wants a single managed platform to train custom models, deploy them to endpoints, and also access pre-trained foundation models without stitching together separate services. Which characteristic of Vertex AI best addresses this need?

Overview of Vertex AI Medium
A. It is a database service optimized for storing model weights
B. It is a unified ML platform that combines data prep, training, deployment, and foundation model access
C. It is a standalone GPU rental service with no MLOps tooling
D. It is a code editor for writing Python training scripts only

22 A developer wants to quickly experiment with prompts, tune generation parameters like temperature, and test model responses through a visual interface before writing production code. Which tool is most appropriate?

Generative AI Studio Medium
A. Dataproc
B. Generative AI Studio
C. BigQuery
D. Cloud Storage

23 Gemini models are frequently described as natively multimodal. What does this most directly imply for an application developer?

Gemini Models Medium
A. Multimodality requires converting all inputs to text first
B. The model can only handle text but generates images via plugins
C. A single model can process text, images, audio, and video inputs together
D. Separate specialized models must be called for each data type

24 A team is evaluating whether to use a Google first-party model, an open-source model, or a third-party partner model for their project. Which Vertex AI feature lets them discover, compare, and deploy from all these categories in one place?

Model Garden Medium
A. Model Garden
B. Cloud Monitoring
C. Artifact Registry
D. Generative AI Studio

25 In a typical end-to-end AI development workflow on Vertex AI, which sequence correctly orders the core phases?

End-to-End AI Development Workflow Medium
A. Data preparation → model training/tuning → evaluation → deployment → monitoring
B. Model training → data preparation → deployment → evaluation → monitoring
C. Deployment → data preparation → monitoring → training → evaluation
D. Evaluation → deployment → data preparation → training → monitoring

26 When using a text-to-image model, a user's prompt produces images that ignore a key requested detail. Which prompting adjustment most directly improves adherence to that detail?

Text-to-Image Generation Medium
A. Reducing the prompt to a single vague word
B. Switching the output resolution to the lowest setting
C. Adding specific descriptive keywords and emphasis for the missing detail
D. Removing all adjectives from the prompt

27 A retail app sends a product photo to a multimodal model and asks, "How many items are on the shelf and what colors are they?" This task is an example of which capability?

Image Understanding Medium
A. Audio transcription
B. Image understanding
C. Text-to-image generation
D. Video summarization

28 A model is asked to identify the moment a goal is scored in a soccer clip and describe what happened just before it. Which capability does this require beyond simple frame classification?

Video Analysis Medium
A. Text-to-image rendering of the scene
B. Temporal reasoning over the sequence of frames
C. Static image captioning of a single frame
D. Audio-only keyword spotting

29 A voice-note app needs to convert spoken meeting recordings into searchable text and then summarize action items. Which pipeline correctly reflects the audio processing steps involved?

Audio Processing Medium
A. Speech-to-text transcription followed by text summarization
B. Text-to-speech synthesis followed by image generation
C. Video analysis followed by text-to-image generation
D. Image understanding followed by audio playback

30 An app receives an image of a recipe card and an audio question asking, "Can I make this if I'm allergic to nuts?" Answering requires combining information from both inputs. What is this ability called?

Cross-Modal Reasoning Medium
A. Cross-modal reasoning
B. Single-modality classification
C. Data augmentation
D. Prompt caching

31 When designing a multimodal customer support assistant that accepts screenshots and typed questions, which design decision best improves reliability of responses?

Multimodal Application Design Medium
A. Randomizing the order of modalities on every request
B. Sending only the image and ignoring the typed question
C. Providing clear instructions and context in the prompt about how to interpret each modality
D. Compressing images to unreadable resolution to save cost

32 A developer needs the lowest-latency, cost-efficient Gemini variant for high-volume, simple classification tasks, while another team needs maximum reasoning quality for complex analysis. What is the key trade-off guiding this choice?

Gemini Models Medium
A. Balancing model size/capability against latency and cost
B. Selecting a model based solely on its release date
C. Picking the model with the largest training dataset regardless of task
D. Choosing between text-only and image-only models

33 A team wants to reduce hallucinations by having their Vertex AI model reference their internal document store when answering. Which approach fits within the Vertex AI ecosystem?

Overview of Vertex AI Medium
A. Disabling all safety filters
B. Grounding the model with retrieval from their data (RAG)
C. Reducing the prompt to a single word
D. Increasing the temperature parameter to maximum

34 In Generative AI Studio, a developer lowers the temperature setting close to 0 for a factual Q&A assistant. What effect should they expect?

Generative AI Studio Medium
A. Longer responses regardless of prompt
B. More deterministic, focused outputs with less randomness
C. More creative and varied outputs with higher randomness
D. Automatic switching to an image model

35 A designer wants generated images to avoid including any text or watermarks. Which prompting technique is most directly suited to this goal?

Text-to-Image Generation Medium
A. Lowering the image resolution
B. Adding more positive adjectives about text
C. Increasing the number of output tokens
D. Using negative prompts to specify what to exclude

36 A startup wants to fine-tune an open-source model they found in Model Garden on their proprietary dataset before deploying. Which statement about this workflow is accurate?

Model Garden Medium
A. Open-source models in Model Garden cannot be customized in any way
B. Fine-tuning must be done outside Google Cloud entirely
C. Model Garden only allows viewing model cards, not any deployment
D. Model Garden lets them select the model, then tune and deploy it through Vertex AI tooling

37 After deploying a model, a team notices prediction quality degrading over weeks as real-world data shifts. Which workflow phase addresses this, and what is the phenomenon called?

End-to-End AI Development Workflow Medium
A. Monitoring detects data/model drift
B. Training detects latency spikes
C. Evaluation detects deployment errors
D. Data preparation detects overfitting

38 A document-processing app uses a multimodal model to read scanned invoices and extract the total amount and vendor name into structured fields. What is the best description of this task?

Image Understanding Medium
A. Visual information extraction from images into structured data
B. Converting the invoice audio to text
C. Generating a new invoice image from text
D. Rendering the invoice as a 3D model

39 A content team wants automatic chapter markers and a summary for hour-long tutorial videos. Which combination of capabilities does the model need?

Video Analysis Medium
A. Text-to-image generation of thumbnails only
B. Single-frame image captioning only
C. Audio pitch detection only
D. Temporal segmentation plus content summarization across the video

40 A multimodal app must handle cases where a user uploads an image but sends no text, or sends text with no image. Which design principle best manages this variability?

Multimodal Application Design Medium
A. Always assuming both modalities are present
B. Rejecting all requests that are not both text and image
C. Gracefully handling missing or optional modalities with fallback logic
D. Randomly discarding one modality per request

41 A team migrates a custom training job from a raw Compute Engine setup to Vertex AI to gain managed MLOps capabilities. They require reproducible pipelines, metadata lineage tracking, and automated model registration on successful evaluation. Which combination of Vertex AI components most directly satisfies all three requirements?

Overview of Vertex AI Hard
A. Vertex AI Workbench, Cloud Logging, and BigQuery ML
B. Vertex AI Feature Store, Cloud Scheduler, and Dataflow
C. Generative AI Studio, Cloud Build, and Artifact Registry
D. Vertex AI Pipelines, Vertex ML Metadata, and Vertex AI Model Registry

42 A prompt engineer notices that identical prompts in Generative AI Studio produce highly variable outputs across runs, harming reproducibility for a compliance report. Which parameter adjustment most directly reduces this stochasticity while preserving the model?

Generative AI Studio Hard
A. Raise the maxOutputTokens limit to allow longer completions
B. Increase top_p toward to widen the sampling pool
C. Lower the temperature toward (and optionally set top_k=1)
D. Increase the candidateCount so more responses are returned

43 An application must reason jointly over a -hour video, its audio track, and a set of PDF technical diagrams within a single request. Which capability of Gemini models is the primary enabler, and what is the key practical constraint?

Gemini Models Hard
A. Fine-tuning on the specific media; the model must be retrained before every multimodal request
B. Automatic external tool-calling; each modality must first be converted to plain text via separate APIs
C. Native multimodal input with a large context window; the total tokens (including media) must fit within the model's context limit
D. Retrieval-augmented generation; all media must be embedded and stored in a vector database beforehand

44 A developer wants to deploy an open-weights model (e.g., a Llama variant) from Model Garden for low-latency, dedicated serving with full control over the endpoint. Which deployment path is most appropriate?

Model Garden Hard
A. Deploy the model to a Vertex AI Endpoint with provisioned dedicated resources
B. Call it exclusively through the shared serverless Gemini API
C. Access it only via the Generative AI Studio browser playground
D. Export it to BigQuery ML and query it with SQL for each request

45 In a Vertex AI pipeline, a model passes offline evaluation but degrades sharply after deployment as real traffic shifts. Which monitoring signal most directly identifies this specific failure mode, and what is the correct corrective step?

End-to-End AI Development Workflow Hard
A. Endpoint CPU utilization alerts triggering a node autoscaling change
B. Pipeline DAG compilation errors triggering a code rollback
C. Model Registry version mismatch triggering a re-registration
D. Feature/prediction drift detection triggering a retraining pipeline

46 A designer using a text-to-image model finds that adding a negative prompt like blurry, extra fingers improves quality. Mechanistically, in a diffusion model using classifier-free guidance, what does a negative prompt influence?

Text-to-Image Generation Hard
A. It changes the random seed so a completely different latent is sampled
B. It reduces the number of denoising steps required to reach the final image
C. It is appended to the positive prompt and increases the total token weight equally
D. It defines the unconditional/undesired direction so guidance steers the denoising away from those concepts

47 A multimodal model is asked to count the number of red cars in a dense parking-lot photo and returns an incorrect count. Which prompting or design strategy is most likely to improve counting accuracy without changing the model?

Image Understanding Hard
A. Ask the model to enumerate and describe each detected car sequentially before giving a total
B. Increase the temperature so the model explores more counting hypotheses
C. Request the answer as a single number with no reasoning to reduce noise
D. Downscale the image aggressively to speed up feature extraction

48 When sending a long video to a Gemini model, a developer observes that fine-grained fast motion events are sometimes missed. Which factor most directly explains this and what is the appropriate mitigation?

Video Analysis Hard
A. The audio track is overriding the video; mute the audio before upload
B. The context window is too large; reduce it to force denser attention
C. The resolution is too high; downscale frames to improve motion capture
D. The frame sampling rate is too low; increase sampling density or segment the video into shorter clips

49 A speech application must transcribe overlapping speakers, attribute utterances to each, and detect the emotional tone. Which combination of capabilities is required?

Audio Processing Hard
A. Text-to-speech synthesis plus sentiment lexicon lookup
B. Noise suppression plus fixed-vocabulary command recognition
C. Speech-to-text with speaker diarization plus paralinguistic/emotion analysis
D. Audio classification of genre plus keyword spotting only

50 A model is shown a chart image and a paragraph of text that contradict each other about a sales figure. When asked for the correct value, the model should ideally do what to demonstrate robust cross-modal reasoning?

Cross-Modal Reasoning Hard
A. Average the two conflicting values to produce a compromise figure
B. Always trust the text since language is its primary training modality
C. Surface the discrepancy explicitly and reason about which source is more reliable rather than silently picking one
D. Always trust the image since visual data is inherently more precise

51 A production multimodal assistant must minimize latency and cost while handling both quick text queries and occasional heavy video-analysis requests. Which architectural pattern best balances these goals?

Multimodal Application Design Hard
A. Route requests to different model tiers/endpoints based on modality and complexity (model routing)
B. Convert all inputs to text first and use only a small text model
C. Cache the first response and return it for all subsequent requests
D. Send every request to the largest multimodal model to maximize accuracy

52 A developer needs the Gemini model to return strictly parseable output that conforms to a predefined schema for downstream automation. Which approach is the most reliable?

Gemini Models Hard
A. Ask politely in the prompt to "please return valid JSON" and parse best-effort
B. Set candidateCount high and pick whichever response happens to parse
C. Raise the temperature so the model considers more formatting options
D. Use controlled/structured output with a response schema (e.g., JSON mode with a defined schema)

53 A team wants to compare a fine-tuned model against the base model on a held-out set and only promote the challenger if it improves a business metric by a statistically meaningful margin. Which workflow construct best encodes this gate?

End-to-End AI Development Workflow Hard
A. A cron job that redeploys the newest model version every night unconditionally
B. A conditional pipeline step that runs evaluation and branches to registration only if the metric threshold is met
C. A load balancer weight change made directly on the serving endpoint
D. A manual spreadsheet review performed after the model is already live

54 A user increases the guidance scale (CFG) very high to force stronger adherence to a detailed prompt. What is the most likely trade-off they will observe?

Text-to-Image Generation Hard
A. Complete elimination of prompt-following in favor of random content
B. Reduced image diversity and possible oversaturation or artifacts despite tighter prompt adherence
C. Guaranteed photorealism with no visual artifacts of any kind
D. Faster generation because fewer denoising steps are needed

55 For an OCR-heavy document understanding task where layout matters (tables, columns), which failure is most characteristic of a general multimodal model versus a specialized layout-aware pipeline?

Image Understanding Hard
A. Producing perfectly ordered output but wrong language
B. Inability to recognize any characters at all
C. Reading-order errors that scramble multi-column or tabular content
D. Refusing to process any image containing text

56 A developer wants a Gemini model to answer "at what timestamp does the speaker mention pricing?" for an uploaded video. What must the design account for to make timestamp answers reliable?

Video Analysis Hard
A. Uploading only a single thumbnail to reduce processing overhead
B. Requesting the answer at temperature to encourage precise timing
C. Removing the audio track since only visual frames carry timing information
D. Providing/aligning temporal references so the model can map content to time offsets in the sampled frames/audio

57 An audio understanding system must handle a -minute podcast but the model has a token budget that the full audio exceeds. Which strategy preserves the most useful information within the constraint?

Audio Processing Hard
A. Increase the sample rate so the audio compresses into fewer tokens
B. Convert the audio to a single image spectrogram and discard the waveform
C. Chunk the audio into overlapping segments, process each, then aggregate and summarize across chunks
D. Truncate the audio to the first few minutes that fit in the budget

58 In contrastive multimodal embedding models (e.g., CLIP-style), image and text are projected into a shared space. Which statement best characterizes what "alignment" means and a key limitation?

Cross-Modal Reasoning Hard
A. Semantically matching image-text pairs have high cosine similarity; but fine-grained compositional relations may be poorly captured
B. Alignment guarantees the model can generate new images directly from the embedding without a decoder
C. Images and text share identical raw vectors; so no training is needed to compare them
D. Every pixel is mapped to a unique word; so any image can be losslessly reconstructed from its text embedding

59 A multimodal medical-imaging assistant is being designed. Beyond accuracy, which design decision is most critical for safe and responsible deployment?

Multimodal Application Design Hard
A. Maximizing model size so outputs are always trusted without review
B. Auto-approving high-confidence outputs to reduce clinician workload
C. Hiding confidence scores to avoid confusing end users
D. Adding human-in-the-loop review and clear scope/uncertainty disclosure rather than presenting outputs as diagnoses

60 A regulated enterprise must ensure that data sent to Vertex AI Gemini endpoints stays within a specific region and is not used to train Google's foundation models. Which combination of controls addresses these requirements?

Overview of Vertex AI Hard
A. Disable IAM entirely so the pipeline can access data faster
B. Enable higher temperature and store all prompts in a public bucket for auditing
C. Configure data residency via regional endpoints and rely on the enterprise data-governance guarantees that prompts are not used for foundation-model training
D. Use only the Generative AI Studio playground since it encrypts nothing by design