Docsity

Generative AI Leader Google Cloud Ultimate Exam, Exams of Technology

Toggle sidebar
bg1
Generative AI Leader Google Cloud Ultimate
Exam
**Question 1.** Which of the following most accurately distinguishes discriminative AI from generative
AI?
A) Discriminative AI creates new content, while generative AI classifies data.
B) Discriminative AI predicts labels for existing data, while generative AI produces novel data.
C) Discriminative AI only works with text, whereas generative AI works with images.
D) Discriminative AI requires reinforcement learning, while generative AI uses supervised learning.
Answer: B
Explanation: Discriminative models learn decision boundaries to predict or classify existing inputs,
whereas generative models learn to produce new samples resembling the training distribution.
**Question 2.** In the AI hierarchy, which relationship is correct?
A) Deep learning ⊂ Machine learning ⊂ Artificial intelligence.
B) Machine learning ⊂ Deep learning ⊂ Artificial intelligence.
C) Artificial intelligence ⊂ Deep learning ⊂ Machine learning.
D) Deep learning ⊂ Artificial intelligence ⊂ Machine learning.
Answer: A
Explanation: Deep learning is a subset of machine learning, which itself is a subset of the broader field of
artificial intelligence.
**Question 3.** What defines a foundation model?
A) A model trained on a single domain with limited parameters.
B) A large, pre‑trained model that can be adapted to many downstream tasks.
C) Any model that uses reinforcement learning from human feedback.
D) A model that only processes structured tabular data.
Answer: B
Explanation: Foundation models are massive, pre‑trained on broad data and can be fine‑tuned or
prompted for diverse tasks.
**Question 4.** Which modality is primarily associated with diffusion models?
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

Partial preview of the text

Download Generative AI Leader Google Cloud Ultimate Exam and more Exams Technology in PDF only on Docsity!

Exam

Question 1. Which of the following most accurately distinguishes discriminative AI from generative AI? A) Discriminative AI creates new content, while generative AI classifies data. B) Discriminative AI predicts labels for existing data, while generative AI produces novel data. C) Discriminative AI only works with text, whereas generative AI works with images. D) Discriminative AI requires reinforcement learning, while generative AI uses supervised learning. Answer: B Explanation: Discriminative models learn decision boundaries to predict or classify existing inputs, whereas generative models learn to produce new samples resembling the training distribution. Question 2. In the AI hierarchy, which relationship is correct? A) Deep learning ⊂ Machine learning ⊂ Artificial intelligence. B) Machine learning ⊂ Deep learning ⊂ Artificial intelligence. C) Artificial intelligence ⊂ Deep learning ⊂ Machine learning. D) Deep learning ⊂ Artificial intelligence ⊂ Machine learning. Answer: A Explanation: Deep learning is a subset of machine learning, which itself is a subset of the broader field of artificial intelligence. Question 3. What defines a foundation model? A) A model trained on a single domain with limited parameters. B) A large, pre‑trained model that can be adapted to many downstream tasks. C) Any model that uses reinforcement learning from human feedback. D) A model that only processes structured tabular data. Answer: B Explanation: Foundation models are massive, pre‑trained on broad data and can be fine‑tuned or prompted for diverse tasks. Question 4. Which modality is primarily associated with diffusion models?

Exam

A) Text summarization. B) Speech‑to‑text conversion. C) Image and video generation. D) Structured data clustering. Answer: C Explanation: Diffusion models excel at generating high‑quality visual content such as images, videos, and 3D assets. Question 5. Multimodal models differ from text‑only models because they can: A) Process only longer sequences of text. B) Simultaneously handle multiple data types like text, images, and audio. C) Run without any GPU acceleration. D) Generate code without any prompting. Answer: B Explanation: Multimodal models ingest and relate information across different modalities, enabling cross‑modal reasoning. Question 6. Hallucination in generative AI refers to: A) The model refusing to generate content. B) The model producing confident but factually incorrect statements. C) The model over‑fitting to training data. D) The model generating only random noise. Answer: B Explanation: Hallucinations are outputs that sound plausible but contain inaccurate or fabricated information. Question 7. Knowledge cutoff in a language model means: A) The model cannot answer any question after a specific date unless updated. B) The model’s vocabulary size is limited.

Exam

