Artificial Intelligence · Generative AI In a Transformer decoder layer, where do the Queries (Q), Keys (K), and Values (V) originate during Cross-Attention? A All from decoder B Q from decoder, K and V from encoder Correct answer C All from encoder D Q from encoder, K and V from decoder MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is the structural role of the Position-Wise Feedforward Network (FFN) in a Transformer block? A It mixes tokens B It transforms each token independently Correct answer C It reduces sequence length D It normalizes outputs MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is the formula for scaled dot-product attention? A softmax(QKᵀ)V B softmax(QKᵀ/√d_k)V Correct answer C softmax(QVᵀ)K D softmax(KVᵀ)Q MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI Why are multiple attention heads used in the Transformer? A To increase parameters B To attend to different representation subspaces Correct answer C To reduce computation D To speed up inference MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI How does the Transformer model achieve a constant number of operations for relating signals from two arbitrary positions? A By using a single attention head B By employing self-attention mechanisms that connect all positions directly Correct answer C By using convolutional layers with large kernels D By using RNNs MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is the purpose of the attention mask in a Transformer decoder? A To speed up training B To prevent attention to future positions Correct answer C To reduce parameters D To improve accuracy MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is "FID" used for in generative image models? A Text quality B Image generation quality Correct answer C Model speed D Memory usage MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is perplexity? A Model size B How well the model predicts a sample Correct answer C Training speed D Number of parameters MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What does BLEU measure? A Fluency only B Precision of n-gram overlap Correct answer C Recall only D Semantic similarity MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI Which of the following is a common evaluation metric for generative text models? A Accuracy only B BLEU and ROUGE Correct answer C F1 score only D Mean squared error only MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is "red teaming" in generative AI? A Training the model B Adversarially testing for vulnerabilities Correct answer C Deploying the model D Marketing the model MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is "jailbreaking" in the context of LLMs? A Improving model performance B Bypassing safety guardrails Correct answer C Fine-tuning the model D Compressing the model MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is "prompt injection"? A Adding more context to a prompt B A security attack that manipulates model behaviour Correct answer C Improving prompt quality D Injecting code into prompts MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is a "prompt" in generative AI? A A database query B A text input that guides the model's output Correct answer C A programming language D A hardware instruction MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is "latent diffusion"? A Diffusion in pixel space B Diffusion in a compressed latent space Correct answer C Diffusion without noise D Diffusion with GANs MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI Which of the following is a text-to-image diffusion model? A GPT-4 B Stable Diffusion Correct answer C BERT D Word2Vec MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is the reverse process in a diffusion model? A Adding noise B Iteratively denoising random noise Correct answer C Training the model D Evaluating the model MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is the forward process in a diffusion model? A Denoising B Gradually adding noise to data Correct answer C Generating data D Training the discriminator MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI Which loss function does a standard VAE use? A Cross-entropy only B Reconstruction loss + KL divergence Correct answer C Adversarial loss D Hinge loss MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is the purpose of the reparameterization trick in VAEs? A To speed up inference B To enable backpropagation through sampling Correct answer C To reduce model size D To improve accuracy MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is "mode collapse" in GANs? A The discriminator wins too often B The generator produces limited variety of outputs Correct answer C The model fails to converge D The latent space collapses MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI Which of the following is a common use case for generative AI in education? A Automated grading B Generating practice questions and learning content Correct answer C Network security D Hardware repair MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is RLHF? A Reinforcement Learning from Human Feedback Correct answer B Random Learning from High Frequencies C Recursive Learning from Historical Data D Regularized Linear Hidden Features MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI What is "instruction tuning"? A Tuning hyperparameters B Fine-tuning a model to follow instructions Correct answer C Tuning the temperature D Adjusting the learning rate MCQSEXAM Show answer Read explanation
Artificial Intelligence · Generative AI Which of the following is a foundation model? A A narrow classifier B A large model trained on broad data that can be adapted Correct answer C An SVM D A decision tree MCQSEXAM Show answer Read explanation