Docsity

GSDC Generative AI Foundation Certification Exam, Exams of Technology

Toggle sidebar
bg1
GSDC Generative AI Foundation Certification
Exam
**Question 1.** Which of the following best defines the term “Artificial Intelligence”?
A) Programming computers to follow fixed rules
B) Enabling machines to perform tasks that normally require human intelligence
C) Storing large amounts of data for later retrieval
D) Designing hardware that mimics the human brain
Answer: B
Explanation: AI refers to the capability of machines to exhibit behaviors associated with human
intelligence, such as learning, reasoning, and problem‑solving.
**Question 2.** The historical shift from symbolic AI to the connectionist movement is
primarily characterized by:
A) Increased use of rule‑based expert systems
B) Adoption of neural networks that learn from data
C) Development of logic programming languages
D) Focus on knowledge representation through ontologies
Answer: B
Explanation: The connectionist movement introduced neural networks that learn patterns
directly from data, contrasting with symbolic AI’s rule‑based approaches.
**Question 3.** In supervised learning, the model is trained using:
A) Unlabeled data only
B) A reward signal from the environment
C) Input‑output pairs where the correct answer is known
D) Randomly generated noise
Answer: C
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d

Partial preview of the text

Download GSDC Generative AI Foundation Certification Exam and more Exams Technology in PDF only on Docsity!

Exam

Question 1. Which of the following best defines the term “Artificial Intelligence”? A) Programming computers to follow fixed rules B) Enabling machines to perform tasks that normally require human intelligence C) Storing large amounts of data for later retrieval D) Designing hardware that mimics the human brain Answer: B Explanation: AI refers to the capability of machines to exhibit behaviors associated with human intelligence, such as learning, reasoning, and problem‑solving. Question 2. The historical shift from symbolic AI to the connectionist movement is primarily characterized by: A) Increased use of rule‑based expert systems B) Adoption of neural networks that learn from data C) Development of logic programming languages D) Focus on knowledge representation through ontologies Answer: B Explanation: The connectionist movement introduced neural networks that learn patterns directly from data, contrasting with symbolic AI’s rule‑based approaches. Question 3. In supervised learning, the model is trained using: A) Unlabeled data only B) A reward signal from the environment C) Input‑output pairs where the correct answer is known D) Randomly generated noise Answer: C

Exam

Explanation: Supervised learning relies on labeled examples (input–output pairs) to learn a mapping from inputs to desired outputs. Question 4. Which learning paradigm is most appropriate for discovering hidden groupings in a dataset without any labels? A) Supervised learning B) Unsupervised learning C) Reinforcement learning D) Transfer learning Answer: B Explanation: Unsupervised learning aims to identify structures such as clusters or manifolds in unlabeled data. Question 5. In reinforcement learning, the term “policy” refers to: A) The dataset used for training B) The function that maps states to actions C) The loss function minimized during training D) The hardware architecture of the agent Answer: B Explanation: A policy defines the agent’s behavior by selecting actions based on the current state. Question 6. Discriminative models differ from generative models because they: A) Model the joint probability p(x, y) B) Directly estimate p(y|x) without modeling p(x) C) Generate new data samples from scratch

Exam

C) Generates synthetic data for model training D) Performs dimensionality reduction on embeddings Answer: B Explanation: Tokenization breaks raw text into tokens (words, subwords, or characters) that can later be mapped to IDs. Question 10. Word embeddings differ from one‑hot vectors because embeddings: A) Are sparse high‑dimensional vectors B) Encode semantic similarity in dense low‑dimensional space C) Require a separate vector for each possible sentence D) Are binary representations of tokens Answer: B Explanation: Embeddings map tokens to dense vectors where similar meanings are close in the vector space. Question 11. The core component of the Transformer architecture that enables parallel processing of sequence elements is: A) Recurrent connections B) Convolutional filters C) Self‑attention mechanism D) Decision trees Answer: C Explanation: Self‑attention allows each token to attend to all others simultaneously, eliminating the sequential bottleneck of RNNs. Question 12. In the original Transformer, the “encoder‑decoder” structure is primarily used for:

Exam

A) Generating text from images B) Sequence‑to‑sequence tasks like translation C) Classifying static images D. Reinforcement learning policy updates Answer: B Explanation: Encoder‑decoder Transformers map an input sequence (encoder) to an output sequence (decoder), ideal for translation and summarization. Question 13. Decoder‑only models such as GPT‑3 differ from encoder‑decoder models because they: A) Do not use attention mechanisms B) Generate output autoregressively from a prompt without a separate encoder stage C) Require labeled data for every token D. Operate solely on image data Answer: B Explanation: Decoder‑only models predict the next token based on previous tokens, using a single stack of transformer blocks. Question 14. In a Generative Adversarial Network (GAN), the generator’s objective is to: A) Accurately classify real vs. fake images B. Minimize the reconstruction error of inputs C) Produce samples that the discriminator cannot distinguish from real data D. Maximize the likelihood of the training data distribution Answer: C Explanation: The generator tries to fool the discriminator by creating realistic synthetic data.