D) Storing large binary objects. Answer: B Explanation: Studio offers a low‑code UI for experimenting with prompts, evaluating outputs, and adjusting parameters. Question 11. Which tool enables low‑code creation of AI agents that can perform tasks and converse with users? A) Vertex AI Agent Builder B) Cloud Composer C) Dataproc D) Cloud Functions Answer: A Explanation: Agent Builder provides drag‑and‑drop components to assemble conversational agents and task automation. Question 12. Gemini Ultra is best suited for: A) Simple text autocomplete. B) High‑complexity reasoning, code generation, and advanced scientific tasks. C) Low‑latency inference on edge devices. D) Image captioning only. Answer: B Explanation: Ultra is the most capable Gemini variant, optimized for deep reasoning and sophisticated code tasks. Question 13. Which Gemini family variant emphasizes speed and cost‑efficiency? A) Gemini Ultra B) Gemini Pro C) Gemini Flash D) Gemini Titan

Exam

Answer: C Explanation: Gemini Flash is engineered for low latency and lower inference cost, ideal for high‑throughput applications. Question 14. Integration of Gemini into Google Workspace primarily aims to: A) Replace Gmail servers. B) Enhance productivity by providing AI assistance in Docs, Sheets, Slides, and Gmail. C) Store user files in a separate bucket. D) Disable collaboration features. Answer: B Explanation: Gemini for Workspace adds generative capabilities like drafting, summarizing, and data insights directly within familiar apps. Question 15. How does BigQuery ML enable generative AI? A) By providing a UI for building neural networks from scratch. B) By allowing SQL‑based calls to generative models within the data warehouse. C) By exporting data to external TensorFlow pipelines only. D) By converting all tables to images. Answer: B Explanation: BigQuery ML lets users invoke generative functions (e.g., text generation) directly via SQL, streamlining data‑driven AI workflows. Question 16. Document AI leverages LLMs to: A) Encrypt PDFs. B) Extract structured data and summarize information from complex documents. C) Render 3D models from scanned pages. D) Translate documents without any language model. Answer: B

Exam

Explanation: Zero‑shot relies solely on the instruction; few‑shot adds sample input‑output pairs to guide the model. Question 20. Chain‑of‑Thought prompting encourages a model to: A) Generate responses in a single token. B) Explain its reasoning step‑by‑step before arriving at an answer. C) Skip reasoning and directly output the final result. D. Use only numeric tokens. Answer: B Explanation: CoT prompts ask the model to articulate intermediate reasoning, often improving accuracy on complex tasks. Question 21. When would fine‑tuning be preferred over using a model out‑of‑the‑box? A) When the task requires a specialized tone, domain‑specific terminology, or unique output format. B. When you need the fastest possible inference latency. C. When you have no labeled data. D. When you want the model to ignore any company policies. Answer: A Explanation: Fine‑tuning adapts the model’s weights to better reflect specific language, style, or functional requirements. Question 22. Which statement correctly contrasts fine‑tuning and RAG? A) Fine‑tuning changes the model’s parameters; RAG supplies external context at inference time without altering weights. B. RAG modifies the model’s architecture, while fine‑tuning adds new tokens. C. Both techniques require retraining the entire model from scratch. D. Fine‑tuning can only be done on image models. Answer: A

Exam

Explanation: Fine‑tuning updates internal weights; RAG leaves the model unchanged but augments prompts with retrieved knowledge. Question 23. Google’s Responsible AI Principle that emphasizes avoiding unfair bias falls under which pillar? A) Scientific excellence B) Social benefit C) Fairness and non‑discrimination D) Accountability Answer: C Explanation: The principle directly addresses bias, ensuring AI systems do not propagate or amplify unfair treatment. Question 24. According to Google’s policy, customer data used on Google Cloud is: A) Automatically added to public foundation model training sets. B) Never used to train Google’s public models without explicit consent. C. Sold to third‑party advertisers. D. Shared with all Google services by default. Answer: B Explanation: Google commits to not using customer data to improve its public models unless the customer opts in. Question 25. The Secure AI Framework (SAIF) primarily focuses on: A) Optimizing model inference speed. B) Providing guidelines for securing AI development, deployment, and monitoring. C. Automating hyperparameter tuning. D. Converting models to TensorFlow Lite. Answer: B

Exam

