Multimodal AI interview questions

33 questions from the Multimodal AI course, each with the correct answer and an explanation. Try to answer before you open the answer.

Foundations and Mental Model

1. Which task is a genuinely cross-modal problem for a single model?

  1. Classifying a tweet as positive or negative
  2. Answering "how many people are wearing helmets?" about a photo
  3. Translating Hindi text into English text
  4. Detecting spam in an email body
Show answer

Answer: Answering "how many people are wearing helmets?" about a photo

Visual question answering needs the model to connect a text question with pixel content. The other three are text-only tasks.

Lesson: What Multimodal AI Means

2. Why are transformers a natural fit for multimodal models?

  1. They only work on text, so other modalities are converted to words
  2. They need no training data
  3. They run faster than any other architecture on images
  4. They operate on any sequence of vectors, whatever modality produced it
Show answer

Answer: They operate on any sequence of vectors, whatever modality produced it

Self-attention works on sequences of embeddings. Once images or audio are cut into vectors, the same layers apply.

Lesson: Prerequisites: Tensors, Embeddings and Transformers

3. A product team has a good image classifier and a good text classifier, very little paired data, and inputs where the image is often missing. Which fusion is the sensible start?

  1. Late fusion of the two models' scores
  2. Early fusion of raw pixels and tokens
  3. Training a vision-language model from scratch
  4. Dropping the text model entirely
Show answer

Answer: Late fusion of the two models' scores

Late fusion reuses both models, needs little paired data and degrades gracefully when one modality is absent.

Lesson: Fusion Strategies: Early, Late and In-Between

Representing Images, Audio and Video

4. A PyTorch vision model expects input of shape (1, 3, 224, 224). What does the 3 represent?

  1. The batch size
  2. The colour channels (R, G, B)
  3. The number of patches
  4. The image height in hundreds of pixels
Show answer

Answer: The colour channels (R, G, B)

In NCHW layout the second dimension is channels; an RGB image has three.

Lesson: Images as Tensors

5. A 10-second clip is sampled at 16 kHz. How many samples does the waveform have?

  1. 16,000
  2. 1,600
  3. 160,000
  4. 10,000
Show answer

Answer: 160,000

Sample rate times duration: 16,000 samples per second x 10 seconds = 160,000 samples.

Lesson: Audio as Waveforms and Spectrograms

6. Why do video understanding systems sample frames instead of using all of them?

  1. Adjacent frames are highly redundant and every frame costs tokens and compute
  2. Models cannot read more than one image
  3. Frames must be converted to audio first
  4. Sampling improves the video resolution
Show answer

Answer: Adjacent frames are highly redundant and every frame costs tokens and compute

Consecutive frames are almost identical, so sampling cuts cost sharply while keeping most of the information.

Lesson: Video, Documents and Other Inputs

Encoders: Turning Signals into Tokens

7. What property of a ViT's output makes it easy to connect to a language model?

  1. It outputs a single class label
  2. It outputs pixels at higher resolution
  3. It outputs a sequence of token vectors
  4. It outputs text directly
Show answer

Answer: It outputs a sequence of token vectors

A ViT produces one vector per patch, a token sequence that a projector can map into the language model's embedding space.

Lesson: Vision Encoders: CNNs and Vision Transformers

8. A ViT uses 14-pixel patches on a 336 x 336 image. How many patch tokens does it produce (excluding [CLS])?

  1. 576
  2. 256
  3. 196
  4. 1,024
Show answer

Answer: 576

336 / 14 = 24 patches per side, and 24 x 24 = 576.

Lesson: Patch Embeddings Step by Step

9. What input representation does Whisper's encoder take?

  1. Raw 44.1 kHz waveform samples
  2. A log-mel spectrogram of 16 kHz audio
  3. Text tokens from a phonetic dictionary
  4. MP3 compressed frames
Show answer

Answer: A log-mel spectrogram of 16 kHz audio

Whisper resamples to 16 kHz and computes a log-mel spectrogram, processed in 30-second windows.

Lesson: Audio Encoders and Speech Models

Contrastive Learning and CLIP

10. Two unit-length vectors have a cosine similarity of 1.0. What does that mean?

  1. They are unrelated
  2. They point in opposite directions
  3. One of them is a zero vector
  4. They point in exactly the same direction
Show answer

Answer: They point in exactly the same direction

Cosine similarity is 1 when the angle between the vectors is zero, i.e. they point the same way.

Lesson: Shared Embedding Spaces

11. In CLIP's training, where are the negative examples for an image?

  1. In a separate hand-labelled dataset of wrong captions
  2. In the other captions in the same batch
  3. In random noise images
  4. There are no negatives in contrastive training
Show answer

Answer: In the other captions in the same batch

Every other caption in the batch serves as a negative, which is why larger batches help.

Lesson: Contrastive Training: How CLIP Learns

12. You want CLIP to recognise a new class it has never been trained on as a label. What do you need to add?

  1. A new output neuron and retraining
  2. Thousands of labelled images of the class
  3. A text prompt describing the class
  4. A larger image encoder