Exam

Question 18. In a VAE, the “reparameterization trick” is used to: A. Convert discrete latent variables into continuous ones B. Allow gradient back‑propagation through stochastic sampling C. Normalize the output images D. Increase the model’s capacity without adding parameters Answer: B Explanation: The trick rewrites sampling as a deterministic function of a random variable, enabling gradients to flow. Question 19. Zero‑shot learning in LLMs means the model can: A. Perform a task without any examples or explicit fine‑tuning B. Learn from a single labeled example C. Generate only random text D. Require a large labeled dataset for each new task Answer: A Explanation: Zero‑shot capability allows the model to follow a new instruction directly from the prompt. Question 20. Few‑shot prompting typically provides the model with: A. No context at all B. A large labeled dataset for training C. A small number (1‑5) of example input‑output pairs in the prompt D. Only the task name without examples Answer: C Explanation: Few‑shot prompting includes a handful of demonstrations to guide the model.

Exam

Question 21. Which of the following is a common application of text‑to‑image synthesis? A. Sentiment analysis B. Generating photorealistic illustrations from textual descriptions C. Speech recognition D. Time‑series forecasting Answer: B Explanation: Text‑to‑image models like DALL‑E transform natural language prompts into images. Question 22. Style transfer in computer vision aims to: A. Convert a grayscale image to color B. Apply the artistic style of one image onto the content of another C. Increase image resolution by up‑sampling D. Detect objects in a scene Answer: B Explanation: Style transfer recombines content and style from two images. Question 23. In audio generation, “voice cloning” refers to: A. Synthesizing a completely new, unheard voice B. Replicating a specific speaker’s vocal characteristics from recorded data C. Converting speech to text D. Removing background noise from recordings Answer: B Explanation: Voice cloning models learn a target speaker’s timbre and prosody to generate speech that sounds like them.

Exam

Question 27. Chain‑of‑Thought (CoT) prompting helps a model: A. Generate a single word answer instantly B. Perform step‑by‑step reasoning before arriving at a final answer C. Skip any intermediate calculations D. Produce random text unrelated to the question Answer: B Explanation: CoT encourages the model to articulate its reasoning process, improving accuracy on complex tasks. Question 28. Prompt chaining is primarily used to: A. Combine multiple unrelated models into one B. Break a complex task into a series of simpler sub‑prompts executed sequentially C. Increase the token limit of the model D. Reduce the model’s inference speed Answer: B Explanation: Prompt chaining structures a workflow where each step’s output becomes the next step’s input. Question 29. Hallucination in generative AI refers to: A. The model refusing to answer a question B. Producing plausible‑looking but factually incorrect information C. The model crashing during inference D. Overfitting to the training data Answer: B

Exam

Explanation: Hallucinations are fabricated outputs that appear credible but are not grounded in reality. Question 30. Bias in AI systems commonly arises because: A. Models are inherently unbiased by design B. Training data reflect existing societal prejudices C. The hardware architecture influences predictions D. Models are trained with reinforcement learning only Answer: B Explanation: If the data contain biased patterns, the model will learn and reproduce them. Question 31. Prompt injection attacks aim to: A. Improve model performance by adding helpful instructions B. Manipulate the model’s behavior by inserting malicious instructions into the prompt context C. Increase the model’s token limit D. Secure the model against adversarial examples Answer: B Explanation: Attackers embed hidden commands to cause the model to produce unintended or harmful outputs. Question 32. RLHF (Reinforcement Learning from Human Feedback) is used to: A. Train models solely on synthetic data B. Align model outputs with human preferences by using human‑rated responses as a reward signal C. Replace supervised learning entirely D. Generate random text without constraints

Exam

Answer: B Explanation: Legal debates focus on whether AI‑generated content inherits rights from the copyrighted material it was trained on. Question 36. In the context of tokenization, a “subword” token is advantageous because: A. It always corresponds to a whole word in any language B. It reduces out‑of‑vocabulary issues by breaking rare words into known fragments C. It increases the total number of tokens needed for a sentence D. It eliminates the need for embeddings Answer: B Explanation: Subword tokenization (e.g., BPE, WordPiece) handles rare or unseen words by composing them from frequent sub‑units. Question 37. The “attention score” between two tokens in a transformer is computed by: A. Multiplying their one‑hot vectors B. Taking the dot product of their query and key vectors, optionally scaled C. Adding their positional encodings D. Concatenating their embeddings and passing through a CNN Answer: B Explanation: Scaled dot‑product attention calculates similarity between query and key vectors to assign weights. Question 38. Positional encodings in transformers are necessary because: A. Transformers have no recurrence or convolution to capture token order B. They improve the model’s ability to handle images C. They reduce the number of parameters in the model