Explanation: Successful AI integration requires people‑focused strategies—education, clear communication, and continuous improvement. Question 29. Which of the following is a high‑value use case for generative AI in a financial services firm? A. Randomly generating promotional images. B. Automating compliance document summarization and risk extraction. C. Creating synthetic weather data. D. Generating memes for internal chat. Answer: B Explanation: Summarizing regulatory documents and extracting risk factors delivers tangible ROI and mitigates compliance costs. Question 30. In Vertex AI Agent Builder, a “tool” refers to: A. A physical robot. B. An external API or function the agent can invoke to perform actions. C. A data storage bucket. D. A GPU instance. Answer: B Explanation: Tools are callable services (e.g., calendar APIs) that extend the agent’s capabilities beyond pure conversation. Question 31. Which model family is specifically optimized for low‑latency inference on edge devices? A. Gemini Ultra B. Gemini Flash C. Gemini Pro D. Gemini Titan Answer: B

Exam

Explanation: Gemini Flash balances performance and speed, making it suitable for edge deployments where latency matters. Question 32. When using BigQuery ML’s GENERATE_TEXT function, the model’s knowledge is limited to: A. Real‑time internet browsing. B. The data stored in the BigQuery tables plus the model’s pre‑training cutoff. C. Only the last 24 hours of logs. D. External APIs automatically. Answer: B Explanation: The function can incorporate table data as context, but the underlying LLM still respects its original training cutoff unless augmented with RAG. Question 33. Which of the following best describes “few‑shot prompting” in practice? A. Providing the model with a single instruction and no examples. B. Supplying a short set of input‑output pairs to illustrate the desired behavior. C. Training the model on a small dataset for a new task. D. Using reinforcement learning from human feedback. Answer: B Explanation: Few‑shot prompting embeds a few demonstration examples within the prompt to guide the model’s response style. Question 34. A primary risk of deploying an LLM without grounding in a regulated industry is: A. Increased GPU consumption. B. Generation of inaccurate statements that could lead to compliance violations. C. Faster model convergence. D. Reduced model size. Answer: B

Exam

Explanation: Diffusion models add noise to data and train the network to reverse that process, enabling generation by iteratively denoising. Question 38. The term “knowledge cutoff” is most relevant when: A. Deploying a model on an on‑premise server. B. Asking a model about events that occurred after its training data period. C. Adjusting the learning rate during fine‑tuning. D. Scaling the model horizontally. Answer: B Explanation: Because the model only knows up to its cutoff date, it cannot answer post‑cutoff queries without external retrieval. Question 39. Which of the following best illustrates a responsible AI practice for bias mitigation? A. Ignoring bias metrics to speed up deployment. B. Conducting pre‑deployment fairness audits and monitoring outputs across demographic groups. C. Using the largest possible model regardless of data quality. D. Sharing raw training data publicly. Answer: B Explanation: Audits and ongoing monitoring help identify and correct biased behavior, aligning with responsible AI principles. Question 40. Which Vertex AI feature allows you to adjust model hyperparameters via a UI without writing code? A. Vertex AI Pipelines B. Vertex AI Studio C. Vertex AI Workbench D. Cloud Scheduler Answer: B

Exam

Explanation: Studio provides sliders and controls for inference parameters like temperature, top‑k, and max tokens. Question 41. When integrating Gemini with Google Workspace, which of the following is a typical use case? A. Auto‑generating meeting minutes from a recorded Zoom call. B. Deploying a containerized web server. C. Managing IAM policies. D. Running batch ETL jobs. Answer: A Explanation: Gemini can transcribe and summarize discussions, producing concise meeting notes directly within Docs or Gmail. Question 42. The primary advantage of using RAG over pure fine‑tuning for up‑to‑date information is: A. RAG eliminates the need for any model training. B. RAG can fetch the latest data at inference time, keeping outputs current without retraining. C. RAG reduces the model size by half. D. RAG guarantees zero hallucinations. Answer: B Explanation: Retrieval allows dynamic incorporation of fresh knowledge, whereas fine‑tuning would require periodic re‑training. Question 43. Which of the following is NOT a typical metric for evaluating generative AI model quality? A. BLEU score for translation. B. Mean time to failure (MTTF). C. ROUGE for summarization. D. F1 for named entity extraction. Answer: B

Exam