Show answer

Answer: A text prompt describing the class

Zero-shot classes are defined by text prompts; the text tower embeds any new description.

Lesson: Zero-Shot Classification and Retrieval

Vision-Language Models

13. In a LLaVA-style VLM, what is the job of the projector?

  1. Map vision-encoder outputs into the language model's embedding space
  2. Compress the image to JPEG
  3. Generate the final answer text
  4. Translate text tokens into pixels
Show answer

Answer: Map vision-encoder outputs into the language model's embedding space

The projector converts patch vectors to the dimensionality and space the LLM's token embeddings use.

Lesson: Vision-Language Model Architecture

14. In cross-attention from text to image, which modality supplies the queries?

  1. The image patches
  2. Neither; queries are random
  3. Both, concatenated
  4. The text tokens
Show answer

Answer: The text tokens

Text tokens act as queries; image features supply keys and values, so each text token gathers relevant visual information.

Lesson: Cross-Attention and Other Connectors

15. In LLaVA-style stage-1 alignment, which component is usually trained?

  1. Only the vision encoder
  2. Only the projector
  3. Only the LLM's output layer
  4. All parameters from scratch
Show answer

Answer: Only the projector

Stage 1 freezes the encoder and LLM and trains just the projector on image-caption pairs.

Lesson: How VLMs Are Trained

Generating Images and Speech

16. During diffusion training, what does the network usually learn to predict?

  1. The caption of the image
  2. The noise that was added at step t
  3. The next pixel in raster order
  4. The class label of the image
Show answer

Answer: The noise that was added at step t

The standard objective is to predict the added noise, trained with a mean squared error loss.

Lesson: Diffusion Models for Image Generation

17. Why does latent diffusion run the denoising in a VAE's latent space?

  1. Latents are text, which is easier to generate
  2. It removes the need for a text encoder
  3. The latent is much smaller than the pixel image, so each step is cheaper
  4. It guarantees photorealistic output
Show answer

Answer: The latent is much smaller than the pixel image, so each step is cheaper

Compressing to a small latent makes every denoising step far cheaper; the VAE decoder restores full resolution at the end.

Lesson: Text Conditioning, Latent Diffusion and Guidance

18. What is a main weakness of a cascaded ASR -> LLM -> TTS voice assistant?

  1. It cannot produce any audio
  2. It needs no speech recognition
  3. It only works in English by design
  4. Latency adds up and the LLM loses tone and emotion from the speech
Show answer

Answer: Latency adds up and the LLM loses tone and emotion from the speech

Each stage adds delay, and converting speech to text discards paralinguistic information before the LLM sees it.

Lesson: Speech Generation and Voice Interfaces

Using Multimodal Models in Practice

19. Why should you resize a 12-megapixel phone photo before sending it to a vision API?

  1. APIs only accept square images
  2. Base64 cannot encode large files
  3. Resizing adds EXIF metadata the model needs
  4. Smaller images upload faster, fit size limits and usually cost fewer image tokens
Show answer

Answer: Smaller images upload faster, fit size limits and usually cost fewer image tokens

Large images waste bandwidth, can exceed limits, and often cost more tokens without improving answers for typical questions.

Lesson: Sending Images to a Model API

20. What does a Hugging Face processor do for a multimodal checkpoint?

  1. Prepares images, text and chat templates exactly as that checkpoint expects
  2. Trains the model on new data
  3. Converts the model to another framework
  4. Hosts the model on a remote server
Show answer

Answer: Prepares images, text and chat templates exactly as that checkpoint expects

The processor bundles the image preprocessing, tokenizer and chat template matched to the checkpoint.

Lesson: Open Models with Hugging Face

21. In llama.cpp-style deployments of a vision model, what is the separate mmproj file?

  1. A config file for the web UI
  2. The vision encoder and projector that turn images into tokens for the LLM
  3. A dataset of example images
  4. A licence file
Show answer

Answer: The vision encoder and projector that turn images into tokens for the LLM

The multimodal projector file holds the vision side; it must match the language model weights.

Lesson: Running Multimodal Models Locally

Applications: Multimodal RAG, Documents and Video

22. What is the main risk of the caption-then-embed approach to multimodal RAG?

  1. Details the caption omitted cannot be retrieved
  2. It requires training a new LLM
  3. It cannot handle text queries
  4. It only works for video
Show answer

Answer: Details the caption omitted cannot be retrieved

Retrieval only sees the generated caption, so anything the captioner skipped is invisible to search.

Lesson: Multimodal Retrieval-Augmented Generation

23. Which check best catches a VLM hallucinating values on an invoice?

  1. Asking the model whether it is sure
  2. Using a higher temperature
  3. Verifying that extracted line items sum to the extracted total
  4. Converting the invoice to grayscale
Show answer

Answer: Verifying that extracted line items sum to the extracted total