Exam

D. They replace the need for self‑attention Answer: A Explanation: Since transformers process tokens in parallel, positional encodings inject order information. Question 39. In a diffusion model, the “noise schedule” determines: A. How many layers the model has B. The rate at which Gaussian noise is added during the forward diffusion process C. The learning rate of the optimizer D. The size of the latent vector Answer: B Explanation: The noise schedule defines the variance added at each diffusion step, influencing generation quality. Question 40. Which loss function is typically used to train a GAN’s generator? A. Cross‑entropy loss on classification B. Mean squared error between generated and real images C. Adversarial loss that maximizes the discriminator’s error on generated samples D. Hinge loss on the latent space Answer: C Explanation: The generator is optimized to fool the discriminator, often using a loss that maximizes the discriminator’s mistake. Question 41. A “latent space” in generative models is: A. The raw pixel representation of images

Exam

Question 44. The primary advantage of decoder‑only models for text generation is: A. They can attend to future tokens during training B. They generate tokens autoregressively, simplifying inference for pure generation tasks C. They require no positional information D. They are inherently multimodal Answer: B Explanation: Autoregressive decoding fits tasks where the model predicts the next token based on previous ones. Question 45. Which metric is commonly used to evaluate the quality of generated text? A. BLEU (Bilingual Evaluation Understudy) score B. Mean Squared Error C. Structural Similarity Index (SSIM) D. Intersection over Union (IoU) Answer: A Explanation: BLEU measures n‑gram overlap between generated and reference texts, widely used for machine translation and summarization. Question 46. In image generation, “FID” (Fréchet Inception Distance) assesses: A. The speed of model inference B. The similarity between the distribution of generated images and real images in feature space C. The number of parameters in the generator D. The pixel‑wise difference between images Answer: B Explanation: FID compares statistics of deep features from real and generated images; lower values indicate higher quality.

Exam

Question 47. A “prompt template” is useful because it: A. Randomly varies the model’s architecture B. Provides a consistent structure that can be reused across similar tasks, improving reliability C. Increases the token limit of the model automatically D. Guarantees zero hallucination Answer: B Explanation: Templates standardize prompt format, reducing variability and facilitating repeatable results. Question 48. Which of the following is a common technique to mitigate model hallucinations? A. Increasing the temperature to 2. B. Adding explicit factual constraints or retrieval‑augmented generation C. Removing all stop words from the prompt D. Using a smaller model size Answer: B Explanation: Retrieval‑augmented generation injects verified information, reducing the chance of fabricating facts. Question 49. The “temperature” parameter during generation controls: A. The learning rate of the optimizer B. The randomness of token sampling; higher temperature yields more diverse outputs C. The maximum sequence length D. The size of the hidden layers Answer: B

Exam

C. Compute the loss for regression tasks D. Encode positional information Answer: A Explanation: Softmax converts raw scores into probabilities that sum to one, enabling sampling of the next token. Question 53. In the context of multimodal models, “cross‑attention” enables: A. Simultaneous processing of multiple GPUs B. One modality (e.g., text) to attend to representations of another modality (e.g., image) C. Faster inference by skipping layers D. Automatic tokenization of audio data Answer: B Explanation: Cross‑attention aligns information across modalities, allowing text to query visual features and vice versa. Question 54. Which of the following is a primary security risk when deploying a public- facing LLM API? A. Model over‑fitting to the training data B. Prompt injection that forces the model to reveal proprietary knowledge C. Low GPU utilization D. Excessive token length causing latency Answer: B Explanation: Attackers can craft prompts that extract confidential information or cause undesirable behavior. Question 55. “Differential privacy” in model training aims to:

Exam

A. Increase the model’s accuracy on the training set B. Ensure that the inclusion or exclusion of any single data point does not significantly affect the model’s outputs C. Reduce the number of parameters in the network D. Speed up inference on edge devices Answer: B Explanation: Differential privacy adds calibrated noise to protect individual data contributions while training. Question 56. Which of the following best describes the “latent diffusion model” architecture? A. A GAN with a diffusion‑based generator B. A diffusion process performed in a compressed latent space rather than pixel space, improving efficiency C. A VAE that directly outputs images without diffusion D. A transformer that predicts diffusion steps Answer: B Explanation: Latent diffusion models operate on latent representations, reducing computational load while preserving quality. Question 57. In prompt engineering, “output indicator” refers to: A. A token that signals the end of the model’s generation B. A clear specification of the desired format or type of answer (e.g., “List three bullet points”) C. The model’s internal confidence score D. The temperature setting in the API request Answer: B