‹ All Google Cloud Generative AI Leader questions

GCP Generative AI Leader Practice Question 18: Reasoning Steps Complex Tasks

Google Cloud Generative AI Leader · Test 2 · question 8 of 10

Techniques to Improve Model Outputmedium

A benefits administrator uses Gemini to work out whether an employee's claim is covered. The calculation has several steps: check eligibility dates, apply the deductible, then apply the co-insurance percentage. The model's single-line verdicts are wrong often enough to worry the team, and when a verdict is wrong nobody can see which step went astray. Auditors have also started asking how each decision was reached.

Which prompting change best addresses both the accuracy and the audit concern?

Select one answer
Show answer and explanation

Answer:

  • B. Instruct the model to explain its reasoning, working through the steps before stating the verdict

This is chain-of-thought prompting. Google Cloud's guidance is that when you tell the model to explain its reasoning, it responds with the steps it used to solve the problem, and going through that process can improve accuracy and nuance, especially for challenging queries. The same steps are what the benefits team and the auditors need in order to see where a wrong verdict went off the rails, and the docs note you can separate the reasoning from the answer with an output format such as XML or other separators. Option B serves both goals at once.

- A is wrong because a higher temperature makes output more varied, not more correct. For a deterministic calculation that is the wrong direction entirely. - C is wrong because removing the eligibility dates, deductible, and co-insurance details strips out the information the calculation depends on. Less context means more guessing. - D is wrong because a self-reported confidence number is not a reliable measure of correctness and shows nothing about which step failed, so it satisfies neither concern.

Reference: Instruct the model to explain its reasoning

Practice Test 2 ›

Study guides for Google Cloud Generative AI Leader

Google Cloud Digital Leader exam: what's on it, who it's forGoogle Cloud Digital Leader: August 2026 exam update, six sections, US$99 price as of November 2026, renewal, study plan and ACE comparison.
Agentic AI certification: Oracle, Google, GitHub, NVIDIAAgentic AI certifications in 2026: Oracle's free exam, GitHub GH-600, Google, NVIDIA and Claude, compared by status, price and role.
Google Cloud Generative AI Leader vs AWS AI PractitionerGoogle Cloud Generative AI Leader vs AWS AI Practitioner: format, cost, topics, free preparation and which certification to take first.
Best AI certifications 2026: AWS, Google, Microsoft, ClaudeThe best AI certifications in 2026 from AWS, Google, Microsoft, Claude and Databricks, by level, with price, status and which one to take first.
Google Cloud certification path: is ACE worth it?Is Google's Associate Cloud Engineer certification worth it? The Google Cloud certification path in 2026, with cost, format and which exam to take first.
Google Professional Agentic Architect: what it isGoogle's Professional Agentic Architect certification explained - beta status, the two-part exam, the five domains, price, validity and how to prepare.
What Is RAG? How Retrieval-Augmented Generation WorksWhat RAG is and how it works: chunking, embeddings, vector search, hybrid search, reranking, GraphRAG and agentic RAG on AWS, Google and Azure.
Google Cloud's generative AI offerings, mappedGemini app, Gemini for Workspace, Gemini Enterprise, Agent Search, the contact center suite and Agent Platform: which one a business should pick, and why.
Prompt engineering vs RAG vs fine-tuningWhen to use prompt engineering, retrieval-augmented generation, fine-tuning or continued pre-training, compared on cost, freshness, hallucination and privacy.