Explanation: Temperature adjusts the probability distribution; low values make output deterministic, high values increase variability. Question 47. Which of the following best describes “few‑shot learning” without fine‑tuning? A. Training a small model on a few examples. B. Prompting a large pre‑trained model with a few demonstration examples in the prompt. C. Using reinforcement learning to adapt the model. D. Compressing the model to a smaller size. Answer: B Explanation: Few‑shot learning leverages prompt engineering to guide the model using a handful of examples, without weight updates. Question 48. Which principle ensures AI systems are transparent about their capabilities and limitations? A. Accountability B. Scientific excellence C. Social benefit D. Privacy Answer: A Explanation: Accountability includes clear communication about what the system can do, its provenance, and mechanisms for recourse. Question 49. In the context of AI governance, a “model card” typically contains: A. The model’s architecture diagram only. B. Documentation of model performance, intended use, limitations, and ethical considerations. C. The raw training dataset. D. The cost of the GPU instances used. Answer: B Explanation: Model cards provide transparent information to stakeholders about capabilities and risks.

Exam

Question 50. Which of the following is a recommended practice when using Gemini Flash for high‑throughput chat applications? A. Set temperature to 1.5 for maximum creativity. B. Use a batch size of 1 to minimize latency. C. Enable caching of frequent prompts to reduce repeat computation. D. Disable all safety filters. Answer: C Explanation: Caching repeated prompts can significantly improve throughput while maintaining latency constraints. Question 51. Which of the following best explains “prompt chaining”? A. Splitting a long prompt into multiple sequential calls where the output of one becomes the input of the next. B. Using a chain of GPUs to accelerate inference. C. Training a model on chained sentences. D. Concatenating multiple models into one. Answer: A Explanation: Prompt chaining orchestrates a series of model calls to accomplish complex tasks step‑by‑step. Question 52. When measuring ROI of a generative AI project, which factor is least likely to be directly quantifiable? A. Reduction in manual labor hours. B. Increase in employee satisfaction scores. C. Number of GPUs purchased. D. Revenue uplift from new AI‑enabled products. Answer: C Explanation: GPU purchases are a cost metric, not a direct ROI outcome; the others relate to benefit quantification.

Exam

Question 56. Which technique is most effective for reducing token usage while preserving meaning in prompts? A. Increasing temperature. B. Using concise, high‑information‑density phrasing and removing unnecessary filler. C. Adding more examples. D. Enabling model parallelism. Answer: B Explanation: Concise prompts reduce token count, lowering cost and latency without sacrificing clarity. Question 57. Which of the following best describes “knowledge distillation” in the context of generative models? A. Training a smaller “student” model to mimic the outputs of a larger “teacher” model. B. Removing bias from the training data. C. Converting a model to a different programming language. D. Encrypting model weights for security. Answer: A Explanation: Distillation transfers knowledge from a large model to a compact one, preserving performance while reducing resources. Question 58. When deploying a Gemini model for internal document summarization, which compliance consideration is most critical? A. Ensuring the model runs on the latest GPU drivers. B. Verifying that no confidential data leaves the organization’s controlled environment. C. Using the highest possible temperature setting. D. Disabling all logging to improve speed. Answer: B Explanation: Sensitive documents must remain within secure boundaries; data leakage would breach compliance.

Exam

Question 59. Which of the following is a typical use case for diffusion models in the enterprise? A. Real‑time fraud detection. B. Generating marketing imagery based on textual briefs. C. Predictive maintenance for machinery. D. Natural language query translation. Answer: B Explanation: Diffusion models excel at creating high‑quality visual assets from descriptive prompts, useful for marketing. Question 60. In the context of AI ethics, “explainability” primarily aims to: A. Reduce model size. B. Provide human‑understandable reasons behind a model’s decision. C. Increase inference speed. D. Encrypt model outputs. Answer: B Explanation: Explainability helps stakeholders trust and audit AI decisions by revealing the rationale. Question 61. Which of the following strategies can help minimize hallucinations when using a pure LLM for legal document drafting? A. Increase the model’s temperature to 2.0. B. Incorporate Retrieval‑Augmented Generation with a curated legal knowledge base. C. Disable all safety filters. D. Use a smaller model without fine‑tuning. Answer: B Explanation: RAG grounds the generation in authoritative legal texts, reducing the chance of fabricating clauses. Question 62. What does “few‑shot prompting with chain‑of‑thought” combine? A. Providing examples and asking the model to articulate reasoning steps.