Free · Cloud & AI certification · Unofficial
Free Professional Agentic Architect Practice Exam
A free practice test with no sign-up required. Validate your expertise in utilizing LLMs, applying agent design patterns, and integrating data sources in Google Cloud. 40 questions per test with detailed explanations.
Free · No sign-up required · Retake as often as you like
Topics covered
- 1 - Low-code tools7 questions
- 2.1 Using coding agents effectively3 questions
- 2.2 Customizing coding agents for enterprise workflows2 questions
- 3.1 Designing and building agentic workflows in code3 questions
- 3.2 Integrating enterprise domain knowledge4 questions
- 3.3 Orchestrating and coordinating agentic workflows3 questions
- 5.1 - Configuring agent security and governance6 questions
- 5.2 - Implementing secure agent behavior and execution4 questions
- Section 4: Evaluating and deploying agentic workflows10 questions
Free sample questions with answers
Try a few questions from the bank for free. Open each one to see the answer and explanation.
1. In Customer Experience Agent Studio (CX Agent Studio), an agent is deployed to handle customer billing. During peak hours, the backend billing API experiences a complete outage, taking over 40 seconds to respond and ultimately returning 500 Internal Server Error codes. The webhook is called from the 'Check Balance' page. To prevent the agent from failing silently or getting stuck in an infinite loop, how should you configure the state-based workflow to handle this?
- A. Attach a generic sys.no-match event handler to the start page to globally catch all API failures.
- B. Configure a webhook.error or webhook.timeout event handler on the 'Check Balance' page that transitions the session to a 'System Down' graceful exit page.
- C. Set the route's transition target to itself so the agent continually retries the webhook until the API recovers.
- D. Enable the 'Auto-retry' toggle in the webhook configuration settings with an infinite backoff.
Show answer
Answer: B, Configure a webhook.error or webhook.timeout event handler on the 'Check Balance' page that transitions the session to a 'System Down' graceful exit page.
Google Cloud Dialogflow CX (which powers CX Agent Studio) enforces a maximum webhook timeout limit of 30 seconds. When an API exceeds this or returns a 500 error, the platform raises built-in webhook.timeout or webhook.error events. The best practice for state-based workflows is to define specific event handlers for these errors at the page or route level. Transitioning to a graceful exit page ensures the user is informed of the issue. Option C creates an infinite loop which locks the session. Option A is incorrect because sys.no-match handles unrecognized user input, not webhook failures.
2. You are configuring Agent Gateway to secure communications between an agent running on Google Cloud and an internal enterprise tool deployed on a legacy private server. The server uses a self-signed certificate chain for TLS. When the agent attempts to call the tool, the connection fails. What is the specific platform integration constraint causing this issue?
- A. Agent Gateway does not support connections to public or private destinations with self-signed certificate chains.
- B. The Agent Gateway instance has exceeded its maximum limit of 1,000 resources.
- C. You need to enable Client-to-Agent mode in Gemini Enterprise for private legacy connections.
- D. The Identity-Aware Proxy (IAP) integration on Agent Gateway blocks egress to legacy environments.
Show answer
Answer: A, Agent Gateway does not support connections to public or private destinations with self-signed certificate chains.
Agent Gateway is a networking abstraction that enforces access policies, but a hard constraint is that it does not support connections to public or private destinations with self-signed certificate chains; you must use publicly trusted CA certificates. B is incorrect because the resource limit is 5,000, not 1,000. C is incorrect because Client-to-Agent mode is not supported by Agent Gateway in Gemini Enterprise. D is incorrect because IAP provides delegated authorization for policies defined in IAM, but does not inherently block legacy egress or evaluate TLS certs.
3. You are deploying an agent that requires Model Armor to sanitize images containing sensitive text via Optical Character Recognition (OCR). You want to use an integrated Google Cloud service. How must you invoke Model Armor to support image sanitization?
- A. Integrate Model Armor via the Apigee API gateway proxy integration.
- B. Call the Model Armor REST API directly from your application.
- C. Apply a Principal Access Boundary (PAB) policy to the Agent Identity.
- D. Use the Model Context Protocol (MCP) integration with floor settings.
Show answer
Answer: B, Call the Model Armor REST API directly from your application.
The Model Armor REST API supports all modalities, including text, documents, and images. In contrast, integrations with other Google Cloud services (like Apigee or MCP) scan and sanitize only text, and the Gemini Enterprise integration supports only text and documents, but not images. Therefore, you must use the direct REST API for images. A and D are incorrect because those integrations do not support image modalities. C is incorrect because PAB policies govern IAM resource access, not content sanitization modalities.
4. A developer is using the Antigravity Agent Manager to oversee an autonomous coding agent. For security compliance, the agent must be allowed to execute unit tests automatically, but must never be allowed to automatically execute deployment commands. Any command not explicitly allowed must pause for user approval. How should the terminal command auto-execution be configured?
- A. Set to 'Always Proceed' and add deployment commands to the Deny list.
- B. Set to 'Always Proceed' and configure the Browser URL allowlist.
- C. Configure an Inspect hook in the Antigravity SDK to block deployment commands.
- D. Set to 'Request Review' and add unit test commands to the Allow list.
Show answer
Answer: D, Set to 'Request Review' and add unit test commands to the Allow list.
According to the Visual Studio Marketplace documentation for Antigravity, setting the Terminal command auto-execution to 'Request Review' ensures that the agent never auto-executes commands, except those explicitly defined on the Allow list. This configuration perfectly meets the requirement to automate unit tests while forcing a manual review for deployment commands. Setting it to 'Always Proceed' with a Deny list (Option A) would automatically execute any command not explicitly denied, violating the requirement. Option B controls web navigation, not terminal execution. Option C's Inspect hook is non-blocking and cannot stop execution.
5. An engineering team wants to create a highly specialized subagent in the Antigravity IDE to handle proprietary database migrations. This custom subagent needs specific system instructions and a predefined set of tools. How should the custom subagent be defined in Antigravity?
- A. By creating a .agents/mcp_config.json file with the subagent's tool definitions.
- B. By configuring an Agent Gateway webhook using the Agents CLI.
- C. By using a Markdown file with YAML frontmatter to define the workflow.
- D. By spawning a default research subagent and passing the database schema via the usage_metadata object.
Show answer
Answer: C, By using a Markdown file with YAML frontmatter to define the workflow.
The Visual Studio Marketplace documentation for Google Antigravity specifies that custom subagents are configured by defining Markdown files with YAML frontmatter. Option A references mcp_config.json, which is used solely for configuring Model Context Protocol (MCP) data and tool connections, not the behavioral definition of subagents. Option B incorrectly relies on agents-cli, which currently does not support custom webhooks at the gateway level. Option D references the out-of-the-box research subagent and token usage observability telemetry, rather than a framework for defining custom agents.
6. You are designing an agent using the Agent Development Kit (ADK) that processes highly sensitive, regulated healthcare data. Compliance requires that no patient data leaves your self-managed on-premises environment. The agent needs to perform basic Named Entity Recognition (NER) and routing based on extracted entities with sub-second latency. Which model architecture and deployment strategy should you select?
- A. Use a proprietary large language model (LLM) hosted as a SaaS via an external API to ensure maximum accuracy for NER tasks.
- B. Deploy an open-source small language model (SLM) on self-hosted infrastructure within your isolated network.
- C. Configure a SaaS-based SLM via a VPC peering connection to minimize latency over the public internet.
- D. Use a proprietary LLM hosted on a managed cloud platform and obfuscate the data locally before transmission.
Show answer
Answer: B, Deploy an open-source small language model (SLM) on self-hosted infrastructure within your isolated network.
B is correct. Deploying an open-source small language model (SLM) on self-hosted infrastructure meets all constraints: it keeps sensitive data on-premises (satisfying strict compliance boundaries), avoids internet transmission, and SLMs provide lower latency and lower cost for simple, focused tasks like basic NER compared to massive LLMs. A is incorrect because sending sensitive regulated data to an external SaaS API violates the strict on-premises compliance constraint. C is incorrect because SaaS-based SLMs still send data outside the self-managed on-premises environment, violating the data residency constraint. D is incorrect because local obfuscation of healthcare data (like PII/PHI) is highly complex, prone to leakage, and does not natively satisfy strict on-premises processing requirements as effectively as fully local processing.
7. Your retrieval-augmented generation (RAG) pipeline uses Google Cloud Vector Search to query a corpus of 50 million embedded enterprise documents. The agent requires extremely low-latency responses (under 50ms) for real-time customer support, and is willing to trade a marginal amount of recall precision for speed. Which indexing algorithm should you configure in Vector Search?
- A. Brute-force Exact Match (Flat index).
- B. Tree-AH (Approximate Nearest Neighbor using Asymmetric Hashing).
- C. Inverted File Index (IVF) with no quantization.
- D. Keyword-based BM25 lexical search only.
Show answer
Answer: B, Tree-AH (Approximate Nearest Neighbor using Asymmetric Hashing).
B is correct. Tree-AH is Google Cloud Vector Search's optimized Approximate Nearest Neighbor (ANN) algorithm. It provides ultra-low latency and high queries-per-second (QPS) over massive datasets (like 50 million vectors) by trading a negligible amount of exact recall for massive performance gains, which perfectly aligns with the real-time constraint. A is incorrect because a brute-force exact match compares the query vector against every single vector in the 50-million corpus, resulting in high latency that fails the sub-50ms SLA. C is incorrect because standard IVF without quantization does not achieve the same latency optimization at scale as Tree-AH. D is incorrect because BM25 is a sparse lexical search algorithm, not a vector similarity search, and does not leverage semantic embeddings.
8. You are orchestrating a multiagent workflow where a 'Manager' agent delegates a complex research task to three distinct 'Specialist' agents. The Specialists must execute their tasks simultaneously to reduce overall latency, and the Manager must aggregate all three responses before providing a final summary to the user. Which Google Cloud Agent Runtime workflow pattern should you implement?
- A. Sequential agent routing with forced linear handoffs.
- B. Parallel agents workflow with a synchronization join step in the graph.
- C. Single-agent tool calling with sequential loop execution.
- D. Agent2Agent (A2A) protocol with broadcast messaging and no await conditions.
Show answer
Answer: B, Parallel agents workflow with a synchronization join step in the graph.
B is correct. A parallel agents workflow configured via a graph (DAG) allows the Manager to dispatch tasks to the three Specialists concurrently (reducing latency). The synchronization join step (barrier) ensures the workflow pauses until all three parallel nodes complete, allowing the Manager to aggregate the data safely before proceeding. A is incorrect because sequential routing forces the Specialists to execute one after the other, significantly increasing latency. C is incorrect because using a single agent iterating sequentially does not utilize the multiagent delegation or parallel execution requirements. D is incorrect because broadcasting without an 'await' or join condition means the Manager will proceed before the Specialists finish, failing to aggregate their responses.
Frequently asked questions
Is this Agentic Architect practice exam really free?
Yes. Every practice test, question, and explanation on Exam Preparation is free, and you can retake the test as often as you like. No sign-up is required. A free account is optional and only saves your scores and readiness across devices.
Is this the official Google Cloud exam?
No. This is an independent, unofficial practice exam. It is not affiliated with or endorsed by Google.
How many questions are in each practice test?
Each practice test draws 40 questions at random from our question bank, with a detailed explanation for every answer.
What topics are covered?
Low-code agent tools, coding agents, developing and orchestrating custom agents, evaluating and deploying agents, and agent security and governance.