Google Cloud’s gen AI offerings · Determining when to use Vertex AI Studio and Google AI Studio
A multinational CPG company is launching a generative AI initiative to create marketing copy for new products. The team is globally distributed, with varying levels of technical expertise. The primary goal is rapid prototyping and iteration on prompts without managing infrastructure. Which Google Cloud tool is the most appropriate starting point for this team?
Answer and explanation
Correct answer: B
Google AI Studio is designed for quick prototyping and experimentation with generative models via a web-based interface. It is ideal for teams who want to quickly test prompts and ideas without needing to set up a full cloud environment, which perfectly fits the company's requirements for rapid iteration with a non-technical team. Vertex AI Studio is more enterprise-focused for building production applications, Vertex AI Pipelines are for automating ML workflows, and AutoML is for training custom models with minimal code, which is more advanced than the initial prototyping stage.
Q2Question 2
Intermediate
Techniques to improve gen AI model output · Describing the concept of grounding in LLMs
A healthcare startup is building a generative AI application to summarize patient-doctor conversations. To comply with privacy regulations like HIPAA, it is critical that the model's responses are based exclusively on the provided medical transcript and not on its general knowledge. Which technique is essential for achieving this requirement?
Answer and explanation
Correct answer: C
Grounding is the process of connecting a model's output to verifiable sources of information, ensuring that its responses are based on specific data provided to it. In this healthcare scenario, grounding the model on the medical transcript is crucial to prevent hallucinations and ensure the summary is factually accurate and compliant with privacy rules. Few-shot prompting provides examples but doesn't restrict the knowledge source. Increasing temperature adds creativity, which is undesirable here. Fine-tuning adapts the model but doesn't guarantee responses are restricted to a specific document during inference.
Q3Question 3
Intermediate
Business strategies for a successful gen AI solution · Identifying the purpose and benefits of Google’s Secure AI Framework (SAIF)
As a business leader evaluating the adoption of generative AI, you are presented with Google's Secure AI Framework (SAIF). What is the primary business benefit of adopting such a framework?
Answer and explanation
Correct answer: B
The primary business benefit of SAIF is that it provides a comprehensive, structured framework for managing the unique risks associated with AI systems. This proactive approach to security helps build trust with customers, regulators, and other stakeholders, which is crucial for successful AI adoption. While it helps reduce model development costs by embedding security early and enhances model performance by protecting its integrity, its core purpose is risk management and trust-building. No framework can guarantee 100% protection.
Q4Question 4
BeginnerMultiple answers
Techniques to improve gen AI model output · Identifying common limitations of foundation models
A large language model is trained on a massive dataset of text and code from the public internet. This dataset's content ends in December 2022. If you ask this model about a major world event that occurred in March 2023, it provides an inaccurate or fabricated answer. This is a classic example of which two foundation model limitations? (Select TWO).
Answer and explanation
Correct answers: A, C
Q5Question 5
Beginner
Fundamentals of gen AI · Identify the core layers of the gen AI landscape and the business implications
True or False: In the context of the generative AI landscape, the 'Platform' layer's primary role is to provide the core computing resources like GPUs and TPUs.
Answer and explanation
Correct answer: B
This statement is false. The core computing resources like GPUs and TPUs belong to the 'Infrastructure' layer. The 'Platform' layer (e.g., Vertex AI) sits on top of the infrastructure and provides APIs, data management, MLOps tools, and model deployment capabilities, abstracting away the complexity of the underlying hardware.
Q6Question 6
AdvancedMultiple answers
Google Cloud’s gen AI offerings · Identifying relevant Google Cloud services and pre-built AI APIs for agent tooling
An e-commerce company wants to create a highly personalized shopping experience. Their goal is to build an AI agent that can understand a customer's conversational query (e.g., 'I'm looking for a waterproof jacket for hiking in the mountains'), check real-time inventory in a database, and then recommend specific products. Which three Google Cloud services or components are essential to build this agent? (Select THREE).
Answer and explanation
Correct answers: A, B, D
Q7Question 7
Advanced
Google Cloud’s gen AI offerings · Recognizing the functionality, use cases, and business value of using Vertex AI Agent Builder to build custom agents
Case Study:
Company Background: Future Gadgets Inc. is a consumer electronics company known for its innovative smart home devices. They have a large customer base and maintain an extensive online knowledge base with product manuals, troubleshooting guides, and community forums. The company prides itself on excellent customer support but is facing rising costs and long wait times in its human-staffed contact center.
Current Situation: Customer support agents spend a significant amount of their time answering repetitive questions that are already documented in the knowledge base. This prevents them from focusing on complex, high-value customer issues. The company wants to deploy a generative AI solution to provide instant, accurate answers to customers on their support website, deflecting common queries from the contact center.
Requirements & Constraints:
The solution must provide answers grounded only in the company's official knowledge base to avoid providing incorrect or speculative information.
It must be able to understand natural language questions from customers.
The company wants a managed, low-maintenance solution as their AI team is small.
The solution must be integrated into their existing website.
Goal: As the project leader, you must choose the most effective Google Cloud approach to build this support agent while meeting all requirements.
Which solution should you choose?
Answer and explanation
Correct answer: C
This solution directly meets all requirements. Vertex AI Agent Builder provides a managed environment to create conversational agents. Connecting the knowledge base as a data store implements Retrieval-Augmented Generation (RAG), which ensures the agent's answers are grounded in official documentation. This is a low-maintenance, highly effective way to achieve the goal. Fine-tuning is more complex, costly, and doesn't guarantee grounding. The Natural Language API approach is not generative and less user-friendly. Building a custom RAG pipeline is complex and violates the low-maintenance requirement.
Q8Question 8
Intermediate
Techniques to improve gen AI model output · Identifying how sampling parameters and settings are used to control the behavior of gen AI models
A marketing team is using a generative AI model to create social media posts. To generate diverse and eye-catching options, they need to encourage the model to produce less predictable and more 'creative' text. Which sampling parameter should they adjust?
Answer and explanation
Correct answer: B
The 'temperature' parameter controls the randomness of the model's output. A higher temperature (e.g., closer to 1.0) makes the output more random and creative because the model is more likely to choose less probable words. A lower temperature makes the output more deterministic and focused. Increasing output length would make posts longer, not more creative. Decreasing top-p would make the output more deterministic.
Q9Question 9
Intermediate
Google Cloud’s gen AI offerings · Identifying the essential components of Google Cloud’s AI-optimized infrastructure and its benefits
A logistics company is implementing a gen AI solution to optimize delivery routes. The project leader must articulate the business value of Google Cloud's AI-optimized infrastructure. Which of the following is a key benefit of using Google's custom-designed TPUs for this type of task?
Answer and explanation
Correct answer: C
Tensor Processing Units (TPUs) are Google's custom ASICs designed specifically for machine learning workloads. Their primary business benefit is providing exceptional performance at a lower cost (better price-performance) for training large models and running inference at scale. This efficiency translates directly to lower operational costs and faster time-to-market for AI solutions. Data encryption is a standard cloud feature, and TPUs are for computation, not primarily data storage.
Q10Question 10
Beginner
Fundamentals of gen AI · Identifying the stages of the machine learning lifecycle
A project manager is outlining the stages of a new machine learning project for a stakeholder presentation. They need to correctly map the project phases. What is the correct sequence of stages in a typical machine learning lifecycle?
Answer and explanation
Correct answer: B
The standard machine learning lifecycle follows a logical progression. It begins with gathering data (Data Ingestion), followed by cleaning and transforming it (Data Preparation). Next, the model is built using this data (Model Training). Once trained, it is made available for use (Model Deployment), and finally, it is monitored and maintained over time (Model Management).
Register free for 10 more questions
Or unlock all 204 GAIL questions with explanations, timed mode and flashcards.