A team is using a generative AI model to automatically generate short summaries of customer feedback. They need to ensure that these summaries are concise and easy to digest. What model setting should they adjust?
Correct Answer: D
The objective is to make the generated summaries concise-that is, to control their length. In the configuration of a generative AI model, particularly a large language model (LLM), the parameter used to directly control the maximum size of the response is the Output Length parameter (often referred to as max_output_tokens or max_tokens). By setting a low limit on this parameter, the team can ensure that the model is forced to terminate its response once that limit is reached, resulting in a shorter, more concise summary that is " easy to digest, " as requested. The other parameters control different aspects of the output quality: Temperature (C) controls the creativity or randomness of the output. Lowering it makes the output more predictable; raising it makes it more diverse. It does not control length. Top-p (A) is a decoding method related to temperature that also controls the model ' s creativity by limiting the vocabulary from which it can choose the next token. It does not control length. Safety settings (B) are used to filter and block the generation of harmful, illegal, or inappropriate content. They do not affect the length or conciseness of the output. (Reference: Google Cloud ' s Generative AI documentation on model parameters explicitly lists max_output_tokens or Output Length as the setting used to determine the maximum size of a model ' s generated response.)
Question 57
A retail company with a large online catalog wants to improve customer experience and drive sales by implementing multimodal search capabilities (image, voice, and text). What is a primary business benefit of this capability?
Correct Answer: A
Multimodal search directly enhances the customer experience by allowing them to find products using various intuitive methods (images, voice, text). This leads to easier product discovery, higher engagement, and ultimately increased customer satisfaction and potential sales, which is a primary business benefit.
Question 58
A development team is configuring a generative AI model for a customer-facing application and wants to ensure the generated content is appropriate and harmless. What is the primary function of the safety settings parameter in a generative AI model?
Correct Answer: B
Safety settings in generative AI models are specifically designed to prevent the generation of content that could be harmful, offensive, or inappropriate. This includes filtering for categories like hate speech, sexually explicit content, self-harm, and violence, based on predefined thresholds. Options A, B, and D refer to other parameters like max_output_tokens or temperature, which control output length, input/output processing, and creativity, respectively, not safety. ________________________________________
Question 59
A company wants to build a model to classify customer reviews as positive, negative, or neutral. They have collected a dataset of thousands of customer reviews, and each review has been manually tagged with the corresponding sentiment: positive, negative, or neutral. What machine learning should the company use?
Correct Answer: D
The machine learning approach is determined by the nature of the data available and the desired output. Data Available: Customer reviews (input) that are manually tagged with a sentiment category (output/label). Desired Output: A model that can classify new, untagged reviews into one of the predefined categories (positive, negative, or neutral). This scenario perfectly aligns with the definition of Supervised Learning (D). Supervised learning is the machine learning paradigm where the model is trained on a labeled dataset-a dataset where the input data is explicitly paired with the correct output label. The model learns a function that maps the input (the review text) to the output (the sentiment tag) and is then used to predict the label for unseen data. Unsupervised Learning (B) is used for unlabeled data to find hidden patterns or groupings (clustering), which is not the goal here. Reinforcement Learning (C) is used for training an agent through trial and error using a system of rewards and penalties. Deep Learning (A) is a type of model (using deep neural networks) that can be used for supervised learning, but the learning approach required here is definitively supervised. (Reference: Google's training materials on Machine Learning Approaches define Supervised Learning as training a model using labeled data to make predictions or classifications for new, unseen inputs. Sentiment analysis is a canonical example of a supervised learning classification task.)
Question 60
What is a key advantage of using Google ' s custom-designed TPUs?
Correct Answer: C
TPUs (Tensor Processing Units) are custom-designed hardware accelerators developed by Google specifically for high-performance machine learning tasks. Their advantage lies in their architecture, which is optimized for the massively parallel matrix multiplication operations that form the mathematical backbone of deep learning and large language models (LLMs). TPUs excel at parallel processing (C) for training and running machine learning workloads, allowing computations to be performed simultaneously across numerous cores. This makes them significantly faster and more efficient than traditional CPUs or even general-purpose GPUs for tasks like training massive generative models (e.g., Gemini). TPUs are a core component of the Infrastructure Layer in the Generative AI landscape, providing the foundational compute resources. While Google offers very small, specialized TPUs for the edge (like Edge TPU), the primary, large-scale advantage is in the cloud for accelerating training and inference for complex ML models. Options A describes the Edge TPU or Gemini Nano deployment strategy, not the general, key advantage. Options B and D misrepresent the function, as TPUs are compute hardware, not storage accelerators or general-purpose CPU replacements. (Reference: Google ' s training materials on the Generative AI Infrastructure Layer explicitly list TPUs and GPUs as the physical hardware components providing the core computing resources needed for generative AI, with TPUs being specialized for accelerating ML workloads and parallel processing.)