You work in operations, have no engineering background and cannot write code. You want to automate an IT-ticket process inside your company's existing Gemini Enterprise web app: file the ticket, wait for a manager's approval, then notify the requester. No new infrastructure budget is available. What should you do?
ACreate a Gemini Enterprise workflow with a trigger, ordered steps and a human-in-the-loop approval step.
BScript the approval logic in Cloud Functions and call it from a custom chat widget.
CBuild it in Application Integration, pausing the integration on an Approval task until the manager acts.
DWrite a multi-agent ADK workflow in Python and deploy it to Agent Runtime on Gemini Enterprise Agent Platform.
Show answer
Answer: A
Workflow Builder fits because it is a no-code, low-code platform for creating and turning on workflows inside the Gemini Enterprise web app, so you need neither code nor new infrastructure. Its workflows suit tasks that combine AI automation with human approvals, and human-in-the-loop steps cover the manager's sign-off between filing and notification. Application Integration is the strongest alternative, since it is also low-code and has an Approval task, but it is an iPaaS solution in Google Cloud whose approvers act through a link to the integration, so the process would not live in the web app you use.
B. Cloud Functions is a coded, infrastructure-provisioning approach with no budget available for it, not a no-code in-app option.
C. Application Integration is an iPaaS solution in Google Cloud; its Approval task emails a link to the integration for the decision, so the process runs outside the Gemini Enterprise web app.
D. ADK requires writing and deploying code, which you cannot do, and Agent Runtime is new infrastructure the budget does not cover.
Section 2: Using coding agents for application development
Your lead tells every developer to install Docker Desktop and run the coding agent's sandbox locally. A security review found that no two laptops run the same image and that one developer's access cannot be revoked without touching their machine. You want one environment definition that administrators own, with access granted and removed per developer. What should you do?
ACreate a shared Cloud Workstations configuration and bind each developer through IAM.
BHave developers create personal Cloud Workstations configurations from their own images.
CEnable Antigravity's terminal sandbox on every laptop in place of Docker Desktop.
DPublish the approved image and have each laptop pull it nightly with a cron job.
Show answer
Answer: A
A shared Cloud Workstations configuration meets both findings. Administrators and platform teams create workstation configurations and share them with the development team, and each developer's workstation is created from that configuration, so every environment starts from one definition instead of drifting per laptop. Administrators can also use IAM rules to grant access to teams or individual developers, so one person's access can be removed centrally. Personal configurations are the strongest alternative because they still use Cloud Workstations, but each developer would define their own image, recreating the drift the review found and leaving no administrator-owned definition.
B. Workstation configurations are meant to be created by administrators and shared; personal configurations from each developer's image recreate the image drift.
C. The terminal sandbox isolates an agent's shell commands on each machine; it gives administrators neither one shared environment definition nor central access control.
D. A nightly pull on every laptop is still per-machine upkeep; access stays on each laptop and cannot be revoked centrally.
Your retailer wants natural-language search with auto-suggest and generative summaries over its public website, covering product pages and help articles. Your small platform team cannot build or operate its own ingestion, embedding and ranking stack, and the feature must work without custom ranking or suggestion code. What should you do?
AImport the site's pages into a RAG Engine corpus, and hand-tune chunking and reranking.
BDeploy a Vector Search 1.0 index, and write a custom query-time ranking function.
CLoad the site's pages into an Agent Retrieval Collection with built-in embeddings.
DCreate an Agent Search app with a website data store that indexes the site's pages.
Show answer
Answer: D
Agent Search builds AI-enabled search experiences for public websites, with natural language understanding, semantic search and auto-suggest out of the box, plus generative summarization and self-learning ranking models. The retailer gets every requested feature without writing ingestion, embedding, ranking or suggestion code. Agent Retrieval is the strongest alternative because it is fully managed and can fill embedding fields itself, but it stores, retrieves and filters documents by vector similarity and payload data; auto-suggest and summaries would still be the team's to build.
A. A RAG Engine corpus still leaves the team to design and tune chunking and reranking, and to build the suggestion and search experience on top.
B. A self-managed index with a custom ranking function is the build-it-yourself outcome the retailer explicitly wants to avoid.
C. Agent Retrieval stores, retrieves and filters documents by vector similarity and payload data; it does not supply auto-suggest or a search experience for a public website.
Section 4: Evaluating and deploying agentic workflows
Your team has packaged an agent as a stateless container that only needs to run when a request arrives. Traffic comes in short bursts separated by long quiet periods, and finance has asked that the agent incur no compute charge while no requests are being processed. A short delay on the first request after a quiet period is acceptable. What should you do?
ADeploy the container to Cloud Run with min-instances left at 0.
BDeploy to GKE Autopilot as a Deployment that keeps one replica running.
CDeploy to Agent Runtime with its default min_instances setting.
DDeploy the container to Cloud Run with min-instances set to 1.
Show answer
Answer: A
Cloud Run removes even the last remaining instance when no requests arrive, the behaviour known as scale to zero, and with min instances set to 0 you are not billed while instances are idle. That meets the finance constraint, and the accepted delay on the first request is the price of starting from nothing. The strongest alternative is the managed agent runtime, but its default min_instances is 1, so it keeps an instance ready through the quiet periods instead of dropping to none.
B. Autopilot charges for the CPU, memory and storage that running Pods request, so a replica kept running is billed through every quiet period.
C. Agent Runtime's default min_instances is 1, so an instance stays provisioned between bursts rather than the service dropping to none.
D. With minimum instances set, Cloud Run keeps that many instances running even when they are not processing requests, and idle instances are still billed at a lower rate.
Section 5: Securing and governing agentic workflows
Your Agent Runtime agents run in four application projects, all in us-central1. Security wants one gateway, in a dedicated governance project, to enforce which MCP servers those agents may call, while each application team keeps its agents in its own project. What should you do?
ACreate an Agent-to-Anywhere gateway in the governance project in us-central1, and register the MCP servers in its registry.
BCreate a Client-to-Agent gateway in the governance project in us-central1, and register the MCP servers in each team's registry.
CCreate an Agent-to-Anywhere gateway in the governance project in europe-west1, and register the MCP servers in its registry.
DCreate an Agent-to-Anywhere gateway in each application project in us-central1, and register the MCP servers in each project.
Show answer
Answer: A
An Agent-to-Anywhere gateway in the governance project meets the requirement because, in that mode, agents can be in a different project from the gateway, as long as they are in the same region. Every team's agents stay where they are while one gateway enforces the MCP servers they may call, and destinations in another project are registered with the Agent Registry in the gateway project. A Client-to-Agent gateway is the strongest alternative because it would also sit centrally, but that mode requires agents in the same project as the gateway, so it cannot govern agents that sit in four separate application projects.
B. Client-to-Agent mode requires agents to be in the same project as the gateway, so one gateway in the governance project could not cover the agents in the other projects.
C. In either mode, agents must be in the same region as the gateway, so a europe-west1 gateway cannot govern us-central1 agents.
D. This would govern traffic, but as four gateways rather than the single central one security asked for; cross-project egress lets one gateway do it.
Your HR team is connecting a directory of internal policy documents to its Gemini Enterprise agent, and some documents are restricted to specific teams in the source system's own permissions. Governance requires the agent to never surface a restricted document to someone who couldn't already open it directly. What should you do?
AAdd system instructions that tell the model not to mention restricted topics.
BUse the connector's identity sync, which maps user accounts to ACL groups.
CKeep a separate list of restricted document titles for the agent to check.
DConnect through one shared service account identity and filter results by keyword.
Show answer
Answer: B
The connector's identity sync satisfies the governance rule because it captures data about user accounts associated with an access control list (ACL) group. Gemini Enterprise then uses your identity provider to identify the end user performing a search and determine whether they have access to the documents returned, so results are limited to what that user could already open. System instructions are the tempting alternative, but they only shape what the model says; the access check that limits which documents a user can view comes from the identity provider and the source system's ACLs, not from the prompt.
A. Instructions shape what the model says; they do not decide which documents a user is allowed to view, so a restricted document can still reach the model.
C. A separately maintained list is not the source system's permissions, and it drifts from them whenever either one changes.
D. A single shared service account gives every user the same access; filtering by keyword afterwards is not a per-user access check.
Section 2: Using coding agents for application development
Your team is starting a new ADK agent and plans to hand-write bash scripts to scaffold the project, run its evaluations and deploy it, as it did on its last project. The platform lead wants one Google-maintained tool to cover that lifecycle, so the team owns no lifecycle scripts of its own. What should you do?
AWrite a Terraform module per agent and run it from a generic CI pipeline.
BAdopt Agents CLI and let it handle the work around the ADK agent.
CPackage the current bash scripts as an Antigravity skill for the coding agent.
DRun agents-cli infra single-project to provision one project's infrastructure.
Show answer
Answer: B
Agents CLI is the Google-maintained option: it is a CLI and skills package for building, evaluating and deploying agents on Google Cloud, and it handles everything around an ADK agent, including scaffolding, evaluation, deployment and observability, so the team no longer writes or maintains lifecycle scripts. Packaging the existing scripts as an Antigravity skill is the tempting alternative because the coding agent could then run them, but a skill only packages knowledge for the agent; the bash scripts would still be the team's own code to maintain. The infra single-project command covers custom infrastructure for one project, not scaffolding or evaluation.
A. A per-agent Terraform module and generic pipeline are custom lifecycle code the team would write and maintain, which the platform lead wants to avoid.
C. A skill packages knowledge that extends what the agent can do; the bash scripts inside it remain the team's own code to maintain.
D. infra single-project provisions optional custom infrastructure for a single project; it does not scaffold the agent or run its evaluations.
Your travel-planning system receives free-form requests. Some need only a weather check, some only a flight search, and some need both. Telling them apart depends on interpreting what each user actually means, and the requests vary widely. The weather and flight specialists already exist as ADK agents. What should you do?
AUse a SequentialAgent that runs the weather check, then the flight search.
BUse a ParallelAgent that runs both the weather check and the flight search.
CGive an LlmAgent coordinator both specialists as its sub_agents.
DBuild a graph workflow whose edges route on keywords in the request.
Show answer
Answer: C
In a collaborative agent team, a coordinator agent handles delegation to subagents, and declaring the specialists as its sub-agents makes ADK generate a delegation tool for each one. The coordinator's model reads each request and calls one specialist, the other, or both, which suits a less structured task where intent must be interpreted. A graph workflow is the closest alternative because it can branch, but explicit routing on keywords is built for deterministic, structured processes and cannot interpret free-form requests that vary widely.
A. A SequentialAgent runs its sub-agents in a set order without consulting a model, so every request gets both specialists whatever it asks for.
B. A ParallelAgent runs both specialists on every request without consulting a model, wasting a call whenever only one is needed.
D. Explicit routing on keywords suits deterministic, structured processes; matching words cannot interpret what a free-form request means.
Section 4: Evaluating and deploying agentic workflows
You run a pairwise model-based metric in the Gen AI evaluation service to compare a candidate model with your baseline. Human spot checks suggest the autorater favours whichever response sits in the baseline slot, regardless of quality. You want to reduce that bias without collecting tuning data. What should you do?
ARaise sampling_count in AutoraterConfig so the judge is called more times per example.
BTune a Gemini judge with tune_autorater and pass the tuned model via AutoraterConfig.
CSet flip_enabled in AutoraterConfig so half of the judge calls swap the two responses.
DAdd a system_instruction to the PairwiseMetric telling the judge it is an expert evaluator.
Show answer
Answer: C
Setting flip_enabled in AutoraterConfig enables response flipping, which swaps the baseline and candidate responses across half of the judge model calls. This documented control counters an autorater's bias towards a specific slot without needing any tuning data. In contrast, tuning a judge model with tune_autorater requires collecting tuning data for your use case, directly violating the stated requirement. Additionally, raising the sampling count only addresses the randomness of the judge to provide more consistent scores, leaving systematic slot bias intact.
A. Multi-sampling counters the randomness of the judge to make scores more consistent; a consistent positional bias survives more samples.
B. A tuned judge model needs good tuning data for your use case, which the stem rules out.
D. System instructions set behaviour such as role and tone for the judge; the page names response flipping, not a persona, as the way to reduce baseline-versus-candidate bias.
Section 5: Securing and governing agentic workflows
Your agent's tool queries a database using the agent's own service-account identity, which has read access to every table. A developer proposes fetching all rows the query would return and then filtering out rows the current user shouldn't see inside the agent's own code before showing them. You are reviewing this design. What should you do?
AApprove the design, and add unit tests that cover the agent's row filter.
BHave the tool call the database with the current user's OAuth credentials instead.
CBind a Principal Access Boundary policy to the service account to cap what it can reach.
DLog every row the agent filters out, so audits can show what each user was denied.
Show answer
Answer: B
Users here do not share one level of access, and using the agent's own identity alone doesn't provide enough protection in that case. With user auth, the tool uses the current user's OAuth token, and the external system authorizes the action only if that user could perform it on their own, so the database never returns rows the user cannot see. A Principal Access Boundary policy is the tempting alternative because it limits the service account, but it defines resources for that one principal, so every user still reads with the same broad access.
A. Tests check the filter's logic, but every row is still fetched with an identity that can read all tables; when users don't share one level of access, that approach alone doesn't provide enough protection.
C. A Principal Access Boundary policy defines which resources the service account is eligible to access; all users still query through that one identity, so rows are not checked per user.
D. Logging what was filtered out helps an audit, but the agent's identity has still retrieved rows the current user isn't authorized to see.