Deterministic business-rule checks catch inconsistent values; asking the model to self-assess is unreliable.

Lesson: Document AI: OCR, Layout and VLMs

24. A video QA system answers transcript questions well but fails on "what colour is the chart on screen?". What is the most likely cause?

  1. The audio sample rate is too high
  2. Too few or no frames are being sent to the model for that segment
  3. The transcript has timestamps
  4. The model's temperature is zero
Show answer

Answer: Too few or no frames are being sent to the model for that segment

Visual questions need frames; a transcript-heavy pipeline with sparse or missing frames cannot see the screen.

Lesson: Video Understanding Applications

Performance, Cost and Evaluation

25. An image's width and height are both doubled before it reaches a fixed-patch ViT. Roughly how does the patch token count change?

  1. It stays the same
  2. It doubles
  3. It halves
  4. It quadruples
Show answer

Answer: It quadruples

Patch count is (H/P) x (W/P), so doubling both sides multiplies it by four.

Lesson: Image Tokens, Resolution and Cost

26. A reference transcript has 10 words. The ASR output has 1 substitution, 1 deletion and 1 insertion. What is the WER?

  1. 0.1
  2. 0.2
  3. 0.3
  4. 0.27
Show answer

Answer: 0.3

WER = (S + D + I) / N = (1 + 1 + 1) / 10 = 0.3.

Lesson: Evaluating Multimodal Systems

27. Your product search embeds the same 2 million catalogue images on every user query. What is the biggest fix?

  1. Precompute and store image embeddings once; embed only the query at search time
  2. Use a larger image encoder
  3. Increase the generation temperature
  4. Convert images to grayscale per query
Show answer

Answer: Precompute and store image embeddings once; embed only the query at search time

Catalogue embeddings are static; compute them at ingest and only encode the query text online.

Lesson: Serving Fast and Cheap

Security, Safety and Pitfalls

28. A VLM reports the wrong amount from a small, blurry total on a receipt. What is the best first fix?

  1. Raise the temperature
  2. Ask the model to be more confident
  3. Send a higher-resolution crop of the total region and allow a 'not readable' answer
  4. Switch to a text-only LLM
Show answer

Answer: Send a higher-resolution crop of the total region and allow a 'not readable' answer

Detail errors usually come from downsampling; a crop restores resolution and an escape option prevents guessing.

Lesson: Visual Hallucination and Grounding

29. An agent reads uploaded invoice images and can trigger payments. What is the most robust defence against injected text in the images?

  1. Require validation against business rules or human approval before any payment
  2. Tell the model in the system prompt to ignore injections
  3. Convert invoices to grayscale
  4. Use a larger VLM
Show answer

Answer: Require validation against business rules or human approval before any payment

Prompt instructions alone do not reliably stop injection; gating privileged actions limits the damage when the model is fooled.

Lesson: Prompt Injection Through Images and Audio

30. Why should a citizen-complaint app strip EXIF data from uploaded photos before storing or forwarding them?

  1. EXIF makes images too large to upload
  2. EXIF may contain GPS location and device details that reveal personal information
  3. Models cannot read images with EXIF
  4. EXIF changes the image colours
Show answer

Answer: EXIF may contain GPS location and device details that reveal personal information

EXIF often includes location and device data; removing it protects users when photos are stored or shared.

Lesson: Privacy, Bias and Synthetic Media

Revision and Interview Prep

31. Which pairing of model family and training objective is correct?

  1. CLIP - predicts added Gaussian noise
  2. Diffusion - symmetric contrastive loss over captions
  3. Whisper - zero-shot classification with text prompts
  4. CLIP - contrastive loss; diffusion - noise prediction
Show answer

Answer: CLIP - contrastive loss; diffusion - noise prediction

CLIP learns with a contrastive image-text loss; diffusion models learn to predict the noise added at each step.

Lesson: Cheat Sheet: Multimodal AI in One Page

32. An interviewer asks why contrastive training like CLIP's benefits from very large batches. Which answer is best?

  1. Large batches reduce the image resolution
  2. Each pair's negatives are the other items in the batch, so more items give more and harder negatives
  3. Large batches let the model skip the text encoder
  4. Batch size has no effect on contrastive learning
Show answer

Answer: Each pair's negatives are the other items in the batch, so more items give more and harder negatives

In-batch negatives are the core of the loss; bigger batches supply more of them per step.

Lesson: Common Interview and Exam Questions

33. In the farmer-bot scenario, which change most directly reduces hallucinated diagnoses from blurry leaf photos?

  1. Raising the speech model's sample rate
  2. Adding more Marathi prompts to the system message
  3. Removing the audio input entirely
  4. Asking for a clearer photo when image quality is low and allowing an 'unsure' answer
Show answer

Answer: Asking for a clearer photo when image quality is low and allowing an 'unsure' answer

Detecting poor inputs and permitting uncertainty prevents the model from guessing a diagnosis from pixels it cannot see clearly.

Lesson: Mixed Self-Check

← Back to the course